@newview/tools 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/tools.esm.js +1 -1
  2. package/dist/tools.esm.js.map +1 -1
  3. package/package.json +4 -3
  4. package/readme.md +3 -0
  5. package/tsconfig.json +2 -2
  6. package/types/index.d.ts +3 -0
  7. package/types/supcan/SupcanReport.d.ts +1077 -0
  8. package/types/supcan/reportModel.d.ts +80 -0
  9. package/types/supcan/supcan/dev/nstd.d.ts +26 -0
  10. package/types/supcan/supcan/dynaload-jQuery.d.ts +26 -0
  11. package/types/supcan/supcan/dynaload.d.ts +13 -0
  12. package/types/supcan/supcan/dynaloadNG.d.ts +26 -0
  13. package/types/supcan/supcan/echarts/chart/bar.d.ts +0 -0
  14. package/types/supcan/supcan/echarts/chart/chord.d.ts +0 -0
  15. package/types/supcan/supcan/echarts/chart/eventRiver.d.ts +0 -0
  16. package/types/supcan/supcan/echarts/chart/force.d.ts +0 -0
  17. package/types/supcan/supcan/echarts/chart/funnel.d.ts +0 -0
  18. package/types/supcan/supcan/echarts/chart/gauge.d.ts +0 -0
  19. package/types/supcan/supcan/echarts/chart/heatmap.d.ts +0 -0
  20. package/types/supcan/supcan/echarts/chart/k.d.ts +0 -0
  21. package/types/supcan/supcan/echarts/chart/line.d.ts +0 -0
  22. package/types/supcan/supcan/echarts/chart/map.d.ts +0 -0
  23. package/types/supcan/supcan/echarts/chart/pie.d.ts +0 -0
  24. package/types/supcan/supcan/echarts/chart/radar.d.ts +0 -0
  25. package/types/supcan/supcan/echarts/chart/scatter.d.ts +0 -0
  26. package/types/supcan/supcan/echarts/chart/tree.d.ts +0 -0
  27. package/types/supcan/supcan/echarts/chart/treemap.d.ts +0 -0
  28. package/types/supcan/supcan/echarts/chart/venn.d.ts +0 -0
  29. package/types/supcan/supcan/echarts/chart/wordCloud.d.ts +0 -0
  30. package/types/supcan/supcan/echarts/echarts.d.ts +3 -0
  31. package/types/supcan/supcan/echarts/theme/blue.d.ts +0 -0
  32. package/types/supcan/supcan/echarts/theme/dark.d.ts +0 -0
  33. package/types/supcan/supcan/echarts/theme/default.d.ts +0 -0
  34. package/types/supcan/supcan/echarts/theme/gray.d.ts +0 -0
  35. package/types/supcan/supcan/echarts/theme/green.d.ts +0 -0
  36. package/types/supcan/supcan/echarts/theme/helianthus.d.ts +0 -0
  37. package/types/supcan/supcan/echarts/theme/infographic.d.ts +0 -0
  38. package/types/supcan/supcan/echarts/theme/macarons.d.ts +0 -0
  39. package/types/supcan/supcan/echarts/theme/macarons2.d.ts +0 -0
  40. package/types/supcan/supcan/echarts/theme/mint.d.ts +0 -0
  41. package/types/supcan/supcan/echarts/theme/red.d.ts +0 -0
  42. package/types/supcan/supcan/echarts/theme/roma.d.ts +0 -0
  43. package/types/supcan/supcan/echarts/theme/sakura.d.ts +0 -0
  44. package/types/supcan/supcan/echarts/theme/shine.d.ts +0 -0
  45. package/types/supcan/supcan/format_freeform/nstd.d.ts +26 -0
  46. package/types/supcan/supcan/format_treelist/nstd.d.ts +26 -0
  47. package/types/supcan/validatorHelper.d.ts +281 -0
