- Scan ID:
- 8efc300b-533f-43c7-8331-768619aeb30aFinished
- Submitted URL:
- https://www.ctee.com.tw/
- Report Finished:
Links · 0 found
The outgoing links identified from the page
JavaScript Variables · 6 found
Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope
Name | Type |
---|---|
0 | object |
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
html2canvas | function |
Canvas2Image | object |
Console log messages · 1 found
Messages logged to the web console
Type | Category | Log |
---|---|---|
error | network |
|
HTML
The raw HTML body of the page
<!DOCTYPE html><html lang="zh-Hant-TW"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cloudflare WAF 連線錯誤頁面</title>
<style>body{font-family:Microsoft JhengHei,sans-serif;line-height:1.5;margin:0;padding:0}*{box-sizing:border-box}h1,h2,h3,h4,h5,h6{font-family:Microsoft YaHei,sans-serif;margin-top:0}a:link,a:visited{color:#038}a:active,a:hover{color:#bc0614}header{background-image:linear-gradient(#152f4d,#16365a 30%,#152f4d);border-bottom:2px solid #b80000;margin-bottom:16px;padding:16px}.site-header .site-logo{aspect-ratio:4.28571;background-image:url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSLlnJblsaRfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgMjk3IDY5LjciIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI5NyA2OS43IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGU+LnN0MHtmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZH0uc3QwLC5zdDF7ZmlsbDojZmYyYjNjO3N0cm9rZTojMDAwO3N0cm9rZS13aWR0aDouMjtzdHJva2UtbWl0ZXJsaW1pdDoxMH08L3N0eWxlPjxwYXRoIGNsYXNzPSJzdD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i4yIDEtMi41LS42LTMuMS0yLjItLjloLTEuOGwtMi4yLjYtMS4yIDIuMi0xLjMgMy40LTEuMiAyLjUtMS41IDIuNS0xLjMgMi4xLTIuNS4zaC0yLjd2LTEuNWgzLjRsMS41LTIuMi0uMy0yLjEgMS4yLTIuNSAxLjMtMy43LTEuNSAxLjgtMi4yIDEuNS0xLjguMy0yLjItLjYtMS4yLTEuOC45LTIuMmgzLjRsNC45LS42IDMuMS0uNy45LS4yIDMuNC0uOWgzLjdsMyAuOS45IDIuNS4zIDUuMy0uMyA2LjEuMSA2eiIvPjwvc3ZnPg==);background-repeat:no-repeat;background-size:contain;font-size:0;max-width:10vw;min-width:160px;text-indent:-999px}.wrapper{margin:auto;max-width:1100px;padding:0 16px}.note{text-align:center}.btn-gen-image{background:#038;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:16px}.access-detail,.btn-gen-image{padding:16px;text-align:center}.access-detail{background:#fff;border:1px solid #ccc;font-size:14px;margin:32px auto;max-width:640px}.access-detail dl{display:flex;flex-wrap:wrap;margin-top:-8px}.access-detail dt{font-weight:700;margin-right:8px;margin-top:10px;text-align:right;width:calc(50% - 8px)}.access-detail dd{margin:10px 0 0;text-align:left;width:50%}.site-footer{background-image:linear-gradient(#152f4d,#16365a 30%,#152f4d);border-top:2px solid #b80000;color:#fff;padding:16px;text-align:center}</style>
<script>!function(t,e,n){"use strict";function r(t,e,n){var r,a=t.runtimeStyle&&t.runtimeStyle[e],o=t.style;return!/^-?[0-9]+\.?[0-9]*(?:px)?$/i.test(n)&&/^-?\d/.test(n)&&(r=o.left,a&&(t.runtimeStyle.left=t.currentStyle.left),o.left="fontSize"===e?"1em":n||0,n=o.pixelLeft+"px",o.left=r,a&&(t.runtimeStyle.left=a)),/^(thin|medium|thick)$/i.test(n)?n:Math.round(parseFloat(n))+"px"}function a(t){return parseInt(t,10)}function o(t,e,a,o){if(t=(t=(t||"").split(","))[o||0]||t[0]||"auto",t=s.Util.trimText(t).split(" "),"backgroundSize"!==a||t[0]&&!t[0].match(/cover|contain|auto/)){if(t[0]=-1===t[0].indexOf("%")?r(e,a+"X",t[0]):t[0],t[1]===n){if("backgroundSize"===a)return t[1]="auto",t;t[1]=t[0]}t[1]=-1===t[1].indexOf("%")?r(e,a+"Y",t[1]):t[1]}return t}function i(t,e,n,r,a,o){var i,l,c,d,h=s.Util.getCSS(e,t,a);if(1===h.length&&(d=h[0],(h=[])[0]=d,h[1]=d),-1!==(""+h[0]).indexOf("%"))c=parseFloat(h[0])/100,l=n.width*c,"backgroundSize"!==t&&(l-=(o||r).width*c);else if("backgroundSize"===t)if("auto"===h[0])l=r.width;else if(/contain|cover/.test(h[0])){var u=s.Util.resizeBounds(r.width,r.height,n.width,n.height,h[0]);l=u.width,i=u.height}else l=parseInt(h[0],10);else l=parseInt(h[0],10);return"auto"===h[1]?i=l/r.width*r.height:-1!==(""+h[1]).indexOf("%")?(c=parseFloat(h[1])/100,i=n.height*c,"backgroundSize"!==t&&(i-=(o||r).height*c)):i=parseInt(h[1],10),[l,i]}var l,s={Util:{}};s.Util.log=function(e){s.logging&&t.console&&t.console.log&&t.console.log(e)},s.Util.trimText=function(t){return function(e){return t?t.apply(e):((e||"")+"").replace(/^\s+|\s+$/g,"")}}(String.prototype.trim),s.Util.asFloat=function(t){return parseFloat(t)},function(){var t=/((rgba|rgb)\([^\)]+\)(\s-?\d+px){0,})/g,e=/(-?\d+px)|(#.+)|(rgb\(.+\))|(rgba\(.+\))/g;s.Util.parseTextShadows=function(n){if(!n||"none"===n)return[];for(var r=n.match(t),a=[],o=0;r&&r.length>o;o++){var i=r[o].match(e);a.push({color:i[0],offsetX:i[1]?i[1].replace("px",""):0,offsetY:i[2]?i[2].replace("px",""):0,blur:i[3]?i[3].replace("px",""):0})}return a}}(),s.Util.parseBackgroundImage=function(t){var e,n,r,a,o,i,l,s,c=[],d=0,h=0,u=function(){e&&('"'===n.substr(0,1)&&(n=n.substr(1,n.length-2)),n&&s.push(n),"-"===e.substr(0,1)&&(a=e.indexOf("-",1)+1)>0&&(r=e.substr(0,a),e=e.substr(a)),c.push({prefix:r,method:e.toLowerCase(),value:o,args:s})),s=[],e=r=n=o=""};u();for(var f=0,p=t.length;p>f;f++)if(i=t[f],!(0===d&&" \r\n\t".indexOf(i)>-1)){switch(i){case'"':l?l===i&&(l=null):l=i;break;case"(":if(l)break;if(0===d){d=1,o+=i;continue}h++;break;case")":if(l)break;if(1===d){if(0===h){d=0,o+=i,u();continue}h--}break;case",":if(l)break;if(0===d){u();continue}if(1===d&&0===h&&!e.match(/^url$/i)){s.push(n),n="",o+=i;continue}}o+=i,0===d?e+=i:n+=i}return u(),c},s.Util.Bounds=function(t){var e,n={};return t.getBoundingClientRect&&(e=t.getBoundingClientRect(),n.top=e.top,n.bottom=e.bottom||e.top+e.height,n.left=e.left,n.width=t.offsetWidth,n.height=t.offsetHeight),n},s.Util.OffsetBounds=function(t){var e=t.offsetParent?s.Util.OffsetBounds(t.offsetParent):{top:0,left:0};return{top:t.offsetTop+e.top,bottom:t.offsetTop+t.offsetHeight+e.top,left:t.offsetLeft+e.left,width:t.offsetWidth,height:t.offsetHeight}},s.Util.getCSS=function(t,n,r){undefined!==t&&(l=e.defaultView.getComputedStyle(t,null));var i=l[n];if(/^background(Size|Position)$/.test(n))return o(i,t,n,r);if(/border(Top|Bottom)(Left|Right)Radius/.test(n)){var s=i.split(" ");return 1>=s.length&&(s[1]=s[0]),s.map(a)}return i},s.Util.resizeBounds=function(t,e,n,r,a){var o,i,l=t/e;return a&&"auto"!==a?l>n/r^"contain"===a?(i=r,o=r*l):(o=n,i=n/l):(o=n,i=r),{width:o,height:i}},s.Util.BackgroundPosition=function(t,e,n,r,a){var o=i("backgroundPosition",t,e,n,r,a);return{left:o[0],top:o[1]}},s.Util.BackgroundSize=function(t,e,n,r){var a=i("backgroundSize",t,e,n,r);return{width:a[0],height:a[1]}},s.Util.Extend=function(t,e){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},s.Util.Children=function(t){var e;try{e=t.nodeName&&"IFRAME"===t.nodeName.toUpperCase()?t.contentDocument||t.contentWindow.document:function(t){var e=[];return null!==t&&function(t,e){var r=t.length,a=0;if("number"==typeof e.length)for(var o=e.length;o>a;a++)t[r++]=e[a];else for(;e[a]!==n;)t[r++]=e[a++];t.length=r}(e,t),e}(t.childNodes)}catch(t){s.Util.log("html2canvas.Util.Children failed with exception: "+t.message),e=[]}return e},s.Util.isTransparent=function(t){return"transparent"===t||"rgba(0, 0, 0, 0)"===t},s.Util.Font=function(){var t={};return function(e,r,a){if(t[e+"-"+r]!==n)return t[e+"-"+r];var o,i,l=a.createElement("div"),s=a.createElement("img"),c=a.createElement("span"),d="Hidden Text";return l.style.visibility="hidden",l.style.fontFamily=e,l.style.fontSize=r,l.style.margin=0,l.style.padding=0,a.body.appendChild(l),s.src="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACwAAAAAAQABAAACAkQBADs=",s.width=1,s.height=1,s.style.margin=0,s.style.padding=0,s.style.verticalAlign="baseline",c.style.fontFamily=e,c.style.fontSize=r,c.style.margin=0,c.style.padding=0,c.appendChild(a.createTextNode(d)),l.appendChild(c),l.appendChild(s),o=s.offsetTop-c.offsetTop+1,l.removeChild(c),l.appendChild(a.createTextNode(d)),l.style.lineHeight="normal",s.style.verticalAlign="super",i={baseline:o,lineWidth:1,middle:s.offsetTop-l.offsetTop+1},t[e+"-"+r]=i,a.body.removeChild(l),i}}(),function(){function t(t){return function(e){try{t.addColorStop(e.stop,e.color)}catch(t){n.log(["failed to add color stop: ",t,"; tried to add: ",e])}}}var n=s.Util,r={};s.Generate=r;var a=[/^(-webkit-linear-gradient)\(([a-z\s]+)([\w\d\.\s,%\(\)]+)\)$/,/^(-o-linear-gradient)\(([a-z\s]+)([\w\d\.\s,%\(\)]+)\)$/,/^(-webkit-gradient)\((linear|radial),\s((?:\d{1,3}%?)\s(?:\d{1,3}%?),\s(?:\d{1,3}%?)\s(?:\d{1,3}%?))([\w\d\.\s,%\(\)\-]+)\)$/,/^(-moz-linear-gradient)\(((?:\d{1,3}%?)\s(?:\d{1,3}%?))([\w\d\.\s,%\(\)]+)\)$/,/^(-webkit-radial-gradient)\(((?:\d{1,3}%?)\s(?:\d{1,3}%?)),\s(\w+)\s([a-z\-]+)([\w\d\.\s,%\(\)]+)\)$/,/^(-moz-radial-gradient)\(((?:\d{1,3}%?)\s(?:\d{1,3}%?)),\s(\w+)\s?([a-z\-]*)([\w\d\.\s,%\(\)]+)\)$/,/^(-o-radial-gradient)\(((?:\d{1,3}%?)\s(?:\d{1,3}%?)),\s(\w+)\s([a-z\-]+)([\w\d\.\s,%\(\)]+)\)$/];r.parseGradient=function(t,e){var n,r,o,i,l,s,c,d,h,u,f,p,g=a.length;for(r=0;g>r&&!(o=t.match(a[r]));r+=1);if(o)switch(o[1]){case"-webkit-linear-gradient":case"-o-linear-gradient":if(n={type:"linear",x0:null,y0:null,x1:null,y1:null,colorStops:[]},l=o[2].match(/\w+/g))for(s=l.length,r=0;s>r;r+=1)switch(l[r]){case"top":n.y0=0,n.y1=e.height;break;case"right":n.x0=e.width,n.x1=0;break;case"bottom":n.y0=e.height,n.y1=0;break;case"left":n.x0=0,n.x1=e.width}if(null===n.x0&&null===n.x1&&(n.x0=n.x1=e.width/2),null===n.y0&&null===n.y1&&(n.y0=n.y1=e.height/2),l=o[3].match(/((?:rgb|rgba)\(\d{1,3},\s\d{1,3},\s\d{1,3}(?:,\s[0-9\.]+)?\)(?:\s\d{1,3}(?:%|px))?)+/g))for(s=l.length,c=1/Math.max(s-1,1),r=0;s>r;r+=1)(d=l[r].match(/((?:rgb|rgba)\(\d{1,3},\s\d{1,3},\s\d{1,3}(?:,\s[0-9\.]+)?\))\s*(\d{1,3})?(%|px)?/))[2]?(i=parseFloat(d[2]),i/="%"===d[3]?100:e.width):i=r*c,n.colorStops.push({color:d[1],stop:i});break;case"-webkit-gradient":if(n={type:"radial"===o[2]?"circle":o[2],x0:0,y0:0,x1:0,y1:0,colorStops:[]},(l=o[3].match(/(\d{1,3})%?\s(\d{1,3})%?,\s(\d{1,3})%?\s(\d{1,3})%?/))&&(n.x0=l[1]*e.width/100,n.y0=l[2]*e.height/100,n.x1=l[3]*e.width/100,n.y1=l[4]*e.height/100),l=o[4].match(/((?:from|to|color-stop)\((?:[0-9\.]+,\s)?(?:rgb|rgba)\(\d{1,3},\s\d{1,3},\s\d{1,3}(?:,\s[0-9\.]+)?\)\))+/g))for(s=l.length,r=0;s>r;r+=1)d=l[r].match(/(from|to|color-stop)\(([0-9\.]+)?(?:,\s)?((?:rgb|rgba)\(\d{1,3},\s\d{1,3},\s\d{1,3}(?:,\s[0-9\.]+)?\))\)/),i=parseFloat(d[2]),"from"===d[1]&&(i=0),"to"===d[1]&&(i=1),n.colorStops.push({color:d[3],stop:i});break;case"-moz-linear-gradient":if(n={type:"linear",x0:0,y0:0,x1:0,y1:0,colorStops:[]},(l=o[2].match(/(\d{1,3})%?\s(\d{1,3})%?/))&&(n.x0=l[1]*e.width/100,n.y0=l[2]*e.height/100,n.x1=e.width-n.x0,n.y1=e.height-n.y0),l=o[3].match(/((?:rgb|rgba)\(\d{1,3},\s\d{1,3},\s\d{1,3}(?:,\s[0-9\.]+)?\)(?:\s\d{1,3}%)?)+/g))for(s=l.length,c=1/Math.max(s-1,1),r=0;s>r;r+=1)(d=l[r].match(/((?:rgb|rgba)\(\d{1,3},\s\d{1,3},\s\d{1,3}(?:,\s[0-9\.]+)?\))\s*(\d{1,3})?(%)?/))[2]?(i=parseFloat(d[2]),d[3]&&(i/=100)):i=r*c,n.colorStops.push({color:d[1],stop:i});break;case"-webkit-radial-gradient":case"-moz-radial-gradient":case"-o-radial-gradient":if(n={type:"circle",x0:0,y0:0,x1:e.width,y1:e.height,cx:0,cy:0,rx:0,ry:0,colorStops:[]},(l=o[2].match(/(\d{1,3})%?\s(\d{1,3})%?/))&&(n.cx=l[1]*e.width/100,n.cy=l[2]*e.height/100),l=o[3].match(/\w+/),d=o[4].match(/[a-z\-]*/),l&&d)switch(d[0]){case"farthest-corner":case"cover":case"":h=Math.sqrt(Math.pow(n.cx,2)+Math.pow(n.cy,2)),u=Math.sqrt(Math.pow(n.cx,2)+Math.pow(n.y1-n.cy,2)),f=Math.sqrt(Math.pow(n.x1-n.cx,2)+Math.pow(n.y1-n.cy,2)),p=Math.sqrt(Math.pow(n.x1-n.cx,2)+Math.pow(n.cy,2)),n.rx=n.ry=Math.max(h,u,f,p);break;case"closest-corner":h=Math.sqrt(Math.pow(n.cx,2)+Math.pow(n.cy,2)),u=Math.sqrt(Math.pow(n.cx,2)+Math.pow(n.y1-n.cy,2)),f=Math.sqrt(Math.pow(n.x1-n.cx,2)+Math.pow(n.y1-n.cy,2)),p=Math.sqrt(Math.pow(n.x1-n.cx,2)+Math.pow(n.cy,2)),n.rx=n.ry=Math.min(h,u,f,p);break;case"farthest-side":"circle"===l[0]?n.rx=n.ry=Math.max(n.cx,n.cy,n.x1-n.cx,n.y1-n.cy):(n.type=l[0],n.rx=Math.max(n.cx,n.x1-n.cx),n.ry=Math.max(n.cy,n.y1-n.cy));break;case"closest-side":case"contain":"circle"===l[0]?n.rx=n.ry=Math.min(n.cx,n.cy,n.x1-n.cx,n.y1-n.cy):(n.type=l[0],n.rx=Math.min(n.cx,n.x1-n.cx),n.ry=Math.min(n.cy,n.y1-n.cy))}if(l=o[5].match(/((?:rgb|rgba)\(\d{1,3},\s\d{1,3},\s\d{1,3}(?:,\s[0-9\.]+)?\)(?:\s\d{1,3}(?:%|px))?)+/g))for(s=l.length,c=1/Math.max(s-1,1),r=0;s>r;r+=1)(d=l[r].match(/((?:rgb|rgba)\(\d{1,3},\s\d{1,3},\s\d{1,3}(?:,\s[0-9\.]+)?\))\s*(\d{1,3})?(%|px)?/))[2]?(i=parseFloat(d[2]),i/="%"===d[3]?100:e.width):i=r*c,n.colorStops.push({color:d[1],stop:i})}return n},r.Gradient=function(n,r){if(0!==r.width&&0!==r.height){var a,o,i=e.createElement("canvas"),l=i.getContext("2d");if(i.width=r.width,i.height=r.height,a=s.Generate.parseGradient(n,r))switch(a.type){case"linear":o=l.createLinearGradient(a.x0,a.y0,a.x1,a.y1),a.colorStops.forEach(t(o)),l.fillStyle=o,l.fillRect(0,0,r.width,r.height);break;case"circle":o=l.createRadialGradient(a.cx,a.cy,0,a.cx,a.cy,a.rx),a.colorStops.forEach(t(o)),l.fillStyle=o,l.fillRect(0,0,r.width,r.height);break;case"ellipse":var c=e.createElement("canvas"),d=c.getContext("2d"),h=Math.max(a.rx,a.ry),u=2*h;c.width=c.height=u,o=d.createRadialGradient(a.rx,a.ry,0,a.rx,a.ry,h),a.colorStops.forEach(t(o)),d.fillStyle=o,d.fillRect(0,0,u,u),l.fillStyle=a.colorStops[a.colorStops.length-1].color,l.fillRect(0,0,i.width,i.height),l.drawImage(c,a.cx-a.rx,a.cy-a.ry,2*a.rx,2*a.ry)}return i}},r.ListAlpha=function(t){var e,n="";do{e=t%26,n=String.fromCharCode(e+64)+n,t/=26}while(26*t>26);return n},r.ListRoman=function(t){var e,n=["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"],r=[1e3,900,500,400,100,90,50,40,10,9,5,4,1],a="",o=n.length;if(0>=t||t>=4e3)return t;for(e=0;o>e;e+=1)for(;t>=r[e];)t-=r[e],a+=n[e];return a}}(),s.Parse=function(r,a){function o(t,e){var n=parseInt(q(t,e),10);return isNaN(n)?0:n}function i(t,e,n,r,a,o){"transparent"!==o&&(t.setVariable("fillStyle",o),t.fillRect(e,n,r,a),1)}function l(t,e,r){return t.length>0?e+r.toUpperCase():n}function c(t,e,n,r){null!==t&&G.trimText(t).length>0&&(r.fillText(t,e,n),1)}function d(t,e,r,a){var o=q(e,"fontWeight"),i=q(e,"fontFamily"),l=q(e,"fontSize"),s=G.parseTextShadows(q(e,"textShadow"));switch(parseInt(o,10)){case 401:o="bold";break;case 400:o="normal"}return t.setVariable("fillStyle",a),t.setVariable("font",[q(e,"fontStyle"),q(e,"fontVariant"),o,l,i].join(" ")),t.setVariable("textAlign","left"),s.length&&(t.setVariable("shadowColor",s[0].color),t.setVariable("shadowOffsetX",s[0].offsetX),t.setVariable("shadowOffsetY",s[0].offsetY),t.setVariable("shadowBlur",s[0].blur)),"none"!==r?G.Font(i,l,$):n}function h(t,e,n,r,a){switch(e){case"underline":i(t,n.left,Math.round(n.top+r.baseline+r.lineWidth),n.width,1,a);break;case"overline":i(t,n.left,Math.round(n.top),n.width,1,a);break;case"line-through":i(t,n.left,Math.ceil(n.top+r.middle+r.lineWidth),n.width,1,a)}}function u(t,e,n,r,a){var o;if(W.rangeBounds&&!a)("none"!==n||0!==G.trimText(e).length)&&(o=function(t,e,n){var r=$.createRange();return r.setStart(e,n),r.setEnd(e,n+t.length),r.getBoundingClientRect()}(e,t.node,t.textOffset)),t.textOffset+=e.length;else if(t.node&&"string"==typeof t.node.nodeValue){var i=r?t.node.splitText(e.length):null;o=function(t,e){var n=t.parentNode,r=$.createElement("wrapper"),a=t.cloneNode(!0);r.appendChild(t.cloneNode(!0)),n.replaceChild(r,t);var o=e?G.OffsetBounds(r):G.Bounds(r);return n.replaceChild(a,r),o}(t.node,a),t.node=i}return o}function f(t,e,n){var r,o,i=n.ctx,s=q(t,"color"),f=q(t,"textDecoration"),p=q(t,"textAlign"),g={node:e,textOffset:0};G.trimText(e.nodeValue).length>0&&(e.nodeValue=function(t,e){switch(e){case"lowercase":return t.toLowerCase();case"capitalize":return t.replace(/(^|\s|:|-|\(|\))([a-z])/g,l);case"uppercase":return t.toUpperCase();default:return t}}(e.nodeValue,q(t,"textTransform")),p=p.replace(["-webkit-auto"],["auto"]),o=!a.letterRendering&&/^(left|right|justify|auto)$/.test(p)&&function(t){return/^(normal|none|0px)$/.test(t)}(q(t,"letterSpacing"))?e.nodeValue.split(/(\b| )/):e.nodeValue.split(""),r=d(i,t,f,s),a.chinese&&o.forEach((function(t,e){/.*[\u4E00-\u9FA5].*$/.test(t)&&((t=t.split("")).unshift(e,1),o.splice.apply(o,t))})),o.forEach((function(t,e){var a=u(g,t,f,o.length-1>e,n.transform.matrix);a&&(c(t,a.left,a.bottom,i),h(i,f,a,r,s))})))}function p(t,e,n){var r,a,o=e.ctx,i=q(t,"listStyleType");if(/^(decimal|decimal-leading-zero|upper-alpha|upper-latin|upper-roman|lower-alpha|lower-greek|lower-latin|lower-roman)$/i.test(i)){if(r=function(t,e){var n,r=function(t){var e=-1,n=1,r=t.parentNode.childNodes;if(t.parentNode){for(;r[++e]!==t;)1===r[e].nodeType&&n++;return n}return-1}(t);switch(e){case"decimal":n=r;break;case"decimal-leading-zero":n=1===(""+r).length?r="0"+r:""+r;break;case"upper-roman":n=s.Generate.ListRoman(r);break;case"lower-roman":n=s.Generate.ListRoman(r).toLowerCase();break;case"lower-alpha":n=s.Generate.ListAlpha(r).toLowerCase();break;case"upper-alpha":n=s.Generate.ListAlpha(r)}return n+". "}(t,i),a=function(t,e){var n,r,a=$.createElement("boundelement");return a.style.display="inline",n=t.style.listStyleType,t.style.listStyleType="none",a.appendChild($.createTextNode(e)),t.insertBefore(a,t.firstChild),r=G.Bounds(a),t.removeChild(a),t.style.listStyleType=n,r}(t,r),d(o,t,"none",q(t,"color")),"inside"!==q(t,"listStylePosition"))return;o.setVariable("textAlign","left"),c(r,n.left,a.bottom,o)}}function g(t){var e=r[t];return!(!e||!0!==e.succeeded)&&e.img}function m(t,e){var n=Math.max(t.left,e.left),r=Math.max(t.top,e.top);return{left:n,top:r,width:Math.min(t.left+t.width,e.left+e.width)-n,height:Math.min(t.top+t.height,e.top+e.height)-r}}function y(t,e,n){var r,a="static"!==e.cssPosition,o=a?q(t,"zIndex"):"auto",i=q(t,"opacity"),l="none"!==q(t,"cssFloat");e.zIndex=r=function(t){return{zindex:t,children:[]}}(o),r.isPositioned=a,r.isFloated=l,r.opacity=i,r.ownStacking="auto"!==o||1>i,n&&n.zIndex.children.push(e)}function b(t,e,n,r,a){var i=o(e,"paddingLeft"),l=o(e,"paddingTop"),s=o(e,"paddingRight"),c=o(e,"paddingBottom");R(t,n,0,0,n.width,n.height,r.left+i+a[3].width,r.top+l+a[0].width,r.width-(a[1].width+a[3].width+i+s),r.height-(a[0].width+a[2].width+l+c))}function w(t){return["Top","Right","Bottom","Left"].map((function(e){return{width:o(t,"border"+e+"Width"),color:q(t,"border"+e+"Color")}}))}function x(t,e,n,r){var a=function(t,e,n){return{x:t.x+(e.x-t.x)*n,y:t.y+(e.y-t.y)*n}};return{start:t,startControl:e,endControl:n,end:r,subdivide:function(o){var i=a(t,e,o),l=a(e,n,o),s=a(n,r,o),c=a(i,l,o),d=a(l,s,o),h=a(c,d,o);return[x(t,i,c,h),x(h,d,s,r)]},curveTo:function(t){t.push(["bezierCurve",e.x,e.y,n.x,n.y,r.x,r.y])},curveToReversed:function(r){r.push(["bezierCurve",n.x,n.y,e.x,e.y,t.x,t.y])}}}function v(t,e,n,r,a,o,i){e[0]>0||e[1]>0?(t.push(["line",r[0].start.x,r[0].start.y]),r[0].curveTo(t),r[1].curveTo(t)):t.push(["line",o,i]),(n[0]>0||n[1]>0)&&t.push(["line",a[0].start.x,a[0].start.y])}function k(t,e,n,r,a,o,i){var l=[];return e[0]>0||e[1]>0?(l.push(["line",r[1].start.x,r[1].start.y]),r[1].curveTo(l)):l.push(["line",t.c1[0],t.c1[1]]),n[0]>0||n[1]>0?(l.push(["line",o[0].start.x,o[0].start.y]),o[0].curveTo(l),l.push(["line",i[0].end.x,i[0].end.y]),i[0].curveToReversed(l)):(l.push(["line",t.c2[0],t.c2[1]]),l.push(["line",t.c3[0],t.c3[1]])),e[0]>0||e[1]>0?(l.push(["line",a[1].end.x,a[1].end.y]),a[1].curveToReversed(l)):l.push(["line",t.c4[0],t.c4[1]]),l}function C(t,e,n,r,a){var o=[];switch(q(t,"backgroundClip")){case"content-box":case"padding-box":v(o,r[0],r[1],e.topLeftInner,e.topRightInner,a.left+n[3].width,a.top+n[0].width),v(o,r[1],r[2],e.topRightInner,e.bottomRightInner,a.left+a.width-n[1].width,a.top+n[0].width),v(o,r[2],r[3],e.bottomRightInner,e.bottomLeftInner,a.left+a.width-n[1].width,a.top+a.height-n[2].width),v(o,r[3],r[0],e.bottomLeftInner,e.topLeftInner,a.left+n[3].width,a.top+a.height-n[2].width);break;default:v(o,r[0],r[1],e.topLeftOuter,e.topRightOuter,a.left,a.top),v(o,r[1],r[2],e.topRightOuter,e.bottomRightOuter,a.left+a.width,a.top),v(o,r[2],r[3],e.bottomRightOuter,e.bottomLeftOuter,a.left+a.width,a.top+a.height),v(o,r[3],r[0],e.bottomLeftOuter,e.topLeftOuter,a.left,a.top+a.height)}return o}function T(t,e,n){var r,a,o,i,l,s,c=e.left,d=e.top,h=e.width,u=e.height,f=function(t){return["TopLeft","TopRight","BottomRight","BottomLeft"].map((function(e){return q(t,"border"+e+"Radius")}))}(t),p=function(t,e,n){var r=t.left,a=t.top,o=t.width,i=t.height,l=e[0][0],s=e[0][1],c=e[1][0],d=e[1][1],h=e[2][0],u=e[2][1],f=e[3][0],p=e[3][1],g=o-c,m=i-u,y=o-h,b=i-p;return{topLeftOuter:Y(r,a,l,s).topLeft.subdivide(.5),topLeftInner:Y(r+n[3].width,a+n[0].width,Math.max(0,l-n[3].width),Math.max(0,s-n[0].width)).topLeft.subdivide(.5),topRightOuter:Y(r+g,a,c,d).topRight.subdivide(.5),topRightInner:Y(r+Math.min(g,o+n[3].width),a+n[0].width,g>o+n[3].width?0:c-n[3].width,d-n[0].width).topRight.subdivide(.5),bottomRightOuter:Y(r+y,a+m,h,u).bottomRight.subdivide(.5),bottomRightInner:Y(r+Math.min(y,o+n[3].width),a+Math.min(m,i+n[0].width),Math.max(0,h-n[1].width),Math.max(0,u-n[2].width)).bottomRight.subdivide(.5),bottomLeftOuter:Y(r,a+b,f,p).bottomLeft.subdivide(.5),bottomLeftInner:Y(r+n[3].width,a+b,Math.max(0,f-n[3].width),Math.max(0,p-n[2].width)).bottomLeft.subdivide(.5)}}(e,f,n),g={clip:C(t,p,n,f,e),borders:[]};for(r=0;4>r;r++)if(n[r].width>0){switch(a=c,o=d,i=h,l=u-n[2].width,r){case 0:l=n[0].width,s=k({c1:[a,o],c2:[a+i,o],c3:[a+i-n[1].width,o+l],c4:[a+n[3].width,o+l]},f[0],f[1],p.topLeftOuter,p.topLeftInner,p.topRightOuter,p.topRightInner);break;case 1:s=k({c1:[(a=c+h-n[1].width)+(i=n[1].width),o],c2:[a+i,o+l+n[2].width],c3:[a,o+l],c4:[a,o+n[0].width]},f[1],f[2],p.topRightOuter,p.topRightInner,p.bottomRightOuter,p.bottomRightInner);break;case 2:s=k({c1:[a+i,(o=o+u-n[2].width)+(l=n[2].width)],c2:[a,o+l],c3:[a+n[3].width,o],c4:[a+i-n[3].width,o]},f[2],f[3],p.bottomRightOuter,p.bottomRightInner,p.bottomLeftOuter,p.bottomLeftInner);break;case 3:i=n[3].width,s=k({c1:[a,o+l+n[2].width],c2:[a,o],c3:[a+i,o+n[0].width],c4:[a+i,o+l]},f[3],f[0],p.bottomLeftOuter,p.bottomLeftInner,p.topLeftOuter,p.topLeftInner)}g.borders.push({args:s,color:n[r].color})}return g}function S(t,e){var n=t.drawShape();return e.forEach((function(t,e){n[0===e?"moveTo":t[0]+"To"].apply(null,t.slice(1))})),n}function M(t,e,n){var r,a,o=$.createElement("valuewrap");["lineHeight","textAlign","fontFamily","color","fontSize","paddingLeft","paddingTop","width","height","border","borderLeftWidth","borderTopWidth"].forEach((function(e){try{o.style[e]=q(t,e)}catch(t){G.log("html2canvas: Parse: Exception caught in renderFormValue: "+t.message)}})),o.style.borderColor="black",o.style.borderStyle="solid",o.style.display="block",o.style.position="absolute",(/^(submit|reset|button|text|password)$/.test(t.type)||"SELECT"===t.nodeName)&&(o.style.lineHeight=q(t,"height")),o.style.top=e.top+"px",o.style.left=e.left+"px",(r="SELECT"===t.nodeName?(t.options[t.selectedIndex]||0).text:t.value)||(r=t.placeholder),a=$.createTextNode(r),o.appendChild(a),j.appendChild(o),f(t,a,n),j.removeChild(o)}function R(t){t.drawImage.apply(t,Array.prototype.slice.call(arguments,1)),1}function E(n,r){var a=t.getComputedStyle(n,r);if(a&&a.content&&"none"!==a.content&&"-moz-alt-content"!==a.content&&"none"!==a.display){var o=a.content+"",i=o.substr(0,1);i===o.substr(o.length-1)&&i.match(/'|"/)&&(o=o.substr(1,o.length-2));var l="url"===o.substr(0,3),s=e.createElement(l?"img":"span");return s.className=X+"-before "+X+"-after",Object.keys(a).filter(I).forEach((function(t){try{s.style[t]=a[t]}catch(e){G.log(["Tried to assign readonly property ",t,"Error:",e])}})),l?s.src=G.parseBackgroundImage(o)[0].args[0]:s.innerHTML=o,s}}function I(e){return isNaN(t.parseInt(e,10))}function L(t,e,n,r){var a=Math.round(r.left+n.left),o=Math.round(r.top+n.top);t.createPattern(e),t.translate(a,o),t.fill(),t.translate(-a,-o)}function O(t,e,n,r,a,o,i,l){var s=[];s.push(["line",Math.round(a),Math.round(o)]),s.push(["line",Math.round(a+i),Math.round(o)]),s.push(["line",Math.round(a+i),Math.round(l+o)]),s.push(["line",Math.round(a),Math.round(l+o)]),S(t,s),t.save(),t.clip(),L(t,e,n,r),t.restore()}function z(t,e,n){i(t,e.left,e.top,e.width,e.height,n)}function A(t,e,n,r,a){var o=G.BackgroundSize(t,e,r,a),i=G.BackgroundPosition(t,e,r,a,o),l=q(t,"backgroundRepeat").split(",").map(G.trimText);switch(r=function(t,e){if(t.width===e.width&&t.height===e.height)return t;var n,r=$.createElement("canvas");return r.width=e.width,r.height=e.height,n=r.getContext("2d"),R(n,t,0,0,t.width,t.height,0,0,e.width,e.height),r}(r,o),l=l[a]||l[0]){case"repeat-x":O(n,r,i,e,e.left,e.top+i.top,99999,r.height);break;case"repeat-y":O(n,r,i,e,e.left+i.left,e.top,r.width,99999);break;case"no-repeat":O(n,r,i,e,e.left+i.left,e.top+i.top,r.width,r.height);break;default:L(n,r,i,{top:e.top,left:e.left,width:r.width,height:r.height})}}function B(t,e,n){return t.setVariable("globalAlpha",q(e,"opacity")*(n?n.opacity:1))}function U(t){return t.replace("px","")}function N(t,e,n,r){var o=function(t,e){var n=[];return{storage:n,width:t,height:e,clip:function(){n.push({type:"function",name:"clip",arguments:arguments})},translate:function(){n.push({type:"function",name:"translate",arguments:arguments})},fill:function(){n.push({type:"function",name:"fill",arguments:arguments})},save:function(){n.push({type:"function",name:"save",arguments:arguments})},restore:function(){n.push({type:"function",name:"restore",arguments:arguments})},fillRect:function(){n.push({type:"function",name:"fillRect",arguments:arguments})},createPattern:function(){n.push({type:"function",name:"createPattern",arguments:arguments})},drawShape:function(){var t=[];return n.push({type:"function",name:"drawShape",arguments:t}),{moveTo:function(){t.push({name:"moveTo",arguments:arguments})},lineTo:function(){t.push({name:"lineTo",arguments:arguments})},arcTo:function(){t.push({name:"arcTo",arguments:arguments})},bezierCurveTo:function(){t.push({name:"bezierCurveTo",arguments:arguments})},quadraticCurveTo:function(){t.push({name:"quadraticCurveTo",arguments:arguments})}}},drawImage:function(){n.push({type:"function",name:"drawImage",arguments:arguments})},fillText:function(){n.push({type:"function",name:"fillText",arguments:arguments})},setVariable:function(t,e){return n.push({type:"variable",name:t,arguments:e}),e}}}(e?n.width:Math.max(Math.max($.body.scrollWidth,$.documentElement.scrollWidth),Math.max($.body.offsetWidth,$.documentElement.offsetWidth),Math.max($.body.clientWidth,$.documentElement.clientWidth)),e?n.height:Math.max(Math.max($.body.scrollHeight,$.documentElement.scrollHeight),Math.max($.body.offsetHeight,$.documentElement.offsetHeight),Math.max($.body.clientHeight,$.documentElement.clientHeight))),i={ctx:o,opacity:B(o,t,e),cssPosition:q(t,"position"),borders:w(t),transform:r,clip:e&&e.clip?G.Extend({},e.clip):null};return y(t,i,e),!0===a.useOverflow&&!0===/(hidden|scroll|auto)/.test(q(t,"overflow"))&&!1===/(BODY)/i.test(t.nodeName)&&(i.clip=i.clip?m(i.clip,n):n),i}function P(t,e,n,r){var a,o=function(t){var e,n=q(t,"transform")||q(t,"-webkit-transform")||q(t,"-moz-transform")||q(t,"-ms-transform")||q(t,"-o-transform"),r=q(t,"transform-origin")||q(t,"-webkit-transform-origin")||q(t,"-moz-transform-origin")||q(t,"-ms-transform-origin")||q(t,"-o-transform-origin")||"0px 0px";if(r=r.split(" ").map(U).map(G.asFloat),n&&"none"!==n){var a=n.match(Q);a&&"matrix"===a[1]&&(e=a[2].split(",").map(G.trimText).map(G.asFloat))}return{origin:r,matrix:e}}(t),i=function(t,e){var n=e.matrix?G.OffsetBounds(t):G.Bounds(t);return e.origin[0]+=n.left,e.origin[1]+=n.top,n}(t,o),l=N(t,e,i,o),s=l.borders,c=l.ctx,d=function(t,e,n){var r={left:e.left+t[3].width,top:e.top+t[0].width,width:e.width-(t[1].width+t[3].width),height:e.height-(t[0].width+t[2].width)};return n&&(r=m(r,n)),r}(s,i,l.clip),h=T(t,i,s),u=H.test(t.nodeName)?"#efefef":q(t,"backgroundColor");switch(S(c,h.clip),c.save(),c.clip(),d.height>0&&d.width>0&&!r?(z(c,i,u),function(t,e,n){for(var r,a=q(t,"backgroundImage"),o=G.parseBackgroundImage(a),i=o.length;i--;)(a=o[i]).args&&0!==a.args.length&&((r=g("url"===a.method?a.args[0]:a.value))?A(t,e,n,r,i):G.log("html2canvas: Error loading background:",a))}(t,d,c)):r&&(l.backgroundColor=u),c.restore(),h.borders.forEach((function(t){!function(t,e,n){"transparent"!==n&&(t.setVariable("fillStyle",n),S(t,e),t.fill(),1)}(c,t.args,t.color)})),n||function(t,e){var n=E(t,":before"),r=E(t,":after");(n||r)&&(n&&(t.className+=" "+X+"-before",t.parentNode.insertBefore(n,t),F(n,e,!0),t.parentNode.removeChild(n),t.className=t.className.replace(X+"-before","").trim()),r&&(t.className+=" "+X+"-after",t.appendChild(r),F(r,e,!0),t.removeChild(r),t.className=t.className.replace(X+"-after","").trim()))}(t,l),t.nodeName){case"IMG":(a=g(t.getAttribute("src")))?b(c,t,a,i,s):G.log("html2canvas: Error loading <img>:"+t.getAttribute("src"));break;case"INPUT":/^(text|url|email|submit|button|reset)$/.test(t.type)&&(t.value||t.placeholder||"").length>0&&M(t,i,l);break;case"TEXTAREA":(t.value||t.placeholder||"").length>0&&M(t,i,l);break;case"SELECT":(t.options||t.placeholder||"").length>0&&M(t,i,l);break;case"LI":p(t,l,d);break;case"CANVAS":b(c,t,t,i,s)}return l}function F(t,e,n){(function(t){return"none"!==q(t,"display")&&"hidden"!==q(t,"visibility")&&!t.hasAttribute("data-html2canvas-ignore")})(t)&&(e=P(t,e,n,!1)||e,H.test(t.nodeName)||V(t,e,n))}function V(t,e,n){G.Children(t).forEach((function(r){r.nodeType===r.ELEMENT_NODE?F(r,e,n):r.nodeType===r.TEXT_NODE&&f(t,r,e)}))}t.scroll(0,0);var D=a.elements===n?e.body:a.elements[0],$=D.ownerDocument,G=s.Util,W=G.Support(a,$),H=RegExp("("+a.ignoreElements+")"),j=$.body,q=G.getCSS,X="___html2canvas___pseudoelement",_=$.createElement("style");_.innerHTML="."+X+'-before:before { content: "" !important; display: none !important; }.'+X+'-after:after { content: "" !important; display: none !important; }',j.appendChild(_),r=r||{};var Y=function(t){return function(e,n,r,a){var o=r*t,i=a*t,l=e+r,s=n+a;return{topLeft:x({x:e,y:s},{x:e,y:s-i},{x:l-o,y:n},{x:l,y:n}),topRight:x({x:e,y:n},{x:e+o,y:n},{x:l,y:s-i},{x:l,y:s}),bottomRight:x({x:l,y:n},{x:l,y:n+i},{x:e+o,y:s},{x:e,y:s}),bottomLeft:x({x:l,y:s},{x:l-o,y:s},{x:e,y:n+i},{x:e,y:n})}}}((Math.sqrt(2)-1)/3*4),Q=/(matrix)\((.+)\)/;return function(){var t=q(e.documentElement,"backgroundColor"),n=G.isTransparent(t)&&D===e.body,r=P(D,null,!1,n);return V(D,r),n&&(t=r.backgroundColor),j.removeChild(_),{backgroundColor:t,stack:r}}()},s.Preload=function(r){function a(){m.log("html2canvas: start: images: "+g.numLoaded+" / "+g.numTotal+" (failed: "+g.numFailed+")"),!g.firstRun&&g.numLoaded>=g.numTotal&&(m.log("Finished loading images: # "+g.numTotal+" (failed: "+g.numFailed+")"),"function"==typeof r.complete&&r.complete(g))}function o(e,o,i){var l,s,c=r.proxy;k.href=e,e=k.href,l="html2canvas_"+y++,i.callbackname=l,c+=c.indexOf("?")>-1?"&":"?",c+="url="+encodeURIComponent(e)+"&callback="+l,s=w.createElement("script"),t[l]=function(e){"error:"===e.substring(0,6)?(i.succeeded=!1,g.numLoaded++,g.numFailed++,a()):(d(o,i),o.src=e),t[l]=n;try{delete t[l]}catch(t){}s.parentNode.removeChild(s),s=null,delete i.script,delete i.callbackname},s.setAttribute("type","text/javascript"),s.setAttribute("src",c),i.script=s,t.document.body.appendChild(s)}function i(e,n){var r=t.getComputedStyle(e,n),a=r.content;"url"===a.substr(0,3)&&u.loadImage(s.Util.parseBackgroundImage(a)[0].args[0]),c(r.backgroundImage,e)}function l(t){return t&&t.method&&t.args&&t.args.length>0}function c(t,e){var r;s.Util.parseBackgroundImage(t).filter(l).forEach((function(t){"url"===t.method?u.loadImage(t.args[0]):t.method.match(/\-?gradient$/)&&(r===n&&(r=s.Util.Bounds(e)),function(t,e){var r=s.Generate.Gradient(t,e);r!==n&&(g[t]={img:r,succeeded:!0},g.numTotal++,g.numLoaded++,a())}(t.value,r))}))}function d(e,i){e.onload=function(){i.timer!==n&&t.clearTimeout(i.timer),g.numLoaded++,i.succeeded=!0,e.onerror=e.onload=null,a()},e.onerror=function(){if("anonymous"===e.crossOrigin&&(t.clearTimeout(i.timer),r.proxy)){var l=e.src;return e=new Image,i.img=e,e.src=l,o(e.src,e,i),n}g.numLoaded++,g.numFailed++,i.succeeded=!1,e.onerror=e.onload=null,a()}}var h,u,f,p,g={numLoaded:0,numFailed:0,numTotal:0,cleanupDone:!1},m=s.Util,y=0,b=r.elements[0]||e.body,w=b.ownerDocument,x=b.getElementsByTagName("img"),v=x.length,k=w.createElement("a"),C=(new Image).crossOrigin!==n;for(k.href=t.location.href,h=k.protocol+k.host,u={loadImage:function(t){var e,a;t&&g[t]===n&&(e=new Image,t.match(/data:image\/.*;base64,/i)?(e.src=t.replace(/url\(['"]{0,}|['"]{0,}\)$/gi,""),a=g[t]={img:e},g.numTotal++,d(e,a)):function(t){return k.href=t,k.href=k.href,k.protocol+k.host===h}(t)||!0===r.allowTaint?(a=g[t]={img:e},g.numTotal++,d(e,a),e.src=t):C&&!r.allowTaint&&r.useCORS?(e.crossOrigin="anonymous",a=g[t]={img:e},g.numTotal++,d(e,a),e.src=t):r.proxy&&(a=g[t]={img:e},g.numTotal++,o(t,e,a)))},cleanupDOM:function(o){var i,l;if(!g.cleanupDone){for(l in o&&"string"==typeof o?m.log("html2canvas: Cleanup because: "+o):m.log("html2canvas: Cleanup after timeout: "+r.timeout+" ms."),g)if(g.hasOwnProperty(l)&&("object"==typeof(i=g[l])&&i.callbackname&&i.succeeded===n)){t[i.callbackname]=n;try{delete t[i.callbackname]}catch(t){}i.script&&i.script.parentNode&&(i.script.setAttribute("src","about:blank"),i.script.parentNode.removeChild(i.script)),g.numLoaded++,g.numFailed++,m.log("html2canvas: Cleaned up failed img: '"+l+"' Steps: "+g.numLoaded+" / "+g.numTotal)}t.stop!==n?t.stop():e.execCommand!==n&&e.execCommand("Stop",!1),e.close!==n&&e.close(),g.cleanupDone=!0,o&&"string"==typeof o||a()}},renderingDone:function(){p&&t.clearTimeout(p)}},r.timeout>0&&(p=t.setTimeout(u.cleanupDOM,r.timeout)),m.log("html2canvas: Preload starts: finding background-images"),g.firstRun=!0,function t(e){var r=!1;try{m.Children(e).forEach(t)}catch(t){}try{r=e.nodeType}catch(t){r=!1,m.log("html2canvas: failed to access some element's nodeType - Exception: "+t.message)}if(1===r||r===n){!function(t){i(t,":before"),i(t,":after")}(e);try{c(m.getCSS(e,"backgroundImage"),e)}catch(t){m.log("html2canvas: failed to get background-image - Exception: "+t.message)}c(e)}}(b),m.log("html2canvas: Preload: Finding images"),f=0;v>f;f+=1)u.loadImage(x[f].getAttribute("src"));return g.firstRun=!1,m.log("html2canvas: Preload: Done."),g.numTotal===g.numLoaded&&a(),u},s.Renderer=function(t,r){return function(t){var e;if("string"==typeof r.renderer&&s.Renderer[t]!==n)e=s.Renderer[t](r);else{if("function"!=typeof t)throw Error("Unknown renderer");e=t(r)}if("function"!=typeof e)throw Error("Invalid renderer defined");return e}(r.renderer)(t,r,e,function(t){var e,r=[];return e=function(t){var e={};return function t(e,r,a){var o="auto"===r.zIndex.zindex?0:Number(r.zIndex.zindex),i=e,l=r.zIndex.isPositioned,s=r.zIndex.isFloated,c={node:r},d=a;r.zIndex.ownStacking?(i=c.context={"!":[{node:r,children:[]}]},d=n):(l||s)&&(d=c.children=[]),0===o&&a?a.push(c):(e[o]||(e[o]=[]),e[o].push(c)),r.zIndex.children.forEach((function(e){t(i,e,d)}))}(e,t),e}(t),function t(e){Object.keys(e).sort().forEach((function(n){var a=[],o=[],i=[],l=[];e[n].forEach((function(t){t.node.zIndex.isPositioned||1>t.node.zIndex.opacity?i.push(t):t.node.zIndex.isFloated?o.push(t):a.push(t)})),function t(e){e.forEach((function(e){l.push(e),e.children&&t(e.children)}))}(a.concat(o,i)),l.forEach((function(e){e.context?t(e.context):r.push(e.node)}))}))}(e),r}(t.stack),s)},s.Util.Support=function(t,e){return{rangeBounds:function(){var t,n,r=!1;return e.createRange&&((t=e.createRange()).getBoundingClientRect&&((n=e.createElement("boundtest")).style.height="123px",n.style.display="block",e.body.appendChild(n),t.selectNode(n),123===t.getBoundingClientRect().height&&(r=!0),e.body.removeChild(n))),r}(),svgRendering:t.svgRendering&&function(){var t=new Image,r=e.createElement("canvas"),a=r.getContext!==n&&r.getContext("2d");if(!1===a)return!1;r.width=r.height=10,t.src=["data:image/svg+xml,","<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10'>","<foreignObject width='10' height='10'>","<div xmlns='http://www.w3.org/1999/xhtml' style='width:10;height:10;'>","sup","</div>","</foreignObject>","</svg>"].join("");try{a.drawImage(t,0,0),r.toDataURL()}catch(t){return!1}return s.Util.log("html2canvas: Parse: SVG powered rendering available"),!0}()}},t.html2canvas=function(e,n){var r,a,o={logging:!1,elements:e=e.length?e:[e],background:"#fff",proxy:null,timeout:0,useCORS:!1,allowTaint:!1,svgRendering:!1,ignoreElements:"IFRAME|OBJECT|PARAM",useOverflow:!0,letterRendering:!1,chinese:!1,width:null,height:null,taintTest:!0,renderer:"Canvas"};return o=s.Util.Extend(n,o),s.logging=o.logging,o.complete=function(t){("function"!=typeof o.onpreloaded||!1!==o.onpreloaded(t))&&(r=s.Parse(t,o),("function"!=typeof o.onparsed||!1!==o.onparsed(r))&&(a=s.Renderer(r,o),"function"==typeof o.onrendered&&o.onrendered(a)))},t.setTimeout((function(){s.Preload(o)}),0),{render:function(t,e){return s.Renderer(t,s.Util.Extend(e,o))},parse:function(t,e){return s.Parse(t,s.Util.Extend(e,o))},preload:function(t){return s.Preload(s.Util.Extend(t,o))},log:s.Util.log}},t.html2canvas.log=s.Util.log,t.html2canvas.Renderer={Canvas:n},s.Renderer.Canvas=function(t){function r(e,n){switch(n.type){case"variable":e[n.name]=n.arguments;break;case"function":switch(n.name){case"createPattern":if(n.arguments[0].width>0&&n.arguments[0].height>0)try{e.fillStyle=e.createPattern(n.arguments[0],"repeat")}catch(t){c.log("html2canvas: Renderer: Error creating pattern",t.message)}break;case"drawShape":!function(t,e){t.beginPath(),e.forEach((function(e){t[e.name].apply(t,e.arguments)})),t.closePath()}(e,n.arguments);break;case"drawImage":n.arguments[8]>0&&n.arguments[7]>0&&(!t.taintTest||t.taintTest&&function(t){if(-1===o.indexOf(t.arguments[0].src)){l.drawImage(t.arguments[0],0,0);try{l.getImageData(0,0,1,1)}catch(t){return i=a.createElement("canvas"),l=i.getContext("2d"),!1}o.push(t.arguments[0].src)}return!0}(n))&&e.drawImage.apply(e,n.arguments);break;default:e[n.name].apply(e,n.arguments)}}}t=t||{};var a=e,o=[],i=e.createElement("canvas"),l=i.getContext("2d"),c=s.Util,d=t.canvas||a.createElement("canvas");return function(t,e,a,o,i){var l,s,h,u=d.getContext("2d"),f=t.stack;return d.width=d.style.width=e.width||f.ctx.width,d.height=d.style.height=e.height||f.ctx.height,h=u.fillStyle,u.fillStyle=c.isTransparent(f.backgroundColor)&&e.background!==n?e.background:t.backgroundColor,u.fillRect(0,0,d.width,d.height),u.fillStyle=h,o.forEach((function(t){u.textBaseline="bottom",u.save(),t.transform.matrix&&(u.translate(t.transform.origin[0],t.transform.origin[1]),u.transform.apply(u,t.transform.matrix),u.translate(-t.transform.origin[0],-t.transform.origin[1])),t.clip&&(u.beginPath(),u.rect(t.clip.left,t.clip.top,t.clip.width,t.clip.height),u.clip()),t.ctx.storage&&t.ctx.storage.forEach((function(t){r(u,t)})),u.restore()})),c.log("html2canvas: Renderer: Canvas renderer done - returning canvas obj"),1===e.elements.length&&"object"==typeof e.elements[0]&&"BODY"!==e.elements[0].nodeName?(s=i.Util.Bounds(e.elements[0]),(l=a.createElement("canvas")).width=Math.ceil(s.width),l.height=Math.ceil(s.height),(u=l.getContext("2d")).drawImage(d,s.left,s.top,s.width,s.height,0,0,s.width,s.height),d=null,l):d}}}(window,document);</script>
<script>var Canvas2Image=function(){var t,e,n={canvas:!!(e=(t=document.createElement("canvas")).getContext("2d")),imageData:!!e.getImageData,dataURL:!!t.toDataURL,btoa:!!window.btoa};function a(t,e,n){var a=t.width,r=t.height;null==e&&(e=a),null==n&&(n=r);var o=document.createElement("canvas"),i=o.getContext("2d");return o.width=e,o.height=n,i.drawImage(t,0,0,a,r,0,0,e,n),o}function r(t,e,n,r){return(t=a(t,n,r)).toDataURL(e)}function o(t,e){var n=document.createElement("a");n.href=t,n.download=e;var a=new MouseEvent("click",{bubbles:!1,cancelable:!1});n.dispatchEvent(a)}function i(t){var e=document.createElement("img");return e.src=t,e}function u(t){return"image/"+(t=t.toLowerCase().replace(/jpg/i,"jpeg")).match(/png|jpeg|bmp|gif/)[0]}function c(t){if(!window.btoa)throw"btoa undefined";var e="";if("string"==typeof t)e=t;else for(var n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return btoa(e)}function g(t){var e=t.width,n=t.height;return t.getContext("2d").getImageData(0,0,e,n)}function f(t,e){return"data:"+e+";base64,"+t}var d=function(t){var e=t.width,n=t.height,a=e*n*3,r=a+54,o=[66,77,255&r,r>>8&255,r>>16&255,r>>24&255,0,0,0,0,54,0,0,0],i=[40,0,0,0,255&e,e>>8&255,e>>16&255,e>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255,1,0,24,0,0,0,0,0,255&a,a>>8&255,a>>16&255,a>>24&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],u=(4-3*e%4)%4,g=t.data,f="",d=e<<2,m=n,v=String.fromCharCode;do{for(var l=d*(m-1),s="",h=0;h<e;h++){var p=h<<2;s+=v(g[l+p+2])+v(g[l+p+1])+v(g[l+p])}for(var w=0;w<u;w++)s+=String.fromCharCode(0);f+=s}while(--m);return c(o.concat(i))+c(f)},m=function(t,e,i,c,m){if(n.canvas&&n.dataURL)if("string"==typeof t&&(t=document.getElementById(t)),null==c&&(c="png"),m=null==m||0===m.length?Date.now()+"."+c:m+"."+c,c=u(c),/bmp/.test(c)){var v=g(a(t,e,i));o(f(d(v),downloadMimedownloadMime),m)}else o(r(t,c,e,i).replace(c,"image/octet-stream"),m)},v=function(t,e,o,c){if(n.canvas&&n.dataURL){if("string"==typeof t&&(t=document.getElementById(t)),null==c&&(c="png"),c=u(c),/bmp/.test(c)){var m=g(a(t,e,o));return i(f(d(m),"image/bmp"))}return i(r(t,c,e,o))}};return{saveAsImage:m,saveAsPNG:function(t,e,n,a){return m(t,e,n,"png",a)},saveAsJPEG:function(t,e,n,a){return m(t,e,n,"jpeg",a)},saveAsGIF:function(t,e,n,a){return m(t,e,n,"gif",a)},saveAsBMP:function(t,e,n,a){return m(t,e,n,"bmp",a)},convertToImage:v,convertToPNG:function(t,e,n){return v(t,e,n,"png")},convertToJPEG:function(t,e,n){return v(t,e,n,"jpeg")},convertToGIF:function(t,e,n){return v(t,e,n,"gif")},convertToBMP:function(t,e,n){return v(t,e,n,"bmp")}}}();</script>
</head>
<body>
<header class="site-header">
<div class="site-logo" id="logo-chinatimes">工商時報</div>
</header>
<div class="wrapper">
<div class="note">
<h1>工商時報已停止您訪問本網站</h1>
<p>如果您看到這個頁面,表示您的網路已遭到停止訪問本網站的權利。</p>
<h2>瞭解遭到停用的原因</h2>
<p>本站基於資訊安全以及保護網站內容價值等因素,對於使用未經認證之機器人、爬蟲程式等非自然人為訪問行為,給予停止訪問的權限。</p>
<h2>遭到停止訪問本網站會有什麼影響</h2>
<p>當您的網路遭到停止訪問本網站的權利時,您將無法訪問本網站。</p>
<h2>如何解除限制</h2>
<p>請您將網路環境內非人為訪問本網站的行為停止後,把以下阻擋連線資訊記錄起來並提供聯絡資訊與我們客服連絡,向我們提出解除訪問限制。<br>
另若您有業務需求,需認證爬蟲使用非人為方式訪問本網站,也請您跟我們客服連絡,我們將會有業務窗口向您説明解除事宜。</p>
<button class="btn-gen-image">產生連線資訊截圖</button>
<p>客服信箱:<a href="mailto:[email protected]?subject=Cloudflare WAF 連線錯誤">[email protected]</a></p>
</div>
<div class="access-detail">
<h2>Ctee連線資訊</h2>
<dl>
<dt>Access denied from country:</dt>
<dd>ES</dd>
<dt>Your IP address:</dt>
<dd>2a09:bac5:312b:e64::16f:8e</dd>
<dt>Ray ID:</dt>
<dd>8dda69653c33384a</dd>
</dl>
</div>
</div>
<footer class="site-footer">© 1995 - 2024 China Times Group.</footer>
<script>!function(){var e=`© 1995 - ${(new Date).getFullYear()} China Times Group.`;document.querySelector(".site-footer").append(e)}();</script>
<script>document.querySelector(".btn-gen-image").addEventListener("click",(function(){html2canvas(document.querySelector(".access-detail"),{onrendered:function(e){return Canvas2Image.saveAsPNG(e)}})}));</script>
<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'8dda69653c33384a',t:'MTczMDc4NDIwNS4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script><iframe height="1" width="1" style="position: absolute; top: 0px; left: 0px; border: none; visibility: hidden;"></iframe>
</body></html>