package/dist/tools.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import{Guid as r}from"guid-typescript";import{fromJS as t}from"immutable";import e from"moment";import n from"crypto-js";var i=/*#__PURE__*/function(){function r(){}var t=r.prototype;return t.add=function(r,t,n){return e(r).add(t,n).toDate()},t.subtract=function(r,t,n){return e(r).subtract(t,n).toDate()},t.startOf=function(r,t){return e(r).startOf(t).toDate()},t.endOf=function(r,t){return e(r).endOf(t).toDate()},t.format=function(r,t){return void 0===t&&(t="YYYY-MM-DD HH:mm:ss"),e(r).format(t)},t.diff=function(r,t,n,i){return e(r).diff(t,n,i)},t.getWeekDay=function(r){return new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六")[e(r).weekday()]},r}(),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1),u=/*#__PURE__*/function(){function r(){}var t=r.prototype;return t.encodeToBase64=function(r){if(s.isNull(r))return"";var t,e,n,i,a,u;for(n=r.length,e=0,t="";e<n;){if(i=255&r.charCodeAt(e++),e==n){t+=o.charAt(i>>2),t+=o.charAt((3&i)<<4),t+="==";break}if(a=r.charCodeAt(e++),e==n){t+=o.charAt(i>>2),t+=o.charAt((3&i)<<4|(240&a)>>4),t+=o.charAt((15&a)<<2),t+="=";break}u=r.charCodeAt(e++),t+=o.charAt(i>>2),t+=o.charAt((3&i)<<4|(240&a)>>4),t+=o.charAt((15&a)<<2|(192&u)>>6),t+=o.charAt(63&u)}return t},t.decodeBase64=function(r){if(s.isNull(r))return"";var t,e,n,i,o,u,c;for(u=r.length,o=0,c="";o<u;){do{t=a[255&r.charCodeAt(o++)]}while(o<u&&-1==t);if(-1==t)break;do{e=a[255&r.charCodeAt(o++)]}while(o<u&&-1==e);if(-1==e)break;c+=String.fromCharCode(t<<2|(48&e)>>4);do{if(61==(n=255&r.charCodeAt(o++)))return c;n=a[n]}while(o<u&&-1==n);if(-1==n)break;c+=String.fromCharCode((15&e)<<4|(60&n)>>2);do{if(61==(i=255&r.charCodeAt(o++)))return c;i=a[i]}while(o<u&&-1==i);if(-1==i)break;c+=String.fromCharCode((3&n)<<6|i)}return c},t.utf16To8=function(r){var t,e,n,i;for(t="",n=r.length,e=0;e<n;e++)(i=r.charCodeAt(e))>=1&&i<=127?t+=r.charAt(e):i>2047?(t+=String.fromCharCode(224|i>>12&15),t+=String.fromCharCode(128|i>>6&63),t+=String.fromCharCode(128|63&i)):(t+=String.fromCharCode(192|i>>6&31),t+=String.fromCharCode(128|63&i));return t},t.utf8To16=function(r){var t,e,n,i,o,a;for(t="",n=r.length,e=0;e<n;)switch((i=r.charCodeAt(e++))>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:t+=r.charAt(e-1);break;case 12:case 13:o=r.charCodeAt(e++),t+=String.fromCharCode((31&i)<<6|63&o);break;case 14:o=r.charCodeAt(e++),a=r.charCodeAt(e++),t+=String.fromCharCode((15&i)<<12|(63&o)<<6|63&a)}return t},t.toDate=function(r){return e(r.toString()).toDate()},t.toMoment=function(r){return e(r.toString())},t.convertCurrency=function(r){var t,e,n,i=new Array("零","壹","贰","叁","肆","伍","陆","柒","捌","玖"),o=new Array("","拾","佰","仟"),a=new Array("","万","亿","兆"),u=new Array("角","分","毫","厘"),c="";if(""==r)return"";var f=parseFloat(r.toString());if(0==f)return i[0]+"元整";if(f>=1e15)return"";if(-1==r.indexOf(".")?(t=r,e=""):(t=(n=r.split("."))[0],e=n[1].substring(0,4)),parseInt(t.toString(),10)>0){for(var s=0,d=t.length,l=0;l<d;l++){var h=t.substring(l,1),m=d-l-1,g=m/4,p=m%4;"0"==h?s++:(s>0&&(c+=i[0]),s=0,c+=i[parseInt(h)]+o[p]),0==p&&s<4&&(c+=a[g])}c+="元"}if(""!=e)for(var v=e.length,C=0;C<v;C++){var A=e.substring(C,1);"0"!=A&&(c+=i[Number(A)]+u[C])}return""==c?c+=i[0]+"元整":""==e&&(c+="整"),c},t.hiddenIDCardNum=function(r){return r.replace(/(.{4}).*(.{4})/,"$1**********$2")},t.hiddenTelNum=function(r){return r.replace(/(.{4}).*(.{4})/,"$1**********$2")},t.leftPad=function(r,t,e){void 0===e&&(e="0");var n=r.length,i="",o=0;do{i+=e,++o}while(o<t-n);return i+r},t.encryptAES=function(r,t){try{var e=n.enc.Utf8.parse(t),i=n.enc.Utf8.parse(r.toString());return n.AES.encrypt(i,e,{mode:n.mode.ECB,padding:n.pad.Pkcs7}).toString()}catch(t){return r}},t.decryptAES=function(r,t){try{var e=n.enc.Utf8.parse(t),i=n.AES.decrypt(r.toString(),e,{mode:n.mode.ECB,padding:n.pad.Pkcs7});return n.enc.Utf8.stringify(i).toString()}catch(r){return""}},r}(),c=/*#__PURE__*/function(){function r(){}var t=r.prototype;return t.getTreeSelectTitleBaseOnVals=function(r,t,e){var n=this;return s.isNull(e)&&(e=[]),r.forEach(function(r){return s.isNull(r.value)||t.includes(r.value)&&e.push(r.title),s.isNull(r.children)||0===r.children.length?void 0:void n.getTreeSelectTitleBaseOnVals(r.children,t,e)}),e},t.parseIViewOptions=function(r,t,e){return r.map(function(r){return{text:r[t],value:r[e]}})},r}(),f=/*#__PURE__*/function(){function n(){var o=this;this.dateHelper=new i,this.stringHelper=new u,this.arrayHelper=new c,this.isNull=function(r){return""===r||null==r||"undefined"===r||"null"===r},this.getValueNotNull=function(r,t){return o.isNull(r)?t:r},this.getUniqueCode=function(t){return void 0===t&&(t=""),t+r.create().toString().replace(/\-/g,"").substring(t.length)},this.getCurrentDate=function(r){void 0===r&&(r="YYYY-MM-DD HH:mm:ss");var t=new Date;return o.dateHelper.format(t,r)},this.format=function(r,t){return void 0===t&&(t="YYYY-MM-DD HH:mm:ss"),o.getMoment(r).format(t)},this.parseApiResult=function(r,t){return void 0===t&&(t=null),o.isNull(r)?null:200!==r.code||!r.issucess&&"请求成功"!=r.msg&&"承载数据为空"!=r.msg?t:o.isNull(r.result)?r.data:r.result},this.deepCopy=function(r){return t(r).toJS()},this.getMilestone=function(r){try{var t=r.split("+"),e=t[0].match(/\d+(.\d+)?/g),n=t[1];return 1e3*Number(e)+Number(n)}catch(r){return 0}},this.getMoment=function(r){return e(r)},this.debounce=function(r,t){return void 0===t&&(t=300),function(){var e=arguments;return n.debounceTimer&&clearTimeout(n.debounceTimer),new Promise(function(i){n.debounceTimer=setTimeout(function(){try{return Promise.resolve(r.apply(void 0,[].slice.call(e))).then(function(r){i(r)})}catch(r){return Promise.reject(r)}},t)})}},this.adaptDesignSize=function(r,t,e){void 0===t&&(t=2e3),void 0===e&&(e=2560);var n=window.innerWidth>=t?e/1920:1;if(null==r)return 0;if("number"==typeof r)return r*n;if("string"==typeof r){var i=r.match(/[a-z]+/i),o=i?i[0]:"",a=parseFloat(r);if(!isNaN(a)&&o)return""+a*n+o}return r}}return n.prototype.getSerialNumber=function(r,t){return r=(0==r?1:r+1)+100,t+this.getCurrentDate("yyyyMMDD")+("F"+r).replace("F1","0")},n}();f.debounceTimer=null;var s=new f;export{f as Utilities,s as utilities};
1
+ import{Guid as e}from"guid-typescript";import{fromJS as t}from"immutable";import r from"moment";import n from"crypto-js";function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=/*#__PURE__*/function(){function e(){}var t=e.prototype;return t.add=function(e,t,n){return r(e).add(t,n).toDate()},t.subtract=function(e,t,n){return r(e).subtract(t,n).toDate()},t.startOf=function(e,t){return r(e).startOf(t).toDate()},t.endOf=function(e,t){return r(e).endOf(t).toDate()},t.format=function(e,t){return void 0===t&&(t="YYYY-MM-DD HH:mm:ss"),r(e).format(t)},t.diff=function(e,t,n,o){return r(e).diff(t,n,o)},t.getWeekDay=function(e){return new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六")[r(e).weekday()]},e}(),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1),u=/*#__PURE__*/function(){function e(){}var t=e.prototype;return t.encodeToBase64=function(e){if(f.isNull(e))return"";var t,r,n,o,i,a;for(n=e.length,r=0,t="";r<n;){if(o=255&e.charCodeAt(r++),r==n){t+=s.charAt(o>>2),t+=s.charAt((3&o)<<4),t+="==";break}if(i=e.charCodeAt(r++),r==n){t+=s.charAt(o>>2),t+=s.charAt((3&o)<<4|(240&i)>>4),t+=s.charAt((15&i)<<2),t+="=";break}a=e.charCodeAt(r++),t+=s.charAt(o>>2),t+=s.charAt((3&o)<<4|(240&i)>>4),t+=s.charAt((15&i)<<2|(192&a)>>6),t+=s.charAt(63&a)}return t},t.decodeBase64=function(e){if(f.isNull(e))return"";var t,r,n,o,i,a,s;for(a=e.length,i=0,s="";i<a;){do{t=l[255&e.charCodeAt(i++)]}while(i<a&&-1==t);if(-1==t)break;do{r=l[255&e.charCodeAt(i++)]}while(i<a&&-1==r);if(-1==r)break;s+=String.fromCharCode(t<<2|(48&r)>>4);do{if(61==(n=255&e.charCodeAt(i++)))return s;n=l[n]}while(i<a&&-1==n);if(-1==n)break;s+=String.fromCharCode((15&r)<<4|(60&n)>>2);do{if(61==(o=255&e.charCodeAt(i++)))return s;o=l[o]}while(i<a&&-1==o);if(-1==o)break;s+=String.fromCharCode((3&n)<<6|o)}return s},t.utf16To8=function(e){var t,r,n,o;for(t="",n=e.length,r=0;r<n;r++)(o=e.charCodeAt(r))>=1&&o<=127?t+=e.charAt(r):o>2047?(t+=String.fromCharCode(224|o>>12&15),t+=String.fromCharCode(128|o>>6&63),t+=String.fromCharCode(128|63&o)):(t+=String.fromCharCode(192|o>>6&31),t+=String.fromCharCode(128|63&o));return t},t.utf8To16=function(e){var t,r,n,o,i,a;for(t="",n=e.length,r=0;r<n;)switch((o=e.charCodeAt(r++))>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:t+=e.charAt(r-1);break;case 12:case 13:i=e.charCodeAt(r++),t+=String.fromCharCode((31&o)<<6|63&i);break;case 14:i=e.charCodeAt(r++),a=e.charCodeAt(r++),t+=String.fromCharCode((15&o)<<12|(63&i)<<6|63&a)}return t},t.toDate=function(e){return r(e.toString()).toDate()},t.toMoment=function(e){return r(e.toString())},t.convertCurrency=function(e){var t,r,n,o=new Array("零","壹","贰","叁","肆","伍","陆","柒","捌","玖"),i=new Array("","拾","佰","仟"),a=new Array("","万","亿","兆"),s=new Array("角","分","毫","厘"),l="";if(""==e)return"";var u=parseFloat(e.toString());if(0==u)return o[0]+"元整";if(u>=1e15)return"";if(-1==e.indexOf(".")?(t=e,r=""):(t=(n=e.split("."))[0],r=n[1].substring(0,4)),parseInt(t.toString(),10)>0){for(var c=0,p=t.length,f=0;f<p;f++){var d=t.substring(f,1),h=p-f-1,g=h/4,m=h%4;"0"==d?c++:(c>0&&(l+=o[0]),c=0,l+=o[parseInt(d)]+i[m]),0==m&&c<4&&(l+=a[g])}l+="元"}if(""!=r)for(var v=r.length,b=0;b<v;b++){var y=r.substring(b,1);"0"!=y&&(l+=o[Number(y)]+s[b])}return""==l?l+=o[0]+"元整":""==r&&(l+="整"),l},t.hiddenIDCardNum=function(e){return e.replace(/(.{4}).*(.{4})/,"$1**********$2")},t.hiddenTelNum=function(e){return e.replace(/(.{4}).*(.{4})/,"$1**********$2")},t.leftPad=function(e,t,r){void 0===r&&(r="0");var n=e.length,o="",i=0;do{o+=r,++i}while(i<t-n);return o+e},t.encryptAES=function(e,t){try{var r=n.enc.Utf8.parse(t),o=n.enc.Utf8.parse(e.toString());return n.AES.encrypt(o,r,{mode:n.mode.ECB,padding:n.pad.Pkcs7}).toString()}catch(t){return e}},t.decryptAES=function(e,t){try{var r=n.enc.Utf8.parse(t),o=n.AES.decrypt(e.toString(),r,{mode:n.mode.ECB,padding:n.pad.Pkcs7});return n.enc.Utf8.stringify(o).toString()}catch(e){return""}},e}(),c=/*#__PURE__*/function(){function e(){}var t=e.prototype;return t.getTreeSelectTitleBaseOnVals=function(e,t,r){var n=this;return f.isNull(r)&&(r=[]),e.forEach(function(e){return f.isNull(e.value)||t.includes(e.value)&&r.push(e.title),f.isNull(e.children)||0===e.children.length?void 0:void n.getTreeSelectTitleBaseOnVals(e.children,t,r)}),r},t.parseIViewOptions=function(e,t,r){return e.map(function(e){return{text:e[t],value:e[r]}})},e}(),p=/*#__PURE__*/function(){function n(){var o=this;this.dateHelper=new a,this.stringHelper=new u,this.arrayHelper=new c,this.isNull=function(e){return""===e||null==e||"undefined"===e||"null"===e},this.getValueNotNull=function(e,t){return o.isNull(e)?t:e},this.getUniqueCode=function(t){return void 0===t&&(t=""),t+e.create().toString().replace(/\-/g,"").substring(t.length)},this.getCurrentDate=function(e){void 0===e&&(e="YYYY-MM-DD HH:mm:ss");var t=new Date;return o.dateHelper.format(t,e)},this.format=function(e,t){return void 0===t&&(t="YYYY-MM-DD HH:mm:ss"),o.getMoment(e).format(t)},this.parseApiResult=function(e,t){return void 0===t&&(t=null),o.isNull(e)?null:200!==e.code||!e.issucess&&"请求成功"!=e.msg&&"承载数据为空"!=e.msg?t:o.isNull(e.result)?e.data:e.result},this.deepCopy=function(e){return t(e).toJS()},this.getMilestone=function(e){try{var t=e.split("+"),r=t[0].match(/\d+(.\d+)?/g),n=t[1];return 1e3*Number(r)+Number(n)}catch(e){return 0}},this.getMoment=function(e){return r(e)},this.debounce=function(e,t){return void 0===t&&(t=300),function(){var r=arguments;return n.debounceTimer&&clearTimeout(n.debounceTimer),new Promise(function(o){n.debounceTimer=setTimeout(function(){try{return Promise.resolve(e.apply(void 0,[].slice.call(r))).then(function(e){o(e)})}catch(e){return Promise.reject(e)}},t)})}},this.adaptDesignSize=function(e,t,r){void 0===t&&(t=2e3),void 0===r&&(r=2560);var n=window.innerWidth>=t?r/1920:1;if(null==e)return 0;if("number"==typeof e)return e*n;if("string"==typeof e){var o=e.match(/[a-z]+/i),i=o?o[0]:"",a=parseFloat(e);if(!isNaN(a)&&i)return""+a*n+i}return e}}return n.prototype.getSerialNumber=function(e,t){return e=(0==e?1:e+1)+100,t+this.getCurrentDate("yyyyMMDD")+("F"+e).replace("F1","0")},n}();p.debounceTimer=null;var f=new p,d=function(){var e=new Object;e.npapi=!1,e.ppapi=!1,e.chrome_install_apitype="",e.version=0;var t="",r=navigator.userAgent.toLowerCase();if(r.indexOf("edge")>0)e.type="edge";else if(r.indexOf("msie")>0||r.indexOf("trident")>0)e.type="ie",(n=r.indexOf("msie"))>=0&&(t=r.substring(n+4));else{var n;navigator.mimeTypes["application/supcan-plugin"]&&(e.npapi=!0),navigator.mimeTypes["application/x-ppapi-supcan"]&&(e.ppapi=!0),r.indexOf("chrome")>0?(e.type="chrome",(n=r.indexOf("chrome/"))>=0&&(t=r.substring(n+7))):e.type="firefox"}if(""!=t&&(n=t.indexOf("."))>0&&(e.version=parseInt(t.substr(0,n))),"chrome"==e.type&&(0==e.npapi&&0==e.ppapi?e.chrome_install_apitype=e.version<35||navigator.mimeTypes.length>15?"npapi":"ppapi":e.npapi&&e.ppapi&&(e.version<35?e.ppapi=!1:e.npapi=!1)),e.is64=r.indexOf("win64")>=0||r.indexOf("x64")>=0,0==e.is64&&"chrome"==e.type){var o=navigator.appVersion.toLowerCase();(o.indexOf("win64")>=0||o.indexOf("x64")>=0)&&(e.is64=!0)}return e}();function h(e,t,r){try{return d.ppapi?e.postMessageAndAwaitResponse([t,r]):e.func(t,r)}catch(e){console.error(e)}}var g=function(){this.bindname=void 0,this.bindtype=void 0,this.tableId=void 0,this.indexnum=void 0,this.looptype=void 0,this.xcount=void 0,this.xstep=void 0,this.ycount=void 0,this.ystep=void 0,this.tcount=void 0,this.tstep=void 0,this.row=void 0,this.col=void 0,this.sheetindex=void 0,this.ispage=void 0,this.isChart=void 0,this.tag="",this.isOtherTag=void 0,this.otherTagType=void 0,this.bindTargetId=void 0},m=function(){this.items=void 0,this.head=void 0,this.foot=void 0,this.tables=void 0,this.pager=void 0},v=function(){this.orgindex=void 0,this.totalpage=void 0,this.currentpage=void 0,this.index=void 0,this.type=0,this.typenames=["检测报告","检测记录","检测报告封面","检测报告声明","检测委托单","检测汇总报告"],this.tag=void 0,this.trialSheetIndex=void 0,this.trialId=void 0,this.taskId=void 0,this.sortindex=void 0},b="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function y(e){var t={exports:{}};return e(t,t.exports),t.exports}function w(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var C=w({HTML:"text/html",isHTML:function(e){return e===C.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),N=w({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===N.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"}),S={assign:function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},find:function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;n<e.length;n++)if(Object.prototype.hasOwnProperty.call(e,n)){var o=e[n];if(t.call(void 0,o,n,e))return o}},freeze:w,MIME_TYPE:C,NAMESPACE:N},R=S.find,x=S.NAMESPACE;function T(e){return""!==e}function D(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function E(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(T):[]}(e);return Object.keys(t.reduce(D,{}))}function A(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function _(e,t){var r=e.prototype;if(!(r instanceof t)){function n(){}n.prototype=t.prototype,A(r,n=new n),e.prototype=r=n}r.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),r.constructor=e)}var P={},k=P.ELEMENT_NODE=1,O=P.ATTRIBUTE_NODE=2,q=P.TEXT_NODE=3,I=P.CDATA_SECTION_NODE=4,L=P.ENTITY_REFERENCE_NODE=5,M=P.ENTITY_NODE=6,B=P.PROCESSING_INSTRUCTION_NODE=7,F=P.COMMENT_NODE=8,U=P.DOCUMENT_NODE=9,H=P.DOCUMENT_TYPE_NODE=10,G=P.DOCUMENT_FRAGMENT_NODE=11,V=P.NOTATION_NODE=12,W={},j={};W.INDEX_SIZE_ERR=(j[1]="Index size error",1),W.DOMSTRING_SIZE_ERR=(j[2]="DOMString size error",2);var z=W.HIERARCHY_REQUEST_ERR=(j[3]="Hierarchy request error",3);W.WRONG_DOCUMENT_ERR=(j[4]="Wrong document",4),W.INVALID_CHARACTER_ERR=(j[5]="Invalid character",5),W.NO_DATA_ALLOWED_ERR=(j[6]="No data allowed",6),W.NO_MODIFICATION_ALLOWED_ERR=(j[7]="No modification allowed",7);var X=W.NOT_FOUND_ERR=(j[8]="Not found",8);W.NOT_SUPPORTED_ERR=(j[9]="Not supported",9);var Y=W.INUSE_ATTRIBUTE_ERR=(j[10]="Attribute in use",10);function $(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,j[e]),this.message=j[e],Error.captureStackTrace&&Error.captureStackTrace(this,$);return r.code=e,t&&(this.message=this.message+": "+t),r}function J(){}function Z(e,t){this._node=e,this._refresh=t,Q(this)}function Q(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var r=e._refresh(e._node);if(Be(e,"length",r.length),!e.$$length||r.length<e.$$length)for(var n=r.length;n in e;n++)Object.prototype.hasOwnProperty.call(e,n)&&delete e[n];A(r,e),e._inc=t}}function K(){}function ee(e,t){for(var r=e.length;r--;)if(e[r]===t)return r}function te(e,t,r,n){if(n?t[ee(t,n)]=r:t[t.length++]=r,e){r.ownerElement=e;var o=e.ownerDocument;o&&(n&&le(o,e,n),function(e,t,r){e&&e._inc++,r.namespaceURI===x.XMLNS&&(t._nsMap[r.prefix?r.localName:""]=r.value)}(o,e,r))}}function re(e,t,r){var n=ee(t,r);if(!(n>=0))throw new $(X,new Error(e.tagName+"@"+r));for(var o=t.length-1;n<o;)t[n]=t[++n];if(t.length=o,e){var i=e.ownerDocument;i&&(le(i,e,r),r.ownerElement=null)}}function ne(){}function oe(){}function ie(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function ae(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(ae(e,t))return!0}while(e=e.nextSibling)}function se(){this.ownerDocument=this}function le(e,t,r,n){e&&e._inc++,r.namespaceURI===x.XMLNS&&delete t._nsMap[r.prefix?r.localName:""]}function ue(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var o=t.firstChild,i=0;o;)n[i++]=o,o=o.nextSibling;n.length=i,delete n[n.length]}}}function ce(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,ue(e.ownerDocument,e),t}function pe(e){return e&&e.nodeType===oe.DOCUMENT_TYPE_NODE}function fe(e){return e&&e.nodeType===oe.ELEMENT_NODE}function de(e){return e&&e.nodeType===oe.TEXT_NODE}function he(e,t){var r=e.childNodes||[];if(R(r,fe)||pe(t))return!1;var n=R(r,pe);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function ge(e,t){var r=e.childNodes||[];if(R(r,function(e){return fe(e)&&e!==t}))return!1;var n=R(r,pe);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function me(e,t,r){var n=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===oe.DOCUMENT_FRAGMENT_NODE){var i=o.filter(fe);if(i.length>1||R(o,de))throw new $(z,"More than one element or text in fragment");if(1===i.length&&!he(e,r))throw new $(z,"Element in fragment can not be inserted before doctype")}if(fe(t)&&!he(e,r))throw new $(z,"Only one element can be added and only after doctype");if(pe(t)){if(R(n,pe))throw new $(z,"Only one doctype is allowed");var a=R(n,fe);if(r&&n.indexOf(a)<n.indexOf(r))throw new $(z,"Doctype can only be inserted before an element");if(!r&&a)throw new $(z,"Doctype can not be appended since element is present")}}function ve(e,t,r){var n=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===oe.DOCUMENT_FRAGMENT_NODE){var i=o.filter(fe);if(i.length>1||R(o,de))throw new $(z,"More than one element or text in fragment");if(1===i.length&&!ge(e,r))throw new $(z,"Element in fragment can not be inserted before doctype")}if(fe(t)&&!ge(e,r))throw new $(z,"Only one element can be added and only after doctype");if(pe(t)){if(R(n,function(e){return pe(e)&&e!==r}))throw new $(z,"Only one doctype is allowed");var a=R(n,fe);if(r&&n.indexOf(a)<n.indexOf(r))throw new $(z,"Doctype can only be inserted before an element")}}function be(e,t,r,n){(function(e,t,r){if(!function(e){return e&&(e.nodeType===oe.DOCUMENT_NODE||e.nodeType===oe.DOCUMENT_FRAGMENT_NODE||e.nodeType===oe.ELEMENT_NODE)}(e))throw new $(z,"Unexpected parent node type "+e.nodeType);if(r&&r.parentNode!==e)throw new $(X,"child not in parent");if(!function(e){return e&&(fe(e)||de(e)||pe(e)||e.nodeType===oe.DOCUMENT_FRAGMENT_NODE||e.nodeType===oe.COMMENT_NODE||e.nodeType===oe.PROCESSING_INSTRUCTION_NODE)}(t)||pe(t)&&e.nodeType!==oe.DOCUMENT_NODE)throw new $(z,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)})(e,t,r),e.nodeType===oe.DOCUMENT_NODE&&(n||me)(e,t,r);var o=t.parentNode;if(o&&o.removeChild(t),t.nodeType===G){var i=t.firstChild;if(null==i)return t;var a=t.lastChild}else i=a=t;var s=r?r.previousSibling:e.lastChild;i.previousSibling=s,a.nextSibling=r,s?s.nextSibling=i:e.firstChild=i,null==r?e.lastChild=a:r.previousSibling=a;do{i.parentNode=e}while(i!==a&&(i=i.nextSibling));return ue(e.ownerDocument||e,e),t.nodeType==G&&(t.firstChild=t.lastChild=null),t}function ye(){this._nsMap={}}function we(){}function Ce(){}function Ne(){}function Se(){}function Re(){}function xe(){}function Te(){}function De(){}function Ee(){}function Ae(){}function _e(){}function Pe(){}function ke(e,t){var r=[],n=9==this.nodeType&&this.documentElement||this,o=n.prefix,i=n.namespaceURI;if(i&&null==o&&null==(o=n.lookupPrefix(i)))var a=[{namespace:i,prefix:null}];return Ie(this,r,e,t,a),r.join("")}function Oe(e,t,r){var n=e.prefix||"",o=e.namespaceURI;if(!o)return!1;if("xml"===n&&o===x.XML||o===x.XMLNS)return!1;for(var i=r.length;i--;){var a=r[i];if(a.prefix===n)return a.namespace!==o}return!0}function qe(e,t,r){e.push(" ",t,'="',r.replace(/[<>&"\t\n\r]/g,ie),'"')}function Ie(e,t,r,n,o){if(o||(o=[]),n){if(!(e=n(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case k:var i=e.attributes,a=i.length,s=e.firstChild,l=e.tagName,u=l;if(!(r=x.isHTML(e.namespaceURI)||r)&&!e.prefix&&e.namespaceURI){for(var c,p=0;p<i.length;p++)if("xmlns"===i.item(p).name){c=i.item(p).value;break}if(!c)for(var f=o.length-1;f>=0;f--)if(""===(d=o[f]).prefix&&d.namespace===e.namespaceURI){c=d.namespace;break}if(c!==e.namespaceURI)for(f=o.length-1;f>=0;f--){var d;if((d=o[f]).namespace===e.namespaceURI){d.prefix&&(u=d.prefix+":"+l);break}}}t.push("<",u);for(var h=0;h<a;h++)"xmlns"==(g=i.item(h)).prefix?o.push({prefix:g.localName,namespace:g.value}):"xmlns"==g.nodeName&&o.push({prefix:"",namespace:g.value});for(h=0;h<a;h++){var g,m,v;Oe(g=i.item(h),0,o)&&(qe(t,(m=g.prefix||"")?"xmlns:"+m:"xmlns",v=g.namespaceURI),o.push({prefix:m,namespace:v})),Ie(g,t,r,n,o)}if(l===u&&Oe(e,0,o)&&(qe(t,(m=e.prefix||"")?"xmlns:"+m:"xmlns",v=e.namespaceURI),o.push({prefix:m,namespace:v})),s||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(l)){if(t.push(">"),r&&/^script$/i.test(l))for(;s;)s.data?t.push(s.data):Ie(s,t,r,n,o.slice()),s=s.nextSibling;else for(;s;)Ie(s,t,r,n,o.slice()),s=s.nextSibling;t.push("</",u,">")}else t.push("/>");return;case U:case G:for(s=e.firstChild;s;)Ie(s,t,r,n,o.slice()),s=s.nextSibling;return;case O:return qe(t,e.name,e.value);case q:return t.push(e.data.replace(/[<&>]/g,ie));case I:return t.push("<![CDATA[",e.data,"]]>");case F:return t.push("\x3c!--",e.data,"--\x3e");case H:var b=e.publicId,y=e.systemId;if(t.push("<!DOCTYPE ",e.name),b)t.push(" PUBLIC ",b),y&&"."!=y&&t.push(" ",y),t.push(">");else if(y&&"."!=y)t.push(" SYSTEM ",y,">");else{var w=e.internalSubset;w&&t.push(" [",w,"]"),t.push(">")}return;case B:return t.push("<?",e.target," ",e.data,"?>");case L:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function Le(e,t,r){var n;switch(t.nodeType){case k:(n=t.cloneNode(!1)).ownerDocument=e;case G:break;case O:r=!0}if(n||(n=t.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,r)for(var o=t.firstChild;o;)n.appendChild(Le(e,o,r)),o=o.nextSibling;return n}function Me(e,t,r){var n=new t.constructor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=t[o];"object"!=typeof i&&i!=n[o]&&(n[o]=i)}switch(t.childNodes&&(n.childNodes=new J),n.ownerDocument=e,n.nodeType){case k:var a=t.attributes,s=n.attributes=new K,l=a.length;s._ownerElement=n;for(var u=0;u<l;u++)n.setAttributeNode(Me(e,a.item(u),!0));break;case O:r=!0}if(r)for(var c=t.firstChild;c;)n.appendChild(Me(e,c,r)),c=c.nextSibling;return n}function Be(e,t,r){e[t]=r}W.INVALID_STATE_ERR=(j[11]="Invalid state",11),W.SYNTAX_ERR=(j[12]="Syntax error",12),W.INVALID_MODIFICATION_ERR=(j[13]="Invalid modification",13),W.NAMESPACE_ERR=(j[14]="Invalid namespace",14),W.INVALID_ACCESS_ERR=(j[15]="Invalid access",15),$.prototype=Error.prototype,A(W,$),J.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t){for(var r=[],n=0;n<this.length;n++)Ie(this[n],r,e,t);return r.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},Z.prototype.item=function(e){return Q(this),this[e]||null},_(Z,J),K.prototype={length:0,item:J.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var r=this[t];if(r.nodeName==e)return r}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new $(Y);var r=this.getNamedItem(e.nodeName);return te(this._ownerElement,this,e,r),r},setNamedItemNS:function(e){var t,r=e.ownerElement;if(r&&r!=this._ownerElement)throw new $(Y);return t=this.getNamedItemNS(e.namespaceURI,e.localName),te(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return re(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var r=this.getNamedItemNS(e,t);return re(this._ownerElement,this,r),r},getNamedItemNS:function(e,t){for(var r=this.length;r--;){var n=this[r];if(n.localName==t&&n.namespaceURI==e)return n}return null}},ne.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,r){var n=new se;if(n.implementation=this,n.childNodes=new J,n.doctype=r||null,r&&n.appendChild(r),t){var o=n.createElementNS(e,t);n.appendChild(o)}return n},createDocumentType:function(e,t,r){var n=new xe;return n.name=e,n.nodeName=e,n.publicId=t||"",n.systemId=r||"",n}},oe.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return be(this,e,t)},replaceChild:function(e,t){be(this,e,t,ve),t&&this.removeChild(t)},removeChild:function(e){return ce(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return Me(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==q&&e.nodeType==q?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r)for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===e)return n;t=t.nodeType==O?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==O?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},A(P,oe),A(P,oe.prototype),se.prototype={nodeName:"#document",nodeType:U,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==G){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n}return e}return be(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===k&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),ce(this,e)},replaceChild:function(e,t){be(this,e,t,ve),e.ownerDocument=this,t&&this.removeChild(t),fe(e)&&(this.documentElement=e)},importNode:function(e,t){return Le(this,e,t)},getElementById:function(e){var t=null;return ae(this.documentElement,function(r){if(r.nodeType==k&&r.getAttribute("id")==e)return t=r,!0}),t},getElementsByClassName:function(e){var t=E(e);return new Z(this,function(r){var n=[];return t.length>0&&ae(r.documentElement,function(o){if(o!==r&&o.nodeType===k){var i=o.getAttribute("class");if(i){var a=e===i;if(!a){var s=E(i);a=t.every((l=s,function(e){return l&&-1!==l.indexOf(e)}))}a&&n.push(o)}}var l}),n})},createElement:function(e){var t=new ye;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new J,(t.attributes=new K)._ownerElement=t,t},createDocumentFragment:function(){var e=new Ae;return e.ownerDocument=this,e.childNodes=new J,e},createTextNode:function(e){var t=new Ne;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new Se;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new Re;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new _e;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r},createAttribute:function(e){var t=new we;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new Ee;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var r=new ye,n=t.split(":"),o=r.attributes=new K;return r.childNodes=new J,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,o._ownerElement=r,r},createAttributeNS:function(e,t){var r=new we,n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r}},_(se,oe),se.prototype.getElementsByTagName=(ye.prototype={nodeType:k,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===G?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,ue(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||""},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new Z(this,function(t){var r=[];return ae(t,function(n){n===t||n.nodeType!=k||"*"!==e&&n.tagName!=e||r.push(n)}),r})},getElementsByTagNameNS:function(e,t){return new Z(this,function(r){var n=[];return ae(r,function(o){o===r||o.nodeType!==k||"*"!==e&&o.namespaceURI!==e||"*"!==t&&o.localName!=t||n.push(o)}),n})}}).getElementsByTagName,se.prototype.getElementsByTagNameNS=ye.prototype.getElementsByTagNameNS,_(ye,oe),we.prototype.nodeType=O,_(we,oe),Ce.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){this.nodeValue=this.data=e=this.data+e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(j[z])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){var n=this.data.substring(0,e),o=this.data.substring(e+t);this.nodeValue=this.data=r=n+r+o,this.length=r.length}},_(Ce,oe),Ne.prototype={nodeName:"#text",nodeType:q,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},_(Ne,Ce),Se.prototype={nodeName:"#comment",nodeType:F},_(Se,Ce),Re.prototype={nodeName:"#cdata-section",nodeType:I},_(Re,Ce),xe.prototype.nodeType=H,_(xe,oe),Te.prototype.nodeType=V,_(Te,oe),De.prototype.nodeType=M,_(De,oe),Ee.prototype.nodeType=L,_(Ee,oe),Ae.prototype.nodeName="#document-fragment",Ae.prototype.nodeType=G,_(Ae,oe),_e.prototype.nodeType=B,_(_e,oe),Pe.prototype.serializeToString=function(e,t,r){return ke.call(e,t,r)},oe.prototype.toString=ke;try{if(Object.defineProperty){function Fe(e){switch(e.nodeType){case k:case G:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(Fe(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(Z.prototype,"length",{get:function(){return Q(this),this.$$length}}),Object.defineProperty(oe.prototype,"textContent",{get:function(){return Fe(this)},set:function(e){switch(this.nodeType){case k:case G:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Be=function(e,t,r){e["$$"+t]=r}}}catch(vt){}var Ue={DocumentType:xe,DOMException:$,DOMImplementation:ne,Element:ye,Node:oe,NodeList:J,XMLSerializer:Pe},He=y(function(e,t){var r=S.freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),t.entityMap=t.HTML_ENTITIES}),Ge=S.NAMESPACE,Ve=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,We=new RegExp("[\\-\\.0-9"+Ve.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),je=new RegExp("^"+Ve.source+We.source+"*(?::"+Ve.source+We.source+"*)?$");function ze(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,ze)}function Xe(){}function Ye(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function $e(e,t,r,n,o,i){function a(e,t,n){r.attributeNames.hasOwnProperty(e)&&i.fatalError("Attribute "+e+" redefined"),r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),n)}for(var s,l=++t,u=0;;){var c=e.charAt(l);switch(c){case"=":if(1===u)s=e.slice(t,l),u=3;else{if(2!==u)throw new Error("attribute equal must after attrName");u=3}break;case"'":case'"':if(3===u||1===u){if(1===u&&(i.warning('attribute value must after "="'),s=e.slice(t,l)),!((l=e.indexOf(c,t=l+1))>0))throw new Error("attribute value no end '"+c+"' match");a(s,p=e.slice(t,l),t-1),u=5}else{if(4!=u)throw new Error('attribute value must after "="');a(s,p=e.slice(t,l),t),i.warning('attribute "'+s+'" missed start quot('+c+")!!"),t=l+1,u=5}break;case"/":switch(u){case 0:r.setTagName(e.slice(t,l));case 5:case 6:case 7:u=7,r.closed=!0;case 4:case 1:break;case 2:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return i.error("unexpected end of input"),0==u&&r.setTagName(e.slice(t,l)),l;case">":switch(u){case 0:r.setTagName(e.slice(t,l));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=e.slice(t,l)).slice(-1)&&(r.closed=!0,p=p.slice(0,-1));case 2:2===u&&(p=s),4==u?(i.warning('attribute "'+p+'" missed quot(")!'),a(s,p,t)):(Ge.isHTML(n[""])&&p.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),a(p,p,t));break;case 3:throw new Error("attribute value missed!!")}return l;case"€":c=" ";default:if(c<=" ")switch(u){case 0:r.setTagName(e.slice(t,l)),u=6;break;case 1:s=e.slice(t,l),u=2;break;case 4:var p=e.slice(t,l);i.warning('attribute "'+p+'" missed quot(")!!'),a(s,p,t);case 5:u=6}else switch(u){case 2:Ge.isHTML(n[""])&&s.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),a(s,s,t),t=l,u=1;break;case 5:i.warning('attribute space is required"'+s+'"!!');case 6:u=1,t=l;break;case 3:u=4,t=l;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function Je(e,t,r){for(var n=e.tagName,o=null,i=e.length;i--;){var a=e[i],s=a.qName,l=a.value;if((f=s.indexOf(":"))>0)var u=a.prefix=s.slice(0,f),c=s.slice(f+1),p="xmlns"===u&&c;else c=s,u=null,p="xmlns"===s&&"";a.localName=c,!1!==p&&(null==o&&(o={},Ke(r,r={})),r[p]=o[p]=l,a.uri=Ge.XMLNS,t.startPrefixMapping(p,l))}for(i=e.length;i--;)(u=(a=e[i]).prefix)&&("xml"===u&&(a.uri=Ge.XML),"xmlns"!==u&&(a.uri=r[u||""]));var f;(f=n.indexOf(":"))>0?(u=e.prefix=n.slice(0,f),c=e.localName=n.slice(f+1)):(u=null,c=e.localName=n);var d=e.uri=r[u||""];if(t.startElement(d,c,n,e),!e.closed)return e.currentNSMap=r,e.localNSMap=o,!0;if(t.endElement(d,c,n),o)for(u in o)Object.prototype.hasOwnProperty.call(o,u)&&t.endPrefixMapping(u)}function Ze(e,t,r,n,o){if(/^(?:script|textarea)$/i.test(r)){var i=e.indexOf("</"+r+">",t),a=e.substring(t+1,i);if(/[&<]/.test(a))return/^script$/i.test(r)?(o.characters(a,0,a.length),i):(a=a.replace(/&#?\w+;/g,n),o.characters(a,0,a.length),i)}return t+1}function Qe(e,t,r,n){var o=n[r];return null==o&&((o=e.lastIndexOf("</"+r+">"))<t&&(o=e.lastIndexOf("</"+r)),n[r]=o),o<t}function Ke(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function et(e,t,r,n){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(o=e.indexOf("--\x3e",t+4))>t?(r.comment(e,t+4,o-t-4),o+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var o=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,o-t-9),r.endCDATA(),o+3}var i=function(e,t){var r,n=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(o.lastIndex=t,o.exec(e);r=o.exec(e);)if(n.push(r),r[1])return n}(e,t),a=i.length;if(a>1&&/!doctype/i.test(i[0][0])){var s=i[1][0],l=!1,u=!1;a>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],u=a>4&&i[4][0]):/^system$/i.test(i[2][0])&&(u=i[3][0]));var c=i[a-1];return r.startDTD(s,l,u),r.endDTD(),c.index+c[0].length}return-1}function tt(e,t,r){var n=e.indexOf("?>",t);if(n){var o=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return o?(r.processingInstruction(o[1],o[2]),n+2):-1}return-1}function rt(){this.attributeNames={}}(ze.prototype=new Error).name=ze.name,Xe.prototype={parse:function(e,t,r){var n=this.domBuilder;n.startDocument(),Ke(t,t={}),function(e,t,r,n,o){function i(e){var t,n=e.slice(1,-1);return Object.hasOwnProperty.call(r,n)?r[n]:"#"===n.charAt(0)?(t=parseInt(n.substr(1).replace("x","0x")))>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):String.fromCharCode(t):(o.error("entity not found:"+e),e)}function a(t){if(t>h){var r=e.substring(h,t).replace(/&#?\w+;/g,i);p&&s(h),n.characters(r,0,t-h),h=t}}function s(t,r){for(;t>=u&&(r=c.exec(e));)u=(l=r.index)+r[0].length,p.lineNumber++;p.columnNumber=t-l+1}for(var l=0,u=0,c=/.*(?:\r\n?|\n)|.*$/g,p=n.locator,f=[{currentNSMap:t}],d={},h=0;;){try{var g=e.indexOf("<",h);if(g<0){if(!e.substr(h).match(/^\s*$/)){var m=n.doc,v=m.createTextNode(e.substr(h));m.appendChild(v),n.currentElement=v}return}switch(g>h&&a(g),e.charAt(g+1)){case"/":var b=e.indexOf(">",g+3),y=e.substring(g+2,b).replace(/[ \t\n\r]+$/g,""),w=f.pop();b<0?(y=e.substring(g+2).replace(/[\s<].*/,""),o.error("end tag name: "+y+" is not complete:"+w.tagName),b=g+1+y.length):y.match(/\s</)&&(y=y.replace(/[\s<].*/,""),o.error("end tag name: "+y+" maybe not complete"),b=g+1+y.length);var C=w.localNSMap,N=w.tagName==y;if(N||w.tagName&&w.tagName.toLowerCase()==y.toLowerCase()){if(n.endElement(w.uri,w.localName,y),C)for(var S in C)Object.prototype.hasOwnProperty.call(C,S)&&n.endPrefixMapping(S);N||o.fatalError("end tag name: "+y+" is not match the current start tagName:"+w.tagName)}else f.push(w);b++;break;case"?":p&&s(g),b=tt(e,g,n);break;case"!":p&&s(g),b=et(e,g,n,o);break;default:p&&s(g);var R=new rt,x=f[f.length-1].currentNSMap,T=(b=$e(e,g,R,x,i,o),R.length);if(!R.closed&&Qe(e,b,R.tagName,d)&&(R.closed=!0,r.nbsp||o.warning("unclosed xml attribute")),p&&T){for(var D=Ye(p,{}),E=0;E<T;E++){var A=R[E];s(A.offset),A.locator=Ye(p,{})}n.locator=D,Je(R,n,x)&&f.push(R),n.locator=p}else Je(R,n,x)&&f.push(R);Ge.isHTML(R.uri)&&!R.closed?b=Ze(e,b,R.tagName,i,n):b++}}catch(e){if(e instanceof ze)throw e;o.error("element parse error: "+e),b=-1}b>h?h=b:a(Math.max(g,h)+1)}}(e,t,r,n,this.errorHandler),n.endDocument()}},rt.prototype={setTagName:function(e){if(!je.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,r){if(!je.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}};var nt=Ue.DOMImplementation,ot=S.NAMESPACE,it=ze,at=Xe;function st(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function lt(e){this.options=e||{locator:{}}}function ut(){this.cdata=!1}function ct(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function pt(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function ft(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function dt(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}lt.prototype.parseFromString=function(e,t){var r=this.options,n=new at,o=r.domBuilder||new ut,i=r.errorHandler,a=r.locator,s=r.xmlns||{},l=/\/x?html?$/.test(t),u=l?He.HTML_ENTITIES:He.XML_ENTITIES;return a&&o.setDocumentLocator(a),n.errorHandler=function(e,t,r){if(!e){if(t instanceof ut)return t;e=t}var n={},o=e instanceof Function;function i(t){var i=e[t];!i&&o&&(i=2==e.length?function(r){e(t,r)}:e),n[t]=i&&function(e){i("[xmldom "+t+"]\t"+e+pt(r))}||function(){}}return r=r||{},i("warning"),i("error"),i("fatalError"),n}(i,o,a),n.domBuilder=r.domBuilder||o,l&&(s[""]=ot.HTML),s.xml=s.xml||ot.XML,e&&"string"==typeof e?n.parse((r.normalizeLineEndings||st)(e),s,u):n.errorHandler.error("invalid doc source"),o.doc},ut.prototype={startDocument:function(){this.doc=(new nt).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,r,n){var o=this.doc,i=o.createElementNS(e,r||t),a=n.length;dt(this,i),this.currentElement=i,this.locator&&ct(this.locator,i);for(var s=0;s<a;s++){e=n.getURI(s);var l=n.getValue(s),u=(r=n.getQName(s),o.createAttributeNS(e,r));this.locator&&ct(n.getLocator(s),u),u.value=u.nodeValue=l,i.setAttributeNode(u)}},endElement:function(e,t,r){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&ct(this.locator,r),dt(this,r)},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=ft.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&ct(this.locator,n)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,r){e=ft.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&ct(this.locator,n),dt(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var o=n.createDocumentType(e,t,r);this.locator&&ct(this.locator,o),dt(this,o),this.doc.doctype=o}},warning:function(e){console.warn("[xmldom warning]\t"+e,pt(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,pt(this.locator))},fatalError:function(e){throw new it(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){ut.prototype[e]=function(){return null}});var ht={DOMImplementation:Ue.DOMImplementation,XMLSerializer:Ue.XMLSerializer,DOMParser:{__DOMHandler:ut,normalizeLineEndings:st,DOMParser:lt}.DOMParser},gt=y(function(e){var t,r;t=b,r=function(e){return function(t){function r(e){var t=e.localName;return null==t&&(t=e.baseName),null!=t&&""!==t||(t=e.nodeName),t}function n(e){return"string"==typeof e?e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"):e}function o(e,r,n){if("property"===t.arrayAccessForm&&(e[r+"_asArray"]=e[r]instanceof Array?e[r]:[e[r]]),!(e[r]instanceof Array)&&t.arrayAccessFormPaths.length>0){for(var o=!1,i=0;i<t.arrayAccessFormPaths.length;i++){var a=t.arrayAccessFormPaths[i];if("string"==typeof a){if(a===n){o=!0;break}}else if(a instanceof RegExp){if(a.test(n)){o=!0;break}}else if("function"==typeof a&&a(r,n)){o=!0;break}}o&&(e[r]=[e[r]])}}function i(e){var t=e.split(/[-T:+Z]/g),r=new Date(t[0],t[1]-1,t[2]),n=t[5].split(".");if(r.setHours(t[3],t[4],n[0]),n.length>1&&r.setMilliseconds(n[1]),t[6]&&t[7]){var o=60*t[6]+Number(t[7]);o=0+("-"==(/\d\d-\d\d:\d\d$/.test(e)?"-":"+")?-1*o:o),r.setMinutes(r.getMinutes()-o-r.getTimezoneOffset())}else-1!==e.indexOf("Z",e.length-1)&&(r=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds())));return r}function a(e,n){return 9===e.nodeType?function(e){for(var n={},o=e.childNodes,i=0;i<o.length;i++){var s=o.item(i);if(1===s.nodeType){var l=r(s);t.ignoreRoot?n=a(s,l):n[l]=a(s,l)}}return n}(e):1===e.nodeType?function(e,n){for(var s={__cnt:0},l=e.childNodes,u=0;u<l.length;u++){var c=l.item(u),p=r(c);8!==c.nodeType&&(s.__cnt++,null==s[p]?(s[p]=a(c,n+"."+p),o(s,p,n+"."+p)):(s[p]instanceof Array||(s[p]=[s[p]],o(s,p,n+"."+p)),s[p][s[p].length]=a(c,n+"."+p)))}for(var f=0;f<e.attributes.length;f++){var d=e.attributes.item(f);s.__cnt++;for(var h=d.value,g=0;g<t.attributeConverters.length;g++){var m=t.attributeConverters[g];m.test.call(null,d.name,d.value)&&(h=m.convert.call(null,d.name,d.value))}s[t.attributePrefix+d.name]=h}var v=e.prefix;return v&&(s.__cnt++,s.__prefix=v),s["#text"]&&(s.__text=s["#text"],s.__text instanceof Array&&(s.__text=s.__text.join("\n")),t.escapeMode&&(s.__text=s.__text.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&amp;/g,"&")),t.stripWhitespaces&&(s.__text=s.__text.trim()),delete s["#text"],"property"===t.arrayAccessForm&&delete s["#text_asArray"],s.__text=function(e,r,n){if(t.datetimeAccessFormPaths.length>0)for(var o=n.split(".#")[0],a=0;a<t.datetimeAccessFormPaths.length;a++){var s=t.datetimeAccessFormPaths[a];if("string"==typeof s){if(s===o)return i(e)}else if(s instanceof RegExp){if(s.test(o))return i(e)}else if("function"==typeof s&&s(o))return i(e)}return e}(s.__text,0,n+".#text")),s.hasOwnProperty("#cdata-section")&&(s.__cdata=s["#cdata-section"],delete s["#cdata-section"],"property"===t.arrayAccessForm&&delete s["#cdata-section_asArray"]),1===s.__cnt&&s.__text&&!t.keepText?s=s.__text:0===s.__cnt&&"text"===t.emptyNodeForm?s="":s.__cnt>1&&void 0!==s.__text&&t.skipEmptyTextNodesForObj&&(t.stripWhitespaces&&""===s.__text||""===s.__text.trim())&&delete s.__text,delete s.__cnt,t.keepCData||s.hasOwnProperty("__text")||!s.hasOwnProperty("__cdata")||1!==Object.keys(s).length?(t.enableToStringFunc&&(s.__text||s.__cdata)&&(s.toString=function(){return(this.__text?this.__text:"")+(this.__cdata?this.__cdata:"")}),s):s.__cdata?s.__cdata:""}(e,n):3===e.nodeType||4===e.nodeType?e.nodeValue:null}function s(e,r,o,i){var a="<"+(e&&e.__prefix?e.__prefix+":":"")+r;if(o)for(var s=0;s<o.length;s++){var l=o[s],u=e[l];t.escapeMode&&(u=n(u)),a+=" "+l.substr(t.attributePrefix.length)+"=",a+=t.useDoubleQuotes?'"'+u+'"':"'"+u+"'"}return a+(i?" />":">")}function l(e,t){return"</"+(e&&e.__prefix?e.__prefix+":":"")+t+">"}function u(e,r){return"property"===t.arrayAccessForm&&-1!==(n=r.toString()).indexOf("_asArray",n.length-8)||0===r.toString().indexOf(t.attributePrefix)||0===r.toString().indexOf("__")||e[r]instanceof Function;var n}function c(e){var t=0;if(e instanceof Object)for(var r in e)u(e,r)||t++;return t}function p(e){var r=[];if(e instanceof Object)for(var n in e)-1===n.toString().indexOf("__")&&0===n.toString().indexOf(t.attributePrefix)&&r.push(n);return r}function f(e){var r="";return e instanceof Object?r+=function(e){var r="";return e.__cdata&&(r+="<![CDATA["+e.__cdata+"]]>"),(e.__text||"number"==typeof e.__text||"boolean"==typeof e.__text)&&(r+=t.escapeMode?n(e.__text):e.__text),r}(e):null!==e&&(r+=t.escapeMode?n(e):e),r}function d(e,r,n){var o="";return t.jsAttributeFilter&&t.jsAttributeFilter.call(null,r,e)||(t.jsAttributeConverter&&(e=t.jsAttributeConverter.call(null,r,e)),null!=e&&""!==e||!t.selfClosingElements?"object"==typeof e?"[object Array]"===Object.prototype.toString.call(e)?o+=function(e,t,r){var n="";if(0===e.length)n+=s(e,t,r,!0);else for(var o=0;o<e.length;o++)n+=d(e[o],t,p(e[o]));return n}(e,r,n):e instanceof Date?(o+=s(e,r,n,!1),o+=t.jsDateUTC?e.toUTCString():e.toISOString(),o+=l(e,r)):c(e)>0||"number"==typeof e.__text||"boolean"==typeof e.__text||e.__text||e.__cdata?(o+=s(e,r,n,!1),o+=h(e),o+=l(e,r)):t.selfClosingElements?o+=s(e,r,n,!0):(o+=s(e,r,n,!1),o+=l(e,r)):(o+=s(e,r,n,!1),o+=f(e),o+=l(e,r)):o+=s(e,r,n,!0)),o}function h(e){var t="";if(c(e)>0)for(var r in e)if(!u(e,r)){var n=e[r];t+=d(n,r,p(n))}return t+f(e)}function g(r){if(void 0===r)return null;if("string"!=typeof r)return null;var n=null,o=null;if(e)o=(n=new e(t.xmldomOptions)).parseFromString(r,"text/xml");else if(window&&window.DOMParser){n=new window.DOMParser;var i=null;if(!window.ActiveXObject&&!("ActiveXObject"in window)&&document.all&&!document.addEventListener)try{i=n.parseFromString("INVALID","text/xml").childNodes[0].namespaceURI}catch(e){i=null}try{o=n.parseFromString(r,"text/xml"),null!==i&&o.getElementsByTagNameNS(i,"parsererror").length>0&&(o=null)}catch(e){o=null}}else 0===r.indexOf("<?")&&(r=r.substr(r.indexOf("?>")+2)),(o=new ActiveXObject("Microsoft.XMLDOM")).async="false",o.loadXML(r);return o}(t=t||{}).arrayAccessForm=t.arrayAccessForm||"none",t.emptyNodeForm=t.emptyNodeForm||"text",t.jsAttributeFilter=t.jsAttributeFilter,t.jsAttributeConverter=t.jsAttributeConverter,t.attributeConverters=t.attributeConverters||[],t.datetimeAccessFormPaths=t.datetimeAccessFormPaths||[],t.arrayAccessFormPaths=t.arrayAccessFormPaths||[],t.xmldomOptions=t.xmldomOptions||{},void 0===t.enableToStringFunc&&(t.enableToStringFunc=!0),void 0===t.skipEmptyTextNodesForObj&&(t.skipEmptyTextNodesForObj=!0),void 0===t.stripWhitespaces&&(t.stripWhitespaces=!0),void 0===t.useDoubleQuotes&&(t.useDoubleQuotes=!0),void 0===t.ignoreRoot&&(t.ignoreRoot=!1),void 0===t.escapeMode&&(t.escapeMode=!0),void 0===t.attributePrefix&&(t.attributePrefix="_"),void 0===t.selfClosingElements&&(t.selfClosingElements=!0),void 0===t.keepCData&&(t.keepCData=!1),void 0===t.keepText&&(t.keepText=!1),void 0===t.jsDateUTC&&(t.jsDateUTC=!1),function(){function e(e){var t=String(e);return 1===t.length&&(t="0"+t),t}"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|^\n+|(\s|\n)+$/g,"")}),"function"!=typeof Date.prototype.toISOString&&(Date.prototype.toISOString=function(){return this.getUTCFullYear()+"-"+e(this.getUTCMonth()+1)+"-"+e(this.getUTCDate())+"T"+e(this.getUTCHours())+":"+e(this.getUTCMinutes())+":"+e(this.getUTCSeconds())+"."+String((this.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"})}(),this.asArray=function(e){return null==e?[]:e instanceof Array?e:[e]},this.toXmlDateTime=function(e){return e instanceof Date?e.toISOString():"number"==typeof e?new Date(e).toISOString():null},this.asDateTime=function(e){return"string"==typeof e?i(e):e},this.xml2dom=function(e){return g(e)},this.dom2js=function(e){return a(e,null)},this.js2dom=function(e){return g(this.js2xml(e))},this.xml2js=function(e){var t=g(e);return null!=t?this.dom2js(t):null},this.js2xml=function(e){return h(e)},this.getVersion=function(){return"3.4.4"}}},e.exports?e.exports=r(ht.DOMParser):t.X2JS=r()}),mt=/*#__PURE__*/function(){function e(){this.AF=void 0,this.AFId=f.getUniqueCode().replaceAll("-",""),this.DomId="",this.suReport=void 0,this.reportFile="",this.mode="design",this.signImageHeight=35,this.lastRowHeight=this.signImageHeight+1,this.TagData=[],this.TagGroupData=new m,this.isInstall=!(f.isNull(d)||!d.ppapi&&!d.npapi)}var t=e.prototype;return t.init=function(e,t,r,n){void 0===t&&(t="design"),void 0===r&&(r=void 0),void 0===n&&(n=void 0);var o="Rebar=none;PreviewButton=print;PagesTabPercent=80%;WorkMode=RunTime;";"design"==t?o="PagesTabPercent=70%;":"design1"==t?o="Rebar=Font,Print;PreviewButton=print;PagesTabPercent=80%;WorkMode=RunTime":"design2"==t?o="Rebar=Font;PreviewButton=print;PagesTabPercent=80%;WorkMode=RunTime":"design20"==t&&(o="Rebar=Font,Form;Form=717;PreviewButton=none;PagesTabPercent=80%;WorkMode=RunTime"),this.DomId=e,this.mode=t,r&&this.OnReportReady(r),n&&this.BindReportEvent(n),function(e,t,r){var n=function(e,t,r,n){for(var o,i=window.location.host,a="",s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var u=s[l].src,c=u.indexOf("dynaload.js");if(c>=0){"/"==(a=u.substring(0,c)).charAt(0)&&-1!=(c=(u=location.href).indexOf("//"))&&(-1!=(c=u.indexOf("/",c+2))&&(u=u.substring(0,c)),a=u+a);break}}""==a&&(a="http://"+i+"/static/supcan/"),"ie"==d.type?o=d.is64?'CLASSID="clsid:11249C26-4BCD-4A74-B4D9-068936D77EFE" Codebase="'+a+'supcan2.x64.cab#Version=1,0,0,3"':'CLASSID="clsid:619F1AC0-2644-40D3-9EB1-22F81C5FE097" Codebase="'+a+'supcan2.cab#Version=1,0,0,3"':(d.npapi&&(o='type="application/supcan-plugin"'),d.ppapi&&(o='type="application/x-ppapi-supcan"'),"firefox"==d.type&&(o+=' Codebase="'+a+'supcan.xpi"'));var p=a+(d.is64?"BCV1.x64.bin":"BCV1.bin"),f="<Object id="+t+" Width=100% height="+n+" "+o+">";return f+='<param Name="CtlName" Value="LuxForm">',f+='<param Name="CtlVersion" Value="1.0.122.0">',f+='<param Name="ZipUrl" Value="'+(p+=","+a+(d.is64?"LuxForm.x64.bin":"LuxForm.bin"))+'">',f+='<param Name="id" Value="'+t+'">',f+='<param Name="Cookie" Value="'+document.cookie+'">',f+='<param Name="CtlPara" Value="'+r+'">',d.ppapi&&(f+='<param Name="core" Value="pure"><param name="wmode" value="transparent"><param Name="Locate" value="'+window.location.href+'">'),f+="</Object>",console.log(p),f}(0,t,r,arguments.length>3?arguments[3]:"100%");if(document.getElementById(e).innerHTML=n,""!=n&&d.ppapi){var o='document.getElementById("'+t+'").addEventListener("message", handleMessage'+t+", false);\n";!function(e){var t=e,r=document.createElement("script");r.type="text/javascript";try{r.appendChild(document.createTextNode(t))}catch(e){r.text=t}document.body.appendChild(r)}(o+="function handleMessage"+t+'(message) {\n if(message.data.name=="OnReady") OnReady("'+t+'");\n else if(message.data.name=="OnEvent") OnEvent("'+t+'", message.data.event, message.data.p1, message.data.p2, message.data.p3, message.data.p4); \n }')}}(e,this.AFId,o),this.suReport=document.getElementById(this.AFId)},t.OnReportReady=function(e){window.ReportReady=function(t){e&&e(t)}},t.BindReportEvent=function(e){window.ReportEvent=function(t,r,n,o,i,a){e&&e(t,r,n,o,i,a)}},t.build=function(e,t){void 0===t&&(t=void 0),this.reportFile=e,1==h(this.suReport,"Build",""+e)&&t&&t()},t.Blur=function(){h(this.suReport,"Blur","")},t.GetAllTagData=function(){this.TagData=this.getAllCellTagData(),this.TagGroupData.items=this.TagData.filter(function(e){return"item"===e.bindtype}),this.TagGroupData.foot=this.TagData.filter(function(e){return"footer"===e.bindtype}),this.TagGroupData.head=this.TagData.filter(function(e){return"header"===e.bindtype}),this.TagGroupData.tables=this.TagData.filter(function(e){return"table"===e.bindtype}),this.TagGroupData.pager=this.TagData.filter(function(e){return"pager"===e.bindtype})},t.GetTagDataBySheetIndex=function(e){var t=this.getCellTagDataBysheetTagIndex(e),r={};return r.items=t.filter(function(e){return"item"===e.bindtype}),r.foot=t.filter(function(e){return"footer"===e.bindtype}),r.head=t.filter(function(e){return"header"===e.bindtype}),r.tables=t.filter(function(e){return"table"===e.bindtype}),r.pager=t.filter(function(e){return"pager"===e.bindtype}),r},t.convertToXLSX=function(e){h(this.suReport,"callfunc","105\r\nType=xlsx; WorkSheet=all; filename="+e)},t.convertToXML=function(e){return void 0===e&&(e=""),h(this.suReport,"callfunc","1074\r\n Filename="+e)},t.setZoom=function(e){h(this.suReport,"callfunc","15\r\n"+e)},t.setFullScreen=function(e){h(this.suReport,"callfunc","717\r\n"+e)},t.getXmlStr=function(){return h(this.suReport,"GetFileXML","")},t.getSheetXmlStr=function(e){return h(this.suReport,"callfunc","1074\r\n WorkSheet="+e+";isReturnContent=true;")},t.setColWidth=function(e,t,r){return void 0===r&&(r=""),Number(h(this.suReport,r+"SetColWidth",e+" \r\n "+t))},t.getColWidthByCellName=function(e,t){return void 0===t&&(t=""),Number(h(this.suReport,t+"GetColWidth",""+e))},t.getColWidth=function(e,t){return void 0===t&&(t=""),Number(h(this.suReport,t+"GetColWidth",""+e))},t.setRowHeight=function(e,t,r){return void 0===r&&(r=""),Number(h(this.suReport,r+"SetRowHeight",e+" \r\n "+t))},t.getRowHeight=function(e,t){return void 0===t&&(t=""),Number(h(this.suReport,t+"GetRowHeight",""+e))},t.getWorksheets=function(){return Number(h(this.suReport,"GetWorksheets",""))},t.getCurrentWorksheet=function(){return h(this.suReport,"GetCurrentWorksheet","")},t.getCurrentSheetHandle=function(){return this.getHandle(Number(this.getCurrentWorksheet()))},t.setCurrentWorksheet=function(e){h(this.suReport,"SetCurrentWorksheet",""+e)},t.SetRedrawAble=function(e){h(this.suReport,"SetRedrawAble",e?"true":"false")},t.grayWindow=function(e){var t="true"==e?"hidden":"visible";document.getElementById(this.suReport.parentElement.id).style.visibility=t,h(this.suReport,"grayWindow",e)},t.getRows=function(e){return void 0===e&&(e=""),Number(h(this.suReport,e+"GetRows",""))},t.getCols=function(e){return void 0===e&&(e=""),Number(h(this.suReport,e+"GetCols",""))},t.deleteRows=function(e,t,r){return void 0===r&&(r=""),h(this.suReport,r+"DeleteRows",e+" \r\n "+t)},t.deleteCols=function(e,t,r){return void 0===r&&(r=""),h(this.suReport,r+"DeleteCols",e+" \r\n "+t)},t.isRowHide=function(e){return h(this.suReport,"IsRowHide",""+e)>0},t.isColHide=function(e){return h(this.suReport,"isColHide",""+e)>0},t.showHideRow=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=""),h(this.suReport,r+"HideRow",e+" \r\n 1 \r\n "+t)},t.showHideCol=function(e,t){void 0===t&&(t=!1),h(this.suReport,"HideCol",e+" \r\n 1 \r\n "+t)},t.toExcelIndex=function(e){var t=0;e=e.trim().toUpperCase();for(var r=0;r<e.length;r++)t+=(this.stringToIndex(e.charAt(r))-this.stringToIndex("A")+1)*Math.pow(26,e.length-r-1);return t-1},t.stringToIndex=function(e){var t;return parseInt(e.toLowerCase().split("").map(function(e){return t=e.charCodeAt(0),t-=t<107?49:10,String.fromCharCode(t)}).join(""),26)},t.clearEmptyRow=function(){for(var e=this.getWorksheets(),t=0;t<e;t++){this.setCurrentWorksheet(t);for(var r=this.getRows(),n=[],o=0;o<r;o++)(this.getRowHeight(o)<=0||this.isRowHide(o))&&(n.push(o),this.showHideRow(o));for(var i=0,a=0,s=n;a<s.length;a++)h(this.suReport,"DeleteRows",s[a]-i+" \r\n 1"),i++}},t.clearEmptyCol=function(){for(var e=this.getWorksheets(),t=0;t<e;t++){this.setCurrentWorksheet(t);for(var r=this.getCols(),n=[],o=0;o<r;o++)(this.getColWidth(o)<=0||this.isColHide(o))&&(n.push(o),this.showHideCol(o));for(var i=0,a=0,s=n;a<s.length;a++)h(this.suReport,"DeleteCols",s[a]-i+" \rr\n 1"),i++}},t.getCellProp=function(e,t,r,n){return void 0===n&&(n=""),h(this.suReport,n+"GetCellProp",e+" \r\n "+t+" \r\n "+r)},t.getCellProp2=function(e,t){return void 0===t&&(t=""),h(this.suReport,t+"GetCellProp",""+e)},t.SetCellProp=function(e,t,r,n,o){void 0===o&&(o=""),h(this.suReport,o+"SetCellProp",e+" \r\n "+t+" \r\n "+r+" \r\n "+n)},t.SetCustomCellProp=function(e,t){void 0===t&&(t=""),h(this.suReport,t+"SetCellProp",""+e)},t.setCellFont2=function(e,t,r,n){void 0===n&&(n=""),h(this.suReport,n+"setCellFont",e+" \r\n "+t+" \r\n "+r)},t.setCellFont=function(e,t,r,n){void 0===n&&(n=""),h(this.suReport,n+"setCellFont",e+" \r\n "+t+" \r\n "+r)},t.getCellFont=function(e,t,r,n){return h(this.suReport,n+"GetCellFont",e+" \r\n "+t+" \r\n "+r)},t.getCellFont2=function(e,t,r){return h(this.suReport,r+"getCellFont",e+" \r\n "+t)},t.importReport=function(){h(this.suReport,"callfunc","103")},t.exportReport=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=!1),f.isNull(e)?h(this.suReport,"callfunc","1074\r\n isReturnContent="+t):h(this.suReport,"callfunc","1074\r\n WorkSheet="+e+";isReturnContent="+t)},t.exportReportToExcel=function(){h(this.suReport,"callfunc","105")},t.exportReportToExcel2=function(e){var t=h(this.suReport,"FileDialog","isDir=false;isOpen=false;FileType='xlsx';FileName='"+e+".xlsx'");if(!f.isNull(t))return h(this.suReport,"callfunc","105\r\nType=xlsx;filename="+t)},t.filePathDir=function(){return h(this.suReport,"FileDialog","isDir=true")},t.exportReportToPDF=function(e){var t=h(this.suReport,"FileDialog","isDir=false;isOpen=false;FileType='pdf';FileName='"+e+".pdf'");f.isNull(t)||h(this.suReport,"callfunc","105\r\nType=pdf;filename="+t)},t.exportReportToPDF2=function(e){return h(this.suReport,"callfunc","105\r\nType=pdf;filename="+e)},t.exportAllPdf=function(e){var t=h(this.suReport,"FileDialog","isDir=false;isOpen=false;FileType='pdf';FileName='"+e+".pdf'");if(!f.isNull(t)){var r=this.getWorksheets();if(r>0){var n=[],o=[];this.setCurrentWorksheet(0);for(var i=0;i<r;i++){var a=this.getHandle(i);"landscape"==this.getPrintProp("Oriantation",a).toLowerCase()?n.push(i):o.push(i)}if(o.length>0&&n.length>0){var s=this.getHandle(0);if("landscape"==this.getPrintProp("Oriantation",s).toLowerCase()){h(this.suReport,"callfunc","105\r\nType=pdf;filename="+t),this.setSheetHide("sheetNum="+n.toString());var l=this.getXmlStr();this.build(l);var u=t.replace(e,e+"_2");h(this.suReport,"callfunc","105\r\nfilename="+u)}else{h(this.suReport,"callfunc","105\r\nType=pdf;filename="+t),this.setSheetHide("sheetNum="+o.toString());var c=this.getXmlStr();this.build(c);var p=t.replace(e,e+"_2");h(this.suReport,"callfunc","105\r\nType=pdf;filename="+p)}}else h(this.suReport,"callfunc","105\r\nType=pdf;filename="+t)}}},t.printView=function(e){void 0===e&&(e=!0),h(this.suReport,"callfunc","18\r\n all="+e)},t.print=function(e,t){void 0===e&&(e="all"),void 0===t&&(t=!0),h(this.suReport,"Print","isOpenSysDialog="+t+"; WorkSheet="+e)},t.printAll=function(){h(this.suReport,"Print","WorkSheet=All")},t.printCurrent=function(){h(this.suReport,"Print","WorkSheet=Current")},t.setPrintOriantation=function(e,t){void 0===t&&(t=""),h(this.suReport,t+"SetPrintProp","Oriantation="+(e?"Portrait":"Landscape"))},t.setPrintSize=function(e){void 0===e&&(e=9);for(var t=0;t<this.getWorksheets();t++){var r=this.getHandle(t);h(this.suReport,r+"SetPrintProp","paperNumber="+e)}},t.setPrintMargin=function(e,t,r,n,o){void 0===o&&(o=""),h(this.suReport,o+"SetPrintProp","Margin="+e+","+t+","+r+","+n)},t.getPrintProp=function(e,t){return void 0===t&&(t=""),h(this.suReport,t+"GetPrintProp",e)},t.getCellName=function(e,t,r){return void 0===r&&(r=""),h(this.suReport,r+"GetCellName",e+" \r\n "+t)},t.getCellRow=function(e,t){return void 0===t&&(t=""),h(this.suReport,t+"GetCellRow",e)},t.getCellCol=function(e,t){return void 0===t&&(t=""),h(this.suReport,t+"GetCellCol",e)},t.getCurrentCell=function(){return h(this.suReport,"GetCurrentCell","")},t.getCurrentCells=function(e){return void 0===e&&(e=""),h(this.suReport,e+"GetCurrentCells","")},t.getCellData=function(e,t){return void 0===t&&(t=""),h(this.suReport,t+"GetCellData",e)},t.getCellValue=function(e,t,r){return void 0===r&&(r=""),h(this.suReport,r+"GetCellData",e+" \r\n "+t)},t.setSelectedCellsValue=function(e){var t=this.getCurrentCells();if(!f.isNull(t))for(var r=t.split(","),n=0;n<r.length;n++)for(var o=r[n].split(":"),i=Number(this.getCellRow(o[0])),a=Number(this.getCellCol(o[0])),s=Number(this.getCellRow(o[1])),l=Number(this.getCellCol(o[1])),u=i;u<=s;u++)for(var c=a;c<=l;c++)this.setCellData(u+" \r\n "+c+" \r\n"+e)},t.setCellData=function(e,t){void 0===t&&(t=""),h(this.suReport,t+"SetCellData",e)},t.setCellValue=function(e,t,r,n){void 0===n&&(n=""),h(this.suReport,n+"SetCellData",e+" \r\n "+t+" \r\n"+r)},t.setCellValueByAlias=function(e,t,r){void 0===r&&(r=""),h(this.suReport,r+"SetCellData",e+" \r\n "+t)},t.setCellCanEdit=function(e,t){void 0===t&&(t=""),this.addEditAbleOnly("level=top;cell="+e,t)},t.setCellAreaCanEdit=function(e,t){void 0===t&&(t=""),this.addEditAbleOnly("level=top;cellArea="+e,t)},t.setCellCanEditByAlias=function(e,t){void 0===t&&(t=""),this.addEditAbleOnly("level=top;alias="+e,t)},t.findCell=function(e,t,r){return void 0===r&&(r=""),h(this.suReport,r+"FindCell",e+"='"+t+"'")},t.findCell2=function(e){for(var t,r=[],n=i(h(this.suReport,"FindCell",e).split(","));!(t=n()).done;){var o=this.convertRowAndCol(t.value);r.push(o)}return r},t.convertRowAndCol=function(e){var t=Number(e.replace(/[^0-9]/gi,""))-1,r=e.replace(""+(t+1),"");return{col:this.toExcelIndex(r),row:t}},t.getCellText=function(e){return h(this.suReport,"GetCellText",e)},t.getWorksheetName=function(e){return void 0===e&&(e=0),h(this.suReport,"GetWorksheetName",""+e)},t.setWorksheetName=function(e){return h(this.suReport,"SetWorksheetName",e)},t.setSheetName=function(e,t){h(this.suReport,"SetWorksheetName",e+" \r\n "+t)},t.setCurrentSheetName=function(e){var t=h(this.suReport,"GetCurrentWorksheet","");h(this.suReport,"SetWorksheetName",t+" \r\n "+e)},t.setSheetShow=function(e){void 0===e&&(e=""),h(this.suReport,"UnhideWorkSheet",e+" \r\n locate=current")},t.setSheetHide=function(e){h(this.suReport,"HideWorkSheet",e)},t.getHideWorkSheet=function(){return h(this.suReport,"GetHideWorkSheet")},t.deleteWorksheet=function(e){return h(this.suReport,"DeleteWorksheet",e)},t.exchangeWorksheet=function(e,t){h(this.suReport,"ExchangeWorksheet",t+" \r\n "+e)},t.appendWorksheet=function(e){return h(this.suReport,"appendWorksheet",e)},t.appendWorksheetByIndex=function(e,t){return h(this.suReport,"appendWorksheet",e+"\r\n sheetNum="+t)},t.appendWorksheetByName=function(e,t){return h(this.suReport,"appendWorksheet",e+"\r\n sheetName="+t)},t.setSheetProp=function(e,t){this.setMemo(e,"sheettag",t)},t.setReportProp=function(e){this.setMemo("","reporttag",e)},t.getSheetProp=function(e){return this.getMemo(e,"sheettag")},t.setMemo=function(e,t,r){h(this.suReport,"SetMemo",e+"\r\n"+t+"\r\n"+r)},t.getMemo=function(e,t){return h(this.suReport,"GetMemo",e+"\r\n"+t)},t.getMemos=function(e){return h(this.suReport,"GetMemos",""+e)},t.swkrntpomzqa=function(e){void 0===e&&(e="1,2"),h(this.suReport,"Swkrntpomzqa",e)},t.addEditAbleOnly=function(e,t){void 0===t&&(t=""),h(this.suReport,t+"addEditAbleOnly",e)},t.addUnEditAbleOnly=function(e,t){void 0===t&&(t=""),h(this.suReport,t+"addUnEditAbleOnly",e)},t.clearLimit=function(){h(this.suReport,"ClearLimit","")},t.getCellEditAble=function(e){h(this.suReport,"GetCellEditAble",e)},t.subscribeEvent=function(e){h(this.suReport,"SubscribeEvent",e)},t.getCellTag=function(e,t,r){void 0===r&&(r="");var n=h(this.suReport,r+"GetCellProp",e+" \r\n "+t+" \r\n tag");return""==n?null:JSON.parse(n)},t.setCellTag=function(e,t,r,n){void 0===n&&(n=""),h(this.suReport,n+"SetCellProp",e+" \r\n "+t+" \r\n tag \r\n "+r)},t.GetSheetTag=function(e){var t=h(this.suReport,"GetHandle",e.toString()),r=h(this.suReport,t+"GetCellProp","0 \r\n 0 \r\n sheettag");return""==r?null:JSON.parse(r)},t.SetSheetTag=function(e,t){this.setSheetProp(e,t)},t.getCurrentSheetTag=function(){var e=this.getCellProp(0,0,"sheettag");return""==e?null:JSON.parse(e)},t.setCurrentSheetTag=function(e){this.SetCellProp(0,0,"sheettag",e)},t.getHandle=function(e){return h(this.suReport,"getHandle",e.toString())},t.getSheetTag=function(e){void 0===e&&(e=0);var t=this.getSheetProp(e);return t?JSON.parse(t):{}},t.urlImage2Base64=function(e){return new Promise(function(t){var r=new Image;r.setAttribute("crossOrigin","Anonymous"),r.src=e,r.onload=function(){var e=document.createElement("canvas"),n=e.getContext("2d");e.width=r.width,e.height=r.height,n.drawImage(r,0,0);var o=e.toDataURL("image/png");t(o)}})},t.addImageInputElement=function(e,t,r,n,o,i,a){void 0===a&&(a=""),h(this.suReport,a+"callfunc","112 \r\n x="+e+"; y="+t+"; width="+r+"; height="+n+"; alias="+o),h(this.suReport,a+"SetCellProp",o+" \r\n dataType \r\n string");var s=h(this.suReport,"Mask_Add","string \r\n =picture()");h(this.suReport,a+"SetCellProp",o+" \r\n maskId \r\n"+s),h(this.suReport,a+"SetCellData",o+" \r\n"+i),h(this.suReport,a+"SetCellProp",o+" \r\n bgColor \r\n T"),h(this.suReport,a+"SetCellProp",o+" \r\n borderThick \r\n 0"),h(this.suReport,a+"SetCellProp",o+" \r\n align \r\n 1"),h(this.suReport,a+"SetCellProp",o+" \r\n vAlign \r\n 1"),h(this.suReport,a+"SetCellProp",o+" \r\n ImageArrange \r\n stretchKeepRatio")},t.SetAllSheetDate=function(e,t,r,n,o){void 0===n&&(n=0),void 0===o&&(o=!1);try{var i=this;if(f.isNull(t))return Promise.resolve();for(var a=i.getWorksheets(),s=0;s<a;s++){var l=i.getHandle(s),u=i.getSheetTag(l);1==o?1==n?1===u.type&&(!f.isNull(t.监理审核日期)&&e?i.setCellValueByAlias("jltrialdate",""+t.监理审核日期,l):i.setCellValueByAlias("jltrialdate"," 年 月 日",l)):2==n&&0===u.type&&(!f.isNull(t.监理审核日期)&&e?i.setCellValueByAlias("jltrialdate",""+t.监理审核日期,l):i.setCellValueByAlias("jltrialdate"," 年 月 日",l)):!f.isNull(t.监理审核日期)&&e?i.setCellValueByAlias("jltrialdate",""+t.监理审核日期,l):i.setCellValueByAlias("jltrialdate"," 年 月 日",l)}return Promise.resolve()}catch(e){return Promise.reject(e)}},t.getAllCellTagData=function(){for(var e=[],t=this.getWorksheets(),r=0;r<t;r++)for(var n=this.getHandle(r),o=this.getRows(n),i=this.getCols(n),a=0;a<o;a++)for(var s=0;s<i;s++){var l=this.getCellTag(a,s,n);null!=l&&(l.row=a,l.col=s,l.sheetindex=r,e.push(l))}return e},t.getCellTagDataBysheetTagIndex=function(e){for(var t=[],r=this.getHandle(e),n=this.getRows(r),o=this.getCols(r),i=0;i<n;i++)for(var a=0;a<o;a++){var s=this.getCellTag(i,a,r);null!=s&&(s.row=i,s.col=a,s.sheetindex=e,t.push(s))}return t},t.getSheetAllTagData=function(e){for(var t=[],r=this.getRows(e),n=this.getCols(e),o=0;o<r;o++)for(var i=0;i<n;i++){var a=this.getCellTag(o,i,e);null!=a&&(a.row=o,a.col=i,t.push(a))}return t},t.clearSelectedAreaTag=function(){var e=this.getCurrentCells();if(!f.isNull(e))for(var t=this.getCellRow(e),r=this.getCellCol(e),n=t.split(","),o=r.split(","),i=Number(n[0]);i<=Number(n[1]);i++)for(var a=Number(o[0]);a<=Number(o[1]);a++)null!=this.getCellTag(i,a)&&this.setCellTag(i,a,""),"已绑定"==this.getCellValue(i,a)&&this.setCellValue(i,a,"")},t.getTag=function(e,t){var r=this.getCellProp(e,t,"tag");return f.isNull(r)?null:JSON.parse(r)},t.addWorksheet=function(e){h(this.suReport,"addWorksheet","name="+e)},t.getPrintPages=function(){return h(this.suReport,"GetPrintPages","")},t.importExcelFile=function(e){this.appendWorksheet(e)},t.getFileURL=function(){return h(this.suReport,"GetFileURL","")},t.autoFitPaperSize=function(e){void 0===e&&(e="A4"),"a4"==e.toLowerCase()&&this.setAllSheetA4Size()},t.setAllSheetPrintSize=function(e,t){for(var r="210*297"==(e=e.replace(/\s+/g,"")),n=Number(e.split("*")[0]),o=Number(e.split("*")[1]),i=this.getPxWidth(n),a=this.getPxHeight(o),s=this.getWorksheets(),l=0;l<s;l++){var u=this.getHandle(l);if(r){var c=this.getPrintOriantation(u);this.setSheetA4Size(u,"portrait"==c)}else this.setSheetPrintSize(u,i,a,t)}},t.setSheetPrintSize=function(e,t,r,n){},t.setAllSheetA4Size=function(e,t,r){var n=this;if(void 0===e&&(e=""),void 0===t&&(t=1.5),void 0===r&&(r=2.5),this.SetRedrawAble(!1),""==e)for(var o=this.getWorksheets(),i=0;i<o;i++){var a=this.getHandle(i),s=this.getPrintOriantation(a);this.setSheetA4Size(a,"portrait"==s,t,r)}else e.split(",").forEach(function(e){var o=n.getHandle(e),i=n.getPrintOriantation(o);n.setSheetA4Size(o,"portrait"==i,t,r)});this.SetRedrawAble(!0)},t.setSheetA4Size=function(e,t,r,n){void 0===r&&(r=1.5),void 0===n&&(n=2.5);var o=this.getA4PxWidth(),i=this.getA4PxHeight(),a=this.cmToPx(t?r:n,!1),s=this.cmToPx(r,!1),l=this.cmToPx(t?n:r,!0),u=this.cmToPx(r,!0);if(!t){var c=i;i=o,o=c}console.log("A4=>宽"+o),o=o-l-u,i=i-a-s;var p=this.getSheetWidth(e);console.log("A4=>宽"+o+",左=>"+l+",右=>"+u+" 实际=>宽"+p);for(var f=this.getSheetHeight(e),d=this.getRows(e),h=this.getCols(e),g=(i-f-this.lastRowHeight-5)/(d-2),m=0;m<d-1;m++){var v=this.getRowHeight(m,e);this.setRowHeight(m,v+g,e)}this.setRowHeight(d-2,this.lastRowHeight,e);var b=i-this.GetRowOffset(d,e),y=this.getRowHeight(d-3,e);this.setRowHeight(d-3,b+y,e);for(var w=(o-p)/(h-1),C=0;C<h-1;C++){var N=this.getColWidth(C,e);this.setColWidth(C,N+w,e)}var S=o-this.GetColOffset(h-1,e),R=this.getColWidth(h-1,e);this.setColWidth(h-1,S+R,e),this.setPrintOriantation(t,e);var x=10*r,T=10*n;t?this.setPrintMargin(T,x,x,x,e):this.setPrintMargin(x,T,x,x,e)},t.getPxWidth=function(e){return e/25.4*this.getDPI()[0]},t.getPxHeight=function(e){return e/25.4*this.getDPI()[1]},t.getA4PxWidth=function(){return 210/25.4*this.getDPI()[0]},t.getA4PxHeight=function(){return 297/25.4*this.getDPI()[1]},t.cmToPx=function(e,t){var r=this.getDPI();return 10*e/25.4*(t?r[0]:r[1])},t.getDPI=function(){var e=new Array;if(null!=window.screen.deviceXDPI)e[0]=window.screen.deviceXDPI,e[1]=window.screen.deviceYDPI;else{var t=document.createElement("DIV");t.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(t),e[0]=t.offsetWidth,e[1]=t.offsetHeight,t.parentNode.removeChild(t)}return e},t.GetRowOffset=function(e,t){return Number(h(this.suReport,t+"GetRowOffset",""+e))},t.GetColOffset=function(e,t){return Number(h(this.suReport,t+"GetColOffset",""+e))},t.getPrintOriantation=function(e){var t=h(this.suReport,e+"GetPrintProp","Oriantation");if(f.isNull(t)){var r=this.getSheetWidth(e);return alert(r),r>900?"landscape":"portrait"}return t.toLowerCase()},t.getSheetWidth=function(e){void 0===e&&(e="");var t=this.getCols(e);return this.GetColOffset(t-1,e)},t.getSheetHeight=function(e){void 0===e&&(e="");var t=this.getRows(e);return this.GetRowOffset(t-2,e)},t.setToolbarItemStatus=function(e,t,r){return h(this.suReport,"SetToolbarItemStatus",e+"\r\n "+t+"\r\n "+r)},t.insertRows=function(e,t,r,n){return void 0===t&&(t=1),void 0===r&&(r="no"),void 0===n&&(n=""),h(this.suReport,n+"insertRows",e+"\r\n "+t+"\r\n "+r)},t.masks_Get=function(){return h(this.suReport,"Masks_Get","")},t.mask_Get=function(e){return h(this.suReport,"Mask_Get",""+e)},t.mask_Add=function(e,t){return h(this.suReport,"Mask_Add",e+" \r\n ="+t)},t.mask_Delete=function(e){return h(this.suReport,"Mask_Delete",""+e)},t.selectCell=function(e,t,r,n){return h(this.suReport,"SelectCell",e+" \r\n "+t+" \r\n "+r+" \r\n "+n)},t.copyRows=function(){return h(this.suReport,"callfunc","20")},t.pasteRows=function(){return h(this.suReport,"callfunc","34")},t.getGraphics=function(e,t){return void 0===t&&(t=""),h(this.suReport,t+"GetGraphics",e)},t.deleteGraphics=function(e,t){void 0===t&&(t=""),h(this.suReport,t+"DeleteGraphics",""+e)},t.insertInput=function(e,t,r){void 0===t&&(t="QRcodeTag"),void 0===r&&(r=1),h(this.suReport,e+"callfunc","112 \r\n x=2; y=2; width=66; height=66; alias="+t),0==r&&h(this.suReport,e+"SetCellProp",t+" \r\n borderThick \r\n 0"),h(this.suReport,e+"SetRedrawAble","true")},t.insertCustomInput=function(e,t,r,n,o,i,a){void 0===a&&(a=1),h(this.suReport,e+"callfunc","112 \r\n x="+r+"; y="+n+"; width="+o+"; height="+i+"; alias="+t),0==a&&h(this.suReport,e+"SetCellProp",t+" \r\n borderThick \r\n 0"),h(this.suReport,e+"SetCellProp",t+" \r\n vAlign \r\n middle"),h(this.suReport,e+"SetCellProp",t+" \r\n align \r\n left"),h(this.suReport,e+"SetCellProp",t+" \r\n bgColor \r\n t"),h(this.suReport,e+"SetRedrawAble","true")},t.createQRcode=function(e,t,r){h(this.suReport,e+"SetCellProp",t+" \r\n datatype \r\n 1");var n=h(this.suReport,e+"Mask_Add","string \r\n =barcode(34,0,0,0)");h(this.suReport,e+"SetCellProp",t+" \r\n maskid \r\n "+n),h(this.suReport,e+"SetCellData",t+" \r\n "+r),h(this.suReport,e+"SetCellProp",t+" \r\n bgColor \r\n T"),h(this.suReport,e+"SetCellProp",t+" \r\n borderThick \r\n 0"),h(this.suReport,e+"SetCellProp",t+" \r\n align \r\n 1"),h(this.suReport,e+"SetCellProp",t+" \r\n vAlign \r\n 1"),h(this.suReport,e+"SetRedrawAble","true")},t.setCellQRcode=function(e,t,r,n){h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" \r\n datatype \r\n 1");var o=h(this.suReport,e+"Mask_Add","string \r\n =barcode(34,0,0,0)");h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" \r\n maskid \r\n "+o),h(this.suReport,e+"SetCellData",t+" \r\n "+r+" \r\n "+n),h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" \r\n bgColor \r\n T"),h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" \r\n borderThick \r\n 0"),h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" \r\n align \r\n 1"),h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" \r\n vAlign \r\n 1"),h(this.suReport,e+"SetRedrawAble","true")},t.setCellPicture=function(e,t,r,n){h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" \r\n datatype \r\n 1");var o=h(this.suReport,e+"Mask_Add","string \r\n =picture()");h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" \r\n maskid \r\n "+o),h(this.suReport,e+"SetCellData",t+" \r\n "+r+" \r\n"+n),h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" \r\n bgColor \r\n T"),h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" imageArrange \r\n stretchKeepRatio"),h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" \r\n borderThick \r\n 0"),h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" \r\n align \r\n 1"),h(this.suReport,e+"SetCellProp",t+" \r\n "+r+" \r\n vAlign \r\n 1"),h(this.suReport,e+"SetRedrawAble","true")},t.insertPicture=function(e,t,r){h(this.suReport,e+"SetCellProp",t+" \r\n datatype \r\n 1");var n=h(this.suReport,e+"Mask_Add","string \r\n =picture()");h(this.suReport,e+"SetCellProp",t+" \r\n maskid \r\n "+n),h(this.suReport,e+"SetCellProp",t+" \r\n maskid \r\n "+n),h(this.suReport,e+"SetCellData",t+" \r\n"+r),h(this.suReport,e+"SetCellProp",t+" \r\n bgColor \r\n T"),h(this.suReport,e+"SetCellProp",t+" \r\n imageArrange \r\n stretchKeepRatio"),h(this.suReport,e+"SetCellProp",t+" \r\n borderThick \r\n 0"),h(this.suReport,e+"SetCellProp",t+" \r\n align \r\n 1"),h(this.suReport,e+"SetCellProp",t+" \r\n vAlign \r\n 1"),h(this.suReport,e+"SetRedrawAble","true")},t.insertImage=function(e,t,r,n,o,i,a){void 0===i&&(i=""),void 0===a&&(a=""),h(this.suReport,a+"callfunc","192 \r\n x="+n+"; y="+o+";IsSaveURLOnly=false;URL="+e+";maxSize="+t+","+r+";alias="+i)},t.copySheet=function(e){void 0===e&&(e="");var t=h(this.suReport,"GetCurrentWorksheet",""),r=h(this.suReport,"getHandle",t),n=h(this.suReport,r+"callfunc","1074\r\n WorkSheet="+t+";isReturnContent=true;");h(this.suReport,r+"appendWorksheet",n);var o=h(this.suReport,"GetCurrentWorksheet","");return f.isNull(e)||h(this.suReport,r+"SetWorksheetName",o+" \r\n "+e),o},t.copySheet2=function(e,t){h(this.suReport,"appendWorksheet",e);var r=h(this.suReport,"GetCurrentWorksheet","");return h(this.suReport,"SetWorksheetName",r+" \r\n "+t),r},t.clearSheet=function(){for(var e=Number(h(this.suReport,"GetWorksheets",""))-1;e>=0;e--)h(this.suReport,"DeleteWorksheet",e.toString())},t.insertSheet=function(e,t,r){void 0===t&&(t=-1),void 0===r&&(r="");var n=this.getWorksheets();if((t<0||t>n-1)&&(t=n),"1"==this.appendWorksheet(""+e)){var o=this.getCurrentWorksheet();f.isNull(r)||this.setSheetName(o,r);for(var i=t;i<o;i++)this.exchangeWorksheet(-1,t);this.setCurrentWorksheet(t)}},t.getSheetIndexBySheetName=function(e){for(var t=-1,r=0;r<this.getWorksheets();r++)if(this.getWorksheetName(r)==e){t=r;break}return t},t.getMergedCells=function(e,t,r){return void 0===r&&(r=""),h(this.suReport,r+"GetMergedCells",e+" \r\n "+t)},t.merge=function(e,t,r,n,o){void 0===o&&(o=""),h(this.suReport,o+"Merge",e+" \r\n "+t+" \r\n "+r+" \r\n "+n)},t.mergeSameCol=function(e,t,r,n){void 0===n&&(n=""),h(this.suReport,n+"MergeSame","row="+e+";col1="+t+";col2="+r)},t.mergeSameRow=function(e,t,r,n){void 0===n&&(n=""),h(this.suReport,n+"MergeSame","col="+e+";row1="+t+";row2="+r)},t.mergeSame=function(e,t,r,n){void 0===n&&(n=""),h(this.suReport,n+"MergeSame","col="+e+";row1="+t+";row2="+r)},t.addMenu=function(e){h(this.suReport,"AddMenu",e)},t.menuBeforePopup_Lock=function(){h(this.suReport,"MenuBeforePopup_Lock","")},t.menuBeforePopup_UnLock=function(){h(this.suReport,"MenuBeforePopup_UnLock","")},t.getCellStatus=function(e,t,r){return void 0===r&&(r=""),h(this.suReport,r+"GetCellStatus",e+"\r\n"+t)},t.addFont=function(e){return h(this.suReport,"addFont","{'faceName':'"+e+"', 'height':'-12', 'weight':'400'}")},t.setUnDragAbleAtRuntime=function(e,t,r){void 0===e&&(e="all"),void 0===t&&(t=""),void 0===r&&(r="TextBox,Picture");var n=[];if("all"==e)for(var o=this.getWorksheets(),a=0;a<o;a++)n.push(a.toString());else n=e.split(",");for(var s,l=i(n);!(s=l()).done;){var u=s.value,c=this.getHandle(u),p=this.getGraphics(r+"\r\n range="+u+";return=alias");if(!f.isNull(p))for(var d,h=i(p.split(","));!(d=h()).done;){var g=d.value;(f.isNull(t)||t.split(",").indexOf(g)>-1)&&this.SetCustomCellProp(g+" \r\n unDragAbleAtRuntime \r\n 1",c)}}},t.getSelectionRange=function(e){void 0===e&&(e=""),e||(e=this.getHandle(this.getCurrentWorksheet()));var t=this.getCurrentCells(e);if(!t)return{rowRange:[-1,-1],colRange:[-1,-1],cells:[]};var r=function(e){for(var t=0,r=0;r<e.length;r++)t=26*t+(e.charCodeAt(r)-"A".charCodeAt(0)+1);return t},n=t.split(":"),o=n[0],i=n[1],a=Number(r(o.replace(/\d/g,""))),s=parseInt(o.replace(/\D/g,"")),l=r(i.replace(/\d/g,"")),u=parseInt(i.replace(/\D/g,"")),c=[];if(a==l)for(var p=s;p<=u;p++)c.push([a-1,p-1]);else for(var f=a;f<=l;f++)for(var d=s;d<=u;d++)c.push([f-1,d-1]);return{rowRange:[s-1,u-1],colRange:[a-1,l-1],cells:c}},t.jsonToxmlSupcan=function(e){var t={Report:{WorkSheet:[]}};e.map(function(e){var r=[],n={Col:[],TR:[]},o={TD:[]};o.TD.push({_fontIndex:"0",_textColor:"#000000",_transparent:"true",_leftBorder:"1",_topBorder:"1",_leftBorderColor:"#C0C0C0",_topBorderColor:"#C0C0C0",_decimal:"2",_align:"center",_vAlign:"middle",_isProtected:"false",_isThousandSeparat:"true",_datatype:"0",_isRound:"true",_isPrint:"true"}),e.data.forEach(function(t,o){t.map(function(t,i){if(0==o&&n.Col.push({_width:e.config.columnlen[i]+1}),t){var a,s,l=t.v;l||null!=t&&null!=(s=t.ct)&&s.s&&null!=t&&t.ct.s[0].v&&(l=t.ct.s[0].v);var u={__text:l,_tag:(null==t||null==(a=t.flag)?void 0:a.tag)||JSON.stringify({})},c=t.fs?Number(t.fs)/-.75:-13;c=Number(c.toFixed(0));var p=1==t.bl?700:400;if(t.ff)if(r.find(function(e){return e._faceName==t.ff&&e._height==c&&e._weight==p})){var f=r.findIndex(function(e){return e._faceName==t.ff&&e._height==c});u._fontIndex=f}else console.log(t.fs),r.push({_faceName:t.ff,_height:c,_weight:p,_charSet:"134",_pitchAndFamily:"2",_quality:"1",_outPrecision:"3",_clipPrecision:"2"}),u._fontIndex=r.length-1}})}),t.Report.WorkSheet.push({_name:e.name,Properties:{BackGround:{_bgColor:"#FFFFFF"},DefaultTD:o,Other:{_isShowZero:"true",_isRefOri:"true",_Ellipsis:"1",_LineDistance:"0",_isRowHeightAutoExtendAble:"true"}},Fonts:{Font:r},Table:n,Merges:{Range:[]},PrintPage:{}})});var r=(new gt).js2xml(t);return r='<?xml version="1.0" encoding="UTF-8" ?>'+r,console.log(r),r},t.jsonToXml=function(e){var t=this,r={},n={Report:{WorkSheet:[]},memos:{memo:[]}};e.map(function(e,o){var i=[],a=[],s={},l=e.config.borderInfo,u={Col:[],TR:[]},c=[],p=e.config.rowlen;e.data.forEach(function(r,n){var o={_height:p[n],_sequence:n,TD:[]};r.map(function(r,a){if(0==n&&u.Col.push({_width:e.config.columnlen[a]}),r){var c;if(0==n&&0==a){var p,f=null==r||null==(p=r.flag)?void 0:p.sheettag;if(f){var d=JSON.parse(f);if(d.sheetType){var h=null==d?void 0:d.sheetType;h&&(s.sheetType=h)}}}var g,m=r.v;m||null!=r&&null!=(g=r.ct)&&g.s&&null!=r&&r.ct.s[0].v&&(m=r.ct.s[0].v),m=m||"";var v=null==r||null==(c=r.flag)?void 0:c.tag;r.c=r.c?r.c:a;var b={__text:m,_col:r.c,_tag:v||JSON.stringify({})};if(r.bg){var y=t.rgbToHex(r.bg);y&&(b._bgColor=y)}var w=l.find(function(e){return e.value&&e.value.row_index==n&&e.value.col_index==r.c});if(w){var C,N,S,R;w.value.l&&(b._leftBorder=t.getBorderNum(w.value.l.style),b._leftBorderColor=null!=(C=w.value.l.color)?C:"#ffffff"),w.value.t&&(b._topBorder=t.getBorderNum(w.value.t.style),b._topBorderColor=null!=(N=w.value.t.color)?N:"#ffffff"),w.value.b&&(b._bottomBorder=t.getBorderNum(w.value.b.style),b._bottomBorderColor=null!=(S=w.value.b.color)?S:"#ffffff"),w.value.r&&(b._rightBorder=t.getBorderNum(w.value.r.style),b._rightBorderColor=null!=(R=w.value.r.color)?R:"#ffffff")}else{var x,T,D,E=l.filter(function(e){if(e.range&&e.range.find(function(e){return e.row[0]<=n&&e.row[1]>=n&&e.column[0]<=r.c&&e.column[1]>=r.c}))return e}),A=E.find(function(e){return"border-all"==e.borderType}),_=E.find(function(e){return"border-left"==e.borderType}),P=E.find(function(e){return"border-right"==e.borderType}),k=E.find(function(e){return"border-top"==e.borderType}),O=E.find(function(e){return"border-bottom"==e.borderType});if(A){var q,I,L,M,B=t.getBorderNum(A.style);b._leftBorder=B,b._leftBorderColor=null!=(q=A.color)?q:"#ffffff",b._rightBorder=B,b._rightBorderColor=null!=(I=A.color)?I:"#ffffff",b._topBorder=B,b._topBorderColor=null!=(L=A.color)?L:"#ffffff",b._bottomBorder=B,b._bottomBorderColor=null!=(M=A.color)?M:"#ffffff"}if(_){var F,U=t.getBorderNum(_.style);b._leftBorder=U,b._leftBorderColor=null!=(F=_.color)?F:"#ffffff"}P&&(b._rightBorder=t.getBorderNum(P.style),b._rightBorderColor=null!=(x=P.color)?x:"#ffffff"),k&&(b._topBorder=t.getBorderNum(k.style),b._topBorderColor=null!=(T=k.color)?T:"#ffffff"),O&&(b._bottomBorder=t.getBorderNum(O.style),b._bottomBorderColor=null!=(D=O.color)?D:"#ffffff")}b._align=0==r.ht?"center":1==r.ht?"left":"right",b._vAlign=0==r.vt?"middle":1==r.vt?"top":"bottom",b._textColor=r.fc?r.fc:"#000000",o.TD.push(b);var H=r.fs?Number(r.fs)/-.75:-13;H=Number(H.toFixed(0));var G=1==r.bl?700:400;if(r.ff)if(i.find(function(e){return e._faceName==r.ff&&e._height==H&&e._weight==G})){var V=i.findIndex(function(e){return e._faceName==r.ff&&e._height==H});b._fontIndex=V}else console.log(r.fs),i.push({_faceName:r.ff,_height:H,_weight:G}),b._fontIndex=i.length-1}}),c.push(o)}),u.TR=c;var d=[];for(var h in e.config.merge){var g=e.config.merge[h];d.push({_row1:g.r,_row2:g.r+g.rs-1,_col1:g.c,_col2:g.c+g.cs-1})}if(r.reportPageTargets){var m,v=null==r||null==(m=r.reportPageTargets.find(function(e){return e.sheet==o}))?void 0:m.targets;s.reportTargets=v}s.sheetIndex=e.index?e.index:f.getUniqueCode(),a.push({_key:"sheettag",__text:JSON.stringify(s)});var b="portrait",y={};e.config.printPage&&(e.config.printPage.marginTop&&(y._top=e.config.printPage.marginTop),e.config.printPage.marginRight&&(y._right=e.config.printPage.marginRight),e.config.printPage.marginBottom&&(y._bottom=e.config.printPage.marginBottom),e.config.printPage.marginLeft&&(y._left=e.config.printPage.marginLeft),b=e.config.printPage.oriantation?e.config.printPage.oriantation:"portrait");var w={TD:[]};w.TD.push({_fontIndex:"0",_textColor:"#000000",_transparent:"true",_leftBorder:"0",_topBorder:"0",_leftBorderColor:"#ffffff",_topBorderColor:"#ffffff",_decimal:"2",_align:"center",_vAlign:"middle",_isProtected:"false",_isThousandSeparat:"true",_datatype:"0",_isRound:"true",_isPrint:"true"}),n.Report.WorkSheet.push({_name:e.name,Fonts:{Font:i},Properties:{DefaultTD:w},Table:u,Merges:{Range:d},memos:{memo:a},PrintPage:{Paper:{_oriantation:b,Margin:y},Page:{_align:"center",_vAlign:"middle",_isIgnoreValidBorder:"true"}}})});var o={};null!=r&&r.formulaInfo&&(o.formulaInfo=r.formulaInfo),null!=r&&r.callbackInfo&&(o.callbackInfo=r.callbackInfo),null!=r&&r.fieldMappings&&(o.fieldMappings=r.fieldMappings),n.memos.memo=[{_key:"reportGS",__text:JSON.stringify(o)}];var i=(new gt).js2xml(n);return i='<?xml version="1.0" encoding="UTF-8" ?>'+i,console.log(i),i},t.rgbToHex=function(e){try{var t=e.match(/\d+/g).map(function(e){return parseInt(e)});return"#"+((1<<24)+(t[0]<<16)+(t[1]<<8)+t[2]).toString(16).slice(1)}catch(e){return null}},t.getBorderNum=function(e){return(e={0:"none",1:"Thin",2:"Hair",3:"Dotted",4:"Dashed",5:"DashDot",6:"DashDotDot",7:"Double",8:"Medium",9:"MediumDashed",10:"MediumDashDot",11:"MediumDashDotDot",12:"SlantedDashDot",13:"Thick"}[e]).indexOf("Medium")>-1?2:"Thick"==e?3:"Thin"==e?1:"none"==e?0:1},e}();export{v as SheetTag,mt as SupcanReport,m as TagGroupModel,g as TagModel,p as Utilities,f as utilities};
2
2
  //# sourceMappingURL=tools.esm.js.map