@mescius/js-collaboration 19.0.6 → 19.1.1

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.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * SpreadJS Library 19.0.6
3
+ * SpreadJS Library 19.1.1
4
4
  *
5
5
  * Copyright(c) MESCIUS inc. All rights reserved.
6
6
  *
@@ -9,4 +9,4 @@
9
9
  * https://developer.mescius.com/spreadjs
10
10
  *
11
11
  */
12
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(this,(()=>(()=>{var e={42:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Connection=void 0,t.getConnection=function(e){return e.__conn__};const n=r(884),a=r(371),i=r(654);class o extends n.Observable{constructor(e){super(),this._tags=new Map,this._innerTags=new Map;const t=e.handshake.query;this._roomId=t.roomId,this._id=t.id,this._query=t,this._socket=e,this._socket.__conn__=this,this._socket.on(n.SOCKET_IO_MESSAGE_EVENT,this.onmessage.bind(this))}get id(){return this._id}get roomId(){return this._roomId}get query(){return this._query}get auth(){return this._socket.handshake.auth}get tags(){return this._tags}get innerTags(){return this._innerTags}get socket(){return this._socket}send(e,t){this._socket.emit(n.SOCKET_IO_MESSAGE_EVENT,(0,a.encodeMessage)(e,t))}close(){this._socket.disconnect()}broadcast(e,t,r=!1){const i=(0,a.encodeMessage)(e,t);r&&this._socket.emit(n.SOCKET_IO_MESSAGE_EVENT,i),this._socket.to(this.roomId).emit(n.SOCKET_IO_MESSAGE_EVENT,i)}async joinRoomChannel(e){this._socket.join((0,i.roomChannelIdentifier)(this.roomId,e))}async leaveRoomChannel(e){await this._socket.leave((0,i.roomChannelIdentifier)(this.roomId,e))}broadcastToRoomChannel(e,t,r){const o=(0,a.encodeMessage)(t,r);this._socket.to((0,i.roomChannelIdentifier)(this.roomId,e)).emit(n.SOCKET_IO_MESSAGE_EVENT,o)}onmessage(e){this.emit("message",(0,a.decodeMessage)(e))}static checkSocketIsValid(e){return e.handshake&&e.handshake.query?e.handshake.query.id?e.handshake.query.roomId?null:new Error("Invalid connect: missing roomId in query parameters."):new Error("Invalid connect: missing id in query parameters."):new Error("Invalid connect: missing handshake or query parameters.")}}t.Connection=o},654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.roomChannelIdentifier=void 0;t.roomChannelIdentifier=(e,t)=>`room-channel--${e}-${t}`},271:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},826:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},863:function(e,t,r){"use strict";var n,a=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),o=0;o<r.length;o++)"default"!==r[o]&&a(t,e,r[o]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.stateParseErrorTag=t.vl=void 0,t.hk=U,t.vsl=function(e,r){let n;(0,t.vl)(e,{pK:"l6/zrbWoSbcLFwEetFh38rH3ErBZE9H+Cqix3R+wTlfA1wD5B+lUcCQn+EJ60I4RGrm0x1sFjkiLWwB0jAn6BWZv0W4WbqAKriOdeoivxDp1Wmjs3qkEDhvbsjPtfvwx2BHil6o+/tDrdMJQSGs18WZm2PoQLQuL+9VhZ4FNRHUQU3Jtioke/OZEGHJOdYVwvCGalzBad6QFOiVbDBQPePpS3++GJzOxN8SN/7lyS5/IdKiy3WJRaVGkB370+HbN6hKraDfUgReLX26yxRaKC/5aWnGAJ2NnWLoGyAGRcwT9dVjo4bcAZNrrA0U9JVKQxaSskhdv2p49XzJkltXx5w==",aC:"B1"},(function(t){n=B(t,"JTPS",{licenseKey:e}),n.l=U(e),n.hl=!!e,r(n)}),(function(){n=B(),n[t.stateParseErrorTag]=!0,n.hl=!!e,r(n)}))},t.getState=B,t.isLocalhostDomain=j,t.getNumber1=L,t.getNumber2=G,t.getNumber3=Y,t.getNumber4=z,t.getNumber5=K,t.getNumber6=W,t.getNumber7=J,t.getNumber8=X,t.getNumber9=function(){return 9},t.getNumber10=function(){return 10},t.vdt=function(e,t,r,n){var a;if(!e||!t||isNaN(+t))return X;const i=V(e);if(!i)return X;const o=j(i);if(o&&!n.hl)return L;if(!n.hl)return G;if(n.h)return Y;if(null===(a=n.adr)||void 0===a?void 0:a.dsr)return J;if(!n.r)return n.i?K:J;if(n.e)return z;if(!n.c)return W;if(r===k(["tu","re"])&&!n.f&&n.w)return X;if(!function(e){try{const t=new Date(e),r=new Date;if(isNaN(t.getTime()))return!1;return Math.abs(r.getTime()-t.getTime())/6e4<=6}catch(e){return!1}}(+t))return X;const s=n.w;if(!s)return L;if(o)return L;const l=s.split(",").map((e=>e.trim().toLowerCase()));return function(e,t){if(function(e,t){for(let r=0,n=t.length;r<n;r++){let n=t[r],a=!1;if(n&&0===n.lastIndexOf("*.",0)&&(a=!0),n=a?n.slice(2):n,n===e)return!0;if(a){let t=e.indexOf("."+n);if(t>0&&t===e.length-n.length-1)return!0}}return!1}(e,t))return!0;if(function(e,t){const r=/^[0-9.]+$/;if(e&&4===e.split(".").length)for(let n=0,a=t.length;n<a;n++){let a=t[n];if(a){let t=a.length-2;if(t>0&&(a===e||".*"===a.substr(t)&&e.substr(0,t)===a.substr(0,t)&&r.test(e)))return!0}}return!1}(e,t))return!0;if(function(e,t){0===e.indexOf("[")&&e.lastIndexOf("]")===e.length-1&&(e=e.substring(1,e.length-1));e.indexOf("%")>-1&&(e=e.split("%")[0]);if(r(e)){let o=u.parse(e);for(let s=0;s<t.length;s++){let u=t[s];if(r(u)&&a(u,e))return!0;let l=n(u);if(l&&i(o,l))return!0}}return!1;function r(e){return u.IPv4.isValidFourPartDecimal(e)||u.IPv6.isValid(e)}function n(e){if(-1===e.indexOf("/"))return!1;let t=e.split("/");if(t[1].indexOf(":")>-1||t[1].indexOf(".")>-1){let r=u.parse(t[1]).prefixLengthFromSubnetMask();e=[t[0],r].join("/")}try{return u.parseCIDR(e)}catch(e){return!1}}function a(e,t){return u.parse(e).toString()===u.parse(t).toString()}function i(e,t){try{return e.match(t)}catch(e){return!1}}}(e,t))return!0;return!1}(i.toLowerCase(),l)?L:X},t.extractDomainFromUrl=V,t.gls=Q,t.getLicData=Z,t.glr=function(e,t){let r=Z(t,0,Q(e,t));const n=new Error;return n.data=r,n};const s=o(r(917)),u=o(r(218)),l=o(r(519)),c=r(233);t.vl=s._validate;const m=s._decoder,y="r",h="d",f="e";t.stateParseErrorTag="h";const d="p",p="w",_="c",g="i",M="es",v="m",b="f",F="adr",S="n",D=m("HUkJ"),x=m("T&g"),C=m("Q&w"),T=m("GRz1"),N=m("XRwh"),E=m("WQs5"),H=m("XRsZ"),P=m("WQpN");let w=["Ivldlcneky","nai ies e."],O="19.0.6";function k(e,t){let r,n,a,i="",o=0;for(r=0;r<e.length;r++)o=Math.max(o,e[r].length);for(r=0;r<o;r++){t&&(n="");for(let a=0;a<e.length;a++)t?r>=e[a].length?n+="00":n+=e[a].charAt(r)+e[a].charAt(r+1):r<e[a].length&&(i+=e[a].charAt(r));t&&(a=parseInt(n,16),i+=String.fromCharCode(a),r++)}return i}const I=k(["eauto","vlain"]),A=k(["pouto","rdcin"]),R=k(["ivld","nai"]),$=k(["n e","oky"]);function U(e){if(!e)return"";const t=r(113).createHash("sha256").update(e).digest("hex");return[t.substring(0,8),t.substring(8,12),t.substring(12,16),t.substring(16,20),t.substring(20,32)].join("-")}function B(e,r,n){var a,i;null!==(a=(n=n||{}).checkCollaborationEnable)&&void 0!==a||(n.checkCollaborationEnable=!0),null!==(i=n.licensePrefix)&&void 0!==i||(n.licensePrefix=["Sra Sv","pedJ ."]);let o,s,u,m,w,O,I,A,R,$,U={},B=!1,j=!1;return U.s=function(){var t,a;if(!e)return m=!0,!1;let i,y,h=e[D];if(!h||!h.length)return!1;const f=k(n.licensePrefix);for(let e=0,n=h.length;e<n;e++)if(i=h[e],i){if(y=i[C]===r,y){o=i[x];break}if((null===(t=i[x])||void 0===t?void 0:t.indexOf(f))>=0){const e=parseInt(i[x].replace(f,""),10);A=isNaN(e)?void 0:e}}if(e[E]&&(R=e[E],(null===(a=e[E].flg)||void 0===a?void 0:a.length)>0)){const t=e[E].flg;for(let e=0;e<t.length;e++)t[e]===k(l.Collaboration,!0)&&(B=!0)}if(!y)return!1;if(e[N]){O=e[N];let t=new Date,r=(d=e[N],new Date(parseInt(d.substr(0,4),10)||0,parseInt(d.substr(4,2),10)-1||0,parseInt(d.substr(6,2),10)||0));if(u=Math.ceil((r.getTime()-t.getTime())/864e5),s=u<=0,s)return w=r,!1}else u=void 0;var d;return(!n.checkCollaborationEnable||!0===B)&&(I=e[T],j=e[P],$=(0,c.getNameFromLicenseKey)(n.licenseKey,I),!0)}(),U[v]=e?e[H]?-1:1:0,U[y]=o,U[f]=s,U[p]=I,U[t.stateParseErrorTag]=m,U[d]=w,U[_]=B,U[g]=A,U[M]=O,U[b]=j,U[F]=R,U[S]=$,s||(U[h]=u),U}function j(e){let t=m("4LJITMx8UMcA"),r=m("Zo9Wv2#M"),n=m("JYw3Gb4NOb6x");return!!e&&(e===t||e===r||e===n)}function L(){return 1}function G(){return Math.floor(2.5)}function Y(){return 3}function z(){return Math.pow(2,2)}function K(){return Math.ceil(4.5)}function W(){return 6}function J(){return 7}function X(){return 8}function V(e){try{e.match(/^https?:\/\//i)||e.match(/^file:\/\//i)||(e="http://"+e);return new URL(e).hostname}catch(e){return null}}function q(e,t){var r;const n=k([e,"s"]);let a=function(e){let t,r=!0,n="";if(e)if("string"==typeof e)(e=e.trim())&&(t=[e]);else if(Array.isArray(e)){let r=!0;t=[];for(let a=0;a<e.length;a++)n=e[a].trim(),t.push(n),r&&n&&(r=!1);r&&(t=null)}return t||(r=!1,t=w),k(t,r)}(l[n]);return(null===(r=t.p)||void 0===r?void 0:r.toLocaleDateString)&&(a=a.replace("{0}",t.p.toLocaleDateString())),a=a.replace("{0}",(new Date).toLocaleDateString()),t.i&&(a=a.replace("{1}",t.i)),a=a.replace("{1}",k(["1","8"])),a=a.replace("{2}",""+parseInt(O,10)),a}function Q(e,t){switch(e()){case 2:return q("l1",t);case 3:return q("l2",t);case 4:return q("l3",t);case 5:return q("l4",t);case 6:return q("l5",t);case 7:default:return q("l6",t);case 8:return q("l7",t);case 9:return q("l8",t);case 10:return q("l9",t)}}function Z(e,t,r){var n;let a;1===e[v]?a=A:-1===e[v]&&(a=I),(!1===e.s||(null===(n=e.adr)||void 0===n?void 0:n.dsr))&&(a=R),e.hl||(a=$);const i={status:t,message:r};return e.iml?(i.serverKeyType=a,i.serverKeyExpiredDate=e[M]):(i.type=a,i.expiredDate=e[M]),i}},729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(692),a=r(105),i=r(863);let o;function s(){return 8}r(849),r(372),r(653),r(138),n.Server.prototype.lc=function(e){o&&o.l===(0,i.hk)(this.licenseKey)||(0,i.vsl)(this.licenseKey,(e=>{o=e}));let t=e.query.serverId;if(!t)return(0,i.glr)(s,o);try{t=a.PureCrypto.decrypt(t,"3bsNGkmSfvzQoQcO");const[e,r,n]=t.split(">"),s=(0,i.vdt)(e,r,n,o);if(1!==s())return(0,i.glr)(s,o)}catch(e){return(0,i.glr)(s,o)}},n.Server.prototype.gcm=function(){return o&&o.l===(0,i.hk)(this.licenseKey)||(0,i.vsl)(this.licenseKey,(e=>{o=e})),{data:(0,i.getLicData)(o,1)}}},233:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNameFromLicenseKey=function(e,t){if(!e)return"";let r=t;r&&(r=r.replace(/,/g,"|"));const n=e.split(",");let a=0;"GrapeCity-Internal-Use-Only"===n[a]&&a++;if(n.length>=2+a)return r&&n[a]===r?"":n[a];return""}},105:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCrypto=void 0,t.PureCrypto={encrypt:function(e,t){const r=this.utils.utf8.toBytes(t);if(!this._validateKey(r))return e;const n=this.utils.utf8.toBytes(e),a=this._generateIv(),i=new this.aes.Counter(a),o=new this.aes.ModeOfOperation.ctr(r,i).encrypt(n),s=a.concat(Array.from(o));return this.utils.base64.fromBytes(s)},decrypt:function(e,t){try{const r=this.utils.utf8.toBytes(t);if(!this._validateKey(r))return e;const n=this.utils.base64.toBytes(e),a=n.slice(0,16),i=n.slice(16);if(16!==a.length)return e;const o=new this.aes.Counter(a),s=new this.aes.ModeOfOperation.ctr(r,o).decrypt(i);return this.utils.utf8.fromBytes(s)}catch(t){return e}},_validateKey:function(e){return-1!==[16,24,32].indexOf(e.length)},_generateIv:function(){const e=[];for(let t=0;t<16;t++)e.push(Math.floor(256*Math.random()));return e},utils:{utf8:{toBytes:function(e){let t=[];for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);n<128?t.push(n):n<2048?t.push(192|n>>6,128|63&n):n<55296||n>=57344?t.push(224|n>>12,128|n>>6&63,128|63&n):(r++,n=65536+((1023&n)<<10|1023&e.charCodeAt(r)),t.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return t},fromBytes:function(e){let t="",r=0;for(;r<e.length;){let n=e[r++];if(n<128)t+=String.fromCharCode(n);else if(192==(224&n))t+=String.fromCharCode((31&n)<<6|63&e[r++]);else if(224==(240&n))t+=String.fromCharCode((15&n)<<12|(63&e[r++])<<6|63&e[r++]);else if(240==(248&n)){let a=(7&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++];a-=65536,t+=String.fromCharCode(a>>10|55296,1023&a|56320)}}return t}},base64:{_chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",fromBytes:function(e){let t="",r=0,n=e.length;for(;r<n;r++){let n=e[r++],a=e[r++],i=e[r],o=n>>2,s=(3&n)<<4|a>>4,u=(15&a)<<2|i>>6,l=63&i;isNaN(a)?u=l=64:isNaN(i)&&(l=64),t+=this._chars.charAt(o)+this._chars.charAt(s)+this._chars.charAt(u)+this._chars.charAt(l)}return t},toBytes:function(e){let t=[],r=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");r<e.length;){let n=this._chars.indexOf(e.charAt(r++)),a=this._chars.indexOf(e.charAt(r++)),i=this._chars.indexOf(e.charAt(r++)),o=this._chars.indexOf(e.charAt(r++)),s=n<<2|a>>4,u=(15&a)<<4|i>>2,l=(3&i)<<6|o;t.push(s),64!==i&&t.push(u),64!==o&&t.push(l)}return t}}},aes:function(){const e=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],t=[[0,0,0,0],[1,0,0,0],[2,0,0,0],[4,0,0,0],[8,0,0,0],[16,0,0,0],[32,0,0,0],[64,0,0,0],[128,0,0,0],[27,0,0,0],[54,0,0,0]];class r{constructor(e){this._key=e,this._Ke=[],this._Kd=[],this._keyExpansion(this._key,this._Ke,this._Kd)}_SubWord(t){return[e[t[0]],e[t[1]],e[t[2]],e[t[3]]]}_RotWord(e){return[e[1],e[2],e[3],e[0]]}_keyExpansion(e,r,n){let a,i=e.length/4,o=i+6,s=[];for(let t=0;t<i;t++)s.push([e[4*t],e[4*t+1],e[4*t+2],e[4*t+3]]);for(let e=i;e<4*(o+1);e++){if(a=s[e-1],e%i==0){a=this._RotWord(a),a=this._SubWord(a);for(let r=0;r<4;r++)a[r]^=t[e/i][r]}else i>6&&e%i==4&&(a=this._SubWord(a));s.push([]);for(let t=0;t<4;t++)s[e][t]=s[e-i][t]^a[t]}for(let e=0;e<=o;e++){r.push([]);for(let t=0;t<4;t++)for(let n=0;n<4;n++)r[e][4*t+n]=s[4*e+t][n]}}cipher(e,t){let r=t.length-1,n=[[],[],[],[]];for(let t=0;t<4;t++)for(let r=0;r<4;r++)n[t][r]=e[t+4*r];n=this._AddRoundKey(n,t[0]);for(let e=1;e<r;e++)n=this._SubBytes(n),n=this._ShiftRows(n),n=this._MixColumns(n),n=this._AddRoundKey(n,t[e]);n=this._SubBytes(n),n=this._ShiftRows(n),n=this._AddRoundKey(n,t[r]);let a=new Array(16);for(let e=0;e<4;e++)for(let t=0;t<4;t++)a[e+4*t]=n[e][t];return a}_AddRoundKey(e,t){for(let r=0;r<4;r++)for(let n=0;n<4;n++)e[r][n]^=t[r+4*n];return e}_SubBytes(t){for(let r=0;r<4;r++)for(let n=0;n<4;n++)t[r][n]=e[t[r][n]];return t}_ShiftRows(e){let t;for(let r=1;r<4;r++)t=e[r].slice(0,r),e[r]=e[r].slice(r).concat(t);return e}_xtime(e){return e<<1^27*(e>>7&1)}_MixColumns(e){for(let t=0;t<4;t++){let r=e.map((e=>e[t]));e[0][t]=this._xtime(r[0])^this._xtime(r[1])^r[1]^r[2]^r[3],e[1][t]=r[0]^this._xtime(r[1])^this._xtime(r[2])^r[2]^r[3],e[2][t]=r[0]^r[1]^this._xtime(r[2])^this._xtime(r[3])^r[3],e[3][t]=this._xtime(r[0])^r[0]^r[1]^r[2]^this._xtime(r[3])}return e}}class n{constructor(e){this._aes=new r(e)}}return n.ctr=class{constructor(e,t){this.decrypt=this.encrypt,this._key=e,this._counter=t,this._aes=new r(e),this._keystream=[]}encrypt(e){const t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)0===this._keystream.length&&(this._keystream=this._aes.cipher(this._counter._counter,this._aes._Ke),this._counter.increment()),t[r]=this._keystream.shift()^e[r];return t}},{AES:r,Counter:class{constructor(e){this._counter=e.slice(0)}increment(){for(let e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}}},ModeOfOperation:n}}()}},611:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ls7=t.ls6=t.ls5=t.ls4=t.ls3=t.ls2=t.ls1=void 0,t.ls1=["","4c6963656e7365204e6f7420466f756e640d0a596f75206e65656420612076616c6964206c6963656e7365206b657920746f2072756e205370726561644a532e0d0a54656d706f72617279206b6579732061726520617661696c61626c6520666f72206576616c756174696f6e2e0d0a496620796f75207075726368617365642061206c6963656e73652c20796f7572206b657920697320696e20796f757220707572636861736520636f6e6669726d6174696f6e20656d61696c2e0d0a"],t.ls2=["","496e76616c6964206c6963656e7365206b65792e0d0a546865726520697320616e2069737375652072656164696e6720746865206c6963656e7365206b65792e0d0a4d616b65207375726520746f20636f70792074686520656e74697265206c6963656e7365206b657920737472696e6720696e746f20796f7572206170706c69636174696f6e2e0d0a"],t.ls3=["","506f7765726564206279204d455343495553205370726561644a532e0d0a596f75722074656d706f72617279206465706c6f796d656e74206b6579206861732065787069726564206f6e207b307d2e0d0a"],t.ls4=["","496e76616c6964206c6963656e7365206b65792e0d0a546865206c6963656e7365206b657920697320666f722076657273696f6e20567b317d2e2042757420746869732076657273696f6e20697320567b327d2e0d0a"],t.ls5=["","496e76616c6964206c6963656e7365206b65792e0d0a54686520436f6c6c61626f726174696f6e204164646f6e2069732044697361626c65642e"],t.ls6=["","496e76616c6964206c6963656e7365206b65792e"],t.ls7=["","496e76616c6964206c6963656e7365206b65792e0d0a54686973206c6963656e7365206b657920697320666f72206120646966666572656e7420686f73746e616d652e"]},519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Collaboration=void 0,t.Collaboration=["436f6c6c61626f726174696f6e"];const n=r(611);for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e])},371:function(e,t,r){"use strict";var n,a=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),o=0;o<r.length;o++)"default"!==r[o]&&a(t,e,r[o]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.encodeMessage=function(e,t=null){try{const r=JSON.stringify(e),n=(new TextEncoder).encode(r);if(n.byteLength<u.COMPRESSION_THRESHOLD)return[t,e,!1];const a=Buffer.from(n),i=s.gzipSync(a);if(i.byteLength<n.byteLength){return[t,i.toString("base64"),!0]}return[t,e,!1]}catch(r){return[t,e,!1]}},t.decodeMessage=function(e){const t=e[0],r=e[1];if(!e[2])return[r,t];try{if("string"!=typeof r)return[r,t];const e=Buffer.from(r,"base64"),n=s.gunzipSync(e),a=(new TextDecoder).decode(n);return[JSON.parse(a),t]}catch(e){return[r,t]}};const s=o(r(796)),u=r(884)},692:function(e,t,r){"use strict";var n,a=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),o=0;o<r.length;o++)"default"!==r[o]&&a(t,e,r[o]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.Server=void 0;const s=o(r(952)),u=r(884),l=r(42),c=r(654),m=r(371);class y extends u.Middleware{constructor(e){var t,r,n,a,i,o;super(),this.rooms=new Set,this.licenseKey="",this.serverLicenseKey="",e=null!=e?e:{port:3e3},Object.defineProperty(this,"licenseKey",{writable:!0,configurable:!1}),Object.defineProperty(this,"serverLicenseKey",{writable:!0,configurable:!1}),this.io=new s.Server(e.httpServer||e.port,{serveClient:!1,perMessageDeflate:!1,transports:["websocket"],path:null!==(t=e.path)&&void 0!==t?t:u.DEFAULT_REQUEST_PATH,adapter:e.socketIoAdapter,cors:e.cors,connectTimeout:null!==(r=e.connectTimeout)&&void 0!==r?r:45e3,pingInterval:null!==(n=e.pingInterval)&&void 0!==n?n:25e3,pingTimeout:null!==(a=e.pingTimeout)&&void 0!==a?a:2e4,upgradeTimeout:null!==(i=e.upgradeTimeout)&&void 0!==i?i:1e4,maxHttpBufferSize:null!==(o=e.maxHttpBufferSize)&&void 0!==o?o:1e10}),this.io.use(((e,t)=>{const r=l.Connection.checkSocketIsValid(e);if(r)return t(r);const n=new l.Connection(e),a={connection:n,roomId:n.roomId},i=this.lc(n);if(i)return t(i);this.trigger("connect",a,(async e=>{return e?t((r=e)instanceof Error?r:new Error(r)):t();var r}))}));const c=this.io.of("/").adapter;this.io.on("connection",(e=>{const t=(0,l.getConnection)(e);this.emit("connect",{connection:t,roomId:t.roomId}),e.emit("eauto",this.gcm()),this.rooms.add(t.roomId),t.socket.join(t.roomId),t.on("message",((e,r)=>{this.trigger("message",{connection:t,data:e,type:r,roomId:t.roomId},(async n=>{n?t.socket.emit("message_error",n instanceof Error?n.message:n):await this.emit("message",{connection:t,data:e,type:r,roomId:t.roomId})}))})),t.socket.on("disconnect",(()=>{this.emit("disconnect",{connection:t,roomId:t.roomId})}))})),c.on("create-room",(e=>{this.rooms.has(e)&&this.emit("createRoom",{roomId:e})})),c.on("join-room",((e,t)=>{if(!this.rooms.has(e))return;const r=this.io.sockets.sockets.get(t);this.emit("enterRoom",{roomId:e,connection:(0,l.getConnection)(r)})})),c.on("leave-room",((e,t)=>{if(!this.rooms.has(e))return;const r=this.io.sockets.sockets.get(t);this.emit("leaveRoom",{roomId:e,connection:(0,l.getConnection)(r)})})),c.on("delete-room",(e=>{this.rooms.has(e)&&(this.rooms.delete(e),this.emit("destroyRoom",{roomId:e}))}))}lc(e){}gcm(){}use(e,t){if("string"==typeof e){const r=e;super.use(r,t)}else{const t=e;t.connect&&super.use("connect",t.connect),t.message&&super.use("message",t.message)}}on(e,t){if("string"==typeof e){const r=e;super.on(r,t)}else{const t=e;t.connect&&super.on("connect",t.connect),t.createRoom&&super.on("createRoom",t.createRoom),t.enterRoom&&super.on("enterRoom",t.enterRoom),t.message&&super.on("message",t.message),t.disconnect&&super.on("disconnect",t.disconnect),t.leaveRoom&&super.on("leaveRoom",t.leaveRoom),t.destroyRoom&&super.on("destroyRoom",t.destroyRoom)}}useFeature(e){e.middlewares&&this.use(e.middlewares),e.hooks&&this.on(e.hooks),e.onUseFeature&&e.onUseFeature(this)}broadcastToRoomChannel(e,t,r,n){const a=(0,m.encodeMessage)(r,n);this.io.to((0,c.roomChannelIdentifier)(e,t)).emit(u.SOCKET_IO_MESSAGE_EVENT,a)}}t.Server=y},952:e=>{"use strict";e.exports=require("socket.io")},113:e=>{"use strict";e.exports=require("crypto")},796:e=>{"use strict";e.exports=require("zlib")},884:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_REQUEST_PATH=void 0,a(r(589),t),a(r(735),t),a(r(31),t),a(r(76),t),a(r(959),t),t.DEFAULT_REQUEST_PATH="/collaboration/"},31:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LoggerManager=t.LogLevel=void 0,function(e){e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR"}(r||(t.LogLevel=r={}));class n{debug(...e){}info(...e){}warn(...e){}error(...e){}}class a{constructor(e){this.namespace=e}debug(...e){this.isEnabled&&i.getLogLevel()<=r.DEBUG&&this.logger.debug(`[${this.namespace}]`,...e)}info(...e){this.isEnabled&&i.getLogLevel()<=r.INFO&&this.logger.info(`[${this.namespace}]`,...e)}warn(...e){this.isEnabled&&i.getLogLevel()<=r.WARN&&this.logger.warn(`[${this.namespace}]`,...e)}error(...e){this.isEnabled&&i.getLogLevel()<=r.ERROR&&this.logger.error(`[${this.namespace}]`,...e)}get isEnabled(){return i._isEnabledNamespace(this.namespace)}get logger(){return i.getInstance()}}class i{static getInstance(){return i._instance||(i._instance=new n),i._instance}static createLogger(e){return new a(e)}static setLogger(e){i._instance=e}static setLogLevel(e){i._logLevel=e}static getLogLevel(){return i._logLevel}static enableNamespace(e){i._enabledNamespace.push(...e)}static disableNamespace(e){i._enabledNamespace=i._enabledNamespace.filter((t=>!e.includes(t)))}static _isEnabledNamespace(e){return!!i._enabledNamespace.includes("*")||i._enabledNamespace.some((t=>{if(t===e)return!0;if(t.endsWith(".*")){const r=t.slice(0,-2);return e===r||e.startsWith(r+".")}return!1}))}}t.LoggerManager=i,i._enabledNamespace=[],i._logLevel=r.INFO},735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SOCKET_IO_MESSAGE_EVENT=t.COMPRESSION_THRESHOLD=void 0,t.COMPRESSION_THRESHOLD=128,t.SOCKET_IO_MESSAGE_EVENT="m"},589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Middleware=void 0;t.Middleware=class{constructor(){this.middlewares=new Map,this.hooks=new Map}use(e,t){this.middlewares.has(e)||this.middlewares.set(e,[]),this.middlewares.get(e).push(t)}on(e,t){this.hooks.has(e)||this.hooks.set(e,[]),this.hooks.get(e).push(t)}async trigger(e,t,r){let n=this.middlewares.get(e);if(!n||0===n.length)return r();n=n.slice();const a=async e=>{if(e)return await r(e);const i=n.shift();if(!i)return await r();await i(t,a)};await a()}async emit(e,t){const r=this.hooks.get(e);if(r)for(const e of r)await e(t)}}},959:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Observable=void 0;t.Observable=class{constructor(){this._observers=new Map}on(e,t){return r(this._observers,e,(()=>new Set)).add(t),t}once(e,t){const r=(...n)=>{this.off(e,r),t(...n)};this.on(e,r)}off(e,t){const r=this._observers.get(e);void 0!==r&&(r.delete(t),0===r.size&&this._observers.delete(e))}emit(e,t){return Array.from((this._observers.get(e)||new Map).values()).forEach((e=>e(...t)))}destroy(){this._observers=new Map}};const r=(e,t,r)=>{let n=e.get(t);return void 0===n&&(n=r(),e.set(t,n)),n}},76:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNullOrUndefined=function(e){return null==e},t.isEqual=function e(t,r,n=new WeakMap){if(t===r)return!0;if(Number.isNaN(t)&&Number.isNaN(r))return!0;if(null===t||null===r||"object"!=typeof t||"object"!=typeof r)return!1;if(n.has(t)&&n.get(t)===r)return!0;n.set(t,r);const a=Object.prototype.toString.call(t),i=Object.prototype.toString.call(r);if(a!==i)return!1;if(t instanceof Date||r instanceof Date)return t.getTime()===r.getTime();if(t instanceof RegExp||r instanceof RegExp)return t.toString()===r.toString();if(t instanceof Map||r instanceof Map)return t.size===r.size&&Array.from(t.entries()).every((([t,a])=>r.has(t)&&e(a,r.get(t),n)));if(t instanceof Set||r instanceof Set)return Array.from(t).every(((t,a)=>e(t,Array.from(r)[a],n)));if(Array.isArray(t)&&Array.isArray(r))return t.length===r.length&&t.every(((t,a)=>e(t,r[a],n)));const o=Object.keys(t),s=Object.keys(r);if(o.length!==s.length)return!1;return o.every((a=>Object.prototype.hasOwnProperty.call(r,a)&&e(t[a],r[a],n)))},t.uuid=function(e=8){let t="";for(let a=0;a<e;a++){const e=~~(Math.random()*n);t+=r[e]}return t};const r="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",n=r.length},218:e=>{"use strict";!function(){var t="(0?\\d+|0x[a-f0-9]+)",r={fourOctet:new RegExp("^".concat(t,"\\.").concat(t,"\\.").concat(t,"\\.").concat(t,"$"),"i"),threeOctet:new RegExp("^".concat(t,"\\.").concat(t,"\\.").concat(t,"$"),"i"),twoOctet:new RegExp("^".concat(t,"\\.").concat(t,"$"),"i"),longValue:new RegExp("^".concat(t,"$"),"i")},n=new RegExp("^0[0-7]+$","i"),a=new RegExp("^0x[a-f0-9]+$","i"),i="%[0-9a-z]{1,}",o="(?:[0-9a-f]+::?)+",s={zoneIndex:new RegExp(i,"i"),native:new RegExp("^(::)?(".concat(o,")?([0-9a-f]+)?(::)?(").concat(i,")?$"),"i"),deprecatedTransitional:new RegExp("^(?:::)(".concat(t,"\\.").concat(t,"\\.").concat(t,"\\.").concat(t,"(").concat(i,")?)$"),"i"),transitional:new RegExp("^((?:".concat(o,")|(?:::)(?:").concat(o,")?)").concat(t,"\\.").concat(t,"\\.").concat(t,"\\.").concat(t,"(").concat(i,")?$"),"i")};function u(e,t){if(e.indexOf("::")!==e.lastIndexOf("::"))return null;var r,n,a=0,i=-1,o=(e.match(s.zoneIndex)||[])[0];for(o&&(o=o.substring(1),e=e.replace(/%.+$/,""));(i=e.indexOf(":",i+1))>=0;)a++;if("::"===e.substr(0,2)&&a--,"::"===e.substr(-2,2)&&a--,a>t)return null;for(n=t-a,r=":";n--;)r+="0:";return":"===(e=e.replace("::",r))[0]&&(e=e.slice(1)),":"===e[e.length-1]&&(e=e.slice(0,-1)),{parts:t=function(){for(var t=e.split(":"),r=[],n=0;n<t.length;n++)r.push(parseInt(t[n],16));return r}(),zoneId:o}}function l(e,t,r,n){if(e.length!==t.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(var a,i=0;n>0;){if((a=r-n)<0&&(a=0),e[i]>>a!=t[i]>>a)return!1;n-=r,i+=1}return!0}function c(e){if(a.test(e))return parseInt(e,16);if("0"===e[0]&&!isNaN(parseInt(e[1],10))){if(n.test(e))return parseInt(e,8);throw new Error("ipaddr: cannot parse ".concat(e," as octal"))}return parseInt(e,10)}function m(e,t){for(;e.length<t;)e="0".concat(e);return e}var y={};y.IPv4=function(){function e(e){if(4!==e.length)throw new Error("ipaddr: ipv4 octet count should be 4");var t,r;for(t=0;t<e.length;t++)if(!(0<=(r=e[t])&&r<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=e}return e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],carrierGradeNat:[[new e([100,64,0,0]),10]],private:[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.kind=function(){return"ipv4"},e.prototype.match=function(e,t){var r;if(void 0===t&&(e=(r=e)[0],t=r[1]),"ipv4"!==e.kind())throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return l(this.octets,e.octets,8,t)},e.prototype.prefixLengthFromSubnetMask=function(){var e,t,r,n=0,a=!1,i={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};for(e=3;e>=0;e-=1){if(!((t=this.octets[e])in i))return null;if(r=i[t],a&&0!==r)return null;8!==r&&(a=!0),n+=r}return 32-n},e.prototype.range=function(){return y.subnetMatch(this,this.SpecialRanges)},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.toIPv4MappedAddress=function(){return y.IPv6.parse("::ffff:".concat(this.toString()))},e.prototype.toNormalizedString=function(){return this.toString()},e.prototype.toString=function(){return this.octets.join(".")},e}(),y.IPv4.broadcastAddressFromCIDR=function(e){try{for(var t=this.parseCIDR(e),r=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),a=[],i=0;i<4;)a.push(parseInt(r[i],10)|255^parseInt(n[i],10)),i++;return new this(a)}catch(e){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},y.IPv4.isIPv4=function(e){return null!==this.parser(e)},y.IPv4.isValid=function(e){try{return new this(this.parser(e)),!0}catch(e){return!1}},y.IPv4.isValidFourPartDecimal=function(e){return!(!y.IPv4.isValid(e)||!e.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},y.IPv4.networkAddressFromCIDR=function(e){var t,r,n,a,i;try{for(n=(t=this.parseCIDR(e))[0].toByteArray(),i=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),a=[],r=0;r<4;)a.push(parseInt(n[r],10)&parseInt(i[r],10)),r++;return new this(a)}catch(e){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},y.IPv4.parse=function(e){var t=this.parser(e);if(null===t)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(t)},y.IPv4.parseCIDR=function(e){var t;if(t=e.match(/^(.+)\/(\d+)$/)){var r=parseInt(t[2]);if(r>=0&&r<=32){var n=[this.parse(t[1]),r];return Object.defineProperty(n,"toString",{value:function(){return this.join("/")}}),n}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},y.IPv4.parser=function(e){var t,n,a;if(t=e.match(r.fourOctet))return function(){for(var e=t.slice(1,6),r=[],a=0;a<e.length;a++)n=e[a],r.push(c(n));return r}();if(t=e.match(r.longValue)){if((a=c(t[1]))>4294967295||a<0)throw new Error("ipaddr: address outside defined range");return function(){var e,t=[];for(e=0;e<=24;e+=8)t.push(a>>e&255);return t}().reverse()}return(t=e.match(r.twoOctet))?function(){var e=t.slice(1,4),r=[];if((a=c(e[1]))>16777215||a<0)throw new Error("ipaddr: address outside defined range");return r.push(c(e[0])),r.push(a>>16&255),r.push(a>>8&255),r.push(255&a),r}():(t=e.match(r.threeOctet))?function(){var e=t.slice(1,5),r=[];if((a=c(e[2]))>65535||a<0)throw new Error("ipaddr: address outside defined range");return r.push(c(e[0])),r.push(c(e[1])),r.push(a>>8&255),r.push(255&a),r}():null},y.IPv4.subnetMaskFromPrefixLength=function(e){if((e=parseInt(e))<0||e>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(var t=[0,0,0,0],r=0,n=Math.floor(e/8);r<n;)t[r]=255,r++;return n<4&&(t[n]=Math.pow(2,e%8)-1<<8-e%8),new this(t)},y.IPv6=function(){function e(e,t){var r,n;if(16===e.length)for(this.parts=[],r=0;r<=14;r+=2)this.parts.push(e[r]<<8|e[r+1]);else{if(8!==e.length)throw new Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=e}for(r=0;r<this.parts.length;r++)if(!(0<=(n=this.parts[r])&&n<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");t&&(this.zoneId=t)}return e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],"6to4":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.isIPv4MappedAddress=function(){return"ipv4Mapped"===this.range()},e.prototype.kind=function(){return"ipv6"},e.prototype.match=function(e,t){var r;if(void 0===t&&(e=(r=e)[0],t=r[1]),"ipv6"!==e.kind())throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return l(this.parts,e.parts,16,t)},e.prototype.prefixLengthFromSubnetMask=function(){for(var e,t,r=0,n=!1,a={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},i=7;i>=0;i-=1){if(!((e=this.parts[i])in a))return null;if(t=a[e],n&&0!==t)return null;16!==t&&(n=!0),r+=t}return 128-r},e.prototype.range=function(){return y.subnetMatch(this,this.SpecialRanges)},e.prototype.toByteArray=function(){for(var e,t=[],r=this.parts,n=0;n<r.length;n++)e=r[n],t.push(e>>8),t.push(255&e);return t},e.prototype.toFixedLengthString=function(){var e=function(){for(var e=[],t=0;t<this.parts.length;t++)e.push(m(this.parts[t].toString(16),4));return e}.call(this).join(":"),t="";return this.zoneId&&(t="%".concat(this.zoneId)),e+t},e.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");var e=this.parts.slice(-2),t=e[0],r=e[1];return new y.IPv4([t>>8,255&t,r>>8,255&r])},e.prototype.toNormalizedString=function(){var e=function(){for(var e=[],t=0;t<this.parts.length;t++)e.push(this.parts[t].toString(16));return e}.call(this).join(":"),t="";return this.zoneId&&(t="%".concat(this.zoneId)),e+t},e.prototype.toRFC5952String=function(){for(var e,t=/((^|:)(0(:|$)){2,})/g,r=this.toNormalizedString(),n=0,a=-1;e=t.exec(r);)e[0].length>a&&(n=e.index,a=e[0].length);return a<0?r:"".concat(r.substring(0,n),"::").concat(r.substring(n+a))},e.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},e}(),y.IPv6.broadcastAddressFromCIDR=function(e){try{for(var t=this.parseCIDR(e),r=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),a=[],i=0;i<16;)a.push(parseInt(r[i],10)|255^parseInt(n[i],10)),i++;return new this(a)}catch(e){throw new Error("ipaddr: the address does not have IPv6 CIDR format (".concat(e,")"))}},y.IPv6.isIPv6=function(e){return null!==this.parser(e)},y.IPv6.isValid=function(e){if("string"==typeof e&&-1===e.indexOf(":"))return!1;try{var t=this.parser(e);return new this(t.parts,t.zoneId),!0}catch(e){return!1}},y.IPv6.networkAddressFromCIDR=function(e){var t,r,n,a,i;try{for(n=(t=this.parseCIDR(e))[0].toByteArray(),i=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),a=[],r=0;r<16;)a.push(parseInt(n[r],10)&parseInt(i[r],10)),r++;return new this(a)}catch(e){throw new Error("ipaddr: the address does not have IPv6 CIDR format (".concat(e,")"))}},y.IPv6.parse=function(e){var t=this.parser(e);if(null===t.parts)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(t.parts,t.zoneId)},y.IPv6.parseCIDR=function(e){var t,r,n;if((r=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(r[2]))>=0&&t<=128)return n=[this.parse(r[1]),t],Object.defineProperty(n,"toString",{value:function(){return this.join("/")}}),n;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},y.IPv6.parser=function(e){var t,r,n,a,i,o;if(n=e.match(s.deprecatedTransitional))return this.parser("::ffff:".concat(n[1]));if(s.native.test(e))return u(e,8);if((n=e.match(s.transitional))&&(o=n[6]||"",(t=u(n[1].slice(0,-1)+o,6)).parts)){for(i=[parseInt(n[2]),parseInt(n[3]),parseInt(n[4]),parseInt(n[5])],r=0;r<i.length;r++)if(!(0<=(a=i[r])&&a<=255))return null;return t.parts.push(i[0]<<8|i[1]),t.parts.push(i[2]<<8|i[3]),{parts:t.parts,zoneId:t.zoneId}}return null},y.IPv6.subnetMaskFromPrefixLength=function(e){if((e=parseInt(e))<0||e>128)throw new Error("ipaddr: invalid IPv6 prefix length");for(var t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=0,n=Math.floor(e/8);r<n;)t[r]=255,r++;return n<16&&(t[n]=Math.pow(2,e%8)-1<<8-e%8),new this(t)},y.fromByteArray=function(e){var t=e.length;if(4===t)return new y.IPv4(e);if(16===t)return new y.IPv6(e);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},y.isValid=function(e){return y.IPv6.isValid(e)||y.IPv4.isValid(e)},y.parse=function(e){if(y.IPv6.isValid(e))return y.IPv6.parse(e);if(y.IPv4.isValid(e))return y.IPv4.parse(e);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},y.parseCIDR=function(e){try{return y.IPv6.parseCIDR(e)}catch(t){try{return y.IPv4.parseCIDR(e)}catch(e){throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},y.process=function(e){var t=this.parse(e);return"ipv6"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t},y.subnetMatch=function(e,t,r){var n,a,i,o;for(a in null==r&&(r="unicast"),t)if(Object.prototype.hasOwnProperty.call(t,a))for(!(i=t[a])[0]||i[0]instanceof Array||(i=[i]),n=0;n<i.length;n++)if(o=i[n],e.kind()===o[0].kind()&&e.match.apply(e,o))return a;return r},e.exports?e.exports=y:(void 0).ipaddr=y}()},917:e=>{var t=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}return r.m=e,r.c=t,r.p="dist",r(0)}([function(e,t){(function(e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n="undefined"!=typeof window,a=String.fromCharCode,i=n&&window.Uint8Array||function(e){var t;if("number"==typeof e){t=new Array(e);for(var n=0;n<e;++n)t[n]=0}else t=e.slice(0);t.buffer=t,t.byteLength=t.length,"object"===(void 0===e?"undefined":r(e))&&e.buffer&&(t.buffer=e.buffer);return t},o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e,u="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,l=s||u;function c(e,t,r,n){return 1==e.length||e.splice(r,1,n(e.splice(t,1,n(e[r]))[0])),e}function m(e){for(var t=e.split(""),r=function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=e.charCodeAt(0);return r>=65&&r<=90?e.toLowerCase():r>=97&&r<=122?e.toUpperCase():r>=48&&r<=57?a(48+(r-48+10+t)%10):e}(e,-1)},n=t.length-5;n>=0;n--)c(t,n+1,n+3,r),c(t,n,n+2,r);return t.join("")}function y(e){var t,r,n,a,i,s,u,l,c=[],m="",y=o;if((s=(u=e).length%3)>0)for(;s++<3;)m+="=",u+="\0";for(s=0;s<u.length;s+=3)r=(t=u.charCodeAt(s)<<16|u.charCodeAt(s+1)<<8|u.charCodeAt(s+2))>>18&63,n=t>>12&63,a=t>>6&63,i=63&t,c[s/3]=y.charAt(r)+y.charAt(n)+y.charAt(a)+y.charAt(i);return l=(l=c.join("")).slice(0,l.length-m.length)+m}function h(e){var t,r,n,i,s,u,l,c=[],m=o;l=e;for(var y=0;y<l.length;y+=4)t=(u=m.indexOf(l.charAt(y))<<18|m.indexOf(l.charAt(y+1))<<12|(i=m.indexOf(l.charAt(y+2)))<<6|(s=m.indexOf(l.charAt(y+3))))>>>16&255,r=u>>>8&255,n=255&u,c[y/4]=a(t,r,n),64==s&&(c[y/4]=a(t,r)),64==i&&(c[y/4]=a(t));return c.join("")}function f(e){return(n&&window.atob||h)(e)}function d(e){return(n&&window.btoa||y)(e)}function p(e){if(!e)return"";var t=m(e);t=t.split("").reverse().join("");var r=Math.ceil(t.length/2);return function(e){return decodeURIComponent(Array.prototype.map.call(f(e),(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}(t=(t=(t=t.substr(r)+t.substr(0,r)).replace("#","=")).replace("&","=="))}t.iDe=p;function _(e){for(var t=f(e),r=t.length,n=new i(r),a=0;a<r;a++)n[a]=t.charCodeAt(a);return n.buffer}function g(e){for(var t=new ArrayBuffer(e.length),r=new i(t),n=0,a=e.length;n<a;n++)r[n]=e.charCodeAt(n);return t}function M(e){return"oncomplete"in e&&(e.then=function(t,r){e.resolve=t,e.reject=r},e.oncomplete=function(t){e.resolve(e.result)},e.onerror=function(){e.reject()}),e}t.attorn=function(e,t,r,o){var s=n?window.msCrypto?window.msCrypto:window.crypto:void 0,u=function(e,t){try{t="#"+t;var r=e.indexOf(t);if(r>-1)return{prefix:e.substring(0,r),licData:JSON.parse(p(e.substr(r+t.length)))}}catch(e){}return!1}(e,t.aC);if(!u)return o();var c,m,y=u.licData,h=u.prefix+"#"+t.aC,f=(c=_((m=h+JSON.stringify(y.D),d(encodeURIComponent(m).replace(/%([0-9A-F]{2})/g,(function(e,t){return a(parseInt(t,16))}))))),a.apply(null,new i(c)));function v(){return function(e){for(var t=0,r=5381,n=0,a=e.length-1;a>=0;a--){var i=e.charCodeAt(a);t=i+(t<<6)+(t<<16)-t,r=i+((r<<5)+r),n=i+((n<<5)-n),n|=0}var o=t^r^n;return o<0&&(o=~o),o.toString(16).toUpperCase()}(h+JSON.stringify(y.D))===y.H?r(y.D):o()}var b=p("JYx3Gb#8Pb5R"),F=p("VdgJHc#wJb59");if(l[b]&&l[b][F]&&!location.protocol.match(/^https/i))return v();if(!s||!s.subtle)return v();var S={alg:"PS256",e:"AQAB",kty:"RSA",n:(D=t.pK,D.replace(/\+/g,"-").replace(/\//g,"_").replace(/\=+$/,""))};S=window.msCrypto?g(JSON.stringify(S)):S;var D,x={name:"RSA-PSS",saltLength:32,hash:{name:"SHA-256"}};M(s.subtle.importKey("jwk",S,x,!1,["verify"])).then((function(e){M(s.subtle.verify(x,e,_(y.S),g(f))).then((function(e){return e?r(y.D):o()}))}),(function(){return v()}))}}).call(t,function(){return this}())}]);e.exports={_validate:t.attorn,_decoder:t.iDe}},849:()=>{var e;!function(){"use strict";var t={38:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.UserManagerEvent=t.UserManager=t.UUIDGenerator=t._getSR=t.rbush=t.CultureManager=t.CultureInfo=t._StringHelper=t._RegexHelper=t._NumberHelper=t._DateTimeHelper=t._ArrayHelper=t._Types=t._ColorHelper=void 0;var i=r(395);Object.defineProperty(t,"_ColorHelper",{enumerable:!0,get:function(){return i._ColorHelper}});var o=r(534);Object.defineProperty(t,"_Types",{enumerable:!0,get:function(){return o._Types}});var s=r(305);Object.defineProperty(t,"_ArrayHelper",{enumerable:!0,get:function(){return s._ArrayHelper}});var u=r(97);Object.defineProperty(t,"_DateTimeHelper",{enumerable:!0,get:function(){return u._DateTimeHelper}}),Object.defineProperty(t,"_getSR",{enumerable:!0,get:function(){return u.getSR}});var l=r(844);Object.defineProperty(t,"_NumberHelper",{enumerable:!0,get:function(){return l._NumberHelper}});var c=r(576);Object.defineProperty(t,"_RegexHelper",{enumerable:!0,get:function(){return c._RegexHelper}});var m=r(480);Object.defineProperty(t,"_StringHelper",{enumerable:!0,get:function(){return m._StringHelper}});var y=r(674);Object.defineProperty(t,"rbush",{enumerable:!0,get:function(){return y.rbush}});var h=r(818),f=r(479);Object.defineProperty(t,"UUIDGenerator",{enumerable:!0,get:function(){return f.UUIDGenerator}}),Object.defineProperty(t,"HandleExcelSpecialDate",{set:function(e){h.HandleExcelSpecialDate=e},get:function(){return h.HandleExcelSpecialDate}}),a(r(818),t);var d=r(286);Object.defineProperty(t,"CultureInfo",{enumerable:!0,get:function(){return d.CultureInfo}}),Object.defineProperty(t,"CultureManager",{enumerable:!0,get:function(){return d.CultureManager}}),a(r(646),t);var p=r(561);Object.defineProperty(t,"UserManager",{enumerable:!0,get:function(){return p.UserManager}}),Object.defineProperty(t,"UserManagerEvent",{enumerable:!0,get:function(){return p.UserManagerEvent}})},286:function(e,t,r){var n,a=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.CultureManager=t._EraHelper=t.CultureInfo=t.TimelineDateOrder=void 0;var i,o=r(534),s=r(818),u=r(305),l=r(576),c="undefined"!=typeof window?window:r.g,m=o._Types._each,y=o._Types._extend,h=(new Date).getFullYear(),f=["MM/dd/yyyy","MM/d/yyyy","M/dd/yyyy","M/d/yyyy","yy/MM/dd","yy/MM/d","yy/M/dd","yy/M/d","yyyy/MM/dd","yyyy/MM/d","yyyy/M/dd","yyyy/M/d"],d=["hh:mm:ss","hh:mm:s","hh:m:ss","hh:m:s","h:mm:ss","h:mm:s","h:m:ss","h:m:s","hh:mm:ss tt","hh:mm:s tt","hh:m:ss tt","hh:m:s tt","h:mm:ss tt","h:mm:s tt","h:m:ss tt","h:m:s tt","hh:mm","hh:m","h:mm","h:m","hh:mm tt","hh:m tt","h:mm tt","h:m tt"],p=["MM-dd-yyyy","MM-d-yyyy","M-dd-yyyy","M-d-yyyy","yy-MM-dd","yy-MM-d","yy-M-dd","yy-M-d","yyyy-MM-dd","yyyy-MM-d","yyyy-M-dd","yyyy-M-d","dd-MMMM-yy","dd-MMM-yy"],_=f.concat(d);function g(e){return e.split(" ").join(" ").toUpperCase()}function M(e){for(var t=[],r=0,n=e.length;r<n;r++)t[r]=g(e[r]);return t}function v(e,t,r){var n=g(e),a=t.indexOf(n);return-1===a&&(a=r.indexOf(n)),a}function b(e){if(e){var t=e.charCodeAt(0);if(t>=11904&&t<12032||t>=8208&&t<8252||t>=12288&&t<40960||t>=43360&&t<43392||t>=44032&&t<55215||t>=63744&&t<64256||t>=65280&&t<65535)return!0}return!1}function F(e,t,r){if(" "===e||r&&" "===e)return 0;var n=r&&r(e);return t.lineBreakingForbidStart&&-1!==t.lineBreakingForbidStart.indexOf(e)?!r||n?7:6:t.lineBreakingForbidEnd&&-1!==t.lineBreakingForbidEnd.indexOf(e)?!r||n?5:4:n?2:t.lineBreakingChar&&-1!==t.lineBreakingChar.indexOf(e)?3:1}m(f,(function(e,t){m(d,(function(e,r){e<d.length-4&&_.push(t+" "+r)}))})),_=_.concat(p),m(p,(function(e,t){m(d,(function(e,r){e<d.length-4&&_.push(t+" "+r)}))})),function(e){e[e.year=1]="year",e[e.quarterOrMonth=2]="quarterOrMonth",e[e.date=3]="date"}(i=t.TimelineDateOrder||(t.TimelineDateOrder={}));var S={"00":1,"01":1,"02":1,"03":1,"04":1,"05":1,"06":1,"07":1,12:1,15:1,21:1,22:1,23:1,24:1,25:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,62:1,65:1,71:1,72:1,73:1,74:1,75:1};function D(e,t,r){if(!e)return[];for(var n=[e[0]],a=0,i=F(e[0],t,r),o=1;o<e.length;o++){var s=F(e[o],t,r);S[i+""+s]&&void 0===n[++a]&&(n[a]=""),n[a]+=e[o],i=s}return n}var x=function(){function e(){this.NumberFormat={currencyDecimalDigits:2,currencyDecimalSeparator:".",currencyGroupSeparator:",",currencyGroupSizes:[3],currencyNegativePattern:0,currencyPositivePattern:0,currencySymbol:"¤",digitSubstitution:1,isReadOnly:!0,numberGroupSizes:[3],nanSymbol:"NaN",nativeDigits:["0","1","2","3","4","5","6","7","8","9"],numberNegativePattern:1,negativeInfinitySymbol:"-Infinity",negativeSign:"-",numberDecimalDigits:2,numberDecimalSeparator:".",numberGroupSeparator:",",positiveInfinitySymbol:"Infinity",positiveSign:"+",percentDecimalDigits:2,percentDecimalSeparator:".",percentGroupSeparator:",",percentGroupSizes:[3],percentNegativePattern:0,percentPositivePattern:0,percentSymbol:"%",perMilleSymbol:"‰",listSeparator:",",arrayListSeparator:",",arrayGroupSeparator:";",dbNumber:{},standardDictionaryNumbers:{Hundreds:"Hundreds",Thousands:"Thousands",Millions:"Millions",Billions:"Billions",Trillions:"Trillions"},scientificNotation:"0.##############E+00"},this.DateTimeFormat={abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],abbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],amDesignator:"AM",calendarIsReadOnly:!0,calendarWeekRule:0,Calendar:{MinSupportedDateTime:"@-62135568000000@",MaxSupportedDateTime:"@253402300799999@",AlgorithmType:1,CalendarType:1,Eras:[1],TwoDigitYearMax:2029,isReadOnly:!0},dateSeparator:"/",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],defaultDatePattern:"MM/dd/yyyy H:mm:ss",firstDayOfWeek:0,fullDateTimePattern:"dddd, dd MMMM yyyy HH:mm:ss",longDatePattern:"dddd, dd MMMM yyyy",longTimePattern:"HH:mm:ss",monthDayPattern:"MMMM dd",monthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],nativeCalendarName:"Gregorian Calendar",pmDesignator:"PM",rfc1123Pattern:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",shortDatePattern:"MM/dd/yyyy",shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],shortTimePattern:"HH:mm",sortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",timeSeparator:":",universalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",yearMonthPattern:"yyyy MMMM",filterDialogDateFormatter:"yyyy/mmmm/dd",preselectedFormatters:[],eraFormatter:["ge/M/d","ge-M-d","ge.M.d","gee/MM/dd"]},this.name=function(){return""},this.id=-1,this.LocalNumberFormat={},this.displayName="",this.fontScriptCode=void 0,this.predefinedFormats={},this.TimelineDateOrder=[i.quarterOrMonth,i.date,i.year],this.TimelineDateSuffix={year:"",quarter:"",month:"",date:""},this.TextFormat={lineBreakingChar:[" ","-"]},this.equalCharacters=void 0}return e.prototype._getDistributedBreakingChar=function(){return[" "]},e.prototype._getDistributedWords=function(e){var t={lineBreakingChar:this._getDistributedBreakingChar()};return this.TextFormat&&this.TextFormat.lineBreakingStrategy?this.TextFormat.lineBreakingStrategy(e,t):D(e,t)},e.prototype._getTextWords=function(e){if(this.TextFormat&&this.TextFormat.lineBreakingStrategy){var t={lineBreakingChar:this.TextFormat.lineBreakingChar,lineBreakingForbidEnd:this.TextFormat.lineBreakingForbidEnd,lineBreakingForbidStart:this.TextFormat.lineBreakingForbidStart};return this.TextFormat.lineBreakingStrategy(e,t)}return D(e,this.TextFormat||{lineBreakingChar:[" ","-"]})},e.prototype._getDateTimePattern=function(){if(!this._dateTimeFormatPattern){var e=this.DateTimeFormat,t=e.shortDatePattern.replace(/m/g,"M"),r=[t,t+" h:mm",t+" h:mm:ss",t+" h:mm:ss.0","MMMdd","MMMd","MMM dd","MMM d"];if(r=r.concat(_),1041===this.id){var n=e.eraFormatter;r=(r=r.concat(this._eraFormatter)).concat(n)}r=r.concat(e.preselectedFormatters),this._dateTimeFormatPattern=r}return this._dateTimeFormatPattern},e.prototype._getMonthIndex=function(e){return this._upperMonths||(this._upperMonths=M(this.DateTimeFormat.monthNames),this._upperMonthsGenitive=M(this.DateTimeFormat.monthGenitiveNames)),v(e,this._upperMonths,this._upperMonthsGenitive)},e.prototype._getAbbrMonthIndex=function(e){return this._upperAbbrMonths||(this._upperAbbrMonths=M(this.DateTimeFormat.abbreviatedMonthNames),this._upperAbbrMonthsGenitive=M(this.DateTimeFormat.abbreviatedMonthGenitiveNames)),v(e,this._upperAbbrMonths,this._upperAbbrMonthsGenitive)},e.prototype._getDayIndex=function(e){return this._upperDays||(this._upperDays=M(this.DateTimeFormat.dayNames)),this._upperDays.indexOf(g(e))},e.prototype._getAbbrDayIndex=function(e){return this._upperAbbrDays||(this._upperAbbrDays=M(this.DateTimeFormat.abbreviatedDayNames)),this._upperAbbrDays.indexOf(g(e))},e}();t.CultureInfo=x;var C=function(){function e(){}return e._isValidEraDate=function(t){return t>=e._getEraMin()&&t<=e._getEraMax()},e._getEraDates=function(){var e=x.eras;if(void 0!==e){for(var t=[],r=0;r<e.length;r++)t[r]=new Date(e[r].startDate.replace(/-/g,"/"));return t}return this._EraDates},e._getEraPropByFormat=function(t){var r,n;switch(t){case"g":r="symbol",n=e._symbols;break;case"gg":r="abbreviation",n=e._abbreviations;break;case"ggg":r="name",n=e._names;break;default:return[]}var a=x.eras,i=[];if(void 0!==a){for(var o=0;o<a.length;o++)i[o]=a[o][r];return i}return n},e._getEraMax=function(){var e=x.eras;if(void 0!==e&&e.length>0){var t=new Date(e[e.length-1].startDate.replace(/-/g,"/"));return t.setFullYear(t.getFullYear()+99),t}return this._EraMax},e._getEraMin=function(){var e=x.eras;return void 0!==e&&e.length>0?new Date(e[0].startDate.replace(/-/g,"/")):this._EraMin},e._getEraCount=function(){var e=x.eras;return void 0!==e?e.length:this._EraCount},e._getEraYears=function(){var e=x.eras;if(void 0!==e){for(var t=[],r=1;r<e.length;r++){var n=new Date(e[r-1].startDate.replace(/-/g,"/")),a=new Date(e[r].startDate.replace(/-/g,"/"));t[r-1]=a.getFullYear()-n.getFullYear()+1}return t[r-1]=99,t}return this._EraYears},e._getEraDate=function(t){var r={_era:-1,_eraYear:-1};if(!e._isValidEraDate(t)){if(!(t>e._getEraMax()))return r;t=e._getEraMax()}for(var n=0;n<e._getEraCount();n++){if(t<(n+1!==e._getEraCount()?e._getEraDates()[n+1]:e._addMilliseconds(e._getEraMax(),1))){r._era=n,r._eraYear=t.getFullYear()-e._getEraDates()[n].getFullYear()+1;break}}return r},e._addMilliseconds=function(e,t){var r=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds());return r.setMilliseconds(r.getMilliseconds()+t),new Date(r.valueOf())},e._getYearFromEra=function(t,r){return e._getEraDates()[t].getFullYear()+r-1},e._parseEraPart=function(t,r){r=r.toUpperCase();for(var n=e._getEraPropByFormat(t),a=0;a<n.length;a++)if(n[a]===r)return a;return-1},e._formatEraPart=function(t,r,n){var a=e,i=a._getEraDate(r),o=i._era;if(o>=0){var s=a._getEraPropByFormat(t);if(s.length>0)return s[o]}var u=i._eraYear;if(u>=0){var l=u.toString();if("1"===l&&n)return"元";if("ee"===t)return 1===l.length&&(l="0"+l),l;if("e"===t)return l}return""},e._EraDates=[new Date(1868,8,8),new Date(1912,6,30),new Date(1926,11,25),new Date(1989,0,8),new Date(2019,4,1)],e._EraCount=5,e._EraYears=[45,15,64,31,99],e._EraMax=new Date(2117,11,31,23,59,59),e._EraMin=new Date(1868,8,8),e._shortcuts=["1,m","2,t","3,s","4,h","5,r"],e._EraIndices=[0,1,2,3,0,1,2,3],e._names=["明治","大正","昭和","平成","令和"],e._symbols=["M","T","S","H","R"],e._abbreviations=["明","大","昭","平","令"],e._EraYearMax=99,e.eraExcelFormatter="[$-ja-JP-x-gannen]",e.eraInternalFormatter="[$-411]",e}();t._EraHelper=C;var T=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencySymbol","isReadOnly"],["$",!1]);return w.call(t,"DateTimeFormat",["fullDateTimePattern","longDatePattern","longTimePattern","shortDatePattern","shortTimePattern","yearMonthPattern","calendarIsReadOnly","preselectedFormatters"],["dddd, MMMM dd, yyyy h:mm:ss tt","dddd, MMMM dd, yyyy","h:mm:ss tt","M/d/yyyy","h:mm tt","MMMM, yyyy",!1,["MMM yyyy","MMMM yyyy"]]),t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" H:mm:ss",t.name=function(){return"en-US"},t.displayName="English (United States)",t.id=1033,t.predefinedFormats={Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',Currency:["[$$-409]#,##0","[$$-409]#,##0;[Red][$$-409]#,##0","[$$-409]#,##0_);([$$-409]#,##0)","[$$-409]#,##0_);[Red]([$$-409]#,##0)"],Date:["m/d/yyyy","[$-409]dddd, mmmm dd, yyyy","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmm d, yyyy;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@","m/d/yyyy;@","[$-409]d-mmm-yyyy;@"],Time:["[$-409]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","mm:ss.0;@","[h]:mm:ss;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@"],Special:{"Zip Code":"00000","Zip Code + 4":"00000-0000","Phone Number":"[<=9999999]###-####;(###) ###-####","Social Security Number":"000-00-0000"},shortcut:{Number:"0.00",Currency:"[$$-409]#,##0.00",Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',ShortDate:"m/d/yyyy",LongDate:"[$-409]dddd, mmmm dd, yyyy",Time:"[$-409]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)'}},t}return a(t,e),t}(x),N=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[0,1,"¥",!1,"NaN (非数値)","-∞",1,1,"+∞",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["〇","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["〇","壱","弐","参","四","伍","六","七","八","九"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十億",Trillions:"兆"}]);var r=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""];return w.call(t,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters","EraFilterDialogDateFormatter"],[["日","月","火","水","木","金","土"],r,r,"午前",!1,["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"西暦 (日本語)","午後","yyyy/MM/dd",["日","月","火","水","木","金","土"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月d日","yyyy年M月dd日","yyyy年MM月d日","yyyy年MM月dd日"],"ggge/mmmm/d日"]),t.DateTimeFormat.eras=!0,t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" "+t.DateTimeFormat.longTimePattern,t._eraFormatter=['gggee"年"MM"月"dd"日','gggee"年"M"月"d"日','ge"年"M"月"d"日','ggge"年"M"月"d"日','ggee"年"M"月"d"日','gge"年"M"月"d"日'],t.name=function(){return"ja-JP"},t.id=1041,t.displayName="Japanese (Japan)",t.isJCKCulture=!0,t.predefinedFormats={Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$¥-411]#,##0_);[Red]([$¥-411]#,##0)","[$¥-411]#,##0_);([$¥-411]#,##0)","[$¥-411]#,##0;[Red][$¥-411]#,##0","[$¥-411]#,##0;-[$¥-411]#,##0","[$¥-411]#,##0;[Red]-[$¥-411]#,##0"],Date:["yyyy/mm/dd","[$-411]dddd, mmmm dd, yyyy",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"yyyy/m/d;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@"],Time:["[$-411]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@",'h"時"mm"分";@','h"時"mm"分"ss"秒";@'],Special:{郵便番号:"[<=999]000;[<=9999]000-00;000-0000","電話番号(東京)":"[<=99999999]####-####;(00) ####-####","正負記号 (+ = △; - = ▲)":'"△" #,##0;"▲" #,##0',"漢数字(十二万三千四百)":"[DBNum1][$-411]General","大字 (壱拾弐萬参阡四百)":"[DBNum2][$-411]General","全角 (12345)":"[DBNum3][$-411]0","全角 桁区切り(12,345)":"[DBNum3][$-411]#,##0"},shortcut:{Number:"0.00",Currency:"[$¥-411]#,##0.00",Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',ShortDate:"yyyy/mm/dd",LongDate:"[$-411]dddd, mmmm dd, yyyy",Time:"[$-411]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},t.TimelineDateOrder=[i.year,i.quarterOrMonth,i.date],t.TimelineDateSuffix={year:"年",quarter:"",month:"月",date:"日"},t.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}","」","。","、","ー"],lineBreakingForbidEnd:["(","[","{","(","[","{","「","$","$","\\","¥"],lineBreakingStrategy:function(e,t){return D(e,t,b)}},t.equalCharacters=["―ゝゞ゠ヽヾー","㆐㆑㇤㇥","‸⁊",".․","&⁋","%⁏","$⁒","#⁗",'"⁍',"‹⁓"],t}return a(t,e),t}(x),E=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[2,"¥",!1,"非数字","负无穷大",1,1,"正无穷大",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["○","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","仟","佰","拾","亿","仟","佰","拾","万","仟","佰","拾",""],numbers:["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十亿",Trillions:"兆"}]);var r=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""];return w.call(t,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters"],[["周日","周一","周二","周三","周四","周五","周六"],r,r,"上午",!1,["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],1,"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"公历","下午","yyyy/M/d",["日","一","二","三","四","五","六"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月","M月d日","yyyy年M月d日","h时mm分","h时mm分ss秒"]]),t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" "+t.DateTimeFormat.longTimePattern,t.name=function(){return"zh-cn"},t.id=2052,t.displayName="Chinese (China)",t.isJCKCulture=!0,t.localeCompare=function(e,t){var r=e.localeCompare(t,"zh");return r<0&&e>="一"&&t<"一"||r>0&&t>="一"&&e<"一"?-r:r},t.predefinedFormats={Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ ',Currency:["[$¥-804]#,##0","[$¥-804]#,##0;[Red][$¥-804]#,##0","[$¥-804]#,##0;[$¥-804]-#,##0","[$¥-804]#,##0;[Red][$¥-804]-#,##0"],Date:["yyyy/m/d","[$-804]dddd, mmmm dd, yyyy","yyyy-mm-dd;@",'[DBNum1][$-804]yyyy"年"m"月"d"日";@','[DBNum1][$-804]yyyy"年"m"月";@','[DBNum1][$-804]m"月"d"日";@',"[$-409]yyyy/m/d h:mm AM/PM;@",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"mm/dd/yy;@","m/d/yy;@","yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-804]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@",'h"时"mm"分";@','h"时"mm"分"ss"秒";@','[$-804]上午/下午h"时"mm"分";@','[$-804]上午/下午h"时"mm"分"ss"秒";@','[DBNum1][$-804]h"时"mm"分";@','[DBNum1][$-804]上午/下午h"时"mm"分";@'],Special:{邮政编码:"000000",中文小写字母:"[DBNum1][$-804]General",中文大写字母:"[DBNum2][$-804]General"},shortcut:{Number:"0.00",Currency:"[$¥-804]#,##0.00",Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',ShortDate:"yyyy/m/d",LongDate:"[$-804]dddd, mmmm dd, yyyy",Time:"[$-804]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ '}},t.TimelineDateOrder=[i.year,i.quarterOrMonth,i.date],t.TimelineDateSuffix={year:"年",quarter:"",month:"",date:"日"},t.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}"],lineBreakingForbidEnd:["(","[","{","(","[","{"],lineBreakingStrategy:function(e,t){return D(e,t,b)}},t.normalizeDateTimeString=function(e){var t;if(l._RegexHelper._getReg("^([0-9]{1,2}|[0-9]{4})年[0-9]{1,2}月$").test(e))return(t=e.split("年"))[1].replace("月","")+"/1/"+t[0];if(l._RegexHelper._getReg("^[0-9]{1,2}月[0-9]{1,2}日$").test(e))return(t=e.split("月"))[0]+"/"+t[1].replace("日","")+"/"+h;if(l._RegexHelper._getReg("^(上午|下午)?[0-9]{1,2}时[0-9]{1,2}分([0-9]{1,2}秒)?$").test(e)){var r=e.replace("时",":").replace("分",":").replace("秒","");return(r=r.endsWith(":")?r+"00":r).startsWith("上午")&&(r=r.replace("上午","")+" AM"),r.startsWith("下午")&&(r=r.replace("下午","")+" PM"),r}return e.includes("上午")||e.includes("下午")?e.replace("上午","am").replace("下午","pm"):null},t}return a(t,e),t.prototype._getDistributedBreakingChar=function(){return[" "," "]},t}(x),H=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","dbNumber","standardDictionaryNumbers"],[0,1,"₩",!1,{1:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["零","壹","貳","參","四","伍","六","七","八","九"]},3:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","1","2","3","4","5","6","7","8","9"]},4:{letters:["조","천","백","십","억","천","백","십","만","천","백","십",""],numbers:["○","일","이","삼","사","오","육","칠","팔","구"]}},{Hundreds:"백",Thousands:"천",Millions:"백만",Billions:"10억",Trillions:"조"}]);var r=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""];return w.call(t,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter"],[["일","월","화","수","목","금","토"],r,r,"오전",!1,["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],1,"yyyy'년' M'월' d'일' dddd h:mm:ss","yyyy'년' M'월' d'일' dddd","h:mm:ss","M'월' d'일'",n,n,"서기","오후","yyyy-MM-dd",["일","월","화","수","목","금","토"],"tt h:mm","yyyy'년' M'월'","yyyy년/mmmm/d일"]),t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" "+t.DateTimeFormat.longTimePattern,t.name=function(){return"ko-kr"},t.id=1042,t.displayName="Korean (Korea)",t.isJCKCulture=!0,t.predefinedFormats={Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$₩-412]#,##0","[$₩-412]#,##0;[Red][$₩-412]#,##0","[$₩-412]#,##0;-[$₩-412]#,##0","[$₩-412]#,##0;[Red]-[$₩-412]#,##0"],Date:["yyyy-mm-dd",'yyyy"년" m"월" d"일" dddd',"yyyy-mm-dd;@",'yyyy"년" m"월" d"일";@','yy"年" m"月" d"日";@','yyyy"년" m"월";@','m"월" d"일";@',"yy-m-d;@","yy-m-d h:mm;@",'m"月"d"日";@',"[$-412]yy-m-d AM/PM h:mm;@","yy/m/d;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-412]h:mm:ss AM/PM","h:mm;@","h:mm:ss;@","[$-412]AM/PM h:mm;@","[$-412]AM/PM h:mm:ss;@","[$-409]h:mm AM/PM;@","[$-409]h:mm:ss AM/PM;@",'yyyy"-"m"-"d h:mm;@','[$-412]yyyy"-"m"-"d AM/PM h:mm;@','[$-409]yyyy"-"m"-"d h:mm AM/PM;@','h"시" mm"분";@','h"시" mm"분" ss"초";@','[$-412]AM/PM h"시" mm"분";@','[$-412]AM/PM h"시" mm"분" ss"초";@'],Special:{"우편 번호":"000-000","전화 번호 (국번 4자리)":"[<=999999]####-####;(0##) ####-####","전화 번호 (국번 3자리)":"[<=9999999]###-####;(0##) ###-####",주민등록번호:"000000-0000000","숫자(한자)":"[DBNum1][$-412]General","숫자(한자-갖은자)":"[DBNum2][$-412]General","숫자(한글)":"[DBNum4][$-412]General"},shortcut:{Number:"0.00",Currency:"[$₩-412]#,##0.00",Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',ShortDate:"yyyy-mm-dd",LongDate:'yyyy"년" m"월" d"일" dddd',Time:"[$-412]h:mm:ss AM/PM",Percentage:"0%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},t.TimelineDateOrder=[i.year,i.quarterOrMonth,i.date],t.TimelineDateSuffix={year:"년",quarter:"",month:"월",date:"일"},t}return a(t,e),t}(x),P={invariant:new x,"en-us":new T,"ja-jp":new N,"zh-cn":new E,"ko-kr":new H};function w(e,t,r){for(var n,a=0,i=t.length;a<i;a++)n=t[a],this[e][n]=r[a]}var O={},k=["lsru","lsde","ls1","ls2","ls3","ls4","ls5","ls6","ls7","ls8","ls9","ls10","ls11"],I=["wmk1","wmk2"],A=function(){function e(){this._cultureVersion=1,this._resourcesMap={}}return e.instance=function(){return this._instance||(this._instance=new this)},e.prototype.culture=function(t){if(0===arguments.length)return e._cRName;var r,n,a;t&&e._cRName!==t&&(e._cRName=t.toLowerCase(),this._cultureVersion++,r=e._cRName,n=e._instance.getCultureInfo(),"object"==typeof document&&("function"!=typeof CustomEvent?(a=document.createEvent("CustomEvent")).initCustomEvent("cultureChanged",!1,!1,void 0):a=new CustomEvent("cultureChanged",{}),a.cultureInfo=r,c.gcCultureInfo=r,c.gcCultureObj=n,document.dispatchEvent(a)))},e.prototype.addCultureInfo=function(e,t,r){if(t&&t instanceof x){var n=t.NumberFormat&&t.NumberFormat.numberDecimalSeparator,a=t.NumberFormat.arrayListSeparator,i=t.NumberFormat.arrayGroupSeparator;if(n===t.NumberFormat.listSeparator||i===a)throw new s.ResourceManager(s.SR).getResource().Exp_Separator;P[e.toLowerCase()]=t}if(r&&"object"==typeof r){var o=e.toLowerCase();O[o]=y(!0,{},r),this._cultureVersion++}},e.prototype.getCultureInfoDict=function(){return P},e.prototype.getCultureInfo=function(t){if(0===arguments.length)return P[e._cRName];"string"==typeof t&&(t=t.toLowerCase());var r=P,n=null;for(var a in r)if(a===t||void 0!==r[a].id&&r[a].id===t){n=r[a];break}return n},e.prototype.getLanguage=function(e){if("string"==typeof e){var t=e.toLowerCase();return O[t]}return null},e.prototype.getResources=function(e){var t=this.culture().toLowerCase();if(null==e&&(e=t),"string"==typeof e){var r=e.toLowerCase();if(this._resourcesMap[r])return this._adjustCurrentResources(this._resourcesMap[r])}return null},e.prototype._adjustCurrentResources=function(e){var t="PivotTables",r="ReportSheet",n="GanttSheet",a="DataChart",i="Sheets",o=y(!0,{},e);o[t]&&this._deleteSkipKey(o[t],I),o[r]&&this._deleteSkipKey(o[r],I),o[n]&&this._deleteSkipKey(o[n],I),o[a]&&this._deleteSkipKey(o[a],I),o[i]&&this._deleteSkipKey(o[i],k);var s=o.CalcEngine;return s&&(o.Functions=s._builtInFunctionsResource,o.TableFunctions=s._tableFunctionsResource,delete s._builtInFunctionsResource,delete s._tableFunctionsResource),o},e.prototype._deleteSkipKey=function(e,t){for(var r=0,n=t;r<n.length;r++){delete e[n[r]]}},e.prototype._languageTranslate=function(e,t,r){var n=O[e.toLowerCase()];for(var a in t)if(!u._ArrayHelper._contains(k,a)){var i=this._getTranslate(n,a,r);(null!==i&&"string"==typeof i&&"string"==typeof t[a]||null!==i&&"object"==typeof i&&!Array.isArray(i))&&(t[a]=i)}t._builtInFunctionsResource&&n.Functions&&this._translateFunctions(n.Functions,t._builtInFunctionsResource),t._tableFunctionsResource&&n.TableFunctions&&y(!0,t._tableFunctionsResource,n.TableFunctions)},e.prototype._getTranslate=function(e,t,r){if(e.hasOwnProperty(t))return e[t];if(r&&(a=e[r])&&"object"==typeof a&&a.hasOwnProperty(t))return a[t];for(var n in e){var a;if((a=e[n])&&"object"==typeof a&&a.hasOwnProperty(t))return a[t]}return null},e.prototype._translateFunctions=function(e,t){for(var r in t)if(e.hasOwnProperty(r)){var n=t[r],a=e[r],i=n.parameters,o=a.parameters;for(var s in n.description=a.description,i)if(o.hasOwnProperty(s)){var u=o[s];"string"==typeof u&&(i[s].name=u)}}return{}},e.prototype._getCultureInfo=function(t){var r=this.getCultureInfo(t);return r||(r=P[e._cRName])||(r=new x),r},e.prototype._getFilterDialogFormatterStr=function(e,t){var r=(this.getCultureInfo(e)||this.getCultureInfo("en-US")).DateTimeFormat,n=r.filterDialogDateFormatter;return(t.indexOf("g")>=0||t.indexOf("e")>=0)&&(n=r.EraFilterDialogDateFormatter||n),n},e._cRName="en-us",e}();t.CultureManager=A.instance()},561:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(895),t)},566:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Error_InvalidRemoteConfigurationForUserFetching=t.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter=t.Error_FailedToFetchUsers=t.Error_RemoteConfigurationForUserFetchingNotProvided=t.GUEST_USER=void 0,t.GUEST_USER="Guest",t.Error_RemoteConfigurationForUserFetchingNotProvided="Remote configuration for user fetching is not provided.",t.Error_FailedToFetchUsers="Failed to fetch users: ",t.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter="GraphQL schema must be provided for graphql adapter.",t.Error_InvalidRemoteConfigurationForUserFetching="Invalid remote configuration for user fetching."},895:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UserManager=t.UserManagerEvent=void 0;var i=r(566),o=r(818),s=r(479),u=r(534),l=r(305);u._Types._extend(o.SR.en,i);var c,m=new o.ResourceManager(o.SR),y=m.getResource.bind(m),h=u._Types._isNullOrUndefined,f=l._ArrayHelper._clone,d=u._Types._cloneObject,p=["#3B82F6","#10B981","#8B5CF6","#F59E0B","#EF4444","#06B6D4","#EC4899","#84CC16","#6366F1","#14B8A6","#F97316","#A855F7","#22C55E","#EAB308","#F43F5E","#0EA5E9","#D946EF","#65A30D","#DC2626","#7C3AED"];!function(e){e.CurrentUserChanged="CurrentUserChanged"}(c=t.UserManagerEvent||(t.UserManagerEvent={}));var _=function(){function e(e){var t={id:s.UUIDGenerator.secureUpperCaseUUID(),name:y().GUEST_USER,color:"#26A69A",_isDefault:!0};this._users=[t],this._currentUserId=t.id,this.options=e,this._currentColorIndex=0,this._listeners=new Map([[c.CurrentUserChanged,[]]])}return e.instance=function(){return this._instance||(this._instance=new this)},e.prototype.configure=function(e){this.options=e},e.prototype._getSync=function(e){for(var t=this._users,r=0;r<t.length;r++)if(t[r].id===e)return d(t[r])},e.prototype._get=function(e){var t;return n(this,void 0,void 0,(function(){var r;return a(this,(function(n){switch(n.label){case 0:return(null===(t=this.options)||void 0===t?void 0:t.get)?[4,this.options.get(e)]:[3,2];case 1:return(r=n.sent())&&this._add(r),[2,r];case 2:return[2]}}))}))},e.prototype._getOrCreate=function(e){e||(e=s.UUIDGenerator.secureUpperCaseUUID());var t=this._getSync(e);return t||(t={id:e,name:y().GUEST_USER}),this._add(t),t},e.prototype._assignColorToUsers=function(e){var t=this;Array.isArray(e)&&e.forEach((function(e){e&&!e.color&&(e.color=t._getCurrentColor(e.id))}))},e.prototype._search=function(e){var t;return n(this,void 0,void 0,(function(){var r,n;return a(this,(function(a){switch(a.label){case 0:return(null===(t=(r=this).options)||void 0===t?void 0:t.search)?[4,r.options.search(e)]:[3,2];case 1:return n=a.sent(),r._assignColorToUsers(n),[2,n];case 2:return[2,[]]}}))}))},e.prototype.bind=function(e,t){this._listeners.has(e)||this._listeners.set(e,[]);var r=this._listeners.get(e);Array.isArray(r)&&r.push(t)},e.prototype.current=function(e){var t=this;if(h(e))return t._currentUserId;if(t._currentUserId!==e){var r=t._currentUserId;t._currentUserId=e,Promise.all([t._get(r),t._get(e)]).then((function(n){var a=n[0],i=n[1];a||(a=t._getSync(r))&&a._isDefault&&(t._users=t._users.filter((function(e){return!e._isDefault}))),t._triggerCurrentUserChanged(a,i,r,e)})).catch((function(n){t._triggerCurrentUserChanged(void 0,void 0,r,e)}))}return t._currentUserId},e.prototype._triggerCurrentUserChanged=function(e,t,r,n){e||(e=this._getSync(r)),t||(t=this._getSync(n)),this._trigger(c.CurrentUserChanged,{oldCurrentUser:e,newCurrentUser:t})},e.prototype._getUsers=function(){return f(this._users)},e.prototype.unbind=function(e,t){if(this._listeners.has(e)){var r=this._listeners.get(e);if(!Array.isArray(r))return;t?r.splice(r.indexOf(t),1):r.splice(0)}},e.prototype._trigger=function(e,t){if(this._listeners.has(e)){var r=this._listeners.get(e);if(!Array.isArray(r))return;r.forEach((function(r){r(e,t)}))}},e.prototype._fromJSON=function(e){e&&(this._assignColorToUsers(e),this._users=e||[])},e.prototype._toJSON=function(){return f(this._users)},e.prototype._getCurrentColorIndex=function(){var e,t=this._currentColorIndex,r=(null===(e=this.options)||void 0===e?void 0:e.colorScheme)?this.options.colorScheme.length:p.length;return this._currentColorIndex=(t+1)%r,t},e.prototype._hashString=function(e){var t=0;if(!e||0===e.length)return t;for(var r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r),t|=0}return Math.abs(t)},e.prototype._getColorIndexForUser=function(e){var t,r=(null===(t=this.options)||void 0===t?void 0:t.colorScheme)?this.options.colorScheme.length:p.length;return this._hashString(e)%r},e.prototype._getCurrentColor=function(e){var t,r=(null===(t=this.options)||void 0===t?void 0:t.colorScheme)||p;return e?r[this._getColorIndexForUser(e)]:r[this._getCurrentColorIndex()]},e.prototype._add=function(e){for(var t=this._users,r=0;r<t.length;r++)if(t[r].id===e.id)return t[r]=e,void(e.color||(e.color=this._getCurrentColor(e.id)));e.color||(e.color=this._getCurrentColor(e.id)),t.push(e)},e.prototype._create=function(e,t){var r={id:e||s.UUIDGenerator.secureUpperCaseUUID(),name:t||y().GUEST_USER};return this._add(r),r},e.prototype._remove=function(e){this._users=this._users.filter((function(t){return t.id!==e}))},e.prototype._dispose=function(){this._listeners.clear(),this._users=[],this._currentUserId=""},e}();t.UserManager=_.instance()},305:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t._ArrayHelper=void 0;function r(e,t){for(var n in t)if(t.hasOwnProperty(n)){var a=t[n];Array.isArray(a)?(e[n]=[],r(e[n],t[n])):null!==a&&"object"==typeof a?(e[n]={},r(e[n],t[n])):e[n]=t[n]}}var n=function(){function e(){}return e._insert=function(e,t,r){e.splice(t,0,r)},e._add=function(e,t){e.push(t)},e._contains=function(e,t){return e.indexOf(t)>-1},e._remove=function(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)},e._removeByIndex=function(e,t){return e.slice(0,t).concat(e.slice(t+1))},e._indexOf=function(e,t,r){return e.indexOf(t,r)},e._clear=function(e,t,r){if(!(t<0))for(var n=0;n<r&&t+n<e.length;n++)e[t+n]=null},e._nextNonEmptyIndex=function(e,t){t<0&&(t=-1);for(var r=t+1;r<e.length;r++)if(void 0!==e[r]&&null!==e[r])return r;return-1},e._getLength=function(e){return e&&e.length},e._clone=function(e){var t=[];return r(t,e),t},e}();t._ArrayHelper=n},395:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._ColorHelper=void 0;var n=r(844)._NumberHelper._toHexString,a=Math.min,i=Math.max,o=Math.abs,s=parseInt;function u(e,t,r){return r<0&&(r+=240),r>240&&(r-=240),r<40?e+((t-e)*r+20)/40:r<120?t:r<160?e+((t-e)*(160-r)+20)/40:e}function l(e,t,r){var n,a,i;if(0===r)n=a=i=s(255*t/240+"",10);else{var o,u;n=c(o=2*t-(u=t<=120?s((t*(240+r)+120)/240+""):t+r-s((t*r+120)/240+"")),u,e+80),a=c(o,u,e),i=c(o,u,e-80)}return{a:255,r:n,g:a,b:i}}function c(e,t,r){return a(s((255*u(e,t,r)+120)/240+""),255)}var m={aliceblue:[240,248,255,255],antiquewhite:[250,235,215,255],aqua:[0,255,255,255],aquamarine:[127,255,212,255],azure:[240,255,255,255],beige:[245,245,220,255],bisque:[255,228,196,255],black:[0,0,0,255],blanchedalmond:[255,235,205,255],blue:[0,0,255,255],blueviolet:[138,43,226,255],brown:[165,42,42,255],burlywood:[222,184,135,255],cadetblue:[95,158,160,255],chartreuse:[127,255,0,255],chocolate:[210,105,30,255],coral:[255,127,80,255],cornflowerblue:[100,149,237,255],cornsilk:[255,248,220,255],crimson:[220,20,60,255],cyan:[0,255,255,255],darkblue:[0,0,139,255],darkcyan:[0,139,139,255],darkgoldenrod:[184,134,11,255],darkgray:[169,169,169,255],darkgreen:[0,100,0,255],darkgrey:[169,169,169,255],darkkhaki:[189,183,107,255],darkmagenta:[139,0,139,255],darkolivegreen:[85,107,47,255],darkorange:[255,140,0,255],darkorchid:[153,50,204,255],darkred:[139,0,0,255],darksalmon:[233,150,122,255],darkseagreen:[143,188,143,255],darkslateblue:[72,61,139,255],darkslategray:[47,79,79,255],darkslategrey:[47,79,79,255],darkturquoise:[0,206,209,255],darkviolet:[148,0,211,255],deeppink:[255,20,147,255],deepskyblue:[0,191,255,255],dimgray:[105,105,105,255],dimgrey:[105,105,105,255],dodgerblue:[30,144,255,255],firebrick:[178,34,34,255],floralwhite:[255,250,240,255],forestgreen:[34,139,34,255],fuchsia:[255,0,255,255],gainsboro:[220,220,220,255],ghostwhite:[248,248,255,255],gold:[255,215,0,255],goldenrod:[218,165,32,255],gray:[128,128,128,255],green:[0,128,0,255],greenyellow:[173,255,47,255],grey:[128,128,128,255],honeydew:[240,255,240,255],hotpink:[255,105,180,255],indianred:[205,92,92,255],indigo:[75,0,130,255],ivory:[255,255,240,255],khaki:[240,230,140,255],lavender:[230,230,250,255],lavenderblush:[255,240,245,255],lawngreen:[124,252,0,255],lemonchiffon:[255,250,205,255],lightblue:[173,216,230,255],lightcoral:[240,128,128,255],lightcyan:[224,255,255,255],lightgoldenrodyellow:[250,250,210,255],lightgray:[211,211,211,255],lightgreen:[144,238,144,255],lightgrey:[211,211,211,255],lightpink:[255,182,193,255],lightsalmon:[255,160,122,255],lightseagreen:[32,178,170,255],lightskyblue:[135,206,250,255],lightslategray:[119,136,153,255],lightslategrey:[119,136,153,255],lightsteelblue:[176,196,222,255],lightyellow:[255,255,224,255],lime:[0,255,0,255],limegreen:[50,205,50,255],linen:[250,240,230,255],magenta:[255,0,255,255],maroon:[128,0,0,255],mediumaquamarine:[102,205,170,255],mediumblue:[0,0,205,255],mediumorchid:[186,85,211,255],mediumpurple:[147,112,219,255],mediumseagreen:[60,179,113,255],mediumslateblue:[123,104,238,255],mediumspringgreen:[0,250,154,255],mediumturquoise:[72,209,204,255],mediumvioletred:[199,21,133,255],midnightblue:[25,25,112,255],mintcream:[245,255,250,255],mistyrose:[255,228,225,255],moccasin:[255,228,181,255],navajowhite:[255,222,173,255],navy:[0,0,128,255],oldlace:[253,245,230,255],olive:[128,128,0,255],olivedrab:[107,142,35,255],orange:[255,165,0,255],orangered:[255,69,0,255],orchid:[218,112,214,255],palegoldenrod:[238,232,170,255],palegreen:[152,251,152,255],paleturquoise:[175,238,238,255],palevioletred:[219,112,147,255],papayawhip:[255,239,213,255],peachpuff:[255,218,185,255],peru:[205,133,63,255],pink:[255,192,203,255],plum:[221,160,221,255],powderblue:[176,224,230,255],purple:[128,0,128,255],rebeccapurple:[102,51,153,255],red:[255,0,0,255],rosybrown:[188,143,143,255],royalblue:[65,105,225,255],saddlebrown:[139,69,19,255],salmon:[250,128,114,255],sandybrown:[244,164,96,255],seagreen:[46,139,87,255],seashell:[255,245,238,255],sienna:[160,82,45,255],silver:[192,192,192,255],skyblue:[135,206,235,255],slateblue:[106,90,205,255],slategray:[112,128,144,255],slategrey:[112,128,144,255],snow:[255,250,250,255],springgreen:[0,255,127,255],steelblue:[70,130,180,255],tan:[210,180,140,255],teal:[0,128,128,255],thistle:[216,191,216,255],tomato:[255,99,71,255],turquoise:[64,224,208,255],violet:[238,130,238,255],wheat:[245,222,179,255],white:[255,255,255,255],whitesmoke:[245,245,245,255],yellow:[255,255,0,255],yellowgreen:[154,205,50,255]},y=function(){function e(e){var t=e.r,r=e.g,n=e.b,o=i(i(t,r),n),u=a(a(t,r),n),l=o+u;this._luminosity=s((240*l+255)/510+"",10);var c=o-u;if(0===c)this._saturation=0,this._hue=160;else{this._luminosity<=120?this._saturation=s((240*c+l/2)/l+"",10):this._saturation=s((240*c+(510-l)/2)/(510-l)+"",10);var m=(40*(o-t)+c/2)/c,y=(40*(o-r)+c/2)/c,h=(40*(o-n)+c/2)/c;this._hue=s(t===o?h-y+"":r===o?80+m-h+"":160+y-m+"",10),this._hue<0&&(this._hue+=240),this._hue>240&&(this._hue-=240)}}return e.prototype._getLighterColor=function(e){var t=this._luminosity,r=this._newLuma(this._luminosity,500,!0);return l(this._hue,t+(r-t)*e,this._saturation)},e.prototype._newLuma=function(e,t,r){return 0===t?e:r?t>0?(e*(1e3-t)+241*t)/1e3:e*(t+1e3)/1e3:((e+=240*t/1e3)<0&&(e=0),e>240&&(e=240),e)},e}(),h=/rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})(?:,\s*(\.\d+|\d(?:\.\d+)?))?\)/;function f(e){if(/^#[A-Fa-f0-9]+$/.test(e)){var t=e.replace(/^#/,""),r=t.length,n="",a="";if(6===r||8===r)n=t.substr(0,6),8===r&&(a=t.substr(6,2));else if(3===r||4===r){var i=t.split(3===r?/(.)/:/(..)/);n=i.filter(Boolean).map((function(e){return parseInt(3===r?e+e:e,16)})).map((function(e){return e.toString(16).padStart(2,"0")})).join(""),4===r&&(a=i[3]+i[3])}return[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16),s=a?parseInt(a,16):255]}if(e.toLowerCase()in m)return m[e.toLowerCase()];var o=h.exec(e);if(null!==o){var s=void 0===o[4]?255:255*+o[4];return[o[1],o[2],o[3],s]}return null}var d=function(){function e(){}return e._toString=function(e){var t=e.a,r=e.r,a=e.g,i=e.b;return 3===arguments.length&&(t=255,r=arguments[0],a=arguments[1],i=arguments[2]),4===arguments.length&&(t=arguments[0],r=arguments[1],a=arguments[2],i=arguments[3]),255===t?"#"+n(r,!0,2)+n(a,!0,2)+n(i,!0,2):"rgba("+r+","+a+","+i+","+t+")"},e._equal=function(e,t){return e.stops||e.type?JSON.stringify(e)===JSON.stringify(t):e.a===t.a&&e.r===t.r&&e.g===t.g&&e.b===t.b},e._getBrightness=function(e){return(299*e.r+587*e.g+114*e.b)/1e3},e._isTwoColorSimilar=function(e,t){var r=255-o(e.r-t.r),n=255-o(e.g-t.g),a=255-o(e.b-t.b),i=o(e.a-t.a);return!!(((r/=255)+(n/=255)+(a/=255))/3>=.9&&i<=.05)},e._invertColor=function(t){var r=255^t.r,n=255^t.g,a=255^t.b;return e._toString(t.a,r,n,a)},e._stringToARGB=function(t){if("object"!=typeof document)return f(t);var n=e._ctx;if(n||(i=document.createElement("canvas"))&&i.getContext&&(n=e._ctx=i.getContext("2d",{willReadFrequently:!0})),!n){var a=r(736);if(a&&a.createCanvas){var i=a.createCanvas(2,2);n=e._ctx=i.getContext("2d")}if(!n)return f(t)}n.clearRect(1,1,1,1),n.fillStyle=t,n.fillRect(1,1,1,1);var o=n.getImageData(1,1,1,1);return o?o.data:null},e._fromString=function(t){if(t instanceof e)return t;if(null!==t&&"object"==typeof t)return t;var r=0,n=0,a=0,i=0;if(t){var o=e._stringToARGB(t);o&&(n=o[0],a=o[1],i=o[2],r=o[3])}return{a:r,r:n,g:a,b:i}},e._applyTint=function(t,r){if(0===r)return t;var n=new y(t),a=s((r>0?(240-n._luminosity)*r:n._luminosity*r)+"",10);return e._fromHLS(n._hue,n._luminosity+a,n._saturation)},e._getLighterColor=function(t,r){var n=e._fromString(t),a=new y(n)._getLighterColor(r);return e._toString(a)},e._hueToRGB=u,e._fromHLS=l,e}();t._ColorHelper=d},818:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._isInstanceOf=t._hasOwnProperty=t._deleteElementsForMap=t._deleteElements=t._addElementsForMap=t._addElements=t.ResourceManager=t.SR=void 0;var n=r(286),a=r(612),i=r(534);t.SR={en:a};var o=i._Types._extend,s=function(){function e(e,t){this.res=e,this._moduleName=t,this._resourcesMap=n.CultureManager._resourcesMap,this.cachedResource=this._getResourceCollection(e,!0),this._buildResourcesMap(this.cachedResource,t),this._cultureVersion=0}return e.prototype.getResource=function(){var e=this._getResourceCollection(this.res,!this.cachedResource);return e&&(this.cachedResource=e),this._buildResourcesMap(this.cachedResource,this._moduleName),this.cachedResource},e.prototype._buildResourcesMap=function(e,t){if(t){var r=n.CultureManager.culture().toLowerCase();this._resourcesMap[r]=this._resourcesMap[r]||{},this._resourcesMap[r][t]=e,n.CultureManager._resourcesMap=this._resourcesMap}},e.prototype._getResourceCollection=function(e,t){var r=n.CultureManager.culture();if(e&&r){var a=n.CultureManager._cultureVersion;if(this._cultureVersion===a&&!t)return;if(this._cultureVersion=a,n.CultureManager.getLanguage(r)){var i=o(!0,{},e.en);return n.CultureManager._languageTranslate(r,i,this._moduleName),i}var s=r.substr(0,2).toLowerCase();return e.hasOwnProperty(s)?e[s]:e.en}return{}},e}();t.ResourceManager=s,t._addElements=function(e,t,r,n){if(e&&0<=r&&r<t){var a,i=[],o=void 0;for(o=r;o<t;o++)void 0!==e[o]&&i.push(o);for(a=i.length,o=0;o<a;o++){var s=i[a-o-1],u=e[s];e[s]=null,e[Math.floor(s)+n]=u}}},t._addElementsForMap=function(e,t,r,n){if(e&&0<=t){for(var a,i=[],o=void 0,s=0,u=Array.from(e.keys());s<u.length;s++){(l=u[s])>=t&&i.push(l)}for(i.sort((function(e,t){return e-t})),a=i.length,o=0;o<a;o++){var l=i[a-o-1],c=e.get(l);e.delete(l);var m=l+r;e.set(m,c),n&&n(c,m)}}},t._deleteElements=function(e,t,r,n){if(e&&0<=r&&r<t){var a,i=[],o=r+n,s=void 0;for(s=r;s<t;s++)void 0!==e[s]&&(r<=s&&s<o?e[s]=null:s>=o&&i.push(s));for(a=i.length,s=0;s<a;s++){var u=i[s],l=e[u];e[u]=null,e[Math.floor(u)-n]=l}}},t._deleteElementsForMap=function(e,t,r,n){if(e&&0<=t){for(var a,i=[],o=t+r,s=void 0,u=0,l=Array.from(e.keys());u<l.length;u++){var c=l[u];e.has(c)&&(t<=c&&c<o?(n&&n(e.get(c),-1),e.delete(c)):c>=o&&i.push(c))}for(i.sort((function(e,t){return e-t})),a=i.length,s=0;s<a;s++){c=i[s];var m=e.get(c);e.delete(c);var y=c-r;e.set(y,m),n&&n(m,y)}}},t._hasOwnProperty=function(e,t){return e.hasOwnProperty(t)},t._isInstanceOf=function(e,t){return e instanceof t}},97:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._DateTimeHelper=t.getSR=void 0;var n=r(818),a=r(480),i=r(305),o=r(286),s=r(534)._Types._isNullOrUndefined,u=a._StringHelper._padZeroLeft,l=parseInt,c=!1,m=Math.floor,y=Math.abs,h=new n.ResourceManager(n.SR,"Common");t.getSR=h.getResource.bind(h);var f={};function d(e,r,a,i){var s=a.DateTimeFormat,l=s.Calendar.convert;if(!r||!r.length)return a&&a.name.length?l?d(e,s.fullDateTimePattern,a):e.toLocaleString():e.toString();var c,h,f,_=s.eras,g="",M=/([^d]|^)(d|dd)([^d]|$)/g;function v(){return h||f||(h=M.test(r),f=!0),h}var b,F=0,S=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;function D(e,t){return b?b[t]:function(e,t){if(n.HandleExcelSpecialDate)return n.HandleExcelSpecialDate.call(null,e,t);switch(t){case 0:return e.getFullYear();case 1:return e.getMonth();case 2:return e.getDate();default:return}}(e,t)}"s"!==r&&l&&(b=l.fromGregorian(e));for(var x=-2,C=-2,T={_value:""},N=0;;N++){var E=S.lastIndex,H=S.exec(r),P=r.slice(E,H?H.index:r.length);if(T._value="",F+=p(P,T),g+=T._value,!H)break;if(F%2!=1){var w=D(e,0),O=e.getDay(),k=e.getHours(),I=e.getMinutes(),A=e.getSeconds(),R=e.getMilliseconds(),$=e.getTimezoneOffset();switch(H[0]){case"dddd":g+=s.dayNames[O];break;case"ddd":g+=s.abbreviatedDayNames[O];break;case"dd":h=!0,g+=u(D(e,2),2);break;case"d":h=!0,g+=D(e,2);break;case"MMMM":g+=s.monthGenitiveNames&&v()?s.monthGenitiveNames[D(e,1)]:s.monthNames[D(e,1)];break;case"MMM":g+=s.abbreviatedMonthGenitiveNames&&v()?s.abbreviatedMonthGenitiveNames[D(e,1)]:s.abbreviatedMonthNames[D(e,1)];break;case"MM":g+=u(D(e,1)+1,2);break;case"M":g+=D(e,1)+1;break;case"yyyy":case"yyy":g+=x>=0?o._EraHelper._formatEraPart("ee",e,i):u(b?b[0]:w,4);break;case"yy":g+=x>=0?o._EraHelper._formatEraPart("ee",e,i):u((b?b[0]:w)%100,2);break;case"y":g+=x>=0?o._EraHelper._formatEraPart("e",e,i):""+(b?b[0]:w)%100;break;case"hh":0==(c=k%12)&&(c=12),g+=u(c,2);break;case"h":0==(c=k%12)&&(c=12),g+=c;break;case"HH":g+=u(k,2);break;case"H":g+=k.toString();break;case"mm":g+=u(I,2);break;case"m":g+=I.toString();break;case"ss":g+=u(A,2);break;case"s":g+=A.toString();break;case"tt":g+=k<12?s.amDesignator:s.pmDesignator;break;case"t":g+=(k<12?s.amDesignator:s.pmDesignator).charAt(0);break;case"f":case"0":g+=u(R,3).charAt(0);break;case"ff":case"00":g+=u(R,3).substr(0,2);break;case"fff":case"000":g+=u(R,3);break;case"z":g+=((c=$/60)<=0?"+":"-")+m(y(c));break;case"zz":g+=((c=$/60)<=0?"+":"-")+u(m(y(c)),2);break;case"zzz":g+=((c=$/60)<=0?"+":"-")+u(m(y(c)),2)+":"+u(y($%60),2);break;case"g":case"gg":case"ggg":if(!_)break;if(x===N-1){x=N;break}g+=o._EraHelper._formatEraPart(H[0],e,i),x=N;break;case"e":case"ee":if(!_){g+=u(b?b[0]:w,4);break}if(C===N-1){C=N;break}g+=o._EraHelper._formatEraPart(H[0],e,i),C=N;break;case"/":g+=s.dateSeparator;break;default:if(!/\[(H+|h+|m+|s+)\]/.test(H[0]))throw Error((0,t.getSR)().Exp_InvalidDateFormat);g+=H[0]}}else g+=H[0]}return g.toString()}function p(e,t){for(var r=0,n=c,a=0,i=e.length;a<i;a++){var o=e.charAt(a);switch(o){case'"':n?t._value+="'":r++,n=c;break;case"\\":n&&(t._value+="\\"),n=!n;break;default:t._value+=o,n=c}}return r}function _(e,t){var r=new Date;if(e.DateTimeFormat.eras&&t<100){var n=o._EraHelper._getEraDate(r)._eraYear;(t+=n-n%100)>e.DateTimeFormat.Calendar.TwoDigitYearMax&&(t-=100)}return t}function g(e){var t=e.getTimezoneOffset();return-485===t&&(t=-485-43/60),-321===t&&(t=-321-10/60),-507===t&&(t=-507-52/60),-402===t&&(t=-402-4/60),t}var M=function(){function e(){}return e._customCultureFormat=function(e,t,r,n){return r||(r=o.CultureManager._getCultureInfo()),d(e,t,r,n)},e._localeFormat=function(e,t,r){return d(e,t,r||o.CultureManager._getCultureInfo())},e._parseDate=function(t,r,n){var a,i,o,s,u,l=c;for((u=n).slice(1).forEach((function(e){e&&(l=!0)})),l||(u=u.concat(r._getDateTimePattern())),i=u.length,a=1;a<i;a++)if((s=u[a])&&(l=!0,o=e._parseExact(t,s,r)))return o;return null},e._parseLocale=function(t,r,n){var a,i;return r||n||void 0===(i=f[t])?(a=r?[t,r]:[t],i=e._parseDate(t,n||o.CultureManager._getCultureInfo(),a),r||n||(f[t]=i),i?new Date(i):i):i?new Date(i):i},e._parseInvariant=function(t,r){return e._parseDate(t,o.CultureManager._getCultureInfo("invariant"),[t,r])},e._parseExact=function(e,r,n){e=e.trim();var s=n.DateTimeFormat,u=1041===n.id,m=function(e,r,n){if(e._parseRegExp){if(e._parseRegExp[r])return e._parseRegExp[r]}else e._parseRegExp={};var a=r;a=(a=a.replace("%M","M")).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1");for(var o,s="^",u={_value:""},l=[],c=0,m=0,y=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;null!==(o=y.exec(a));){u._value="";var h=a.slice(c,o.index);if(c=y.lastIndex,m+=p(h,u),s+=u._value,m%2!=1){switch(o[0]){case"dddd":case"ddd":case"MMMM":case"MMM":case"gggg":case"ggg":case"gg":case"g":s+="(\\D+)";break;case"tt":case"t":s+="(\\D*)";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":s+="(\\d\\d?\\d?)";break;case"eee":case"ee":case"e":s+=n?"(\\u5143|\\d\\d?)":"(\\d\\d?)";break;case"yyy":case"yyyy":s+="(\\d{2}|\\d{4})";break;case"fff":case"000":s+="(\\d{3})";break;case"ff":case"00":s+="(\\d{2})";break;case"f":case"0":s+="(\\d)";break;case"zzz":s+="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":s+="([+-]?\\d\\d?)";break;case"/":s+="/"===e.dateSeparator?"(\\/)":"([\\/\\"+e.dateSeparator+"])";break;default:throw Error((0,t.getSR)().Exp_InvalidDateFormat)}i._ArrayHelper._add(l,o[0])}else s+=o[0]}u._value="",p(a.slice(c),u),s+=u._value;var f=(s+="$").toString().replace(/\s+/g,"\\s+"),d={_regExp:f,_groups:l,_exp:RegExp(f)};return e._parseRegExp[r]=d,d}(s,r,u),y=m._exp.exec(e);if(null===y)return null;for(var h,f=m._groups,d=null,g=null,M=null,v=null,b=null,F=0,S=0,D=0,x=0,C=null,T=c,N=c,E=0,H=f.length;E<H;E++){var P=y[E+1];if(P)switch(f[E]){case"dd":case"d":if((v=l(P,10))<1||v>31)return null;break;case"MMMM":if((M=n._getMonthIndex(P))<0||M>11)return null;break;case"MMM":if((M=n._getAbbrMonthIndex(P))<0||M>11)return null;break;case"M":case"MM":case"%M":if((M=l(P,10)-1)<0||M>11)return null;break;case"e":case"ee":if((g=u&&"元"===P?1:_(n,l(P,10)))<0||g>9999)return null;break;case"y":case"yy":case"yyy":case"yyyy":if((g=l(P,10))<0||g>9999)return null;break;case"h":case"hh":case"H":case"HH":if((F=l(P,10))<0)return null;break;case"m":case"mm":if((S=l(P,10))<0||S>59)return null;break;case"s":case"ss":if((D=l(P,10))<0||D>59)return null;break;case"tt":case"t":var w=P.toUpperCase();if(T=w===s.pmDesignator.toUpperCase(),N=w===s.amDesignator.toUpperCase(),!T&&!N)return null;break;case"f":case"0":if((x=100*l(P,10))<0||x>999)return null;break;case"ff":case"00":if((x=10*l(P,10))<0||x>999)return null;break;case"fff":case"000":if((x=l(P,10))<0||x>999)return null;break;case"dddd":if((b=n._getDayIndex(P))<0||b>6)return null;break;case"ddd":if((b=n._getAbbrDayIndex(P))<0||b>6)return null;break;case"zzz":var O=P.split(/:/);if(2!==O.length)return null;if((h=l(O[0],10))<-12||h>13)return null;var k=l(O[1],10);if(k<0||k>59)return null;C=60*h+(a._StringHelper._startsWith(P,"-")?-k:k);break;case"z":case"zz":if((h=l(P,10))<-12||h>13)return null;C=60*h;break;case"g":case"gg":case"ggg":var I=P;if(!I||!s.eras)return null;if((d=o._EraHelper._parseEraPart(f[E],I))<0)return null}}var A,R=/^(\d|\d\d|\d\d\d):/.test(e),$=R?new Date(1899,11,30):new Date,U=s.Calendar.convert;if(U&&(A=U.fromGregorian($)),U||(A=[$.getFullYear(),$.getMonth(),$.getDate()]),null===g?g=A[0]:g<100&&(s.eras&&null!==d?g=o._EraHelper._getYearFromEra(d||0,g):g+=g>=30?1900:2e3),null===M&&(M=A[1]),null===v&&(v=R?A[2]:1),U){if(null===($=U.toGregorian(g,M,v)))return null}else{if($.setFullYear(g,M,v),$.getDate()!==v)return null;if(null!==b&&$.getDay()!==b)return null}if(T&&F<12?F+=12:N&&12===F&&(F=0),$.setHours(F,S,D,x),null!==C){var B=$.getMinutes()-(C+$.getTimezoneOffset());$.setHours($.getHours()+B/60,B%60)}return $},e._fromOADate=function(e){var t=g(new Date(864e5*(e-25569))),r=Math.round(864e5*(e-25569+t/1440)),n=new Date(r),a=t>=0?1:-1,i=g(new Date(r+36e5*a));if(y(t-i)>=60){var o=new Date(r+60*(i-t)*1e3);if(t>i){if(-1===a||i===g(n))return o}else if(t<i&&(1===a||i===g(n)))return o}return n},e._fromOADateString=function(t){if("/OADate("===t.substr(0,8)){var r=parseFloat(t.substr(8,t.length-10));return e._fromOADate(r)}},e._toOADateString=function(t){return"/OADate("+e._toOADate(t)+")/"},e._toOADate=function(e){if(s(e))return 0;if("number"!=typeof e&&"string"!=typeof e||(e=new Date(e)),e instanceof Date){var t=g(e);return(1440*e.getTime()+3181192704e6-864e5*t)/124416e6}return 0},e._DT=function(r){var n=null,a=!0;if(s(r))n=e._fromOADate(0);else if(r instanceof Date)n=new Date(r.valueOf());else if("string"==typeof r){var i=e._parseLocale(r);if(!i)if(isNaN(r))if(e._isInvalidDateString(r))a=c;else{isNaN((i=new Date(r)).valueOf())&&(a=c);var o=/^[-+=\s]*(\d+)\W+(\d+)\W+(\d+)$/.exec(r.replace(/ |\n/g,"").trim());o&&4===o.length&&(-1!==o.indexOf(i.getFullYear().toString())&&-1!==o.indexOf(""+(i.getMonth()+1))&&-1!==o.indexOf(i.getDate().toString())||(a=c))}else(i=e._fromOADate(parseFloat(r)))||(a=c);n=i}else"number"==typeof r?n=e._fromOADate(r):a=c;if(a)return n;throw(0,t.getSR)().Exp_InvalidCast},e._isInvalidDateString=function(t){var r,n,a=o.CultureManager._getCultureInfo().DateTimeFormat,i=e._invalidCharInDateStr,s=function(e,t){var r=0;return t.forEach((function(t){t&&e.indexOf(t)>-1&&r++})),r>1};return s(t,a.monthNames)||s(t,a.abbreviatedMonthNames)||s(t,a.dayNames)||s(t,a.abbreviatedDayNames)||function(e,t){if(e&&e.indexOf(" ")>-1){var r=e.split(" "),n=r.length;return n>=2&&t.indexOf(r[n-2])<=-1&&!isNaN(r[n-1])}return!1}(t,a.monthNames.concat(a.abbreviatedMonthNames))||(r=t,n=!1,i.forEach((function(e){r.indexOf(e)>-1&&(n=!0)})),n)},e._isDate=function(e){return e&&(e.constructor===Date||e.getUTCDate&&e.setFullYear)},e._invalidCharInDateStr=["@","#","!","`","^","$","*","(",")","&"],e}();t._DateTimeHelper=M},646:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._growth=t._trend=void 0;var n=r(844),a=isNaN,i="rowCount",o="colCount";function s(e){return e}function u(e,t,r,s,u,l,c,m,y,h,f){var d,p,_,g,M,v,b,F,S,D,x,C,T,N,E,H,P=r[i],w=r[o],O=t[i],k=t[o],I=s[i],A=s[o],R=1===w,$=1===k;if(O===P&&k===w){var U=0,B=0,j=0,L=0;for(b=P*w,d=0;d<P;d++)for(p=0;p<w;p++){if(g=l(r[d][p]),M=l(t[d][p]),e&&(a(g)||a(M)))return y;U+=g,B+=g*g,j+=M=h(M),L+=g*M}var G=b*L-U*j;F=u?(j*B-U*L)/(b*B-U*U):0;var Y=(v=u?G/(b*B-U*U):L/B).toString();for((Y.indexOf("000000000000")>1||Y.indexOf("999999999999")>1)&&(v=n._NumberHelper._fixNumber(v,12),F=n._NumberHelper._fixNumber(F,12)),S=[],d=0;d<I;d++)for(S[d]=[],p=0;p<A;p++){if(g=l(s[d][p]),e&&a(g))return y;S[d][p]=0===G?t[0][0]:f(n._NumberHelper._safeAdd(v*g,F))}return c?new c(S):S}if($&&O===P||1===O&&k===w){for(g=[],M=[],E=w+1,H=w+2,d=0;d<P;d++){if(F=l(x=$?t[d][0]:t[0][d]),e&&a(F))return y;M[d]=R?h(F):F}for(d=0;d<P;d++)for(g[d]=[],p=0;p<w;p++){if(F=l(r[d][p]),e&&a(F))return y;g[d][p]=F}var z=[];for(v=0;v<E;v++)for(z[v]=[],b=0;b<H;b++)z[v][b]=0;for(_=0;_<P;_++)for(z[0][E]+=M[_],d=0;d<w;d++)for(x=d+1,z[0][x]+=g[_][d],z[x][0]=z[0][x],z[x][E]+=g[_][d]*M[_],p=d;p<w;p++)z[T=p+1][x]+=g[_][d]*g[_][p],z[x][T]=z[T][x];z[0][0]=P;var K=u?0:1;for(D=K;D<E;D++){if(e){if(0===z[D][D]){for(N=!1,p=D+1;!N&&p<E;p++)if(0!==z[p][D]){for(_=0;_<H;_++)T=z[D][_],z[D][_]=z[p][_],z[p][_]=T;N=!0}if(!N)return m}}else{for(d=D;d<E&&0===z[d][D];)d++;if(d>=E)return m;for(C=K;C<H;C++)x=z[D][C],z[D][C]=z[d][C],z[d][C]=x}for(x=1/z[D][D],C=K;C<H;C++)z[D][C]*=x;for(d=K;d<E;d++)if(d!==D)for(x=-z[d][D],C=0;C<H;C++)z[d][C]+=x*z[D][C];u||(z[0][E]=0)}for(S=[],$||(S[0]=[]),d=0;d<I;d++){for($&&(S[d]=[]),x=z[0][E],p=0;p<w;p++){if(F=l($?s[d][p]:s[p][d]),e&&a(F))return y;x+=z[p+1][E]*F}$?S[d][0]=f(x):S[0][d]=f(x)}return c?new c(S):S}return m}t._trend=function(e,t,r,n,a,i,o,l){return u(!0,e,t,r,n,a,i,l,o,s,s)},t._growth=function(e,t,r,n,a,l,c){var m,y;for(m=0;m<e[i];m++)for(y=0;y<e[o];y++)if(e[m][y]<=0)return l;return u(!1,e,t,r,n,s,a,c,null,Math.log,Math.exp)}},844:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._NumberHelper=void 0;var n=r(818),a=r(534),i=r(576),o=r(480),s=r(286),u=a._Types._isNullOrUndefined,l=o._StringHelper._padZeroLeft,c=o._StringHelper._padZeroRight,m=null,y=void 0,h=parseInt,f=parseFloat,d=!1,p=!0,_=Math.floor,g=Math.abs,M=Math.pow,v=Math.min,b=Number.MAX_VALUE,F=function(e,t,r){return e.substr(t,r)},S=function(e){return i._RegexHelper._getReg(e)},D=new n.ResourceManager(n.SR),x=D.getResource.bind(D),C="##################0",T="################",N={1:"+",0:"","-1":"-"},E=["0","#","?"],H={"¤":"¤",Br:"Br",Fdj:"Fdj",Nfk:"Nfk",R:"R",$:"$",FCFA:"FCFA","GH₵":"GH₵",ብር:"ብር","ر.س.‏":"ر.س.‏",XDR:"XDR","د.إ.‏":"د.إ.‏","د.ب.‏":"د.ب.‏","د.ج.‏":"د.ج.‏","ج.م.‏":"ج.م.‏","₪":"₪","د.ع.‏":"د.ع.‏","د.ا.‏":"د.ا.‏","ف.ج.ق.‏":"ف.ج.ق.‏","د.ك.‏":"د.ك.‏","ل.ل.‏":"ل.ل.‏","د.ل.‏":"د.ل.‏","د.م.‏":"د.م.‏","أ.م.‏":"أ.م.‏","ر.ع.‏":"ر.ع.‏","ر.ق.‏":"ر.ق.‏","ج.س.":"ج.س.",S:"S","£":"£","ل.س.‏":"ل.س.‏","د.ت.‏":"د.ت.‏","ر.ي.‏":"ر.ي.‏","₹":"₹",TSh:"TSh","€":"€","₼":"₼","₽":"₽",K:"K","лв.":"лв.","₦":"₦",CFA:"CFA","৳":"৳","¥":"¥",KM:"KM",КМ:"КМ",USh:"USh",Kč:"Kč","kr.":"kr.",Ksh:"Ksh",CHF:"CHF","ރ.":"ރ.","Nu.":"Nu.",EC$:"EC$",P:"P",US$:"US$",D:"D",Rp:"Rp",Ar:"Ar",MOP$:"MOP$",Rs:"Rs",MK:"MK",RM:"RM","₱":"₱",RF:"RF",SR:"SR",SDG:"SDG",Le:"Le","NAf.":"NAf.",E:"E",T$:"T$",VT:"VT",WS$:"WS$",Bs:"Bs","₡":"₡",Q:"Q",L:"L",C$:"C$","B/.":"B/.","S/.":"S/.","₲":"₲","Bs.":"Bs.",ريال:"ريال",FG:"FG",UM:"UM",kr:"kr",FBu:"FBu",FC:"FC",DA:"DA",G:"G",CF:"CF",DH:"DH",FCFP:"FCFP",LS:"LS",DT:"DT",kn:"kn",HUF:"HUF","֏":"֏",ISK:"ISK","₾":"₾","​":"​","₸":"₸","៛":"៛","₩":"₩",сом:"сом",Kz:"Kz","₭":"₭",MTn:"MTn",ден:"ден","₮":"₮",रु:"रु","Afl.":"Afl.","ߖߕ.":"ߖߕ.","руб.":"руб.",zł:"zł","؋":"؋",R$:"R$",Db:"Db",RON:"RON","₴":"₴",MAD:"MAD","රු.":"රු.",Lekë:"Lekë",den:"den",RSD:"RSD","дин.":"дин.","ܠ.ܣ.‏":"ܠ.ܣ.‏","Rs.":"Rs.",смн:"смн","฿":"฿","m.":"m.","₺":"₺",ⴷⵔ:"ⴷⵔ",soʻm:"soʻm",сўм:"сўм","₫":"₫",HK$:"HK$",MOP:"MOP",NT$:"NT$"};function P(e,t,r,n){return t&&0!==t.length&&"i"!==t?function(e,t,r,n){return B(e,k(t),r,n)}(e,t,r.NumberFormat,n):r&&r.name.length>0?e.toLocaleString():e.toString()}function w(e,t){for(var r=_(g(e)),n={_integer:1,_decimal:0};r>=10&&Number.isFinite(r);)r/=10,n._integer++;var a,i=e.toString(),o=i.search(/e/gi),s=i.indexOf(t);if(-1!==o){var u=F(i,0,o),l=F(i,o+1),c=0;-1!==s&&(c=F(u,s+1).length),(a=c-f(l))<0&&(a=0),n._decimal=a}else a=0,-1!==s&&(a=F(i,s+1).length),n._decimal=a;return n}function O(e){for(var t={_symbol:e.charAt(0),_sign:0,_exp:0},r="",n=1;n<e.length;n++)if("+"===(r=e.charAt(n)))t._sign=1;else{if("-"!==r){if("0"===r){t._exp=e.length-n;break}throw Error(x().Exp_InvalidExponentFormat)}t._sign=-1}return t}function k(e){for(var t,r={_intPart:m,_decPart:m,_group:d,_scale:0,_percent:0,_permille:0,_exponent:m},n="",a=d,i=d,o=d,s=d,u=d,l=d,c=m,y=[],h=0;h<e.length;h++){if(t=e.charAt(h),a)n+=t,'"'===t&&(y.push(n),n="",a=d);else if(i){if("E"===c||"e"===c){if(!(["+","-","0"].indexOf(t)>=0)){i=d,h--;continue}n+=t}else if("+"===c||"-"===c){if("0"!==t){i=d,h--;continue}n+=t}else if("0"===c){if("0"!==t){i=d,u||(u=p,r._exponent=O(n)),h--;continue}n+=t}}else if("*"!==c&&"_"!==c&&"\\"!==c||""===n)if("*"===t||"_"===t||"\\"===t)l=d,""!==n&&(y.push(n),n=""),n+=t;else if("'"===t)l=d,""!==n&&(y.push(n),n=""),y.push(t);else if('"'===t)l=d,a=p,""!==n&&(y.push(n),n=""),n+=t;else if(E.indexOf(t)>=0)l=p,E.indexOf(c)<0&&""!==n&&(y.push(n),n=""),n+=t;else if("."!==t||o)if("%"===t)l=d,r._percent++,""!==n&&(y.push(n),n=""),y.push(t);else if("‰"===t)l=d,r._permille++,""!==n&&(y.push(n),n=""),y.push(t);else if(","===t)if(l){var f=void 0;""!==n&&(y.push(n),n="");for(var _=p,g="",M=h+1;M<e.length;M++)if(f=e.charAt(M),'"'!==g)if("\\"!==g&&"_"!==g){if(E.indexOf(f)>=0){_=d;break}if("."===f||";"===f)break;g=f}else g="";else'"'===f&&(g="");_?r._scale++:o||(f=e.charAt(h+1))&&E.indexOf(f)>=0&&(s=p)}else n+=t;else"E"===t||"e"===t?(l=d,i=p,""!==n&&(y.push(n),n=""),n+=t):(l=d,E.indexOf(c)>=0&&""!==n&&(y.push(n),n=""),n+=t);else""!==n&&(y.push(n),n=""),r._intPart=y,y=[],o=p,l=d;else n+=t,y.push(n),n="";c=t}return""!==n&&(i&&!u&&(r._exponent=O(n)),y.push(n)),s&&(r._group=p),o?r._decPart=y:r._intPart=y,r}function I(e,t,r,n,a,i){var o=function(e,t){if(t=+t,isNaN(e=+e)||t%1!=0)return NaN;var r=e<0;if(e=r?-e:e,typeof t===y||0===t)return e=Math.round(e),r?-e:e;var n=e.toString().split("e");return e=Math.round(+(n[0]+"e"+(n[1]?+n[1]-t:-t))),+((n=(e=r?-e:e).toString().split("e"))[0]+"e"+(n[1]?+n[1]+t:t))}(e,-t);isFinite(o)||(o=e);var s,u,m=(e=o).toString(),f=m.split(/e/i);return m=f[0],u=f.length>1?h(f[1],10):0,f=m.split("."),m=f[0],s=f.length>1?f[1]:"",u>0?(m+=(s=c(s,u)).slice(0,u),s=F(s,u)):u<0&&(u=-u,s=(m=e<0?i+l(m.replace(i,""),u+1):l(m,u+1)).slice(-u,m.length)+s,m=m.slice(0,-u)),m+(t>0?a+(s=s.length>t?s.slice(0,t):c(s,t)):"")}function A(e){var t=m;if(e){t="";for(var r=0;r<e.length;r++){var n=e[r];/^(0|#|\?)+/g.test(n)&&(t+=n)}}return t}var R=Math.pow(2,48);function $(e,t){return e===t||0!==e&&0!==t&&(g(e-t)<g(e)/R||(e=Y(e,15),t=Y(t,15),g(e-t)<g(e)/R))}function U(e,t,r,n,a,i,o,s){var u=s.numberGroupSizes,c=s.numberGroupSeparator,m=s.negativeSign,y=s.percentSymbol,h=s.perMilleSymbol,f=n._exponent,_=F(t,0,1);_===m&&(t=F(t,1));var g=1===t.length&&"0"===t?0:t.length;t=0===g?"":t;for(var M=0,v="",b=e.length-1;b>=0;b--){var S="",D=e[b];if(/^(0|#|\?)+/g.test(D)){if(v!==r){for(var C=D.length,T=g-M-1;T>=0&&C>0;T--){S=t.charAt(T)+S,C--,M++}for(var E=C-1;E>=0;E--){var P=D[E];M++,"0"===P?S=P+S:"?"===P&&(""!==S&&(i.push({type:"number",value:S}),S=""),i.push({type:"numberPlaceholder",value:P}))}(v=D+v)===r&&M<g&&(S=t.substr(0,g-M)+S),""!==S&&i.push({type:"number",value:S})}}else if(n._exponent&&!o.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(D)){o.replaceExponent=p;var w="";w+=f._symbol,w+=N[f._sign],w+=l(a.toString(),f._exp),i.push({type:"exponent",value:w})}else"_"===D[0]?i.push({type:"placeholder",value:D[1]}):"*"===D[0]?o.hasInfilling||(i.push({type:"fillingChar",value:D[1]}),o.hasInfilling=!0,o.infillIndex=i.length-1):"\\"===D[0]?2===D.length&&i.push({type:"text",value:D[1]}):'"'===D[0]&&'"'===D[D.length-1]?D.length>2&&i.push({type:"text",value:D.substr(1,D.length-2)}):D===y?i.push({type:"percent",value:D}):D===h?i.push({type:"permille",value:D}):H[D]?i.push({type:"currency",value:D}):i.push({type:"text",value:D})}_===m&&r&&i.push({type:"text",value:_}),n._group===p&&function(e,t,r,n){for(var a=t[0],i=1,o=0,s=d,u=e.length,l=0;l<u;l++){var c=e[l].type;if("number"===c){for(var m="",y=e[l].value,h=y.length-1;h>=0;){if(!(1<=a&&a<=9||0===a&&i===t.length))throw Error(x().Exp_InvalidNumberGroupSize);/\d/gi.test(y[h])?(s&&(m&&e.push({type:"number",value:m}),e.push({type:"groupSeparator",value:r}),m="",s=d),o++):o=0,m=y[h]+m,o===a&&a>0&&(s=p,o=0,i<t.length&&(a=t[i],i++)),h--}m&&e.push({type:c,value:m})}else"fillingChar"===c&&(n.infillIndex=e.length-u),e.push({type:c,value:e[l].value})}e.splice(0,u)}(i,u,c,o),i.reverse(),o.infillIndex=i.length-1-o.infillIndex}function B(e,t,r,n){var a=[];e=function(e,t,r,n){var a=e;return t>0&&(a=Y(a*M(100,t),15)),r>0&&(a=Y(a*M(1e3,r),15)),n>0&&(a=Y(a/M(1e3,n),15)),a}(e,t._percent,t._permille,t._scale);var i=t._intPart,o=t._decPart;if(!i&&!o)return a;var s,u=A(i),c=A(o);if(c||(c=""),t._exponent){var m=function(e,t,r){var n={value:e,exponentValue:0},a=w(e,".")._integer,i=g(e),o=r?r.length:1;if(i>=1)a>o?(a-=o,n.value=e/M(10,a),n.exponentValue=a):n.exponentValue=0,-1===t._sign&&(t._sign=0);else if(i<1&&i>0){t._sign=-1;for(var s=M(10,o);10*i<s&&!$(10*i,s);)i*=10,n.exponentValue++;var u=M(10,n.exponentValue);n.value*=u>b?0:u}return n}(e,t._exponent,u);e=m.value,s=m.exponentValue}var y=w(e,".");g(e)>1&&y._integer+y._decimal>15&&(e=Y(e,15));r.numberGroupSizes,r.numberGroupSeparator;var h=r.numberDecimalSeparator,f=r.negativeSign,_=I(e,v(y._decimal,c.length),0,0,h,f);if(n||(_=function(e,t){var r=e;return-1!==e.indexOf(t)&&(r=e.replace(/0+$/,"")),r}(_,h)),""===_)return a.push({type:"text",value:(i?i.join(""):"")+(o?o.join(""):"")}),a;var F={hasInfilling:d,infillIndex:-1,replaceExponent:d},S=_.split(h)[0];return"10"!==S||isNaN(s)||(S="1",s+=t&&t._exponent&&-1===t._exponent._sign?-1:1),i&&U(i,S,u,t,s,a,F,r),e===1/0||e===-1/0||("0"!==S&&""===u&&o&&a.push({type:"number",value:S}),o&&function(e,t,r,n,a,i,o,s,u){var c=u.numberDecimalSeparator,m=u.percentSymbol,y=u.perMilleSymbol,h=t.indexOf(c),f=a._exponent;(h>0||n!==C||r!==T)&&o.push({type:"decimalSeparator",value:c});for(var d=-1!==h?t.substring(h+1):"",_=0,g="",M=0;M<e.length;M++){var v=e[M];if(/^(0|#|\?)+/g.test(v)){var b="";if(g!==r){for(var F=v.length,S=0,D=_;F>0&&d.length-_>0;)b+=d.charAt(D),F--,_++,S++,D++;for(var x=S;F>0;){var E=v[x];x++,_++,F--,"0"===E?b+=E:"?"===E&&(""!==b&&(o.push({type:"number",value:b}),b=""),o.push({type:"numberPlaceholder",value:E}))}""!==b&&o.push({type:"number",value:b}),g+=v}}else if(f&&!s.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(v)){s.replaceExponent=p;var P="";P+=f._symbol,P+=N[f._sign],P+=l(i.toString(),f._exp),o.push({type:"exponent",value:P})}else"_"===v[0]?o.push({type:"placeholder",value:v[1]}):"*"===v[0]?(o.push({type:"fillingChar",value:v[1]}),s.hasInfilling&&o.splice(s.infillIndex,1),s.hasInfilling=!0,s.infillIndex=o.length-1):"\\"===v[0]?2===v.length&&o.push({type:"text",value:v[1]}):'"'===v[0]&&'"'===v[v.length-1]?v.length>2&&o.push({type:"text",value:v.substr(1,v.length-2)}):v===m?o.push({type:"percent",value:v}):v===y?o.push({type:"permille",value:v}):H[v]?o.push({type:"currency",value:v}):o.push({type:"text",value:v})}}(o,_,c,u,t,s,a,F,r)),a}function j(e,t){if((e=u(e)?"":o._StringHelper._trimEnd(e,"")).match(/^[+-]?infinity$/i))return f(e);if(e.match(/^0x[a-f0-9]+$/i))return h(e,10);var r,n,a=t.NumberFormat,i=a.numberNegativePattern,s=L(e,a,i),l=s[0],c=s[1];""===l&&1!==i&&(l=(s=L(e,a,1))[0],c=s[1]),""===l&&(l="+"),c[0]===a.currencySymbol&&(c=F(c,1));var y=c.indexOf("e");y<0&&(y=c.indexOf("E")),y<0?(n=c,r=m):(n=F(c,0,y),r=F(c,y+1));var d,p,_=n.indexOf(".");_<0?(d=n,p=m):(d=F(n,0,_),p=F(n,_+1));var g=l+(d=d.split(",").join(""));if(p!==m&&(g+="."+p),g[g.length-1]===a.percentSymbol){g=F(g,0,g.length-1);var M=(g=o._StringHelper._trimEnd(g,"")).indexOf(".");-1===M&&(M=g.length);var v="";v+=F(g,0,M-2),v+=".",v+=F(g,M-2,2),g=v+=F(g,M+1)}if(r!==m){var b=L(r,a,1);""===b[0]&&(b[0]="+"),g+="e"+b[0]+b[1]}return g.match(/^[+-]?\d*\.?\d*(e[+-]?\d+)?$/)?f(g):NaN}function L(e,t,r){var n=t.negativeSign,a=t.positiveSign;if(4!==r&&2!==r||(n=" "+n,a=" "+a),4===r||3===r){if(o._StringHelper._endsWith(e,n))return["-",F(e,0,e.length-n.length)];if(o._StringHelper._endsWith(e,a))return["+",F(e,0,e.length-a.length)]}else if(2===r||1===r){if(o._StringHelper._startsWith(e,n))return["-",F(e,n.length)];if(o._StringHelper._startsWith(e,a))return["+",F(e,a.length)]}else{if(0!==r)throw Error("");if(o._StringHelper._startsWith(e,"(")&&o._StringHelper._endsWith(e,")"))return["-",F(e,1,e.length-2)]}return["",e]}function G(e){var t=s.CultureManager._getCultureInfo().NumberFormat;return"string"==typeof e&&(t=s.CultureManager._getCultureInfo(e).NumberFormat),t}function Y(e,t){return"number"==typeof e&&e.toString().length>=t&&(e=+e.toPrecision(t)),e}t._NumberHelper={_parseLocale:function(e){return j(e,s.CultureManager._getCultureInfo())},_parseInvariant:function(e){return j(e,s.CultureManager._getCultureInfo("invariant"))},_customCultureFormat:function(e,t,r,n){return r||(r=s.CultureManager._getCultureInfo()),P(e,t,r,n)},_replaceNormalToCultureSymbol:function(e,t){if("string"!=typeof e)return e;var r=G(t),n=r.numberDecimalSeparator,a=r.numberGroupSeparator;return"."!==n&&(e=e.replace(S("[.]"),"#dot#")),","!==a&&(e=e.replace(S("[,]"),"#group#")),"."!==n&&(e=e.replace(S("#dot#"),n)),","!==a&&(e=e.replace(S("#group#"),a)),e},_replaceCultureSymbolToNormal:function(e,t){if("string"!=typeof e)return e;var r=G(t),n=r.numberDecimalSeparator,a=r.numberGroupSeparator;return"."!==n&&(e=e.replace(S("["+n+"]"),"#dot#")),","!==a&&(e=e.replace(S("["+a+"]"),"#group#")),"."!==n&&(e=e.replace(S("#dot#"),".")),","!==a&&(e=e.replace(S("#group#"),",")),e},_isValidCultureNumberString:function(e,t){if("string"==typeof e){var r=G(t),n=r.numberDecimalSeparator,a=r.numberGroupSeparator;if("."!==n&&"."!==a&&e.indexOf(".")>=0||","!==n&&","!==a&&e.indexOf(",")>=0)return!1}return!0},_parseFloat:function(e,t){return f(this._replaceCultureSymbolToNormal(e,t))},_toHexString:function(e,t,r){if(0!==g(_(e)-e))throw Error(x().Exp_BadFormatSpecifier);var n=e>=0?e.toString(16):(4294967295+e+1).toString(16);return n=t?n.toLowerCase():n.toUpperCase(),!u(r)&&n.length<r?l(n,r):n},_parseCustomNumberFormatter:k,_formatNumber:B,_approxEqual:$,_safeAdd:function(e,t){return $(e,-t)?0:e+t},_formatObjectToString:function(e){var t="";if(Array.isArray(e)&&e.length>0)for(var r=0;r<e.length;r++){var n=e[r].type,a=e[r].value;if("placeholder"===n)t+=" ";else{if("fillingChar"===n)continue;t+="numberPlaceholder"===n?" ":a}}return t},_generalNumberInt:C,_generalNumberDec:T,_fixNumber:Y}},674:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.rbush=void 0;var r=Math.max,n=Math.min,a=1/0;function i(e,t){this._maxEntries=r(4,e||9),this._minEntries=r(2,Math.ceil(.4*this._maxEntries)),t&&this._initFormat(t),this.clear()}function o(e,t,r){if(!r)return t.indexOf(e);for(var n=0;n<t.length;n++)if(r(e,t[n]))return n;return-1}function s(e,t){u(e,0,e.children.length,t,e)}function u(e,t,r,n,i){i||(i=p(null)),i.minX=a,i.minY=a,i.maxX=-1/0,i.maxY=-1/0;for(var o=t,s=void 0;o<r;o++)s=e.children[o],l(i,e.leaf?n(s):s);return i}function l(e,t){return e.minX=n(e.minX,t.minX),e.minY=n(e.minY,t.minY),e.maxX=r(e.maxX,t.maxX),e.maxY=r(e.maxY,t.maxY),e}function c(e,t){return e.minX-t.minX}function m(e,t){return e.minY-t.minY}function y(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function h(e){return e.maxX-e.minX+(e.maxY-e.minY)}function f(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&(t.maxX>=0&&t.maxX<=e.maxX||e.minX<0)&&(t.maxY>=0&&t.maxY<=e.maxY||e.minY<0)}function d(e,t){return(-1===e.minY||-1===t.minY||e.minY<=t.maxY&&t.minY<=e.maxY)&&(-1===e.minX||-1===t.minX||e.minX<=t.maxX&&t.minX<=e.maxX)}function p(e){return{children:e,height:1,leaf:!0,minX:a,minY:a,maxX:-1/0,maxY:-1/0}}t.rbush=i,i.prototype={all:function(){return this._all(this.data,[])},search:function(e){var t=this.data,r=[],n=this.toBBox;if(!d(e,t))return r;for(var a,i,o,s,u=[];t;){for(a=0,i=t.children.length;a<i;a++)o=t.children[a],d(e,s=t.leaf?n(o):o)&&(t.leaf?r.push(o):f(e,s)?this._all(o,r):u.push(o));t=u.pop()}return r},collides:function(e){var t=this.data,r=this.toBBox;if(!d(e,t))return!1;for(var n,a,i,o,s=[];t;){for(n=0,a=t.children.length;n<a;n++)if(i=t.children[n],d(e,o=t.leaf?r(i):i)){if(t.leaf||f(e,o))return!0;s.push(i)}t=s.pop()}return!1},insert:function(e){return e&&this._insert(e,this.data.height-1),this},clear:function(){return this.data=p([]),this},remove:function(e,t){if(!e)return this;for(var r,n,a,i,s=this.data,u=this.toBBox(e),l=[],c=[];s||l.length;){if(s||(s=l.pop(),n=l[l.length-1],r=c.pop(),i=!0),s.leaf&&-1!==(a=o(e,s.children,t)))return s.children.splice(a,1),l.push(s),this._condense(l),this;i||s.leaf||!f(s,u)?n?(r++,s=n.children[r],i=!1):s=null:(l.push(s),c.push(r),r=0,n=s,s=s.children[0])}return this},toBBox:function(e){return e},compareMinX:c,compareMinY:m,toJSON:function(){return this.data},fromJSON:function(e){return this.data=e,this},_all:function(e,t){for(var r=[];e;)e.leaf?t.push.apply(t,e.children):r.push.apply(r,e.children),e=r.pop();return t},_chooseSubtree:function(e,t,i,o){for(var s,u,l,c,m,h,f,d;o.push(t),!t.leaf&&o.length-1!==i;){for(f=d=a,s=0,u=t.children.length;s<u;s++)m=y(l=t.children[s]),p=e,(h=(r((_=l).maxX,p.maxX)-n(_.minX,p.minX))*(r(_.maxY,p.maxY)-n(_.minY,p.minY))-m)<d?(d=h,f=m<f?m:f,c=l):h===d&&m<f&&(f=m,c=l);t=c||t.children[0]}var p,_;return t},_insert:function(e,t,r){var n=this.toBBox,a=r?e:n(e),i=[],o=this._chooseSubtree(a,this.data,t,i);for(o.children.push(e),l(o,a);t>=0&&i[t].children.length>this._maxEntries;)this._split(i,t),t--;this._adjustParentBBoxes(a,i,t)},_split:function(e,t){var r=e[t],n=r.children.length,a=this._minEntries;this._chooseSplitAxis(r,a,n);var i=this._chooseSplitIndex(r,a,n),o=p(r.children.splice(i,r.children.length-i));o.height=r.height,o.leaf=r.leaf,s(r,this.toBBox),s(o,this.toBBox),t?e[t-1].children.push(o):this._splitRoot(r,o)},_splitRoot:function(e,t){this.data=p([e,t]),this.data.height=e.height+1,this.data.leaf=!1,s(this.data,this.toBBox)},_chooseSplitIndex:function(e,t,i){var o,s,l,c,m,h,f,d,p,_,g,M,v,b;for(h=f=a,o=t;o<=i-t;o++)p=s=u(e,0,o,this.toBBox),_=l=u(e,o,i,this.toBBox),g=void 0,M=void 0,v=void 0,b=void 0,g=r(p.minX,_.minX),M=r(p.minY,_.minY),v=n(p.maxX,_.maxX),b=n(p.maxY,_.maxY),c=r(0,v-g)*r(0,b-M),m=y(s)+y(l),c<h?(h=c,d=o,f=m<f?m:f):c===h&&m<f&&(f=m,d=o);return d},_chooseSplitAxis:function(e,t,r){var n=e.leaf?this.compareMinX:c,a=e.leaf?this.compareMinY:m;this._allDistMargin(e,t,r,n)<this._allDistMargin(e,t,r,a)&&e.children.sort(n)},_allDistMargin:function(e,t,r,n){e.children.sort(n);var a,i,o=this.toBBox,s=u(e,0,t,o),c=u(e,r-t,r,o),m=h(s)+h(c);for(a=t;a<r-t;a++)i=e.children[a],l(s,e.leaf?o(i):i),m+=h(s);for(a=r-t-1;a>=t;a--)i=e.children[a],l(c,e.leaf?o(i):i),m+=h(c);return m},_adjustParentBBoxes:function(e,t,r){for(var n=r;n>=0;n--)l(t[n],e)},_condense:function(e){for(var t=e.length-1,r=void 0;t>=0;t--)0===e[t].children.length?t>0?(r=e[t-1].children).splice(r.indexOf(e[t]),1):this.clear():s(e[t],this.toBBox)},_initFormat:function(e){var t=["return a"," - b",";"];this.compareMinX=Function("a","b",t.join(e[0])),this.compareMinY=Function("a","b",t.join(e[1])),this.toBBox=Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}},576:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._RegexHelper=void 0;var n=r(480),a=function(){function e(){}return e._getRegWithModifiers=function(t,r){var n;if(r&&e._regDictWithModifiers[r]&&e._regDictWithModifiers[r][t])n=e._regDictWithModifiers[r][t];else try{null==r?(n=RegExp(t),r="empty"):n=RegExp(t,r),e._regDictWithModifiers[r]||(e._regDictWithModifiers[r]={}),e._regDictWithModifiers[r][t]=n}catch(e){return null}return n.lastIndex=0,n},e._getReg=function(t){var r=e._regDict[t];return r||(r=e._regDict[t]=RegExp(t,"g")),r.lastIndex=0,r},e._getRegIgnoreCase=function(t){var r=e._regDictIgnoreCase[t];return r||(r=e._regDictIgnoreCase[t]=RegExp(t,"gi")),r.lastIndex=0,r},e._getWildcardCriteria=function(t,r,n){if(e._wildcardParseRecord[t])return e._wildcardParseResultBuffer[t];var a=r?"[?*]+":"[~?*]+";if(e._getReg(a).test(t)){for(var i=[],o=t.split(""),s=void 0,u={".":!0,"+":!0,$:!0,"^":!0,"[":!0,"]":!0,"(":!0,")":!0,"{":!0,"}":!0,"|":!0,"/":!0,"\\":!0},l=0;l<o.length;l++)if("~"===(s=o[l])){if(!(l<o.length-1))break;"*"!==(s=o[++l])&&"?"!==s||i.push("\\"),i.push(s)}else"?"===s?i.push("."):"*"===s?(i.push("[\\s\\S]"),n?i.push("+"):i.push("*")):u[s]?(i.push("\\"),i.push(s)):i.push(s);return i.join("")}return null},e._getWildcardCriteriaFullMatch=function(t,r,n){var a=e._getWildcardCriteria(t,r,n);return a&&(a="^"+a+"$"),a},e._getReplaceSymbol=function(e,t){for(var r="#"+e+"0#",a=1;t.indexOf(r)>0;)r=n._StringHelper._join(r,"#"+e+(a-1)+"#","#"+e+a+"#"),a++;return r},e._replaceRegString2NormalString=function(e){return e.replace(/([\~\!\@\#\$\%\^\&\*\(\)\-\_\+\=\[\]\{\}\|\\\;\:\'\"\,\.\/\<\>\?])/,"\\$1")},e._regDict={},e._regDictIgnoreCase={},e._regDictWithModifiers={},e._wildcardParseRecord={},e._wildcardParseResultBuffer={},e}();t._RegexHelper=a},480:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._StringHelper=void 0;var n=r(576);function a(e,t,r){return e.substr(t,r)}function i(e){return null==e}function o(e,t,r,n){if(i(t))throw Error();if(""===t)return!0;if(t.length>e.length)return!1;var a=e,o=t;return r&&(a=a.toLowerCase(),o=o.toLowerCase()),n(a,o)}t._StringHelper={_contains:function(e,t,r){return r&&(e=e.toLowerCase(),t=t.toLowerCase()),""===t||e.indexOf(t)>=0},_indexOf:function(e,t,r){if(r){var n=e.toLowerCase(),a=t.toLowerCase();return n.indexOf(a)}return e.indexOf(t)},_trimStart:function(e,t){if(!t)return e;for(var r=e;a(r,0,t.length)===t;)r=a(r,t.length);return r},_trimEnd:function(e,t){if(!t)return e;for(var r=e;a(r,r.length-t.length,t.length)===t;)r=a(r,0,r.length-t.length);return r},_insert:function(e,t,r){if(t<0||t>e.length||i(r))throw Error();return a(e,0,t)+r+a(e,t,e.length-t)},_remove:function(e,t,r){if(i(r)&&(r=e.length-t),t<0||r<0||t+r>e.length)throw Error();return a(e,0,t)+a(e,t+r,e.length-t-r)},_startsWith:function(e,t,r){return void 0===r&&(r=!1),o(e,t,r,(function(e,t){return e.slice(0,t.length)===t}))},_endsWith:function(e,t,r){return void 0===r&&(r=!1),o(e,t,r,(function(e,t){return e.slice(-t.length)===t}))},_replace:function(e,t,r,n){if(!t)throw Error();return r=(""+r).replace(/\$/g,"$$$$"),e.replace(RegExp(t,"g"+(n?"i":"")),r)},_replaceAllNoReg:function(e,r,a,i){return r=n._RegexHelper._replaceRegString2NormalString(r),t._StringHelper._replace(e,r,a,i)},_leftBefore:function(e,t){var r=e.indexOf(t);return r<0||r>=e.length?e:a(e,0,r)},_count:function(e,t){for(var r=0,n=e.indexOf(t);n>=0;)r+=1,n=e.indexOf(t,n+1);return r},_join:function(e,t,r){return e.split(t).join(r)},_format:function(e,t){for(var r=e,n=0;n<t.length;n++){var a=RegExp("\\{"+n+"\\}","g");r=r.replace(a,t[n])}return r},_padZero:function(e,t,r){for(var n=e.toString(),a=n.length;a<t;a++)n=r?"0"+n:n+"0";return n},_padZeroLeft:function(e,r){return t._StringHelper._padZero(e,r,!0)},_padZeroRight:function(e,r){return t._StringHelper._padZero(e,r,!1)},_compareStringIgnoreCase:function(e,t){return e===t||!e&&!t||e&&t&&e.toLowerCase()===t.toLowerCase()},_toUpperCase:function(e){return e.toUpperCase()},_escapeHtml:function(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},r=n._RegexHelper._getReg("(?:&|<|>|\"|'|`)");return r.test(e)?e.replace(r,(function(e){return t[e]})):e},_unescapeHtml:function(e){var t={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"},r=n._RegexHelper._getReg("(?:&amp;|&lt;|&gt;|&quot;|&#x27;|&#x60;)");return r.test(e)?e.replace(r,(function(e){return t[e]})):e},_escapeJavascript:function(e){for(var t=e,r=/javascript:/gi;t.match(r);)t=t.replace(r,"");return t}}},534:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t._Types=void 0;var r="undefined"!=typeof window?window.File:null,n="undefined"!=typeof window?window.Blob:null;t._Types={_class2type:null,_each:function(e,r){if(t._Types._isArraylike(e))for(var n=0,a=e.length;n<a&&!1!==r.call(e[n],n,e[n]);n++);else for(var i in e)if(e.hasOwnProperty(i)&&!1===r.call(e[i],i,e[i]))break;return e},_isEmptyObject:function(e){return!e||"object"==typeof e&&0===Object.keys(e).length},_isFunction:function(e){return"function"===t._Types._getType(e)},_isArray:function(e){return Array.isArray?Array.isArray(e):"array"===t._Types._getType(e)},_isNumeric:function(e){return t._Types._isString(e)&&(e=parseFloat(e)),!isNaN(e)&&isFinite(e)},_isString:function(e){return"string"==typeof e},_getType:function(e){if(null===e)return"null";var r=t._Types._class2type;if(!r){r=t._Types._class2type={};for(var n=["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"],a=0,i=n.length;a<i;a++)r["[object "+n[a]+"]"]=n[a].toLowerCase()}var o=r.toString,s=typeof e;return"object"===s||"function"===s?r[o.call(e)]||"object":s},_inArray:function(e,r,n){var a;if(r){var i=[].indexOf;if(i)return i.call(r,e,n);for(a=r.length,t._Types._isNullOrUndefined(n)&&(n=0),n=n<0?Math.max(0,a+n):n;n<a;n++)if(n in r&&r[n]===e)return n}return-1},_merge:function(e,t){var r=t.length,n=e.length,a=0;if("number"==typeof r)for(;a<r;a++)e[n]=t[a],n++;else for(;void 0!==t[a];)e[n]=t[a],n++,a++;return e.length=n,e},_map:function(e,r,n){var a,i=[];if(t._Types._isArraylike(e))for(var o=0,s=e.length;o<s;o++)null!==(a=r(e[o],o,n))&&(i[i.length]=a);else{var u=void 0;for(u in e)e.hasOwnProperty(u)&&null!==(a=r(e[u],u,n))&&(i[i.length]=a)}return i.concat([])},_extend:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n,a,i,o,s,u,l=e[0]||{},c=1,m=e.length,y=!1;for("boolean"==typeof l&&(y=l,l=e[1]||{},c=2),"object"==typeof l||t._Types._isFunction(l)||(l={}),m===c&&(l=this,--c);c<m;c++)if(s=e[c],!t._Types._isNullOrUndefined(s))for(o in s)n=l[o],l!==(i=s[o])&&(a=t._Types._isArray(i),y&&i&&(t._Types._isPlainObject(i)||a)?(u=a?n&&t._Types._isArray(n)?n:[]:n&&t._Types._isPlainObject(n)?n:{},l[o]=t._Types._extend(y,u,i)):void 0!==i&&(l[o]=i));return l},_inherit:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n},_isWindow:function(e){return null!==e&&e===e.window},_isPlainObject:function(e){if(!e||"object"!==t._Types._getType(e)||e.nodeType||t._Types._isWindow(e))return!1;var r,n={}.hasOwnProperty;try{if(e.constructor&&!n.call(e,"constructor")&&!n.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(r in e);return void 0===r||n.call(e,r)},_isArraylike:function(e){if(t._Types._isNullOrUndefined(e))return!1;var r=e.length,n=t._Types._getType(e);return!t._Types._isWindow(e)&&(!(1!==e.nodeType||!r)||"array"===n||"function"!==n&&(0===r||"number"==typeof r&&r>0&&r-1 in e))},_makeArray:function(e,r){var n=r||[];return null!==e&&(t._Types._isArraylike(Object(e))?t._Types._merge(n,"string"==typeof e?[e]:e):[].push.call(n,e)),n},_isType:null,_isNullOrUndefined:function(e){return null==e},_isNumber:null,_toDouble:null,_cloneObject:function(e){if(!e)return e;if("number"==typeof e||"string"==typeof e||"boolean"==typeof e||t._Types._isNullOrUndefined(e))return e;if(e.clone)return e.clone();if(e instanceof Date)return new Date(e.valueOf());var a,i,o;if(r&&e instanceof r)return new r([e],e.name,{type:e.type,lastModified:e.lastModified});if(n&&e instanceof n)return new n([e],{type:e.type});for(i in a=e instanceof Object?new e.constructor:new e.constructor(e.valueOf()),e)e.hasOwnProperty(i)&&(o=e[i],e.hasOwnProperty(i)&&a[i]!==o&&(a[i]="object"==typeof o?t._Types._cloneObject(o):o));return a}}},612:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Exp_Separator=t.Exp_InvalidCast=t.Exp_InvalidNumberFormat=t.Exp_BadFormatSpecifier=t.Exp_InvalidNumberGroupSize=t.Exp_InvalidSemicolons=t.Exp_InvalidExponentFormat=t.Exp_InvalidDateFormat=void 0,t.Exp_InvalidDateFormat="Invalid date format pattern",t.Exp_InvalidExponentFormat="invalid exponent format",t.Exp_InvalidSemicolons="invalid format : too many semicolons",t.Exp_InvalidNumberGroupSize="NumberGroupSize must be between 1 and 9, except for the last element, which can be zero.",t.Exp_BadFormatSpecifier="Bad Format Specifier",t.Exp_InvalidNumberFormat="Invalid number format pattern",t.Exp_InvalidCast="InvalidCastException",t.Exp_Separator="numberDecimalSeparator, listSeparator and arrayListSeparator should be different in culture info."},479:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.UUIDGenerator=void 0;var r=function(){function e(){}return e.wrap=function(e){return"{".concat(e.toUpperCase(),"}")},e.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},e.secureUUID=function(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():this.uuidv4()},e.secureUpperCaseUUID=function(){return this.wrap(this.secureUUID())},e.isValidUpperCaseUUID=function(e){return/^\{[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\}$/i.test(e)},e}();t.UUIDGenerator=r},814:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.UndoManager=t.CommandManager=t.Key=void 0;var n=r(536);Object.defineProperty(t,"Key",{enumerable:!0,get:function(){return n.Key}}),Object.defineProperty(t,"CommandManager",{enumerable:!0,get:function(){return n.CommandManager}});var a=r(748);Object.defineProperty(t,"UndoManager",{enumerable:!0,get:function(){return a.UndoManager}})},536:function(e,t){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.CommandManager=t.Key=void 0,function(e){e[e.left=37]="left",e[e.right=39]="right",e[e.up=38]="up",e[e.down=40]="down",e[e.tab=9]="tab",e[e.enter=13]="enter",e[e.shift=16]="shift",e[e.ctrl=17]="ctrl",e[e.space=32]="space",e[e.altkey=18]="altkey",e[e.home=36]="home",e[e.end=35]="end",e[e.pup=33]="pup",e[e.pdn=34]="pdn",e[e.backspace=8]="backspace",e[e.del=46]="del",e[e.esc=27]="esc",e[e.a=65]="a",e[e.c=67]="c",e[e.v=86]="v",e[e.x=88]="x",e[e.z=90]="z",e[e.y=89]="y"}(r=t.Key||(t.Key={}));var n=function(){function e(e,t,r){this._owner=e,this._cmdDef=t,this._name=r;var n,a=this;Object.defineProperty(a,"shortcutKey",{get:function(){return a._shortcutKey},set:function(e){var t=a._shortcutKey;if(t!==e){var r=(n=a._owner._shortcutKeys)[t];if(r){var i=r.indexOf(a);i>=0&&r.splice(i,1)}a._shortcutKey=e,e&&((r=n[e])||(n[e]=r=[]),r.splice(0,0,a))}}})}return e.prototype.canUndo=function(){return this._cmdDef.canUndo},e.prototype.execute=function(e,t,r){var n,a,i=!0,o=!0;if(this._cmdDef&&t){var s={command:t,result:a,_actionType:r,actionType:r,metaData:null===(n=this._cmdDef)||void 0===n?void 0:n.metaData,r:null,isBefore:!0};this._owner._triggerInternalListener(s),s.r&&(o=!1,a=!1)}if(o){try{i=!1!==(a=(this._cmdDef.execute||this._cmdDef)(e,t,1===r))}catch(e){i=!1}t&&i&&this._owner._commandExecuted({command:this._getCmdOptions(t),result:a,_actionType:r,actionType:r})}if(this._owner&&t){var u={command:t,result:a,_actionType:r,actionType:r,isBefore:!1};this._owner._triggerInternalListener(u)}return a},e.prototype._getCmdOptions=function(e){return e&&!e.cmd&&(e.cmd=this._name),e},e}(),a=function(){function e(e){this._context=e,this._listeners={},this._internalListeners={},this._afterInternalListeners={},this._shortcutKeys={}}return e.prototype.register=function(e,t,r,a,i,o,s){var u=new n(this,t,e);this[e]=u,r&&(u.shortcutKey=this.getShortcutKey(r,a,i,o,s))},e.prototype.getCommand=function(e){return this[e]},e.prototype.execute=function(e){var t=this[e.cmd];if(t)return t.execute(this._context,e,0)},e.prototype.setShortcutKey=function(e,t,r,n,a,i){if(e){var o=this[e];o&&(o.shortcutKey=this.getShortcutKey(t,r,n,a,i))}else{var s=this.getShortcutKey(t,r,n,a,i),u=this.getCommands(s);if(u)for(var l=u.length-1;l>=0;l--)u[l].shortcutKey=void 0}},e.prototype.getShortcutKey=function(e,t,n,a,i){if(e){var o=65<=e&&e<=90?String.fromCharCode(e):r[e];return o||(o=e),o+(t?"+ctrl":"")+(n?"+shift":"")+(a?"+alt":"")+(i?"+window":"")}},e.prototype.getCommands=function(e){return this._shortcutKeys[e]},e.prototype.addListener=function(e,t){this._listeners[e]=t},e.prototype.removeListener=function(e){delete this._listeners[e]},e.prototype._commandExecuted=function(e){var t=this._listeners;for(var r in t)t.hasOwnProperty(r)&&t[r](e)},e.prototype._addInternalListener=function(e,t){this._internalListeners[e]=t},e.prototype._removeInternalListener=function(e){delete this._internalListeners[e]},e.prototype._triggerInternalListener=function(e){var t=this._internalListeners;for(var r in t)t.hasOwnProperty(r)&&t[r](e)},e.prototype._dispose=function(){this._context=null},e}();t.CommandManager=a},748:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.UndoManager=void 0;var r=function(){function e(e,t,r){this._context=e,t<0&&(t=2147483647),this._maxLength=t,this._allowUndo=r,this._undoStack=[],this._redoStack=[],this._hasNewChange=!1}return e.prototype._addCommand=function(e,t){if(e){if(1===t)this._redoStack.push(e);else{var r=this._maxLength,n=this._undoStack.length;if(r>0&&n>=r)for(var a=0;a<n-r+1;a++)this._undoStack.shift();this._undoStack.push(e),0===t&&(this._redoStack=[])}this._hasNewChange=!0}},e.prototype.canUndo=function(){return this._undoStack.length>0},e.prototype.undo=function(){var e=this._undoStack,t=!0;if(this._allowUndo&&this.canUndo()){var r=e[e.length-1];try{var n=this._context.commandManager()[r.cmd];n&&(r._fromUndoManager=!0,t=n.execute(this._context,r,1))}catch(e){t=!1}delete r._fromUndoManager,!1!==t&&(e.pop(),this._hasNewChange=!0,this._redoStack.push(r))}return t},e.prototype.canRedo=function(){return this._redoStack.length>0},e.prototype.redo=function(){var e=this._redoStack,t=!0;if(this._allowUndo&&this.canRedo()){var r=e[e.length-1];try{var n=this._context.commandManager()[r.cmd];n&&(r._fromUndoManager=!0,t=n.execute(this._context,r,2))}catch(e){t=!1}delete r._fromUndoManager,!1!==t&&(e.pop(),this._hasNewChange=!0,this._undoStack.push(r))}return t},e.prototype.getRedoStack=function(){return this._redoStack.slice()},e.prototype.getUndoStack=function(){return this._undoStack.slice()},e.prototype.maxSize=function(e){return arguments.length<1?this._maxLength:(e>=0&&(this._maxLength=e),this)},e.prototype.clear=function(){this._undoStack=[],this._redoStack=[]},e.prototype._filter=function(e){this._undoStack=this._undoStack.filter(e),this._redoStack=this._redoStack.filter(e)},e.prototype._dispose=function(){this._context=null},e.prototype.setNewChangeStatus=function(e){this._hasNewChange=e},e.prototype.getNewChangeStatus=function(){return this._hasNewChange},e}();t.UndoManager=r},569:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(2),t)},498:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Exp_InvalidCast=t.Exp_ValueIllegal=t.Exp_TokenIllegal=t.Exp_DuplicatedDescriptor=t.Exp_ValueIsNull=t.Exp_FormatIllegal=t.Exp_InvalidBackslash=t.Exp_TokenIsNull=void 0,t.Exp_TokenIsNull="token is null",t.Exp_InvalidBackslash="the '\\' cannot be evaluated",t.Exp_FormatIllegal="format is illegal.",t.Exp_ValueIsNull="value is null",t.Exp_DuplicatedDescriptor="The type of descriptor was added.",t.Exp_TokenIllegal="token is illegal.",t.Exp_ValueIllegal="value is illegal.",t.Exp_InvalidCast="InvalidCastException"},2:function(e,t,r){var n,a=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralFormatter=t._NumberFormatDateTime=t.FormatterBase=void 0;var i=r(480),o=r(97),s=r(534),u=r(844),l=r(286),c=r(818),m=r(498),y=r(810),h=r(61);s._Types._extend(c.SR.en,m);var f=new c.ResourceManager(c.SR),d=f.getResource.bind(f);s._Types._isType=function(e,t){if(s._Types._isNullOrUndefined(e))return"null"===t;if(!t)return!1;if(t instanceof Function&&e instanceof t)return!0;if(typeof e===t)return!0;if("function"===t&&/^\s*\bfunction\b/.test(""+e))return!0;if(Object.prototype.toString.call(e).slice(8,-1).toLowerCase()===t.toLowerCase())return!0;if("DateTime"===t)return e instanceof Date;if("TimeSpan"===t){if(e instanceof Date){var r=o._DateTimeHelper._toOADate(e);return r>=0&&r<1}return!1}return!1},s._Types._isNumber=function(e,t){return!!u._NumberHelper._isValidCultureNumberString(e,t)&&("string"!=typeof e||-1===e.search(/[\r\n\t]/g))&&(e=u._NumberHelper._replaceCultureSymbolToNormal(e,t),s._Types._isType(e,"number")||s._Types._isType(e,"DateTime")||s._Types._isType(e,"TimeSpan")||e&&!s._Types._isType(e,"boolean")&&!isNaN(e)&&!isNaN(parseFloat(e))&&!(e.length>=2&&"0"===e[0]&&"x"===e[1]))},s._Types._toDouble=function(e){return s._Types._isNullOrUndefined(e)||""===e?0:s._Types._isType(e,"number")?e:s._Types._isType(e,"string")&&!isNaN(e)?u._NumberHelper._parseLocale(e):s._Types._isType(e,"boolean")?e?1:0:s._Types._isType(e,"DateTime")?o._DateTimeHelper._toOADate(e):s._Types._isType(e,"TimeSpan")?Math.floor(o._DateTimeHelper._toOADate(e)):parseFloat(e)};var p=null,_=Math.abs,g={_yearTwoDigit:"yy",_yearSingleDigit:"y",_yearFourDigit:"yyyy",_monthSingleDigit:"m",_monthTwoDigit:"mm",_monthAbbreviation:"mmm",_monthUnabbreviated:"mmmm",_monthJD:"mmmmm",_daySingleDigit:"d",_dayTwoDigit:"dd",_dayWeekDayAbbreviation:"aaa",_dayWeekDayUnabbreviated:"aaaa",_hoursSingleDigit:"h",_hoursTwoDigit:"hh",_minuteSingleDigit:"m",_minuteTwoDigit:"mm",_secondSingleDigit:"s",_secondTwoDigit:"ss",_eraYear:"e",_aMPMTwoDigit:"AM/PM",_aMPMSingleDigit:"A/P",_placeholderMonthJD:"@mmmmm",_defaultAbsoluteTime:new Date(1899,11,30,0,0,0,0)},M=[g._yearSingleDigit,g._yearTwoDigit,g._yearFourDigit,g._monthSingleDigit,g._monthTwoDigit,g._monthAbbreviation,g._monthUnabbreviated,g._monthJD,g._daySingleDigit,g._dayTwoDigit,g._dayWeekDayAbbreviation,g._dayWeekDayUnabbreviated,g._hoursSingleDigit,g._hoursTwoDigit,g._minuteSingleDigit,g._minuteTwoDigit,g._secondSingleDigit,g._secondTwoDigit,"ggg","gg","g","ee","e"],v={_positive:0,_negative:1,_zero:2,_text:3},b=[{_positive:0,_negative:0,_zero:0,_text:0},{_positive:0,_negative:1,_zero:0,_text:0},{_positive:0,_negative:1,_zero:2,_text:0},{_positive:0,_negative:1,_zero:2,_text:3}],F=RegExp("([.+?*$^\\[\\](){}|/])","g"),S=[["M/d","MMM/d","MMMM/d","d/M","d/MMM","d/MMMM","M-d","MMM-d","MMMM-d","d-M","d-MMM","d-MMMM"],["M/y","MMM/y","M/yyyy","MMM/yyyy","M-y","MMM-y","M-yyyy","MMM-yyyy"],["M/d/y","MMM/d/y","MMMM/d/y","M/d/yyyy","MMM/d/yyyy","MMMM/d/yyyy","d/M/y","d/MMM/y","d/MMMM/y","d/M/yyyy","d/MMM/yyyy","d/MMMM/yyyy","yyyy/M/d","M-d-y","MMM-d-y","MMMM-d-y","M-d-yyyy","MMM-d-yyyy","MMMM-d-yyyy","d-M-y","d-MMM-y","d-MMMM-y","d-M-yyyy","d-MMM-yyyy","d-MMMM-yyyy","yyyy-M-d"],["H:m","h:m tt"],["H:m:s","H:m:s"],["H:m:s.FFF","h:m:s.FFF tt"],["h:m:s tt","h:mm:ss tt"],["M/d H:m","MMM/d H:m","MMMM/d H:m","d/M H:m","d/MMM H:m","d/MMMM H:m","M/y H:m","MMM/y H:m","M/yyyy H:m","MMM/yyyy H:m","M/d/y H:m","MMM/d/y H:m","MMMM/d/y H:m","M/d/yyyy H:m","MMM/d/yyyy H:m","MMMM/d/yyyy H:m","M-d H:m","MMM-d H:m","MMMM-d H:m","d-M H:m","d-MMM H:m","d-MMMM H:m","M-y H:m","MMM-y H:m","M-yyyy H:m","MMM-yyyy H:m","M-d-y H:m","MMM-d-y H:m","MMMM-d-y H:m","M-d-yyyy H:m","MMM-d-yyyy H:m","MMMM-d-yyyy H:m","M/d h:m tt","MMM/d h:m tt","MMMM/d h:m tt","d/M h:m tt","d/MMM h:m tt","d/MMMM h:m tt","M/y h:m tt","MMM/y h:m tt","M/yyyy h:m tt","MMM/yyyy h:m tt","M/d/y h:m tt","MMM/d/y h:m tt","MMMM/d/y h:m tt","M/d/yyyy h:m tt","MMM/d/yyyy h:m tt","MMMM/d/yyyy h:m tt","M-d h:m tt","MMM-d h:m tt","MMMM-d h:m tt","d-M h:m tt","d-MMM h:m tt","d-MMMM h:m tt","M-y h:m tt","MMM-y h:m tt","M-yyyy h:m tt","MMM-yyyy h:m tt","M-d-y h:m tt","MMM-d-y h:m tt","MMMM-d-y h:m tt","M-d-yyyy h:m tt","MMM-d-yyyy h:m tt","MMMM-d-yyyy h:m tt","d/M/y H:m","d/MMM/y H:m","d/MMMM/y H:m","d/M/yyyy H:m","d/mmm/yyyy H:m","d/MMMM/yyyy H:m","yyyy/M/d H:m","d-M-y H:m","d-MMM-y H:m","d-MMMM-y H:m","d-M-yyyy H:m","d-MMM-yyyy H:m","d-MMMM-yyyy H:m","yyyy-M-d H:m","d/M/y h:m tt","d/MMM/y h:m tt","d/MMMM/y h:m tt","d/M/yyyy h:m tt","d/mmm/yyyy h:m tt","d/MMMM/yyyy h:m tt","yyyy/M/d h:m tt","d-M-y h:m tt","d-MMM-y h:m tt","d-MMMM-y h:m tt","d-M-yyyy h:m tt","d-MMM-yyyy h:m tt","d-MMMM-yyyy h:m tt","yyyy-M-d h:m tt"],["M/d H:m:s","MMM/d H:m:s","MMMM/d H:m:s","d/M H:m:s","d/MMM H:m:s","d/MMMM H:m:s","M/y H:m:s","MMM/y H:m:s","M/yyyy H:m:s","MMM/yyyy H:m:s","M/d/y H:m:s","MMM/d/y H:m:s","MMMM/d/y H:m:s","M/d/yyyy H:m:s","MMM/d/yyyy H:m:s","MMMM/d/yyyy H:m:s","d/M/y H:m:s","d/MMM/y H:m:s","d/MMMM/y H:m:s","d/M/yyyy H:m:s","d/MMM/yyyy H:m:s","d/MMMM/yyyy H:m:s","yyyy/M/d H:m:s","M-d H:m:s","MMM-d H:m:s","MMMM-d H:m:s","d-M H:m:s","d-MMM H:m:s","d-MMMM H:m:s","M-y H:m:s","MMM-y H:m:s","M-yyyy H:m:s","MMM-yyyy H:m:s","M-d-y H:m:s","MMM-d-y H:m:s","MMMM-d-y H:m:s","M-d-yyyy H:m:s","MMM-d-yyyy H:m:s","MMMM-d-yyyy H:m:s","d-M-y H:m:s","d-MMM-y H:m:s","d-MMMM-y H:m:s","d-M-yyyy H:m:s","d-MMM-yyyy H:m:s","d-MMMM-yyyy H:m:s","yyyy-M-d H:m:s","M/d h:m:s tt","MMM/d h:m:s tt","MMMM/d h:m:s tt","d/M h:m:s tt","d/MMM h:m:s tt","d/MMMM h:m:s tt","M/y h:m:s tt","MMM/y h:m:s tt","M/yyyy h:m:s tt","MMM/yyyy h:m:s tt","M/d/y h:m:s tt","MMM/d/y h:m:s tt","MMMM/d/y h:m:s tt","M/d/yyyy h:m:s tt","MMM/d/yyyy h:m:s tt","MMMM/d/yyyy h:m:s tt","d/M/y h:m:s tt","d/MMM/y h:m:s tt","d/MMMM/y h:m:s tt","d/M/yyyy h:m:s tt","d/MMM/yyyy h:m:s tt","d/MMMM/yyyy h:m:s tt","yyyy/M/d h:m:s tt","M/d/yyyy h:mm:ss tt","M-d h:m:s tt","MMM-d h:m:s tt","MMMM-d h:m:s tt","d-M h:m:s tt","d-MMM h:m:s tt","d-MMMM h:m:s tt","M-y h:m:s tt","MMM-y h:m:s tt","M-yyyy h:m:s tt","MMM-yyyy h:m:s tt","M-d-y h:m:s tt","MMM-d-y h:m:s tt","MMMM-d-y h:m:s tt","M-d-yyyy h:m:s tt","MMM-d-yyyy h:m:s tt","MMMM-d-yyyy h:m:s tt","d-M-y h:m:s tt","d-MMM-y h:m:s tt","d-MMMM-y h:m:s tt","d-M-yyyy h:m:s tt","d-MMM-yyyy h:m:s tt","d-MMMM-yyyy h:m:s tt","yyyy-M-d h:m:s tt","M/d/yyyy H:m:s","M-d-yyyy H:m:s","M/d/yyyy h:m:s tt","M-d-yyyy H:m:s tt"],["M/d H:m:s.FFF","MMM/d H:m:s.FFF","MMMM/d H:m:s.FFF","d/M H:m:s.FFF","d/MMM H:m:s.FFF","d/MMMM H:m:s.FFF","M/y H:m:s.FFF","MMM/y H:m:s.FFF","M/yyyy H:m:s.FFF","MMM/yyyy H:m:s.FFF","M/d/y H:m:s.FFF","MMM/d/y H:m:s.FFF","MMMM/d/y H:m:s.FFF","MMM/d/yyyy H:m:s.FFF","MMMM/d/yyyy H:m:s.FFF","d/M/y H:m:s.FFF","d/MMM/y H:m:s.FFF","d/MMMM/y H:m:s.FFF","d/M/yyyy H:m:s.FFF","d/MMM/yyyy H:m:s.FFF","d/MMMM/yyyy H:m:s.FFF","yyyy/M/d H:m:s.FFF","M-d H:m:s.FFF","MMM-d H:m:s.FFF","MMMM-d H:m:s.FFF","d-M H:m:s.FFF","d-MMM H:m:s.FFF","d-MMMM H:m:s.FFF","M-y H:m:s.FFF","MMM-y H:m:s.FFF","M-yyyy H:m:s.FFF","MMM-Yyyy H:m:s.FFF","M-d-y H:m:s.FFF","MMM-d-y H:m:s.FFF","MMMM-d-y H:m:s.FFF","MMM-d-yyyy H:m:s.FFF","MMMM-d-yyyy H:m:s.FFF","D-M-y H:m:s.FFF","d-MMM-y H:m:s.FFF","d-MMMM-y H:m:s.FFF","D-M-yyyy H:m:s.FFF","d-MMM-yyyy H:m:s.FFF","d-MMMM-yyyy H:m:s.FFF","yyyy-M-d H:m:s.FFF","M/d h:m:s.FFF tt","MMM/d h:m:s.FFF tt","MMMM/d h:m:s.FFF tt","d/M h:m:s.FFF tt","d/MMM h:m:s.FFF tt","d/MMMM h:m:s.FFF tt","M/y h:m:s.FFF tt","MMM/y h:m:s.FFF tt","M/yyyy h:m:s.FFF tt","MMM/yyyy h:m:s.FFF tt","M/d/y h:m:s.FFF tt","MMM/d/y h:m:s.FFF tt","MMMM/d/y h:m:s.FFF tt","MMM/d/yyyy h:m:s.FFF tt","MMMM/d/yyyy h:m:s.FFF tt","d/M/y h:m:s.FFF tt","d/MMM/y h:m:s.FFF tt","d/MMMM/y h:m:s.FFF tt","d/M/yyyy h:m:s.FFF tt","d/MMM/yyyy h:m:s.FFF tt","d/MMMM/yyyy h:m:s.FFF tt","yyyy/M/d h:m:s.FFF tt","M-d h:m:s.FFF tt","MMM-d h:m:s.FFF tt","MMMM-d h:m:s.FFF tt","d-M h:m:s.FFF tt","d-MMM h:m:s.FFF tt","d-MMMM h:m:s.FFF tt","M-y h:m:s.FFF tt","MMM-y h:m:s.FFF tt","M-yyyy h:m:s.FFF tt","MMM-Yyyy h:m:s.FFF tt","M-d-y h:m:s.FFF tt","MMM-d-y h:m:s.FFF tt","MMMM-d-y h:m:s.FFF tt","MMM-d-yyyy H:m:s.FFF tt","MMMM-d-yyyy h:m:s.FFF tt","d-M-y h:m:s.FFF tt","d-MMM-y h:m:s.FFF tt","d-MMMM-y h:m:s.FFF tt","d-M-yyyy h:m:s.FFF tt","d-MMM-yyyy h:m:s.FFF tt","d-MMMM-yyyy h:m:s.FFF tt","yyyy-M-d h:m:s.FFF tt"]],D=["#000000","#FFFFFF","#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#800000","#008000","#000080","#808000","#800080","#008080","#C0C0C0","#808080","#9999FF","#993366","#FFFFCC","#CCFFFF","#660066","#FF8080","#0066CC","#CCCCFF","#000080","#FF00FF","#FFFF00","#00FFFF","#800080","#800000","#008080","#0000FF","#00CCFF","#CCFFFF","#CCFFCC","#FFFF99","#99CCFF","#FF99CC","#CC99FF","#FFCC99","#3366FF","#33CCCC","#99CC00","#FFCC00","#FF9900","#FF6600","#666699","#969696","#003366","#339966","#003300","#333300","#993300","#993366","#333399","#333333"],x=RegExp("color\\s*(\\d+)","i"),C=s._Types._isType,T=s._Types._isArray,N=u._NumberHelper,E=N._generalNumberInt+"."+N._generalNumberDec,H=N._formatObjectToString,P=N._customCultureFormat,w=N._fixNumber,O=s._Types._isNullOrUndefined,k=isNaN,I=function(e){return l.CultureManager._getCultureInfo(e)},A=function(e){return I(e).DateTimeFormat},R=function(e){return I(e).NumberFormat},$=function(e){return e&&e.toLowerCase()},U=function(){throw Error(d().Exp_FormatIllegal)},B=function(){return l.CultureManager.booleanMapping},j={_Empty:"",_format:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(0===arguments.length)return p;for(var a=r[0],i=1;i<arguments.length;i++){var o=RegExp("\\{"+(i-1)+"\\}","gm");a=a.replace(o,arguments[i])}return a},_isNullOrEmpty:function(e){return!e||e===j._Empty}},L=function(e){var t=e.charCodeAt(0);return t>=48&&t<=57},G=function(e){var t=e.charCodeAt(0);return t>=9&&t<=13||32===t||133===t||160===t},Y=function(){function e(e,t){ye.call(this,t);this._content=e;var r=this._content,n=ue(r[0],"$",!1),a=r.indexOf("-");if(!(n&&a>-1))throw Error(d().Exp_TokenIllegal);this._currencySymbol=ee(r,1,a-1),(r=i._StringHelper._remove(r,0,a+1)).length>0&&(this._locateID=parseInt(r,16))}return e.prototype.cultureInfo=function(){return this._cultureInfo||(this._cultureInfo=I(this._locateID)),this._cultureInfo},e.prototype.currencySymbol=function(){return this._currencySymbol?i._StringHelper._replace(this._currencySymbol,"\\.",'"."'):j._Empty},e.prototype.allowScience=function(){if(this._cultureInfo)return!this._cultureInfo.isJCKCulture},e.prototype.toString=function(){return this._content?ne(this._content):j._Empty},e.Name="LocaleIDFormatPart",e}(),z=function(){function e(e,t){this.formatCached=e,this.cultureName=t,this.typeName=""}return e.prototype.format=function(e,t){return p},e.prototype.parse=function(e){return p},e.prototype.formatString=function(e){return this.formatCached},e.prototype.toJSON=function(){var e={};for(var t in this)this.hasOwnProperty(t)&&(e[t]=this[t]);return e},e.prototype.fromJSON=function(e){if(e)for(var t in e)void 0!==e[t]&&(this[t]=e[t])},e}();t.FormatterBase=z;var K=function(){function e(e,t){ye.call(this,t);for(var r,n,a,o=this,s=["<=","<>",">=",">","<","="],u=0,l=s.length;u<l;u++)if(r=s[u],i._StringHelper._startsWith(e,r,!0)){n=i._StringHelper._remove(e,0,r.length);var c=parseFloat(n);k(c)||(a=c);break}if(a===p&&void 0===a)throw Error(d().Exp_TokenIllegal);o.value=a,o._compareOperator=r,o.isMeetCondition=function(e){var t=o._compareOperator,r=o.value;switch(t){case"<=":return e<=r;case"<>":return e!==r;case">=":return e>=r;case">":return e>r;case"<":return e<r;case"=":return e===r}}}return e.prototype.toString=function(){return ne(this._compareOperator+this.value.toString())},e}(),W=function(){function e(e,t){ye.call(this,t);if(this.token=e,this.type=parseInt(i._StringHelper._remove(e,0,5),10),this.type<0||this.type>4)throw Error(d().Exp_TokenIllegal)}return e.prototype._replaceNumberString=function(t,r,n){if(!t||t===j._Empty)return t;for(var a,o,s=t,u=t,l=-1,c=-1,m=!1,y=t.length-1;y>=0;y--){var h=u[y];!k(h)&&!ue(h," ",!1)||ue(h,".",!1)&&!m?(ue(h,".",!1)&&(m=!0),-1===l&&(l=y),c=y):c>-1&&l>-1&&(a=ee(u,c,l-c+1),k(parseFloat(a))||(o=e.numberString(a,r,n),s=i._StringHelper._remove(s,c,l-c+1),s=i._StringHelper._insert(s,c,o)),l=-1,c=-1,m=!1)}return c>-1&&l>-1&&(a=ee(u,c,l-c+1),k(parseFloat(a))||(o=e.numberString(a,r,n),s=i._StringHelper._remove(s,c,l-c+1),s=i._StringHelper._insert(s,c,o))),s},e.prototype.toString=function(){if(this.type>-1)return ne("DBNum"+this.type);throw Error()},e.numberString=function(t,r,n){var a=e.formatNumberString,i=t.split(".");if(i){if(1===i.length)return a(i[0],r.numbers,n?r.letters:p);if(2===i.length)return a(i[0],r.numbers,n?r.letters:p)+"."+a(i[1],r.numbers)}throw Error(d().Exp_ValueIllegal)},e.formatNumberString=function(t,r,n){var a,i=t,o=0,s=0;if(2===arguments.length){for(var u="";o<i.length;o++)a=ee(i,o,1),u+=r[s=parseInt(a,10)];return u}if(3===arguments.length){if(!n)return e.formatNumberString(t,r);for(var l=0,c="",m=i.length,y=!1,h=[];o<m;o++){var f=n.length-1-o;f>-1?h.push(n[f].toString()):h.push(j._Empty)}for(var d=[],p=h.length-1;p>=0;p--)d[h.length-p-1]=h[p];h=d;var _=!1;for(p=0;p<m;p++){a=ee(i,p,1),s=parseInt(a,10);var g=void 0,M=j._Empty;m-p-16>0?(g=r[s],M="",_=!0):p!==m-1&&p!==m-5&&p!==m-9&&p!==m-13?"0"===a?(g="",M="",l+=1):"0"!==a&&0!==l?(g=r[0]+r[s],M=h[p],l=0):(g=r[s],M=h[p],l=0):"0"!==a&&0!==l?(g=r[0]+r[s],M=h[p],l=0):"0"!==a&&0===l||_?(g=r[s],M=h[p],l=0,_=!1):"0"===a&&l>=3?(g="",M="",l+=1):m>=11?(g="",l+=1):(g="",M=h[p],l+=1),g+M===j._Empty||(y=!1),p!==m-13||y||(M=h[p],y=!0),p!==m-9||y||(M=h[p],y=!0),p===m-1&&(M=h[p],y=!0),c=c+g+M}return 0===parseInt(t,10)?r[0]:c}},e}(),J=function(){function e(e,t,r,n,a,i){me.call(this,t,r,n,i);this._formatString=this._fixFormat(le(e)),this._absTimeParts=a,this._formatType=2,this._init()}return e.prototype._init=function(){var t={_value:this._formatString};if(e._evaluateFormat(t._value)){var r=this._processAMPM(t),n=A(this.cultureName).amDesignator&&A(this.cultureName).pmDesignator;if(this.hasJD=this._replace(t._value,g._monthJD,'"'+g._placeholderMonthJD+'"',!0,!1,t,!1),this._replace(t._value,g._monthUnabbreviated,"MMMM",!0,!1,t,!1),this._replace(t._value,g._monthAbbreviation,"MMM",!0,!1,t,!1),this._replaceMonth(t._value,t),this._replace(t._value,g._dayWeekDayAbbreviation,"ddd",!0,!0,t,!0),this._replace(t._value,g._dayWeekDayUnabbreviated,"dddd",!0,!0,t,!0),r&&n||(this._replace(t._value,g._hoursSingleDigit,"H",!0,!0,t,!1),this._replace(t._value,g._hoursTwoDigit,"HH",!0,!0,t,!1)),this._partDBNumberFormat&&(this._partLocaleID||I(this.cultureName).NumberFormat.dbNumber)&&(this._hasYearDelay=this._hasYearDelay||this._replace(t._value,g._yearFourDigit,'"@'+g._yearFourDigit+'"',!0,!1,t,!0),this._hasYearDelay=this._hasYearDelay||this._replace(t._value,g._yearTwoDigit,'"@'+g._yearTwoDigit+'"',!0,!1,t,!0)),this._absTimeParts)for(var a=0;a<this._absTimeParts.length;a++){var i=this._absTimeParts[a];this._replace(t._value,i._originalToken,"@"+i._originalToken,!0,!0,t,!0)}this._validDateTimeFormatString=t._value}else U()},e.prototype.formatString=function(){return this._formatString},e.prototype.format=function(e){var t=j._Empty,r=p;try{if((r=o._DateTimeHelper._DT(e))&&k(r.valueOf())&&(r=p),r?e=r:t=e.toString(),r){if(t=o._DateTimeHelper._customCultureFormat(r,this._validDateTimeFormatString,this._partLocaleID&&this._partLocaleID.cultureInfo()||I(this.cultureName),this._isShowEraFirstYear),this.hasJD){var n=I(this.cultureName).DateTimeFormat.monthNames[r.getMonth()];t=i._StringHelper._replace(t,g._placeholderMonthJD,ee(n,0,1))}if(this._absTimeParts)for(var a=24*(o._DateTimeHelper._toOADate(r)-o._DateTimeHelper._toOADate(g._defaultAbsoluteTime))*60*60*1e3,s=0;s<this._absTimeParts.length;s++){var u=this._absTimeParts[s],l=u._getTimeSpan(a);if(!O(l)){var c=u._originalToken.replace("[","\\[").replace("]","\\]"),m=u._originalToken.replace("[","").replace("]",""),y=i._StringHelper._padZeroLeft(l+"",m.length);t=i._StringHelper._replace(t,"@"+c,y)}}}}catch(r){t=te(e)}return function(e,t,r,n,a){var i=e;if(!O(n)&&t instanceof Date){var s=fe(r,n.type,a);if(!s)return e;i=n._replaceNumberString(i,s,!0),1===n.type&&(i=i.replace(RegExp("一十","g"),"十")),i=(i=i.replace("@"+g._yearFourDigit,o._DateTimeHelper._localeFormat(t,g._yearFourDigit))).replace("@"+g._yearTwoDigit,o._DateTimeHelper._localeFormat(t,g._yearTwoDigit)),i=n._replaceNumberString(i,s,!1)}return i}(t,e,this._partLocaleID,this._partDBNumberFormat,this.cultureName)},e.prototype.parse=function(e){if(!e||e===j._Empty)return p;var t=e,r=$(t);if("true"===r)return!0;if("false"===r)return!1;if(this._validDateTimeFormatString){var n=o._DateTimeHelper._parseExact(t,this._validDateTimeFormatString,I(this.cultureName));if(n)return n}try{var a=o._DateTimeHelper._DT(t);return a&&!k(a)?a:k((a=new Date(t)).valueOf())?t:a}catch(e){return t}},e.prototype._fixFormat=function(e){for(var t=e,r="",n=!1,a=0;a<t.length;a++){var i=t[a];if('"'===i)n=!n;else if(!n)if("Y"===i||"D"===i||"S"===i||"E"===i||"G"===i)i=$(i);else if("M"===i){var o=t[a-1];ue("A",o,!0)||ue("P",o,!0)||(i=$(i))}r+=i}return r},e.prototype._processAMPM=function(e){var t=A(this.cultureName).amDesignator,r=A(this.cultureName).pmDesignator,n=[g._aMPMTwoDigit];t&&r?n.push(t+"/"+r):n.push(g._aMPMTwoDigit),n.push(g._aMPMSingleDigit);for(var a=["tt","tt","t"],o=e._value,s=0;s<3;s++){if(i._StringHelper._contains(o,a[s]))return!0;if(i._StringHelper._contains(o,n[s],!0))return e._value=i._StringHelper._replace(o,n[s],a[s],!0),!0}return!1},e.prototype._replaceMonth=function(e,t){for(var r=function(e){for(var t=[],r=!1,n=!1,a="",i=function(e,t){return{type:e,content:t}},o=function(e){return!O(e)&&-1!=="yYdDhHmMsSeE".indexOf(e)},s=function(r,n){if(o(r)){for(var a=r,s=e[n+1];o(s)&&s.toLowerCase()===r.toLowerCase()&&(a+=s,n<e.length-1);)n++,s=e[n+1];t.push(i("symbolic",a))}else"a"===r&&"aaa"===e.slice(n,n+3).toLowerCase()?(t.push(i("symbolic",e.slice(n,n+3))),n+=2):t.push(i("text",r));return n},u=0;u<e.length;u++){var l=e[u];if(r)t.push(i("text","\\"+l)),r=!1;else if(n&&'"'!==l)a+=l;else switch(l){case"\\":r=!0;break;case'"':n&&(t.push(i("text",'"'+a+'"')),a=""),n=!n;break;default:u=s(l,u)}}return t}(e),n=-1,a=-1,i=0;i<r.length;i++){var o=r[i];"symbolic"===o.type?"m"===o.content[0].toLowerCase()?n>=0?(o.content=o.content.toLowerCase(),n=-1):(o.content=o.content.toUpperCase(),a=i):"s"===o.content[0].toLowerCase()?a>=0&&(r[a].content=r[a].content.toLowerCase(),a=-1):"h"===o.content[0].toLowerCase()?(n=i,a=-1):a=-1:a>=0&&i>0&&"0"===o.content&&"."===r[i-1].content&&i===a+2&&(r[a].content=r[a].content.toLowerCase())}t._value=r.map((function(e){return e.content})).join("")},e.prototype._replace=function(t,r,n,a,o,s,u){if(a||o){var l=[],c=!0;!e.hasDate(t)&&e.hasTime(t)&&(c=!1);for(var m=!1,y=0;y<t.length;y++){var h=t[y];if(e.hasTime(h)&&!m?c=!1:e.hasDate(h)&&!m&&(c=!0),a&&ue(h,r[0],u)&&c||o&&ue(h,r[0],u)&&!c){for(var f=!0,d=0;d<r.length;d++)if(d+y>=t.length||!ue(r[d],t[d+y],u)){f=!1;break}var p=y+r.length-1;if(f&&p+1<t.length){var _=t[p],g=-1;for(g=p+1;g<t.length&&ue(_,t[g],u);g++);g>p+1&&(y=g,f=!1)}f&&!m&&l.splice(0,0,y)}'"'===h&&(m=!m)}if(s._value=t,l.length>0){for(y=0;y<l.length;y++){var M=l[y];s._value=i._StringHelper._remove(s._value,M,r.length),s._value=i._StringHelper._insert(s._value,M,n)}return!0}return!1}return!1},e.hasTime=function(e){return i._StringHelper._indexOf(e,g._hoursSingleDigit[0],!0)>-1||i._StringHelper._indexOf(e,g._secondSingleDigit[0],!0)>-1},e.hasDate=function(e){return i._StringHelper._indexOf(e,g._yearTwoDigit[0],!0)>-1||i._StringHelper._indexOf(e,g._daySingleDigit[0],!0)>-1},e._evaluateFormat=function(e,t){return ce(e,t||M)},e}();t._NumberFormatDateTime=J;var X=function(){function e(e,t){ye.call(this,t);var r,n=$(e)[0];if("h"===n)r=3600;else if("m"===n)r=60;else{if("s"!==n)throw Error(d().Exp_TokenIllegal);r=1}this._getTimeSpan=function(e){var t=e/1e3/r;return Math.abs(t-Math.round(t))<1e-6?Math.round(t):Math.floor(t)}}return e.Name="ABSTimeFormatPart",e}(),V=function(){function e(e,t){ye.call(this,t);var r=x.exec(e);if(null!==r){var n=Number(r[1]);(n-=1)>=0&&n<D.length&&(e=D[n])}this.foreColor=e}return e.prototype.toString=function(){return ne(this.foreColor)},e.Name="ColorFormatPart",e}(),q=function(){function e(e,t,r,n){me.call(this,t,r,n);this._isGeneralNumber=!1,this._formatType=1,this._fullFormatString=ae(e);var a=le(e);if(t&&(a=oe(a,this._partLocaleID._originalToken,this._partLocaleID.currencySymbol())),(a=ae(a)).indexOf("/")>-1){var i=function(e,t){var r=[];if(e===p||""===e)return r;var n,a,i=!1,o=[],s=!1;for(n=0;n<e.length;n++)'"'!==(a=e[n])||i||(s=!s),i||s||a!==t?o.push(a):(r.push(o.join("")),o=[]),i="\\"===a&&!i;return r.push(o.join("")),r}(a,"/");if(i&&2===i.length){this._fractionDenominatorFormat=i[1];var o=i[0];if(o){var s=o.lastIndexOf(" ");s>-1?(this._fractionIntegerFormat=ee(o,0,s),this._fractionNumeratorFormat=ee(o,s+1,o.length-s-1)):this._fractionNumeratorFormat=o}}}this._numberFormatString=a}return e.prototype.formatString=function(){return this._fullFormatString},e.prototype.format=function(t){if(C(t,"boolean"))return t.toString().toUpperCase();var r=s._Types._toDouble(t);if(k(r)||!isFinite(r)||k(t))return"string"==typeof t?t:p;var n,a,i,o,u,l=I(this.cultureName);if(this._fractionNumeratorFormat&&this._fractionDenominatorFormat){var c={value:0},m={value:0},y={value:0},h=this._getDenominatorLength();if(e.getFraction(r,h,c,m,y)){var f=e.getGCD(m.value,y.value);if(f>1&&(m.value/=f,y.value/=f),this._fractionIntegerFormat){u="",1===y.value&&(c.value+=m.value,m.value=0,y.value=0);var d=H(P(c.value,this._fractionIntegerFormat,l));d&&"0"!==d&&(u+=d,u+=" "),0===c.value&&r<0&&(u+=l.NumberFormat.negativeSign),0===r&&(u+="0"),n=this._fractionDenominatorFormat,!k(a=parseFloat(n))&&a>0&&(0!==m.value&&0!==y.value&&(m.value*=a/y.value),y.value=a,n=n.replace(/^\d+/,e.toNumberPlaceholder(a)),o=(i=Math.ceil(m.value))-m.value,m.value=parseFloat(o<=.5&&o>=0?i.toString():""+(i-1)));var _=this._fractionNumeratorFormat,g=parseFloat(_);if(!k(g)&&0===g){var M=_.length,v=m.value.toString(),b=v.length;M>b?_=_.substr(0,M-(M-b)):M<b&&(v=v.substr(0,b-(b-M)),m.value=parseInt(v,10))}var F=this._getFormattedFractionString(m.value,y.value,_,n,l);return 0===m.value&&(F=F.replace(/./g," "),""===d)?"0 "+F:""===(u+=F)?"0":u}u="";var S=c.value*y.value+m.value;return n=this._fractionDenominatorFormat,(a=parseFloat(n))>0?(S*=a/y.value,y.value=a,u+=(S=parseFloat((o=(i=Math.ceil(S))-S)<=.5&&o>=0?i.toString():""+(i-1)))+"/"+y.value):u+=this._getFormattedFractionString(S,y.value,this._fractionNumeratorFormat,this._fractionDenominatorFormat,l),0===S?"0":u}return r.toString()}return function(e,t,r,n,a){if(!O(n)){var i=fe(r,n.type,a);if(!O(i)){for(var o=!1,s=void 0,u=I(a),l=void 0,c=0,m=e.length;c<m;c++)"decimalSeparator"===e[c].type&&(o=!0,e[c].value=n._replaceNumberString(e[c].value,i,t),s=e[c].value),"number"===e[c].type&&(e[c].value=o?n._replaceNumberString(s+e[c].value,i,t).slice(1):n._replaceNumberString(e[c].value,i,t),"ja-JP"===u.name()&&e[c].value.length>1&&("一千"!==(l=e[c].value.substr(0,2))&&"一百"!==l&&"一十"!==l||(e[c].value=e[c].value.substr(1))));return e}}return e}(P(r,this._numberFormatString,l),this._isGeneralNumber,this._partLocaleID,this._partDBNumberFormat,this.cultureName)},e.prototype.parse=function(e){if(!e||e===j._Empty)return p;var t=function(e){return e&&e.toUpperCase()}(e);if("TRUE"===t||t===B()&&B().boolean_true)return!0;if("FALSE"===t||t===B()&&B().boolean_false)return!1;var r="("===e.charAt(0)&&")"===e.charAt(e.length-1);r&&(e=e.substring(1,e.length-1));var n=this._fractionNumeratorFormat&&this._fractionDenominatorFormat,a=this._trimPercentSign(this._numberFormatString)._isPer;if(n||a){var o=0;if(n&&this._fractionIntegerFormat){var s=(e=e.trim()).lastIndexOf(" ");0<s&&s<e.length-1&&(o=parseInt(e.substr(0,s),10),e=e.substr(s+1))}var u=e.indexOf("/");if(0<u&&u<e.length-1){var l=e.substr(0,u),c=e.substr(u+1);if(!k(l)&&!k(c)){var m=parseInt(l,10),y=parseInt(c,10);if(!k(m)&&!k(y)&&0!==y)return o+m/y}}}e=this._trimSpecialSymbol(e),e=this._trimCurrencySymbol(e);var h=this._trimPercentSign(e),f=h._isPer,d=h._str;if(this._isValidNumberString(d)){d=i._StringHelper._replaceAllNoReg(d,R(this.cultureName).numberGroupSeparator,"",!1);var g=N._parseFloat(d,this.cultureName);if(!k(g)&&isFinite(g)){if(f&&(g=w(g/100,15)),r){if("-"===d.charAt(0)||"+"===d.charAt(0))return p;g=-1*_(g)}return g}}return p},e.prototype._getDenominatorLength=function(){var e=this._fractionDenominatorFormat,t=0;if(e)for(var r=e.length,n=0;n<r&&e[n].match(/[#?\d]/);n++)t++;return t},e.prototype._isValidNumberString=function(e){for(var t="",r=0,n=0,a=0,i=p,o=R(this.cultureName),s=e.length-1;s>-1;s--){if(e[s]===o.numberDecimalSeparator)r++,a>0&&(i=!1),t="";else if("e"===$(e[s])){if(n++,t="",s===e.length-1)return!1}else if(e[s]===o.numberGroupSeparator)i=3===t.length,a++,t="";else if("-"===e[s]||"+"===e[s]){if(s>0&&"e"!==$(e[s-1]))return!1}else{if(!L(e[s]))return!1;if(t+=e[s],0===s&&0===parseInt(t,10)&&i)return!1}if(r>1||n>1||!1===i)return!1}return!0},e.prototype._trimSpecialSymbol=function(e){for(var t=e,r=[],n=0;n<t.length;n++)L(t[n])&&r.push(n);for(var a=R(this.cultureName),o=[a.currencyDecimalSeparator,a.currencyGroupSeparator,a.currencySymbol,"$",a.nanSymbol,a.negativeInfinitySymbol,a.negativeSign,a.numberDecimalSeparator,a.numberGroupSeparator,a.percentDecimalSeparator,a.percentGroupSeparator,a.percentSymbol,a.perMilleSymbol,a.positiveInfinitySymbol,a.positiveSign],s=t.length-1;s>-1;s--){var u=t[s];if(G(u)&&o.indexOf(u.toString())<=-1)(s<r[0]||r[r.length-1]<s)&&(t=i._StringHelper._remove(t,s,1));else if("-"===u||"+"===u){var l=s>0?t[s-1].toString():p;if(["e","E","(",R(this.cultureName).currencySymbol,"$"].indexOf(l)<0)break}}return t},e.prototype._trimCurrencySymbol=function(e){if(i._StringHelper._startsWith(e,"$")){if((t=i._StringHelper._remove(e,0,1)).indexOf("$")<0)return t}else{var t,r=R(this.cultureName).currencySymbol;if("$"!==r&&i._StringHelper._startsWith(e,r)&&(t=i._StringHelper._remove(e,0,r.length)).indexOf(r)<0)return t}return e},e.prototype._trimPercentSign=function(e){var t=R(this.cultureName).percentSymbol,r=!0,n=e;return i._StringHelper._startsWith(e,t)?n=i._StringHelper._remove(e,0,t.length):i._StringHelper._endsWith(e,t)?n=i._StringHelper._remove(e,e.length-t.length,t.length):r=!1,i._StringHelper._contains(n,t)&&(r=!1),{_str:n,_isPer:r}},e.prototype._getFormattedFractionString=function(e,t,r,n,a){var i=H(P(e,r,a)),o=H(P("0."+t,"#."+n,a,!0)),s=a&&a.NumberFormat&&a.NumberFormat.numberDecimalSeparator||".",u=i+"/"+o.substr(o.indexOf(s)+1);return""===r&&(u=e+u),""===n&&(u+=t),u},e.getGCD=function(e,t){if(0===e)return _(t);if(0===t)return _(e);for(var r=Math.max(e,t),n=Math.min(e,t),a=r%n;0!==a;)a=(r=n)%(n=a);return _(n)},e.getFraction=function(e,t,r,n,a){var i=0,o=0,s=0,u=0,l=Math.ceil;e>0?1==(u=e-l(e)+1)?(u=0,i=e):i=l(e)-1:e<0&&(i=l(e),u=l(e)-e);var c=Math.pow(10,t-1),m=Math.pow(10,t)-1;c<2&&(c=2),m<2&&(m=2);for(var y=!1,h=0,f=c;f<=m;f++){var d=Math.round(f*u),p=d/f,g=_(p-u);if((!y||g<_(h-u))&&(y=!0,h=p,o=d,s=f,g<1e-6))break}return r.value=i,n.value=o,a.value=s,y},e.toNumberPlaceholder=function(e){return e.toString().replace(/\d/g,"?")},e}(),Q=function(){function e(t,r,n,a){me.call(this,r,n,a),arguments.length>0?(e._isValidNumberFormatString(t)||U(),this._fullFormatString=t):this._fullFormatString="General",this._formatType=0}return e._isValidNumberFormatString=function(e){for(var t="",r=!1,n=-1,a=e.length,i=0;i<a;i++){var o=e[i];'"'===o?n=(r=!r)?i:-1:r||(t+=o)}return n>0&&(t+=e.substring(n,a)),!(t.indexOf("0")>=0||t.indexOf("#")>=0||t.indexOf(".")>=0||t.indexOf("@")>=0)},e.prototype._getDigitalFormat=function(){if(!this._digitalFormat){var e=this._fullFormatString;e=oe(e,"General",E),this._digitalFormat=new q(e,this._partLocaleID,this._partDBNumberFormat,this.cultureName),this._digitalFormat._isGeneralNumber=!0}return this._digitalFormat},e.prototype._getExponentialDigitalFormat=function(){return this._exponentialDigitalFormat||(this._exponentialDigitalFormat=new q("0.#####E+00",this._partLocaleID,this._partDBNumberFormat,this.cultureName),this._exponentialDigitalFormat._isGeneralNumber=!0),this._exponentialDigitalFormat},e.prototype.formatString=function(){return i._StringHelper._replace(this._fullFormatString,"@NumberFormat","General")},e.prototype.format=function(e){if(s._Types._isNumber(e,this.cultureName)){var t=!this._partLocaleID||this._partLocaleID.allowScience(),r=s._Types._toDouble(e);if(void 0!==r&&r!==p)return _(r)>99999999999&&t||_(r)<1e-11&&0!==r?this._getExponentialDigitalFormat().format(e):this._getDigitalFormat().format(e)}else{if(C(e,"string")){var n=i._StringHelper._replace(this.formatString(),'"',"");return n=se(n),e}if(C(e,"boolean"))return e.toString().toUpperCase()}return""},e.prototype.parse=function(e){if(j._isNullOrEmpty(e))return p;if("number"==typeof e)return e;var t=!1,r=e.trim(),n=i._StringHelper._indexOf(r,"-",!1);n>0&&!ue(r.charAt(n-1),"E",!0)&&(t=!0);var a,s=I(this.cultureName),u=s.DateTimeFormat,c=u.dateSeparator,m=u.timeSeparator,y=u.monthNames,h=u.abbreviatedMonthNames,f=function(e,t){if(!t||0===t.length)return!1;for(var r=!1,n=0,a=t.length;n<a;n++)if(i._StringHelper._contains(e,t[n],!0)){r=!0;break}return r};if(t||i._StringHelper._contains(r,c,!1)||i._StringHelper._contains(r,m,!1)||i._StringHelper._contains(r,"/",!1)||i._StringHelper._contains(r,":",!1)||i._StringHelper._contains(r,"-",!1)||i._StringHelper._contains(r,"年",!1)||i._StringHelper._contains(r,"月",!1)||i._StringHelper._contains(r,"日",!1)||f(r,y)||f(r,h)||"ja-JP"===s.name()&&l._EraHelper._symbols.indexOf(r[0].toUpperCase())>=0&&i._StringHelper._contains(r,".",!1)){var d=o._DateTimeHelper._parseLocale(r);if(d)return d}var g,M="-"===r.charAt(0);if(M||"+"===r.charAt(0)){if("("===(r=i._StringHelper._remove(r,0,1)).charAt(0)&&")"===r.charAt(r.length-1))return e}else if("("===r.charAt(0)&&")"===r.charAt(r.length-1)&&(g=!0,"-"===(r=(r=r.substring(1,r.length-1)).trim()).charAt(0)||"+"===r.charAt(0)))return e;return(a=this._getDigitalFormat().parse(r))!==p&&void 0!==a?g&&C(a,"boolean")?e:(g||M)&&C(a,"number")?-1*_(a):a:e},e}(),Z=function(){function e(e,t,r,n){me.call(this,t,r,n);var a=le(e,!1);t&&(a=oe(a,this._partLocaleID._originalToken,this._partLocaleID.currencySymbol())),a=se(a=ae(a)),this._formatString=a,this._formatType=3}return e.prototype.format=function(e,t){try{var r;r=e instanceof Date?o._DateTimeHelper._toOADate(e).toString():te(e);var n=this._parseFormat(this._formatString);return this._toFormattedObject(r,n.formatTokens,e,n.hasAtPart,t)}catch(e){return""}},e.prototype.parse=function(e){return e||""},e.prototype.formatString=function(){return this._formatString},e.prototype._parseFormat=function(e){for(var t,r=[],n=!1,a="",i=!1,o=p,s=0;s<e.length;s++)t=e.charAt(s),i?('"'!==t?a+=t:(a+=t,r.push(a),a="",i=!1),o=t):"*"!==o&&"_"!==o&&"\\"!==o||""===a?"*"!==t&&"_"!==t&&"\\"!==t?"@"!==t?'"'!==t?(a+=t,o=t):(o=t,""!==a&&r.push(a),a=t,i=!0):(o=t,""!==a&&(r.push(a),a=""),r.push(t),n=!0):(o=t,""!==a&&(r.push(a),a=""),a+=t):(a+=t,r.push(a),a="");return""!==a&&r.push(a),{formatTokens:r,hasAtPart:n}},e.prototype._toFormattedObject=function(e,t,r,n,a){var i=[],o=!1;if("string"!=typeof r||n||a)for(var s=t.length-1;s>=0;s--){var u=t[s];"*"===u[0]?o||(o=!0,i.push({type:"fillingChar",value:u[1]})):"_"===u[0]?i.push({type:"placeholder",value:u[1]}):'"'===u[0]&&'"'===u[u.length-1]?u.length>=2&&i.push({type:"text",value:u.substr(1,u.length-2)}):"\\@"===u?i.push({type:"text",value:"@"}):"@"===u[0]?i.push({type:"text",value:e}):i.push({type:"text",value:u})}else i.push({type:"text",value:r});return i.reverse()},e}();function ee(e,t,r){return e.substr(t,r)}function te(e){return s._Types._isNullOrUndefined(e)?"":"boolean"==typeof e?e?"TRUE":"FALSE":"string"==typeof e?e:e.toString()}function re(e,t){if("\\"===e[t])throw Error(d().Exp_InvalidBackslash);if(t-1>0&&t-1<e.length&&"\\"===e[t-1]){if(t-2<0)return!0;if(t-2>0&&t-2<e.length)return"\\"!==e[t-2]}return!1}function ne(e){if(!e)throw Error(d().Exp_TokenIsNull);return"["+e+"]"}function ae(e){if(void 0===e||e===p||""===e)return e;for(var t="",r=0,n=!1,a=0;a<e.length;a++){var i=e[a];'"'===i?(n=!n,t+=i):n?t+=i:"["===i?r++:"]"===i?--r<0&&(r=0):0===r&&(t+=i)}return t.toString()}function ie(e){return e=oe(e,"[",""),oe(e,"]","")}function oe(e,t,r){return!e||e===j._Empty||ue(t,r,!0)?e:(t=t.replace(F,"\\$1"),e.replace(RegExp(t,"g"),r))}function se(e){for(var t=e.length,r=!1,n="",a=0;a<t;a++){var i=e.charAt(a);"\\"===i?(r=!r)&&"@"!==e.charAt(a+1)||(n+=i):(r=!1,n+=i)}return n}function ue(e,t,r){return r?$(e)===$(t):e===t}function le(e,t){1===arguments.length&&(t=!0);for(var r=!1,n="",a=0;a<e.length;a++){var i=e[a];if('"'===i)r=!r;else if(!r&&!t&&"/"===i&&!re(e,a))continue;n+=i}return n}function ce(e,t){if(!e||e===j._Empty)return!1;for(var r=function(e){for(var t="",r=!1,n=0,a=e.length;n<a;n++){var i=e[n];'"'===i&&(r=!r),"E"===i||r||(t+=$(i))}return t}(le(e)),n=0;n<t.length;n++){var a=r.indexOf(t[n]);if(0===a||a>0&&"_"!==r[a-1]&&"*"!==r[a-1])return!0}return!1}function me(e,t,r,n){this._partLocaleID=e,this._partDBNumberFormat=t,this.cultureName=r,this._isShowEraFirstYear=n}function ye(e){this._originalToken=e}function he(e){var t,r=ie(e);if(!r||r===j._Empty)return t;var n=r[0];return["<",">","="].indexOf(n)>-1?(t=K).Name="ConditionalFormatPart":i._StringHelper._startsWith(r,"DBNum",!0)?(t=W).Name="DBNumberFormatPart":ue(r[0],"$",!1)&&r.indexOf("-")>-1?(t=Y).Name="LocaleIDFormatPart":function(e){var t=$(e),r=t[0];if("h"!==r&&"m"!==r&&"s"!==r)return!1;for(var n=1;n<t.length;n++)if(r!==t[n])return!1;return!0}(r)?(t=X).Name="ABSTimeFormatPart":r.indexOf("$")<0&&r.length>=3&&((t=V).Name="ColorFormatPart"),t}function fe(e,t,r){var n;if(n=e?e.cultureInfo():I(r),t<4||4===t&&("ko-kr"===r||"ko-kr"===n.name())){var a=n.NumberFormat.dbNumber;if(a)return a[t]}return p}var de=function(){function e(e,t){0===arguments.length?(this.formatCached="General",this._numberFormat=new Q):this._init(e,t)}return e.prototype._init=function(t,r){t!==p&&void 0!==t||U();var n=t;this.formatCached=t;for(var a="",i="",o=!1,s=!1,u=!1,c=[],m=0;m<t.length;m++){var y=t[m];if('"'===y)s=!s,i+=y;else if(s)i+=y;else if("["===y)o&&U(),i&&(a||(a=""),a+=i),i=y.toString(),o=!0;else if("]"===y){if(o||U(),i){var h=(i+=y).toString(),f=he(i.toString());if(f)"ABSTimeFormatPart"===f.Name?(c.push(new f(e.preProcessPart(h),h)),a+=i):h===l._EraHelper.eraExcelFormatter?(this.addPart(f,l._EraHelper.eraInternalFormatter),u=!0):this.addPart(f,h);else{var d=e.partToNormalStr(h);a+=d,n=oe(t,h,d)}i=""}else U();o=!1}else i+=y}i?o?U():a+=i:a||(a=this._getDBNumberDefaultFormat()),this.localeIDFormatPart&&(r=this.localeIDFormatPart.cultureInfo().name());var _=function(e,t){var r,n=!1;return ce(e=e?e.toString():j._Empty,["general"])?r=Q:J._evaluateFormat(e)?r=J:ce(e,["E+","E-","#",".",",","%","0","/","?"])||t?(n=!0,r=q):(n=!0,r=Z),{_isDigitalOrText:n,_type:r}}(a,this.conditionalFormatPart),g=_._type,M=_._isDigitalOrText?n:a;g?this._numberFormat=new g(M,this.localeIDFormatPart,this.dbNumberFormatPart,r,c.length>0?c:p,u):U()},e.prototype._getDBNumberDefaultFormat=function(){var t=this,r="";return t.dbNumberFormatPart&&(e.proNames.some((function(e){return"dbNumberFormatPart"!==e&&t[e]}))||(r="General")),r},e.prototype.formatString=function(){for(var t="",r=0,n=e.proNames.length;r<n;r++){var a=e.proNames[r];this[a]&&(t+=this[a].toString())}return t+this._numberFormat.formatString()},e.prototype.addPart=function(t,r){for(var n=e.proNames,a=e.preProcessPart(r),i=0,o=n.length;i<o;i++){var s=n[i];if(ue(s,t.Name,!0)){if(this[s])throw Error(d().Exp_DuplicatedDescriptor);this[s]=new t(a,r)}}},e.prototype.format=function(e,t){return this._numberFormat.format(e,t)},e.prototype.parse=function(e){return this._numberFormat.parse(e)},e.checkFormatter=function(e){if(!e||e===j._Empty)throw Error(d().Exp_TokenIllegal)},e.preProcessPart=function(t){e.checkFormatter(t);var r=ie(t);return e.checkFormatter(r),r},e.partToNormalStr=function(t){var r=e.preProcessPart(t);return"$"===r[0]&&(r=r.slice(1)),'"'+r+'"'},e.proNames=["colorFormatPart","conditionalFormatPart","dbNumberFormatPart","localeIDFormatPart"],e}(),pe=function(e){function t(t,r){var n=e.call(this,t,r)||this,a=n;return a._isSingleFormatterInfo=!0,a.PropertyChanged=[],j._isNullOrEmpty(t)&&(t="General"),a.formatCached=t,a.cultureName=r,a.init(),n}return a(t,e),t.prototype.toJSON=function(){var e={formatCached:this.formatCached};return this.cultureName&&(e.customerCultureName=this.cultureName),"general"===$(this.formatCached)&&delete e.formatCached,e},t.prototype.hasFormattedColor=function(){for(var e in v)if(v.hasOwnProperty(e)){var t=this.getFormatter(v[e]);if(t&&t.colorFormatPart)return!0}return!1},t.prototype.formatString=function(e){if(0===arguments.length){for(var t=j._Empty,r=0,n=this.formatters.length;r<n;r++){t+=this.formatters[r].formatString(),r!==n-1&&(t+=";")}return t}if(!e)throw Error(d().Exp_ValueIsNull);return this.formatters=p,this.formatCached=e,this.init(),this._raisePropertyChanged("formatString"),this},t.prototype.getFormatter=function(e){return this.formatters&&this.formatters[e]},t.prototype.getPreferredEditingFormatter=function(e){var r,n=A(this.cultureName),a=R(this.cultureName),i=t.defFormatter;if(C(e,"TimeSpan"))return i(n.longTimePattern);if(C(e,"DateTime")){var o=0===e.getHours()&&0===e.getMinutes()&&0===e.getSeconds()&&0===e.getMilliseconds()?"":" h:mm:ss";return i(n.shortDatePattern+o)}if(s._Types._isNumber(e,this.cultureName)){var u=s._Types._toDouble(e);return i(u>=1e21||u<=1e-17&&u>0||u<=-1e21||u<0&&u>=-1e-17?null!==(r=a.scientificNotation)&&void 0!==r?r:"0.##############E+00":E)}return i("General")},t.prototype.getPreferredDisplayFormatter=function(e,r){var n=t.defFormatter;if(r||(r={value:p}),r.value=p,j._isNullOrEmpty(e))return new t;var a=e,u=r.value=this.parse(a);if(C(u,"DateTime")||C(u,"TimeSpan")){var l={pattern:S,formatter:["d-mmm","mmm-yy",A().shortDatePattern,"h:mm","h:mm:ss","h:mm:ss.0","h:mm:ss tt",A().shortDatePattern+" h:mm",A().shortDatePattern+" h:mm:ss",A().shortDatePattern+" h:mm:ss.0"]},c=l.pattern,m=l.formatter,y=I(this.cultureName),h=y.DateTimeFormat,f=h.preselectedFormatters;if(f.length>0&&(c=c.concat([f]),m=m.concat([f[0]])),"ja-JP"===y.name()){c=c.concat([h.eraFormatter]),m=m.concat(["ge.M.d"]);var d=y._eraFormatter.filter((function(e){return"ggge"===e.substr(0,4)}));c=c.concat([d]),m=m.concat(['ggge"年"M"月"d"日']);var _=y._eraFormatter.filter((function(e){return"gge"===e.substr(0,3)}));c=c.concat([_]),m=m.concat(['gge"年"M"月"d"日']);var g=y._eraFormatter.filter((function(e){return"ge"===e.substr(0,2)}));c=c.concat([g]),m=m.concat(['ge"年"M"月"d"日'])}for(var M=0;M<c.length;M++)for(var v=c[M],b=0;b<v.length;b++){var F=v[b],D=o._DateTimeHelper._parseLocale(e,F);if(D&&D-u==0)return new t(m[M])}}else if(s._Types._isNumber(u,this.cultureName)){var x=R(this.cultureName),T=x.currencySymbol,N=x.numberDecimalSeparator,E=x.percentSymbol,H=x.numberGroupSeparator,P=i._StringHelper._contains,w=P(a,N)?".00":"";if(a[0]===T)return n(j._format("{0}#,##0{1};[Red]({0}#,##0{1})",T,w));if(P(a,"E",!0))return n("0.00E+00");if(a[0].toString()===E||a[a.length-1].toString()===E)return n(j._format("0{0}%",w));if(P(a,H))return n(j._format("#,##0{0}",w))}return n("General")},t.prototype.format=function(e,t){if(C(e,"boolean"))return B()&&(e=e?B().boolean_true:B().boolean_false),e.toString().toUpperCase();var r,n=0,a=this._getFormatInfo(e);if(a){var i=a.colorFormatPart;t&&i&&(t.conditionalForeColor=t.value=i.foreColor),(r=s._Types._isNumber(e,this.cultureName))&&(n=s._Types._toDouble(e));var o=j._Empty;try{if(r&&a===this.getFormatter(v._negative)&&0!==this.expressionNumber)(o=a.format(a.considerNegSymbol?n:_(n)))===p&&C(e,"string")&&(o=e);else if(void 0===(o=a.value)){var u=!this._isSingleFormatterInfo&&a===this.getFormatter(v._text);o=a.format(e,r||u)}t&&(t.content=T(o)?o:[{type:"text",value:o}]),T(o)&&(o=N._formatObjectToString(o))}catch(t){C(e,"string")&&(o=e.toString())}return o}return r&&n<0?"-":C(e,"string")?e.toString():void 0===e||e===p?j._Empty:e.toString()},t.prototype.parse=function(e){return this.formatters&&this.formatters.length>0?this.formatters[0].parse(e):p},t.prototype.init=function(){var e=this.formatCached;j._isNullOrEmpty(e)&&U(),this.formatters=[];var t=function(e){for(var t=[],r=0,n=0,a=e.length,i=0;i<a;i++)"_"===e[i]?r++:(";"!==e[i]||0!==r&&r%2!=0||(t.push(e.substring(n,i)),n=i+1),r=0);return n<=a&&t.push(e.substring(n,a)),t}(e);this._isSingleFormatterInfo=1===t.length,(!t||t.length<1||t.length>4)&&U();for(var r=0;r<t.length;r++){-1!==t[r].indexOf("@")&&-1===t[r].indexOf("\\@")&&(r!==t.length-1?U():this.hasAt=!0);var n=new de(t[r],this.cultureName);this.formatters.push(n)}this.getFormatter(v._positive)||U(),this._refreshFormatPart()},t.prototype._refreshFormatPart=function(){this.expressionNumber=this.formatters.length-(this.hasAt?1:0);var e=(0===this.expressionNumber?1:this.expressionNumber)-1;v=s._Types._extend({},b[e]),this.hasAt&&0!==this.expressionNumber&&(v._text=this.formatters.length-1)},t.prototype._getFormatInfo=function(e){this._refreshFormatPart();var t=this.getFormatter(v._positive),r=t&&t.conditionalFormatPart,n=this.getFormatter(v._text);if(r&&(v._zero=2,this.hasAt||(v._text=3)),"string"==typeof e&&k(e))return n||(r?e:t);if(s._Types._isNumber(e,this.cultureName)||C(e,"boolean")){var a=this.getFormatter(v._negative),i=this.getFormatter(v._zero),o=s._Types._toDouble(e),u=r&&t.conditionalFormatPart.isMeetCondition(o),l=a&&a.conditionalFormatPart,c=l&&a.conditionalFormatPart.isMeetCondition(o),m=void 0;if(this._isSingleFormatterInfo||(r?u:o>0||0===o&&!i))m=t;else if(l?c:o<0)m=a;else if(i)m=i;else if(a){if(r&&l)return{value:o+""};m=a}return m&&(!r||l||m!==a||i||(m.considerNegSymbol=!0),r&&l&&m===a&&a.conditionalFormatPart&&a.conditionalFormatPart.isMeetCondition(1e-10)&&(m.considerNegSymbol=!0),this.expressionNumber<=1&&(m.considerNegSymbol=!0)),m}return p},t.prototype._raisePropertyChanged=function(e){if(this.PropertyChanged)for(var t=0;t<this.PropertyChanged.length;t++){var r=this.PropertyChanged[t];"function"==typeof r&&r(this,e)}},t.defFormatter=function(e){var r=t[e];return r||(r=new t(e),t[e]=r),r},t.test=function(e){var t=!0;try{var r=new y.Lexer(e);new h.Parser(r).parse()}catch(e){t=!1}return t},t}(z);t.GeneralFormatter=pe},826:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=t.BACKSLASH=t.UNDERLINE=t.ASTERISK=t.DOUBLE_QUOTE=t.SEMICOLON=void 0,t.SEMICOLON=";",t.DOUBLE_QUOTE='"',t.ASTERISK="*",t.UNDERLINE="_",t.BACKSLASH="\\";t.throwError=function(){throw Error("Invalid Number Format")}},810:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Lexer=void 0;var n=r(826),a=function(e){return!!["0","#","?",".","%",",","/",n.BACKSLASH,n.ASTERISK,n.UNDERLINE,"@"].find((function(t){return t===e}))},i=function(e){return[n.BACKSLASH,n.ASTERISK,n.UNDERLINE].find((function(t){return t===e}))},o=function(e,t){return{type:e,value:t}},s=function(){function e(e){this._tokens=[],this._input=e,this._tokenize()}return e.prototype._tokenize=function(){for(var e=0,t=this._input;e<t.length;e++){var r=t[e];if(a(r)){if(i(r)){this._tokens.push(o("symbol",r)),e<t.length-1&&(this._tokens.push(o("char",t[e+1])),e++);continue}this._tokens.push(o("symbol",r))}else if(r!==n.SEMICOLON){if(r===n.DOUBLE_QUOTE){var s=t.slice(e+1).search(n.DOUBLE_QUOTE);if(-1!==s){s=s+e+1,this._tokens.push(o("text",t.slice(e+1,s))),e=s;continue}(0,n.throwError)()}this._tokens.push(o("char",r))}else this._tokens.push(o("semicolon",r))}this._tokens.push(o("EOF",""))},e.prototype._nextToken=function(){return this._tokens.shift()},e}();t.Lexer=s},61:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var n=r(826),a=function(){function e(e){this._lexer=e,this._currentToken=e._nextToken()}return e.prototype._eat=function(e){this._currentToken.type===e?this._currentToken=this._lexer._nextToken():(0,n.throwError)()},e.prototype.parse=function(){for(var e=[];"EOF"!==this._currentToken.type;)e.push(this._parseFormatPart()),e.length>4&&(0,n.throwError)();return{type:"numberFormat",body:e}},e.prototype._parseFormatPart=function(){for(var e=[];"semicolon"!==this._currentToken.type&&"EOF"!==this._currentToken.type;){"symbol"===this._currentToken.type?e.push(this._parseSymbol()):e.push(this._parseCharOrString())}return"semicolon"===this._currentToken.type&&this._eat("semicolon"),{type:"formatPart",body:e}},e.prototype._parseSymbol=function(){var e,t=this._currentToken.value;return t===n.ASTERISK?(this._eat("symbol"),e={type:"asterisk",body:this._currentToken.value},this._eat("char")):t===n.BACKSLASH?(this._eat("symbol"),e={type:"char",body:this._currentToken.value},this._eat("char")):t===n.UNDERLINE?(this._eat("symbol"),e={type:"underline",body:this._currentToken.value},this._eat("char")):(e={type:"symbol",body:this._currentToken.value},this._eat("symbol")),e},e.prototype._parseCharOrString=function(){var e,t=this._currentToken.type;return"char"===t?(e={type:"char",body:this._currentToken.value},this._eat("char")):"text"===t&&(e={type:"text",body:this._currentToken.value},this._eat("text")),e},e}();t.Parser=a},736:function(e){e.exports=canvas}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var i=r[e]={exports:{}};return t[e].call(i.exports,i,i.exports,n),i.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}();var a={};!function(){var e=a;Object.defineProperty(e,"__esModule",{value:!0}),e.Formatter=e.Commands=e.Common=void 0;var t=n(38);e.Common=t;var r=n(814);e.Commands=r;var i=n(569);e.Formatter=i}(),(e=void 0===e?{}:e).Spread=a}()},372:()=>{var e;!function(){"use strict";var t={38:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.UserManagerEvent=t.UserManager=t.UUIDGenerator=t._getSR=t.rbush=t.CultureManager=t.CultureInfo=t._StringHelper=t._RegexHelper=t._NumberHelper=t._DateTimeHelper=t._ArrayHelper=t._Types=t._ColorHelper=void 0;var i=r(395);Object.defineProperty(t,"_ColorHelper",{enumerable:!0,get:function(){return i._ColorHelper}});var o=r(534);Object.defineProperty(t,"_Types",{enumerable:!0,get:function(){return o._Types}});var s=r(305);Object.defineProperty(t,"_ArrayHelper",{enumerable:!0,get:function(){return s._ArrayHelper}});var u=r(97);Object.defineProperty(t,"_DateTimeHelper",{enumerable:!0,get:function(){return u._DateTimeHelper}}),Object.defineProperty(t,"_getSR",{enumerable:!0,get:function(){return u.getSR}});var l=r(844);Object.defineProperty(t,"_NumberHelper",{enumerable:!0,get:function(){return l._NumberHelper}});var c=r(576);Object.defineProperty(t,"_RegexHelper",{enumerable:!0,get:function(){return c._RegexHelper}});var m=r(480);Object.defineProperty(t,"_StringHelper",{enumerable:!0,get:function(){return m._StringHelper}});var y=r(674);Object.defineProperty(t,"rbush",{enumerable:!0,get:function(){return y.rbush}});var h=r(818),f=r(479);Object.defineProperty(t,"UUIDGenerator",{enumerable:!0,get:function(){return f.UUIDGenerator}}),Object.defineProperty(t,"HandleExcelSpecialDate",{set:function(e){h.HandleExcelSpecialDate=e},get:function(){return h.HandleExcelSpecialDate}}),a(r(818),t);var d=r(286);Object.defineProperty(t,"CultureInfo",{enumerable:!0,get:function(){return d.CultureInfo}}),Object.defineProperty(t,"CultureManager",{enumerable:!0,get:function(){return d.CultureManager}}),a(r(646),t);var p=r(561);Object.defineProperty(t,"UserManager",{enumerable:!0,get:function(){return p.UserManager}}),Object.defineProperty(t,"UserManagerEvent",{enumerable:!0,get:function(){return p.UserManagerEvent}})},286:function(e,t,r){var n,a=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.CultureManager=t._EraHelper=t.CultureInfo=t.TimelineDateOrder=void 0;var i,o=r(534),s=r(818),u=r(305),l=r(576),c="undefined"!=typeof window?window:r.g,m=o._Types._each,y=o._Types._extend,h=(new Date).getFullYear(),f=["MM/dd/yyyy","MM/d/yyyy","M/dd/yyyy","M/d/yyyy","yy/MM/dd","yy/MM/d","yy/M/dd","yy/M/d","yyyy/MM/dd","yyyy/MM/d","yyyy/M/dd","yyyy/M/d"],d=["hh:mm:ss","hh:mm:s","hh:m:ss","hh:m:s","h:mm:ss","h:mm:s","h:m:ss","h:m:s","hh:mm:ss tt","hh:mm:s tt","hh:m:ss tt","hh:m:s tt","h:mm:ss tt","h:mm:s tt","h:m:ss tt","h:m:s tt","hh:mm","hh:m","h:mm","h:m","hh:mm tt","hh:m tt","h:mm tt","h:m tt"],p=["MM-dd-yyyy","MM-d-yyyy","M-dd-yyyy","M-d-yyyy","yy-MM-dd","yy-MM-d","yy-M-dd","yy-M-d","yyyy-MM-dd","yyyy-MM-d","yyyy-M-dd","yyyy-M-d","dd-MMMM-yy","dd-MMM-yy"],_=f.concat(d);function g(e){return e.split(" ").join(" ").toUpperCase()}function M(e){for(var t=[],r=0,n=e.length;r<n;r++)t[r]=g(e[r]);return t}function v(e,t,r){var n=g(e),a=t.indexOf(n);return-1===a&&(a=r.indexOf(n)),a}function b(e){if(e){var t=e.charCodeAt(0);if(t>=11904&&t<12032||t>=8208&&t<8252||t>=12288&&t<40960||t>=43360&&t<43392||t>=44032&&t<55215||t>=63744&&t<64256||t>=65280&&t<65535)return!0}return!1}function F(e,t,r){if(" "===e||r&&" "===e)return 0;var n=r&&r(e);return t.lineBreakingForbidStart&&-1!==t.lineBreakingForbidStart.indexOf(e)?!r||n?7:6:t.lineBreakingForbidEnd&&-1!==t.lineBreakingForbidEnd.indexOf(e)?!r||n?5:4:n?2:t.lineBreakingChar&&-1!==t.lineBreakingChar.indexOf(e)?3:1}m(f,(function(e,t){m(d,(function(e,r){e<d.length-4&&_.push(t+" "+r)}))})),_=_.concat(p),m(p,(function(e,t){m(d,(function(e,r){e<d.length-4&&_.push(t+" "+r)}))})),function(e){e[e.year=1]="year",e[e.quarterOrMonth=2]="quarterOrMonth",e[e.date=3]="date"}(i=t.TimelineDateOrder||(t.TimelineDateOrder={}));var S={"00":1,"01":1,"02":1,"03":1,"04":1,"05":1,"06":1,"07":1,12:1,15:1,21:1,22:1,23:1,24:1,25:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,62:1,65:1,71:1,72:1,73:1,74:1,75:1};function D(e,t,r){if(!e)return[];for(var n=[e[0]],a=0,i=F(e[0],t,r),o=1;o<e.length;o++){var s=F(e[o],t,r);S[i+""+s]&&void 0===n[++a]&&(n[a]=""),n[a]+=e[o],i=s}return n}var x=function(){function e(){this.NumberFormat={currencyDecimalDigits:2,currencyDecimalSeparator:".",currencyGroupSeparator:",",currencyGroupSizes:[3],currencyNegativePattern:0,currencyPositivePattern:0,currencySymbol:"¤",digitSubstitution:1,isReadOnly:!0,numberGroupSizes:[3],nanSymbol:"NaN",nativeDigits:["0","1","2","3","4","5","6","7","8","9"],numberNegativePattern:1,negativeInfinitySymbol:"-Infinity",negativeSign:"-",numberDecimalDigits:2,numberDecimalSeparator:".",numberGroupSeparator:",",positiveInfinitySymbol:"Infinity",positiveSign:"+",percentDecimalDigits:2,percentDecimalSeparator:".",percentGroupSeparator:",",percentGroupSizes:[3],percentNegativePattern:0,percentPositivePattern:0,percentSymbol:"%",perMilleSymbol:"‰",listSeparator:",",arrayListSeparator:",",arrayGroupSeparator:";",dbNumber:{},standardDictionaryNumbers:{Hundreds:"Hundreds",Thousands:"Thousands",Millions:"Millions",Billions:"Billions",Trillions:"Trillions"},scientificNotation:"0.##############E+00"},this.DateTimeFormat={abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],abbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],amDesignator:"AM",calendarIsReadOnly:!0,calendarWeekRule:0,Calendar:{MinSupportedDateTime:"@-62135568000000@",MaxSupportedDateTime:"@253402300799999@",AlgorithmType:1,CalendarType:1,Eras:[1],TwoDigitYearMax:2029,isReadOnly:!0},dateSeparator:"/",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],defaultDatePattern:"MM/dd/yyyy H:mm:ss",firstDayOfWeek:0,fullDateTimePattern:"dddd, dd MMMM yyyy HH:mm:ss",longDatePattern:"dddd, dd MMMM yyyy",longTimePattern:"HH:mm:ss",monthDayPattern:"MMMM dd",monthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],nativeCalendarName:"Gregorian Calendar",pmDesignator:"PM",rfc1123Pattern:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",shortDatePattern:"MM/dd/yyyy",shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],shortTimePattern:"HH:mm",sortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",timeSeparator:":",universalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",yearMonthPattern:"yyyy MMMM",filterDialogDateFormatter:"yyyy/mmmm/dd",preselectedFormatters:[],eraFormatter:["ge/M/d","ge-M-d","ge.M.d","gee/MM/dd"]},this.name=function(){return""},this.id=-1,this.LocalNumberFormat={},this.displayName="",this.fontScriptCode=void 0,this.predefinedFormats={},this.TimelineDateOrder=[i.quarterOrMonth,i.date,i.year],this.TimelineDateSuffix={year:"",quarter:"",month:"",date:""},this.TextFormat={lineBreakingChar:[" ","-"]},this.equalCharacters=void 0}return e.prototype._getDistributedBreakingChar=function(){return[" "]},e.prototype._getDistributedWords=function(e){var t={lineBreakingChar:this._getDistributedBreakingChar()};return this.TextFormat&&this.TextFormat.lineBreakingStrategy?this.TextFormat.lineBreakingStrategy(e,t):D(e,t)},e.prototype._getTextWords=function(e){if(this.TextFormat&&this.TextFormat.lineBreakingStrategy){var t={lineBreakingChar:this.TextFormat.lineBreakingChar,lineBreakingForbidEnd:this.TextFormat.lineBreakingForbidEnd,lineBreakingForbidStart:this.TextFormat.lineBreakingForbidStart};return this.TextFormat.lineBreakingStrategy(e,t)}return D(e,this.TextFormat||{lineBreakingChar:[" ","-"]})},e.prototype._getDateTimePattern=function(){if(!this._dateTimeFormatPattern){var e=this.DateTimeFormat,t=e.shortDatePattern.replace(/m/g,"M"),r=[t,t+" h:mm",t+" h:mm:ss",t+" h:mm:ss.0","MMMdd","MMMd","MMM dd","MMM d"];if(r=r.concat(_),1041===this.id){var n=e.eraFormatter;r=(r=r.concat(this._eraFormatter)).concat(n)}r=r.concat(e.preselectedFormatters),this._dateTimeFormatPattern=r}return this._dateTimeFormatPattern},e.prototype._getMonthIndex=function(e){return this._upperMonths||(this._upperMonths=M(this.DateTimeFormat.monthNames),this._upperMonthsGenitive=M(this.DateTimeFormat.monthGenitiveNames)),v(e,this._upperMonths,this._upperMonthsGenitive)},e.prototype._getAbbrMonthIndex=function(e){return this._upperAbbrMonths||(this._upperAbbrMonths=M(this.DateTimeFormat.abbreviatedMonthNames),this._upperAbbrMonthsGenitive=M(this.DateTimeFormat.abbreviatedMonthGenitiveNames)),v(e,this._upperAbbrMonths,this._upperAbbrMonthsGenitive)},e.prototype._getDayIndex=function(e){return this._upperDays||(this._upperDays=M(this.DateTimeFormat.dayNames)),this._upperDays.indexOf(g(e))},e.prototype._getAbbrDayIndex=function(e){return this._upperAbbrDays||(this._upperAbbrDays=M(this.DateTimeFormat.abbreviatedDayNames)),this._upperAbbrDays.indexOf(g(e))},e}();t.CultureInfo=x;var C=function(){function e(){}return e._isValidEraDate=function(t){return t>=e._getEraMin()&&t<=e._getEraMax()},e._getEraDates=function(){var e=x.eras;if(void 0!==e){for(var t=[],r=0;r<e.length;r++)t[r]=new Date(e[r].startDate.replace(/-/g,"/"));return t}return this._EraDates},e._getEraPropByFormat=function(t){var r,n;switch(t){case"g":r="symbol",n=e._symbols;break;case"gg":r="abbreviation",n=e._abbreviations;break;case"ggg":r="name",n=e._names;break;default:return[]}var a=x.eras,i=[];if(void 0!==a){for(var o=0;o<a.length;o++)i[o]=a[o][r];return i}return n},e._getEraMax=function(){var e=x.eras;if(void 0!==e&&e.length>0){var t=new Date(e[e.length-1].startDate.replace(/-/g,"/"));return t.setFullYear(t.getFullYear()+99),t}return this._EraMax},e._getEraMin=function(){var e=x.eras;return void 0!==e&&e.length>0?new Date(e[0].startDate.replace(/-/g,"/")):this._EraMin},e._getEraCount=function(){var e=x.eras;return void 0!==e?e.length:this._EraCount},e._getEraYears=function(){var e=x.eras;if(void 0!==e){for(var t=[],r=1;r<e.length;r++){var n=new Date(e[r-1].startDate.replace(/-/g,"/")),a=new Date(e[r].startDate.replace(/-/g,"/"));t[r-1]=a.getFullYear()-n.getFullYear()+1}return t[r-1]=99,t}return this._EraYears},e._getEraDate=function(t){var r={_era:-1,_eraYear:-1};if(!e._isValidEraDate(t)){if(!(t>e._getEraMax()))return r;t=e._getEraMax()}for(var n=0;n<e._getEraCount();n++){if(t<(n+1!==e._getEraCount()?e._getEraDates()[n+1]:e._addMilliseconds(e._getEraMax(),1))){r._era=n,r._eraYear=t.getFullYear()-e._getEraDates()[n].getFullYear()+1;break}}return r},e._addMilliseconds=function(e,t){var r=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds());return r.setMilliseconds(r.getMilliseconds()+t),new Date(r.valueOf())},e._getYearFromEra=function(t,r){return e._getEraDates()[t].getFullYear()+r-1},e._parseEraPart=function(t,r){r=r.toUpperCase();for(var n=e._getEraPropByFormat(t),a=0;a<n.length;a++)if(n[a]===r)return a;return-1},e._formatEraPart=function(t,r,n){var a=e,i=a._getEraDate(r),o=i._era;if(o>=0){var s=a._getEraPropByFormat(t);if(s.length>0)return s[o]}var u=i._eraYear;if(u>=0){var l=u.toString();if("1"===l&&n)return"元";if("ee"===t)return 1===l.length&&(l="0"+l),l;if("e"===t)return l}return""},e._EraDates=[new Date(1868,8,8),new Date(1912,6,30),new Date(1926,11,25),new Date(1989,0,8),new Date(2019,4,1)],e._EraCount=5,e._EraYears=[45,15,64,31,99],e._EraMax=new Date(2117,11,31,23,59,59),e._EraMin=new Date(1868,8,8),e._shortcuts=["1,m","2,t","3,s","4,h","5,r"],e._EraIndices=[0,1,2,3,0,1,2,3],e._names=["明治","大正","昭和","平成","令和"],e._symbols=["M","T","S","H","R"],e._abbreviations=["明","大","昭","平","令"],e._EraYearMax=99,e.eraExcelFormatter="[$-ja-JP-x-gannen]",e.eraInternalFormatter="[$-411]",e}();t._EraHelper=C;var T=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencySymbol","isReadOnly"],["$",!1]);return w.call(t,"DateTimeFormat",["fullDateTimePattern","longDatePattern","longTimePattern","shortDatePattern","shortTimePattern","yearMonthPattern","calendarIsReadOnly","preselectedFormatters"],["dddd, MMMM dd, yyyy h:mm:ss tt","dddd, MMMM dd, yyyy","h:mm:ss tt","M/d/yyyy","h:mm tt","MMMM, yyyy",!1,["MMM yyyy","MMMM yyyy"]]),t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" H:mm:ss",t.name=function(){return"en-US"},t.displayName="English (United States)",t.id=1033,t.predefinedFormats={Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',Currency:["[$$-409]#,##0","[$$-409]#,##0;[Red][$$-409]#,##0","[$$-409]#,##0_);([$$-409]#,##0)","[$$-409]#,##0_);[Red]([$$-409]#,##0)"],Date:["m/d/yyyy","[$-409]dddd, mmmm dd, yyyy","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmm d, yyyy;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@","m/d/yyyy;@","[$-409]d-mmm-yyyy;@"],Time:["[$-409]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","mm:ss.0;@","[h]:mm:ss;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@"],Special:{"Zip Code":"00000","Zip Code + 4":"00000-0000","Phone Number":"[<=9999999]###-####;(###) ###-####","Social Security Number":"000-00-0000"},shortcut:{Number:"0.00",Currency:"[$$-409]#,##0.00",Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',ShortDate:"m/d/yyyy",LongDate:"[$-409]dddd, mmmm dd, yyyy",Time:"[$-409]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)'}},t}return a(t,e),t}(x),N=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[0,1,"¥",!1,"NaN (非数値)","-∞",1,1,"+∞",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["〇","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["〇","壱","弐","参","四","伍","六","七","八","九"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十億",Trillions:"兆"}]);var r=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""];return w.call(t,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters","EraFilterDialogDateFormatter"],[["日","月","火","水","木","金","土"],r,r,"午前",!1,["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"西暦 (日本語)","午後","yyyy/MM/dd",["日","月","火","水","木","金","土"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月d日","yyyy年M月dd日","yyyy年MM月d日","yyyy年MM月dd日"],"ggge/mmmm/d日"]),t.DateTimeFormat.eras=!0,t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" "+t.DateTimeFormat.longTimePattern,t._eraFormatter=['gggee"年"MM"月"dd"日','gggee"年"M"月"d"日','ge"年"M"月"d"日','ggge"年"M"月"d"日','ggee"年"M"月"d"日','gge"年"M"月"d"日'],t.name=function(){return"ja-JP"},t.id=1041,t.displayName="Japanese (Japan)",t.isJCKCulture=!0,t.predefinedFormats={Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$¥-411]#,##0_);[Red]([$¥-411]#,##0)","[$¥-411]#,##0_);([$¥-411]#,##0)","[$¥-411]#,##0;[Red][$¥-411]#,##0","[$¥-411]#,##0;-[$¥-411]#,##0","[$¥-411]#,##0;[Red]-[$¥-411]#,##0"],Date:["yyyy/mm/dd","[$-411]dddd, mmmm dd, yyyy",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"yyyy/m/d;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@"],Time:["[$-411]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@",'h"時"mm"分";@','h"時"mm"分"ss"秒";@'],Special:{郵便番号:"[<=999]000;[<=9999]000-00;000-0000","電話番号(東京)":"[<=99999999]####-####;(00) ####-####","正負記号 (+ = △; - = ▲)":'"△" #,##0;"▲" #,##0',"漢数字(十二万三千四百)":"[DBNum1][$-411]General","大字 (壱拾弐萬参阡四百)":"[DBNum2][$-411]General","全角 (12345)":"[DBNum3][$-411]0","全角 桁区切り(12,345)":"[DBNum3][$-411]#,##0"},shortcut:{Number:"0.00",Currency:"[$¥-411]#,##0.00",Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',ShortDate:"yyyy/mm/dd",LongDate:"[$-411]dddd, mmmm dd, yyyy",Time:"[$-411]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},t.TimelineDateOrder=[i.year,i.quarterOrMonth,i.date],t.TimelineDateSuffix={year:"年",quarter:"",month:"月",date:"日"},t.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}","」","。","、","ー"],lineBreakingForbidEnd:["(","[","{","(","[","{","「","$","$","\\","¥"],lineBreakingStrategy:function(e,t){return D(e,t,b)}},t.equalCharacters=["―ゝゞ゠ヽヾー","㆐㆑㇤㇥","‸⁊",".․","&⁋","%⁏","$⁒","#⁗",'"⁍',"‹⁓"],t}return a(t,e),t}(x),E=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[2,"¥",!1,"非数字","负无穷大",1,1,"正无穷大",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["○","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","仟","佰","拾","亿","仟","佰","拾","万","仟","佰","拾",""],numbers:["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十亿",Trillions:"兆"}]);var r=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""];return w.call(t,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters"],[["周日","周一","周二","周三","周四","周五","周六"],r,r,"上午",!1,["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],1,"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"公历","下午","yyyy/M/d",["日","一","二","三","四","五","六"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月","M月d日","yyyy年M月d日","h时mm分","h时mm分ss秒"]]),t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" "+t.DateTimeFormat.longTimePattern,t.name=function(){return"zh-cn"},t.id=2052,t.displayName="Chinese (China)",t.isJCKCulture=!0,t.localeCompare=function(e,t){var r=e.localeCompare(t,"zh");return r<0&&e>="一"&&t<"一"||r>0&&t>="一"&&e<"一"?-r:r},t.predefinedFormats={Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ ',Currency:["[$¥-804]#,##0","[$¥-804]#,##0;[Red][$¥-804]#,##0","[$¥-804]#,##0;[$¥-804]-#,##0","[$¥-804]#,##0;[Red][$¥-804]-#,##0"],Date:["yyyy/m/d","[$-804]dddd, mmmm dd, yyyy","yyyy-mm-dd;@",'[DBNum1][$-804]yyyy"年"m"月"d"日";@','[DBNum1][$-804]yyyy"年"m"月";@','[DBNum1][$-804]m"月"d"日";@',"[$-409]yyyy/m/d h:mm AM/PM;@",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"mm/dd/yy;@","m/d/yy;@","yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-804]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@",'h"时"mm"分";@','h"时"mm"分"ss"秒";@','[$-804]上午/下午h"时"mm"分";@','[$-804]上午/下午h"时"mm"分"ss"秒";@','[DBNum1][$-804]h"时"mm"分";@','[DBNum1][$-804]上午/下午h"时"mm"分";@'],Special:{邮政编码:"000000",中文小写字母:"[DBNum1][$-804]General",中文大写字母:"[DBNum2][$-804]General"},shortcut:{Number:"0.00",Currency:"[$¥-804]#,##0.00",Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',ShortDate:"yyyy/m/d",LongDate:"[$-804]dddd, mmmm dd, yyyy",Time:"[$-804]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ '}},t.TimelineDateOrder=[i.year,i.quarterOrMonth,i.date],t.TimelineDateSuffix={year:"年",quarter:"",month:"",date:"日"},t.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}"],lineBreakingForbidEnd:["(","[","{","(","[","{"],lineBreakingStrategy:function(e,t){return D(e,t,b)}},t.normalizeDateTimeString=function(e){var t;if(l._RegexHelper._getReg("^([0-9]{1,2}|[0-9]{4})年[0-9]{1,2}月$").test(e))return(t=e.split("年"))[1].replace("月","")+"/1/"+t[0];if(l._RegexHelper._getReg("^[0-9]{1,2}月[0-9]{1,2}日$").test(e))return(t=e.split("月"))[0]+"/"+t[1].replace("日","")+"/"+h;if(l._RegexHelper._getReg("^(上午|下午)?[0-9]{1,2}时[0-9]{1,2}分([0-9]{1,2}秒)?$").test(e)){var r=e.replace("时",":").replace("分",":").replace("秒","");return(r=r.endsWith(":")?r+"00":r).startsWith("上午")&&(r=r.replace("上午","")+" AM"),r.startsWith("下午")&&(r=r.replace("下午","")+" PM"),r}return e.includes("上午")||e.includes("下午")?e.replace("上午","am").replace("下午","pm"):null},t}return a(t,e),t.prototype._getDistributedBreakingChar=function(){return[" "," "]},t}(x),H=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","dbNumber","standardDictionaryNumbers"],[0,1,"₩",!1,{1:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["零","壹","貳","參","四","伍","六","七","八","九"]},3:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","1","2","3","4","5","6","7","8","9"]},4:{letters:["조","천","백","십","억","천","백","십","만","천","백","십",""],numbers:["○","일","이","삼","사","오","육","칠","팔","구"]}},{Hundreds:"백",Thousands:"천",Millions:"백만",Billions:"10억",Trillions:"조"}]);var r=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""];return w.call(t,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter"],[["일","월","화","수","목","금","토"],r,r,"오전",!1,["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],1,"yyyy'년' M'월' d'일' dddd h:mm:ss","yyyy'년' M'월' d'일' dddd","h:mm:ss","M'월' d'일'",n,n,"서기","오후","yyyy-MM-dd",["일","월","화","수","목","금","토"],"tt h:mm","yyyy'년' M'월'","yyyy년/mmmm/d일"]),t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" "+t.DateTimeFormat.longTimePattern,t.name=function(){return"ko-kr"},t.id=1042,t.displayName="Korean (Korea)",t.isJCKCulture=!0,t.predefinedFormats={Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$₩-412]#,##0","[$₩-412]#,##0;[Red][$₩-412]#,##0","[$₩-412]#,##0;-[$₩-412]#,##0","[$₩-412]#,##0;[Red]-[$₩-412]#,##0"],Date:["yyyy-mm-dd",'yyyy"년" m"월" d"일" dddd',"yyyy-mm-dd;@",'yyyy"년" m"월" d"일";@','yy"年" m"月" d"日";@','yyyy"년" m"월";@','m"월" d"일";@',"yy-m-d;@","yy-m-d h:mm;@",'m"月"d"日";@',"[$-412]yy-m-d AM/PM h:mm;@","yy/m/d;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-412]h:mm:ss AM/PM","h:mm;@","h:mm:ss;@","[$-412]AM/PM h:mm;@","[$-412]AM/PM h:mm:ss;@","[$-409]h:mm AM/PM;@","[$-409]h:mm:ss AM/PM;@",'yyyy"-"m"-"d h:mm;@','[$-412]yyyy"-"m"-"d AM/PM h:mm;@','[$-409]yyyy"-"m"-"d h:mm AM/PM;@','h"시" mm"분";@','h"시" mm"분" ss"초";@','[$-412]AM/PM h"시" mm"분";@','[$-412]AM/PM h"시" mm"분" ss"초";@'],Special:{"우편 번호":"000-000","전화 번호 (국번 4자리)":"[<=999999]####-####;(0##) ####-####","전화 번호 (국번 3자리)":"[<=9999999]###-####;(0##) ###-####",주민등록번호:"000000-0000000","숫자(한자)":"[DBNum1][$-412]General","숫자(한자-갖은자)":"[DBNum2][$-412]General","숫자(한글)":"[DBNum4][$-412]General"},shortcut:{Number:"0.00",Currency:"[$₩-412]#,##0.00",Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',ShortDate:"yyyy-mm-dd",LongDate:'yyyy"년" m"월" d"일" dddd',Time:"[$-412]h:mm:ss AM/PM",Percentage:"0%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},t.TimelineDateOrder=[i.year,i.quarterOrMonth,i.date],t.TimelineDateSuffix={year:"년",quarter:"",month:"월",date:"일"},t}return a(t,e),t}(x),P={invariant:new x,"en-us":new T,"ja-jp":new N,"zh-cn":new E,"ko-kr":new H};function w(e,t,r){for(var n,a=0,i=t.length;a<i;a++)n=t[a],this[e][n]=r[a]}var O={},k=["lsru","lsde","ls1","ls2","ls3","ls4","ls5","ls6","ls7","ls8","ls9","ls10","ls11"],I=["wmk1","wmk2"],A=function(){function e(){this._cultureVersion=1,this._resourcesMap={}}return e.instance=function(){return this._instance||(this._instance=new this)},e.prototype.culture=function(t){if(0===arguments.length)return e._cRName;var r,n,a;t&&e._cRName!==t&&(e._cRName=t.toLowerCase(),this._cultureVersion++,r=e._cRName,n=e._instance.getCultureInfo(),"object"==typeof document&&("function"!=typeof CustomEvent?(a=document.createEvent("CustomEvent")).initCustomEvent("cultureChanged",!1,!1,void 0):a=new CustomEvent("cultureChanged",{}),a.cultureInfo=r,c.gcCultureInfo=r,c.gcCultureObj=n,document.dispatchEvent(a)))},e.prototype.addCultureInfo=function(e,t,r){if(t&&t instanceof x){var n=t.NumberFormat&&t.NumberFormat.numberDecimalSeparator,a=t.NumberFormat.arrayListSeparator,i=t.NumberFormat.arrayGroupSeparator;if(n===t.NumberFormat.listSeparator||i===a)throw new s.ResourceManager(s.SR).getResource().Exp_Separator;P[e.toLowerCase()]=t}if(r&&"object"==typeof r){var o=e.toLowerCase();O[o]=y(!0,{},r),this._cultureVersion++}},e.prototype.getCultureInfoDict=function(){return P},e.prototype.getCultureInfo=function(t){if(0===arguments.length)return P[e._cRName];"string"==typeof t&&(t=t.toLowerCase());var r=P,n=null;for(var a in r)if(a===t||void 0!==r[a].id&&r[a].id===t){n=r[a];break}return n},e.prototype.getLanguage=function(e){if("string"==typeof e){var t=e.toLowerCase();return O[t]}return null},e.prototype.getResources=function(e){var t=this.culture().toLowerCase();if(null==e&&(e=t),"string"==typeof e){var r=e.toLowerCase();if(this._resourcesMap[r])return this._adjustCurrentResources(this._resourcesMap[r])}return null},e.prototype._adjustCurrentResources=function(e){var t="PivotTables",r="ReportSheet",n="GanttSheet",a="DataChart",i="Sheets",o=y(!0,{},e);o[t]&&this._deleteSkipKey(o[t],I),o[r]&&this._deleteSkipKey(o[r],I),o[n]&&this._deleteSkipKey(o[n],I),o[a]&&this._deleteSkipKey(o[a],I),o[i]&&this._deleteSkipKey(o[i],k);var s=o.CalcEngine;return s&&(o.Functions=s._builtInFunctionsResource,o.TableFunctions=s._tableFunctionsResource,delete s._builtInFunctionsResource,delete s._tableFunctionsResource),o},e.prototype._deleteSkipKey=function(e,t){for(var r=0,n=t;r<n.length;r++){delete e[n[r]]}},e.prototype._languageTranslate=function(e,t,r){var n=O[e.toLowerCase()];for(var a in t)if(!u._ArrayHelper._contains(k,a)){var i=this._getTranslate(n,a,r);(null!==i&&"string"==typeof i&&"string"==typeof t[a]||null!==i&&"object"==typeof i&&!Array.isArray(i))&&(t[a]=i)}t._builtInFunctionsResource&&n.Functions&&this._translateFunctions(n.Functions,t._builtInFunctionsResource),t._tableFunctionsResource&&n.TableFunctions&&y(!0,t._tableFunctionsResource,n.TableFunctions)},e.prototype._getTranslate=function(e,t,r){if(e.hasOwnProperty(t))return e[t];if(r&&(a=e[r])&&"object"==typeof a&&a.hasOwnProperty(t))return a[t];for(var n in e){var a;if((a=e[n])&&"object"==typeof a&&a.hasOwnProperty(t))return a[t]}return null},e.prototype._translateFunctions=function(e,t){for(var r in t)if(e.hasOwnProperty(r)){var n=t[r],a=e[r],i=n.parameters,o=a.parameters;for(var s in n.description=a.description,i)if(o.hasOwnProperty(s)){var u=o[s];"string"==typeof u&&(i[s].name=u)}}return{}},e.prototype._getCultureInfo=function(t){var r=this.getCultureInfo(t);return r||(r=P[e._cRName])||(r=new x),r},e.prototype._getFilterDialogFormatterStr=function(e,t){var r=(this.getCultureInfo(e)||this.getCultureInfo("en-US")).DateTimeFormat,n=r.filterDialogDateFormatter;return(t.indexOf("g")>=0||t.indexOf("e")>=0)&&(n=r.EraFilterDialogDateFormatter||n),n},e._cRName="en-us",e}();t.CultureManager=A.instance()},561:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(895),t)},566:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Error_InvalidRemoteConfigurationForUserFetching=t.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter=t.Error_FailedToFetchUsers=t.Error_RemoteConfigurationForUserFetchingNotProvided=t.GUEST_USER=void 0,t.GUEST_USER="Guest",t.Error_RemoteConfigurationForUserFetchingNotProvided="Remote configuration for user fetching is not provided.",t.Error_FailedToFetchUsers="Failed to fetch users: ",t.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter="GraphQL schema must be provided for graphql adapter.",t.Error_InvalidRemoteConfigurationForUserFetching="Invalid remote configuration for user fetching."},895:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UserManager=t.UserManagerEvent=void 0;var i=r(566),o=r(818),s=r(479),u=r(534),l=r(305);u._Types._extend(o.SR.en,i);var c,m=new o.ResourceManager(o.SR),y=m.getResource.bind(m),h=u._Types._isNullOrUndefined,f=l._ArrayHelper._clone,d=u._Types._cloneObject,p=["#3B82F6","#10B981","#8B5CF6","#F59E0B","#EF4444","#06B6D4","#EC4899","#84CC16","#6366F1","#14B8A6","#F97316","#A855F7","#22C55E","#EAB308","#F43F5E","#0EA5E9","#D946EF","#65A30D","#DC2626","#7C3AED"];!function(e){e.CurrentUserChanged="CurrentUserChanged"}(c=t.UserManagerEvent||(t.UserManagerEvent={}));var _=function(){function e(e){var t={id:s.UUIDGenerator.secureUpperCaseUUID(),name:y().GUEST_USER,color:"#26A69A",_isDefault:!0};this._users=[t],this._currentUserId=t.id,this.options=e,this._currentColorIndex=0,this._listeners=new Map([[c.CurrentUserChanged,[]]])}return e.instance=function(){return this._instance||(this._instance=new this)},e.prototype.configure=function(e){this.options=e},e.prototype._getSync=function(e){for(var t=this._users,r=0;r<t.length;r++)if(t[r].id===e)return d(t[r])},e.prototype._get=function(e){var t;return n(this,void 0,void 0,(function(){var r;return a(this,(function(n){switch(n.label){case 0:return(null===(t=this.options)||void 0===t?void 0:t.get)?[4,this.options.get(e)]:[3,2];case 1:return(r=n.sent())&&this._add(r),[2,r];case 2:return[2]}}))}))},e.prototype._getOrCreate=function(e){e||(e=s.UUIDGenerator.secureUpperCaseUUID());var t=this._getSync(e);return t||(t={id:e,name:y().GUEST_USER}),this._add(t),t},e.prototype._assignColorToUsers=function(e){var t=this;Array.isArray(e)&&e.forEach((function(e){e&&!e.color&&(e.color=t._getCurrentColor(e.id))}))},e.prototype._search=function(e){var t;return n(this,void 0,void 0,(function(){var r,n;return a(this,(function(a){switch(a.label){case 0:return(null===(t=(r=this).options)||void 0===t?void 0:t.search)?[4,r.options.search(e)]:[3,2];case 1:return n=a.sent(),r._assignColorToUsers(n),[2,n];case 2:return[2,[]]}}))}))},e.prototype.bind=function(e,t){this._listeners.has(e)||this._listeners.set(e,[]);var r=this._listeners.get(e);Array.isArray(r)&&r.push(t)},e.prototype.current=function(e){var t=this;if(h(e))return t._currentUserId;if(t._currentUserId!==e){var r=t._currentUserId;t._currentUserId=e,Promise.all([t._get(r),t._get(e)]).then((function(n){var a=n[0],i=n[1];a||(a=t._getSync(r))&&a._isDefault&&(t._users=t._users.filter((function(e){return!e._isDefault}))),t._triggerCurrentUserChanged(a,i,r,e)})).catch((function(n){t._triggerCurrentUserChanged(void 0,void 0,r,e)}))}return t._currentUserId},e.prototype._triggerCurrentUserChanged=function(e,t,r,n){e||(e=this._getSync(r)),t||(t=this._getSync(n)),this._trigger(c.CurrentUserChanged,{oldCurrentUser:e,newCurrentUser:t})},e.prototype._getUsers=function(){return f(this._users)},e.prototype.unbind=function(e,t){if(this._listeners.has(e)){var r=this._listeners.get(e);if(!Array.isArray(r))return;t?r.splice(r.indexOf(t),1):r.splice(0)}},e.prototype._trigger=function(e,t){if(this._listeners.has(e)){var r=this._listeners.get(e);if(!Array.isArray(r))return;r.forEach((function(r){r(e,t)}))}},e.prototype._fromJSON=function(e){e&&(this._assignColorToUsers(e),this._users=e||[])},e.prototype._toJSON=function(){return f(this._users)},e.prototype._getCurrentColorIndex=function(){var e,t=this._currentColorIndex,r=(null===(e=this.options)||void 0===e?void 0:e.colorScheme)?this.options.colorScheme.length:p.length;return this._currentColorIndex=(t+1)%r,t},e.prototype._hashString=function(e){var t=0;if(!e||0===e.length)return t;for(var r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r),t|=0}return Math.abs(t)},e.prototype._getColorIndexForUser=function(e){var t,r=(null===(t=this.options)||void 0===t?void 0:t.colorScheme)?this.options.colorScheme.length:p.length;return this._hashString(e)%r},e.prototype._getCurrentColor=function(e){var t,r=(null===(t=this.options)||void 0===t?void 0:t.colorScheme)||p;return e?r[this._getColorIndexForUser(e)]:r[this._getCurrentColorIndex()]},e.prototype._add=function(e){for(var t=this._users,r=0;r<t.length;r++)if(t[r].id===e.id)return t[r]=e,void(e.color||(e.color=this._getCurrentColor(e.id)));e.color||(e.color=this._getCurrentColor(e.id)),t.push(e)},e.prototype._create=function(e,t){var r={id:e||s.UUIDGenerator.secureUpperCaseUUID(),name:t||y().GUEST_USER};return this._add(r),r},e.prototype._remove=function(e){this._users=this._users.filter((function(t){return t.id!==e}))},e.prototype._dispose=function(){this._listeners.clear(),this._users=[],this._currentUserId=""},e}();t.UserManager=_.instance()},305:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t._ArrayHelper=void 0;function r(e,t){for(var n in t)if(t.hasOwnProperty(n)){var a=t[n];Array.isArray(a)?(e[n]=[],r(e[n],t[n])):null!==a&&"object"==typeof a?(e[n]={},r(e[n],t[n])):e[n]=t[n]}}var n=function(){function e(){}return e._insert=function(e,t,r){e.splice(t,0,r)},e._add=function(e,t){e.push(t)},e._contains=function(e,t){return e.indexOf(t)>-1},e._remove=function(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)},e._removeByIndex=function(e,t){return e.slice(0,t).concat(e.slice(t+1))},e._indexOf=function(e,t,r){return e.indexOf(t,r)},e._clear=function(e,t,r){if(!(t<0))for(var n=0;n<r&&t+n<e.length;n++)e[t+n]=null},e._nextNonEmptyIndex=function(e,t){t<0&&(t=-1);for(var r=t+1;r<e.length;r++)if(void 0!==e[r]&&null!==e[r])return r;return-1},e._getLength=function(e){return e&&e.length},e._clone=function(e){var t=[];return r(t,e),t},e}();t._ArrayHelper=n},395:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._ColorHelper=void 0;var n=r(844)._NumberHelper._toHexString,a=Math.min,i=Math.max,o=Math.abs,s=parseInt;function u(e,t,r){return r<0&&(r+=240),r>240&&(r-=240),r<40?e+((t-e)*r+20)/40:r<120?t:r<160?e+((t-e)*(160-r)+20)/40:e}function l(e,t,r){var n,a,i;if(0===r)n=a=i=s(255*t/240+"",10);else{var o,u;n=c(o=2*t-(u=t<=120?s((t*(240+r)+120)/240+""):t+r-s((t*r+120)/240+"")),u,e+80),a=c(o,u,e),i=c(o,u,e-80)}return{a:255,r:n,g:a,b:i}}function c(e,t,r){return a(s((255*u(e,t,r)+120)/240+""),255)}var m={aliceblue:[240,248,255,255],antiquewhite:[250,235,215,255],aqua:[0,255,255,255],aquamarine:[127,255,212,255],azure:[240,255,255,255],beige:[245,245,220,255],bisque:[255,228,196,255],black:[0,0,0,255],blanchedalmond:[255,235,205,255],blue:[0,0,255,255],blueviolet:[138,43,226,255],brown:[165,42,42,255],burlywood:[222,184,135,255],cadetblue:[95,158,160,255],chartreuse:[127,255,0,255],chocolate:[210,105,30,255],coral:[255,127,80,255],cornflowerblue:[100,149,237,255],cornsilk:[255,248,220,255],crimson:[220,20,60,255],cyan:[0,255,255,255],darkblue:[0,0,139,255],darkcyan:[0,139,139,255],darkgoldenrod:[184,134,11,255],darkgray:[169,169,169,255],darkgreen:[0,100,0,255],darkgrey:[169,169,169,255],darkkhaki:[189,183,107,255],darkmagenta:[139,0,139,255],darkolivegreen:[85,107,47,255],darkorange:[255,140,0,255],darkorchid:[153,50,204,255],darkred:[139,0,0,255],darksalmon:[233,150,122,255],darkseagreen:[143,188,143,255],darkslateblue:[72,61,139,255],darkslategray:[47,79,79,255],darkslategrey:[47,79,79,255],darkturquoise:[0,206,209,255],darkviolet:[148,0,211,255],deeppink:[255,20,147,255],deepskyblue:[0,191,255,255],dimgray:[105,105,105,255],dimgrey:[105,105,105,255],dodgerblue:[30,144,255,255],firebrick:[178,34,34,255],floralwhite:[255,250,240,255],forestgreen:[34,139,34,255],fuchsia:[255,0,255,255],gainsboro:[220,220,220,255],ghostwhite:[248,248,255,255],gold:[255,215,0,255],goldenrod:[218,165,32,255],gray:[128,128,128,255],green:[0,128,0,255],greenyellow:[173,255,47,255],grey:[128,128,128,255],honeydew:[240,255,240,255],hotpink:[255,105,180,255],indianred:[205,92,92,255],indigo:[75,0,130,255],ivory:[255,255,240,255],khaki:[240,230,140,255],lavender:[230,230,250,255],lavenderblush:[255,240,245,255],lawngreen:[124,252,0,255],lemonchiffon:[255,250,205,255],lightblue:[173,216,230,255],lightcoral:[240,128,128,255],lightcyan:[224,255,255,255],lightgoldenrodyellow:[250,250,210,255],lightgray:[211,211,211,255],lightgreen:[144,238,144,255],lightgrey:[211,211,211,255],lightpink:[255,182,193,255],lightsalmon:[255,160,122,255],lightseagreen:[32,178,170,255],lightskyblue:[135,206,250,255],lightslategray:[119,136,153,255],lightslategrey:[119,136,153,255],lightsteelblue:[176,196,222,255],lightyellow:[255,255,224,255],lime:[0,255,0,255],limegreen:[50,205,50,255],linen:[250,240,230,255],magenta:[255,0,255,255],maroon:[128,0,0,255],mediumaquamarine:[102,205,170,255],mediumblue:[0,0,205,255],mediumorchid:[186,85,211,255],mediumpurple:[147,112,219,255],mediumseagreen:[60,179,113,255],mediumslateblue:[123,104,238,255],mediumspringgreen:[0,250,154,255],mediumturquoise:[72,209,204,255],mediumvioletred:[199,21,133,255],midnightblue:[25,25,112,255],mintcream:[245,255,250,255],mistyrose:[255,228,225,255],moccasin:[255,228,181,255],navajowhite:[255,222,173,255],navy:[0,0,128,255],oldlace:[253,245,230,255],olive:[128,128,0,255],olivedrab:[107,142,35,255],orange:[255,165,0,255],orangered:[255,69,0,255],orchid:[218,112,214,255],palegoldenrod:[238,232,170,255],palegreen:[152,251,152,255],paleturquoise:[175,238,238,255],palevioletred:[219,112,147,255],papayawhip:[255,239,213,255],peachpuff:[255,218,185,255],peru:[205,133,63,255],pink:[255,192,203,255],plum:[221,160,221,255],powderblue:[176,224,230,255],purple:[128,0,128,255],rebeccapurple:[102,51,153,255],red:[255,0,0,255],rosybrown:[188,143,143,255],royalblue:[65,105,225,255],saddlebrown:[139,69,19,255],salmon:[250,128,114,255],sandybrown:[244,164,96,255],seagreen:[46,139,87,255],seashell:[255,245,238,255],sienna:[160,82,45,255],silver:[192,192,192,255],skyblue:[135,206,235,255],slateblue:[106,90,205,255],slategray:[112,128,144,255],slategrey:[112,128,144,255],snow:[255,250,250,255],springgreen:[0,255,127,255],steelblue:[70,130,180,255],tan:[210,180,140,255],teal:[0,128,128,255],thistle:[216,191,216,255],tomato:[255,99,71,255],turquoise:[64,224,208,255],violet:[238,130,238,255],wheat:[245,222,179,255],white:[255,255,255,255],whitesmoke:[245,245,245,255],yellow:[255,255,0,255],yellowgreen:[154,205,50,255]},y=function(){function e(e){var t=e.r,r=e.g,n=e.b,o=i(i(t,r),n),u=a(a(t,r),n),l=o+u;this._luminosity=s((240*l+255)/510+"",10);var c=o-u;if(0===c)this._saturation=0,this._hue=160;else{this._luminosity<=120?this._saturation=s((240*c+l/2)/l+"",10):this._saturation=s((240*c+(510-l)/2)/(510-l)+"",10);var m=(40*(o-t)+c/2)/c,y=(40*(o-r)+c/2)/c,h=(40*(o-n)+c/2)/c;this._hue=s(t===o?h-y+"":r===o?80+m-h+"":160+y-m+"",10),this._hue<0&&(this._hue+=240),this._hue>240&&(this._hue-=240)}}return e.prototype._getLighterColor=function(e){var t=this._luminosity,r=this._newLuma(this._luminosity,500,!0);return l(this._hue,t+(r-t)*e,this._saturation)},e.prototype._newLuma=function(e,t,r){return 0===t?e:r?t>0?(e*(1e3-t)+241*t)/1e3:e*(t+1e3)/1e3:((e+=240*t/1e3)<0&&(e=0),e>240&&(e=240),e)},e}(),h=/rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})(?:,\s*(\.\d+|\d(?:\.\d+)?))?\)/;function f(e){if(/^#[A-Fa-f0-9]+$/.test(e)){var t=e.replace(/^#/,""),r=t.length,n="",a="";if(6===r||8===r)n=t.substr(0,6),8===r&&(a=t.substr(6,2));else if(3===r||4===r){var i=t.split(3===r?/(.)/:/(..)/);n=i.filter(Boolean).map((function(e){return parseInt(3===r?e+e:e,16)})).map((function(e){return e.toString(16).padStart(2,"0")})).join(""),4===r&&(a=i[3]+i[3])}return[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16),s=a?parseInt(a,16):255]}if(e.toLowerCase()in m)return m[e.toLowerCase()];var o=h.exec(e);if(null!==o){var s=void 0===o[4]?255:255*+o[4];return[o[1],o[2],o[3],s]}return null}var d=function(){function e(){}return e._toString=function(e){var t=e.a,r=e.r,a=e.g,i=e.b;return 3===arguments.length&&(t=255,r=arguments[0],a=arguments[1],i=arguments[2]),4===arguments.length&&(t=arguments[0],r=arguments[1],a=arguments[2],i=arguments[3]),255===t?"#"+n(r,!0,2)+n(a,!0,2)+n(i,!0,2):"rgba("+r+","+a+","+i+","+t+")"},e._equal=function(e,t){return e.stops||e.type?JSON.stringify(e)===JSON.stringify(t):e.a===t.a&&e.r===t.r&&e.g===t.g&&e.b===t.b},e._getBrightness=function(e){return(299*e.r+587*e.g+114*e.b)/1e3},e._isTwoColorSimilar=function(e,t){var r=255-o(e.r-t.r),n=255-o(e.g-t.g),a=255-o(e.b-t.b),i=o(e.a-t.a);return!!(((r/=255)+(n/=255)+(a/=255))/3>=.9&&i<=.05)},e._invertColor=function(t){var r=255^t.r,n=255^t.g,a=255^t.b;return e._toString(t.a,r,n,a)},e._stringToARGB=function(t){if("object"!=typeof document)return f(t);var n=e._ctx;if(n||(i=document.createElement("canvas"))&&i.getContext&&(n=e._ctx=i.getContext("2d",{willReadFrequently:!0})),!n){var a=r(736);if(a&&a.createCanvas){var i=a.createCanvas(2,2);n=e._ctx=i.getContext("2d")}if(!n)return f(t)}n.clearRect(1,1,1,1),n.fillStyle=t,n.fillRect(1,1,1,1);var o=n.getImageData(1,1,1,1);return o?o.data:null},e._fromString=function(t){if(t instanceof e)return t;if(null!==t&&"object"==typeof t)return t;var r=0,n=0,a=0,i=0;if(t){var o=e._stringToARGB(t);o&&(n=o[0],a=o[1],i=o[2],r=o[3])}return{a:r,r:n,g:a,b:i}},e._applyTint=function(t,r){if(0===r)return t;var n=new y(t),a=s((r>0?(240-n._luminosity)*r:n._luminosity*r)+"",10);return e._fromHLS(n._hue,n._luminosity+a,n._saturation)},e._getLighterColor=function(t,r){var n=e._fromString(t),a=new y(n)._getLighterColor(r);return e._toString(a)},e._hueToRGB=u,e._fromHLS=l,e}();t._ColorHelper=d},818:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._isInstanceOf=t._hasOwnProperty=t._deleteElementsForMap=t._deleteElements=t._addElementsForMap=t._addElements=t.ResourceManager=t.SR=void 0;var n=r(286),a=r(612),i=r(534);t.SR={en:a};var o=i._Types._extend,s=function(){function e(e,t){this.res=e,this._moduleName=t,this._resourcesMap=n.CultureManager._resourcesMap,this.cachedResource=this._getResourceCollection(e,!0),this._buildResourcesMap(this.cachedResource,t),this._cultureVersion=0}return e.prototype.getResource=function(){var e=this._getResourceCollection(this.res,!this.cachedResource);return e&&(this.cachedResource=e),this._buildResourcesMap(this.cachedResource,this._moduleName),this.cachedResource},e.prototype._buildResourcesMap=function(e,t){if(t){var r=n.CultureManager.culture().toLowerCase();this._resourcesMap[r]=this._resourcesMap[r]||{},this._resourcesMap[r][t]=e,n.CultureManager._resourcesMap=this._resourcesMap}},e.prototype._getResourceCollection=function(e,t){var r=n.CultureManager.culture();if(e&&r){var a=n.CultureManager._cultureVersion;if(this._cultureVersion===a&&!t)return;if(this._cultureVersion=a,n.CultureManager.getLanguage(r)){var i=o(!0,{},e.en);return n.CultureManager._languageTranslate(r,i,this._moduleName),i}var s=r.substr(0,2).toLowerCase();return e.hasOwnProperty(s)?e[s]:e.en}return{}},e}();t.ResourceManager=s,t._addElements=function(e,t,r,n){if(e&&0<=r&&r<t){var a,i=[],o=void 0;for(o=r;o<t;o++)void 0!==e[o]&&i.push(o);for(a=i.length,o=0;o<a;o++){var s=i[a-o-1],u=e[s];e[s]=null,e[Math.floor(s)+n]=u}}},t._addElementsForMap=function(e,t,r,n){if(e&&0<=t){for(var a,i=[],o=void 0,s=0,u=Array.from(e.keys());s<u.length;s++){(l=u[s])>=t&&i.push(l)}for(i.sort((function(e,t){return e-t})),a=i.length,o=0;o<a;o++){var l=i[a-o-1],c=e.get(l);e.delete(l);var m=l+r;e.set(m,c),n&&n(c,m)}}},t._deleteElements=function(e,t,r,n){if(e&&0<=r&&r<t){var a,i=[],o=r+n,s=void 0;for(s=r;s<t;s++)void 0!==e[s]&&(r<=s&&s<o?e[s]=null:s>=o&&i.push(s));for(a=i.length,s=0;s<a;s++){var u=i[s],l=e[u];e[u]=null,e[Math.floor(u)-n]=l}}},t._deleteElementsForMap=function(e,t,r,n){if(e&&0<=t){for(var a,i=[],o=t+r,s=void 0,u=0,l=Array.from(e.keys());u<l.length;u++){var c=l[u];e.has(c)&&(t<=c&&c<o?(n&&n(e.get(c),-1),e.delete(c)):c>=o&&i.push(c))}for(i.sort((function(e,t){return e-t})),a=i.length,s=0;s<a;s++){c=i[s];var m=e.get(c);e.delete(c);var y=c-r;e.set(y,m),n&&n(m,y)}}},t._hasOwnProperty=function(e,t){return e.hasOwnProperty(t)},t._isInstanceOf=function(e,t){return e instanceof t}},97:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._DateTimeHelper=t.getSR=void 0;var n=r(818),a=r(480),i=r(305),o=r(286),s=r(534)._Types._isNullOrUndefined,u=a._StringHelper._padZeroLeft,l=parseInt,c=!1,m=Math.floor,y=Math.abs,h=new n.ResourceManager(n.SR,"Common");t.getSR=h.getResource.bind(h);var f={};function d(e,r,a,i){var s=a.DateTimeFormat,l=s.Calendar.convert;if(!r||!r.length)return a&&a.name.length?l?d(e,s.fullDateTimePattern,a):e.toLocaleString():e.toString();var c,h,f,_=s.eras,g="",M=/([^d]|^)(d|dd)([^d]|$)/g;function v(){return h||f||(h=M.test(r),f=!0),h}var b,F=0,S=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;function D(e,t){return b?b[t]:function(e,t){if(n.HandleExcelSpecialDate)return n.HandleExcelSpecialDate.call(null,e,t);switch(t){case 0:return e.getFullYear();case 1:return e.getMonth();case 2:return e.getDate();default:return}}(e,t)}"s"!==r&&l&&(b=l.fromGregorian(e));for(var x=-2,C=-2,T={_value:""},N=0;;N++){var E=S.lastIndex,H=S.exec(r),P=r.slice(E,H?H.index:r.length);if(T._value="",F+=p(P,T),g+=T._value,!H)break;if(F%2!=1){var w=D(e,0),O=e.getDay(),k=e.getHours(),I=e.getMinutes(),A=e.getSeconds(),R=e.getMilliseconds(),$=e.getTimezoneOffset();switch(H[0]){case"dddd":g+=s.dayNames[O];break;case"ddd":g+=s.abbreviatedDayNames[O];break;case"dd":h=!0,g+=u(D(e,2),2);break;case"d":h=!0,g+=D(e,2);break;case"MMMM":g+=s.monthGenitiveNames&&v()?s.monthGenitiveNames[D(e,1)]:s.monthNames[D(e,1)];break;case"MMM":g+=s.abbreviatedMonthGenitiveNames&&v()?s.abbreviatedMonthGenitiveNames[D(e,1)]:s.abbreviatedMonthNames[D(e,1)];break;case"MM":g+=u(D(e,1)+1,2);break;case"M":g+=D(e,1)+1;break;case"yyyy":case"yyy":g+=x>=0?o._EraHelper._formatEraPart("ee",e,i):u(b?b[0]:w,4);break;case"yy":g+=x>=0?o._EraHelper._formatEraPart("ee",e,i):u((b?b[0]:w)%100,2);break;case"y":g+=x>=0?o._EraHelper._formatEraPart("e",e,i):""+(b?b[0]:w)%100;break;case"hh":0==(c=k%12)&&(c=12),g+=u(c,2);break;case"h":0==(c=k%12)&&(c=12),g+=c;break;case"HH":g+=u(k,2);break;case"H":g+=k.toString();break;case"mm":g+=u(I,2);break;case"m":g+=I.toString();break;case"ss":g+=u(A,2);break;case"s":g+=A.toString();break;case"tt":g+=k<12?s.amDesignator:s.pmDesignator;break;case"t":g+=(k<12?s.amDesignator:s.pmDesignator).charAt(0);break;case"f":case"0":g+=u(R,3).charAt(0);break;case"ff":case"00":g+=u(R,3).substr(0,2);break;case"fff":case"000":g+=u(R,3);break;case"z":g+=((c=$/60)<=0?"+":"-")+m(y(c));break;case"zz":g+=((c=$/60)<=0?"+":"-")+u(m(y(c)),2);break;case"zzz":g+=((c=$/60)<=0?"+":"-")+u(m(y(c)),2)+":"+u(y($%60),2);break;case"g":case"gg":case"ggg":if(!_)break;if(x===N-1){x=N;break}g+=o._EraHelper._formatEraPart(H[0],e,i),x=N;break;case"e":case"ee":if(!_){g+=u(b?b[0]:w,4);break}if(C===N-1){C=N;break}g+=o._EraHelper._formatEraPart(H[0],e,i),C=N;break;case"/":g+=s.dateSeparator;break;default:if(!/\[(H+|h+|m+|s+)\]/.test(H[0]))throw Error((0,t.getSR)().Exp_InvalidDateFormat);g+=H[0]}}else g+=H[0]}return g.toString()}function p(e,t){for(var r=0,n=c,a=0,i=e.length;a<i;a++){var o=e.charAt(a);switch(o){case'"':n?t._value+="'":r++,n=c;break;case"\\":n&&(t._value+="\\"),n=!n;break;default:t._value+=o,n=c}}return r}function _(e,t){var r=new Date;if(e.DateTimeFormat.eras&&t<100){var n=o._EraHelper._getEraDate(r)._eraYear;(t+=n-n%100)>e.DateTimeFormat.Calendar.TwoDigitYearMax&&(t-=100)}return t}function g(e){var t=e.getTimezoneOffset();return-485===t&&(t=-485-43/60),-321===t&&(t=-321-10/60),-507===t&&(t=-507-52/60),-402===t&&(t=-402-4/60),t}var M=function(){function e(){}return e._customCultureFormat=function(e,t,r,n){return r||(r=o.CultureManager._getCultureInfo()),d(e,t,r,n)},e._localeFormat=function(e,t,r){return d(e,t,r||o.CultureManager._getCultureInfo())},e._parseDate=function(t,r,n){var a,i,o,s,u,l=c;for((u=n).slice(1).forEach((function(e){e&&(l=!0)})),l||(u=u.concat(r._getDateTimePattern())),i=u.length,a=1;a<i;a++)if((s=u[a])&&(l=!0,o=e._parseExact(t,s,r)))return o;return null},e._parseLocale=function(t,r,n){var a,i;return r||n||void 0===(i=f[t])?(a=r?[t,r]:[t],i=e._parseDate(t,n||o.CultureManager._getCultureInfo(),a),r||n||(f[t]=i),i?new Date(i):i):i?new Date(i):i},e._parseInvariant=function(t,r){return e._parseDate(t,o.CultureManager._getCultureInfo("invariant"),[t,r])},e._parseExact=function(e,r,n){e=e.trim();var s=n.DateTimeFormat,u=1041===n.id,m=function(e,r,n){if(e._parseRegExp){if(e._parseRegExp[r])return e._parseRegExp[r]}else e._parseRegExp={};var a=r;a=(a=a.replace("%M","M")).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1");for(var o,s="^",u={_value:""},l=[],c=0,m=0,y=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;null!==(o=y.exec(a));){u._value="";var h=a.slice(c,o.index);if(c=y.lastIndex,m+=p(h,u),s+=u._value,m%2!=1){switch(o[0]){case"dddd":case"ddd":case"MMMM":case"MMM":case"gggg":case"ggg":case"gg":case"g":s+="(\\D+)";break;case"tt":case"t":s+="(\\D*)";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":s+="(\\d\\d?\\d?)";break;case"eee":case"ee":case"e":s+=n?"(\\u5143|\\d\\d?)":"(\\d\\d?)";break;case"yyy":case"yyyy":s+="(\\d{2}|\\d{4})";break;case"fff":case"000":s+="(\\d{3})";break;case"ff":case"00":s+="(\\d{2})";break;case"f":case"0":s+="(\\d)";break;case"zzz":s+="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":s+="([+-]?\\d\\d?)";break;case"/":s+="/"===e.dateSeparator?"(\\/)":"([\\/\\"+e.dateSeparator+"])";break;default:throw Error((0,t.getSR)().Exp_InvalidDateFormat)}i._ArrayHelper._add(l,o[0])}else s+=o[0]}u._value="",p(a.slice(c),u),s+=u._value;var f=(s+="$").toString().replace(/\s+/g,"\\s+"),d={_regExp:f,_groups:l,_exp:RegExp(f)};return e._parseRegExp[r]=d,d}(s,r,u),y=m._exp.exec(e);if(null===y)return null;for(var h,f=m._groups,d=null,g=null,M=null,v=null,b=null,F=0,S=0,D=0,x=0,C=null,T=c,N=c,E=0,H=f.length;E<H;E++){var P=y[E+1];if(P)switch(f[E]){case"dd":case"d":if((v=l(P,10))<1||v>31)return null;break;case"MMMM":if((M=n._getMonthIndex(P))<0||M>11)return null;break;case"MMM":if((M=n._getAbbrMonthIndex(P))<0||M>11)return null;break;case"M":case"MM":case"%M":if((M=l(P,10)-1)<0||M>11)return null;break;case"e":case"ee":if((g=u&&"元"===P?1:_(n,l(P,10)))<0||g>9999)return null;break;case"y":case"yy":case"yyy":case"yyyy":if((g=l(P,10))<0||g>9999)return null;break;case"h":case"hh":case"H":case"HH":if((F=l(P,10))<0)return null;break;case"m":case"mm":if((S=l(P,10))<0||S>59)return null;break;case"s":case"ss":if((D=l(P,10))<0||D>59)return null;break;case"tt":case"t":var w=P.toUpperCase();if(T=w===s.pmDesignator.toUpperCase(),N=w===s.amDesignator.toUpperCase(),!T&&!N)return null;break;case"f":case"0":if((x=100*l(P,10))<0||x>999)return null;break;case"ff":case"00":if((x=10*l(P,10))<0||x>999)return null;break;case"fff":case"000":if((x=l(P,10))<0||x>999)return null;break;case"dddd":if((b=n._getDayIndex(P))<0||b>6)return null;break;case"ddd":if((b=n._getAbbrDayIndex(P))<0||b>6)return null;break;case"zzz":var O=P.split(/:/);if(2!==O.length)return null;if((h=l(O[0],10))<-12||h>13)return null;var k=l(O[1],10);if(k<0||k>59)return null;C=60*h+(a._StringHelper._startsWith(P,"-")?-k:k);break;case"z":case"zz":if((h=l(P,10))<-12||h>13)return null;C=60*h;break;case"g":case"gg":case"ggg":var I=P;if(!I||!s.eras)return null;if((d=o._EraHelper._parseEraPart(f[E],I))<0)return null}}var A,R=/^(\d|\d\d|\d\d\d):/.test(e),$=R?new Date(1899,11,30):new Date,U=s.Calendar.convert;if(U&&(A=U.fromGregorian($)),U||(A=[$.getFullYear(),$.getMonth(),$.getDate()]),null===g?g=A[0]:g<100&&(s.eras&&null!==d?g=o._EraHelper._getYearFromEra(d||0,g):g+=g>=30?1900:2e3),null===M&&(M=A[1]),null===v&&(v=R?A[2]:1),U){if(null===($=U.toGregorian(g,M,v)))return null}else{if($.setFullYear(g,M,v),$.getDate()!==v)return null;if(null!==b&&$.getDay()!==b)return null}if(T&&F<12?F+=12:N&&12===F&&(F=0),$.setHours(F,S,D,x),null!==C){var B=$.getMinutes()-(C+$.getTimezoneOffset());$.setHours($.getHours()+B/60,B%60)}return $},e._fromOADate=function(e){var t=g(new Date(864e5*(e-25569))),r=Math.round(864e5*(e-25569+t/1440)),n=new Date(r),a=t>=0?1:-1,i=g(new Date(r+36e5*a));if(y(t-i)>=60){var o=new Date(r+60*(i-t)*1e3);if(t>i){if(-1===a||i===g(n))return o}else if(t<i&&(1===a||i===g(n)))return o}return n},e._fromOADateString=function(t){if("/OADate("===t.substr(0,8)){var r=parseFloat(t.substr(8,t.length-10));return e._fromOADate(r)}},e._toOADateString=function(t){return"/OADate("+e._toOADate(t)+")/"},e._toOADate=function(e){if(s(e))return 0;if("number"!=typeof e&&"string"!=typeof e||(e=new Date(e)),e instanceof Date){var t=g(e);return(1440*e.getTime()+3181192704e6-864e5*t)/124416e6}return 0},e._DT=function(r){var n=null,a=!0;if(s(r))n=e._fromOADate(0);else if(r instanceof Date)n=new Date(r.valueOf());else if("string"==typeof r){var i=e._parseLocale(r);if(!i)if(isNaN(r))if(e._isInvalidDateString(r))a=c;else{isNaN((i=new Date(r)).valueOf())&&(a=c);var o=/^[-+=\s]*(\d+)\W+(\d+)\W+(\d+)$/.exec(r.replace(/ |\n/g,"").trim());o&&4===o.length&&(-1!==o.indexOf(i.getFullYear().toString())&&-1!==o.indexOf(""+(i.getMonth()+1))&&-1!==o.indexOf(i.getDate().toString())||(a=c))}else(i=e._fromOADate(parseFloat(r)))||(a=c);n=i}else"number"==typeof r?n=e._fromOADate(r):a=c;if(a)return n;throw(0,t.getSR)().Exp_InvalidCast},e._isInvalidDateString=function(t){var r,n,a=o.CultureManager._getCultureInfo().DateTimeFormat,i=e._invalidCharInDateStr,s=function(e,t){var r=0;return t.forEach((function(t){t&&e.indexOf(t)>-1&&r++})),r>1};return s(t,a.monthNames)||s(t,a.abbreviatedMonthNames)||s(t,a.dayNames)||s(t,a.abbreviatedDayNames)||function(e,t){if(e&&e.indexOf(" ")>-1){var r=e.split(" "),n=r.length;return n>=2&&t.indexOf(r[n-2])<=-1&&!isNaN(r[n-1])}return!1}(t,a.monthNames.concat(a.abbreviatedMonthNames))||(r=t,n=!1,i.forEach((function(e){r.indexOf(e)>-1&&(n=!0)})),n)},e._isDate=function(e){return e&&(e.constructor===Date||e.getUTCDate&&e.setFullYear)},e._invalidCharInDateStr=["@","#","!","`","^","$","*","(",")","&"],e}();t._DateTimeHelper=M},646:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._growth=t._trend=void 0;var n=r(844),a=isNaN,i="rowCount",o="colCount";function s(e){return e}function u(e,t,r,s,u,l,c,m,y,h,f){var d,p,_,g,M,v,b,F,S,D,x,C,T,N,E,H,P=r[i],w=r[o],O=t[i],k=t[o],I=s[i],A=s[o],R=1===w,$=1===k;if(O===P&&k===w){var U=0,B=0,j=0,L=0;for(b=P*w,d=0;d<P;d++)for(p=0;p<w;p++){if(g=l(r[d][p]),M=l(t[d][p]),e&&(a(g)||a(M)))return y;U+=g,B+=g*g,j+=M=h(M),L+=g*M}var G=b*L-U*j;F=u?(j*B-U*L)/(b*B-U*U):0;var Y=(v=u?G/(b*B-U*U):L/B).toString();for((Y.indexOf("000000000000")>1||Y.indexOf("999999999999")>1)&&(v=n._NumberHelper._fixNumber(v,12),F=n._NumberHelper._fixNumber(F,12)),S=[],d=0;d<I;d++)for(S[d]=[],p=0;p<A;p++){if(g=l(s[d][p]),e&&a(g))return y;S[d][p]=0===G?t[0][0]:f(n._NumberHelper._safeAdd(v*g,F))}return c?new c(S):S}if($&&O===P||1===O&&k===w){for(g=[],M=[],E=w+1,H=w+2,d=0;d<P;d++){if(F=l(x=$?t[d][0]:t[0][d]),e&&a(F))return y;M[d]=R?h(F):F}for(d=0;d<P;d++)for(g[d]=[],p=0;p<w;p++){if(F=l(r[d][p]),e&&a(F))return y;g[d][p]=F}var z=[];for(v=0;v<E;v++)for(z[v]=[],b=0;b<H;b++)z[v][b]=0;for(_=0;_<P;_++)for(z[0][E]+=M[_],d=0;d<w;d++)for(x=d+1,z[0][x]+=g[_][d],z[x][0]=z[0][x],z[x][E]+=g[_][d]*M[_],p=d;p<w;p++)z[T=p+1][x]+=g[_][d]*g[_][p],z[x][T]=z[T][x];z[0][0]=P;var K=u?0:1;for(D=K;D<E;D++){if(e){if(0===z[D][D]){for(N=!1,p=D+1;!N&&p<E;p++)if(0!==z[p][D]){for(_=0;_<H;_++)T=z[D][_],z[D][_]=z[p][_],z[p][_]=T;N=!0}if(!N)return m}}else{for(d=D;d<E&&0===z[d][D];)d++;if(d>=E)return m;for(C=K;C<H;C++)x=z[D][C],z[D][C]=z[d][C],z[d][C]=x}for(x=1/z[D][D],C=K;C<H;C++)z[D][C]*=x;for(d=K;d<E;d++)if(d!==D)for(x=-z[d][D],C=0;C<H;C++)z[d][C]+=x*z[D][C];u||(z[0][E]=0)}for(S=[],$||(S[0]=[]),d=0;d<I;d++){for($&&(S[d]=[]),x=z[0][E],p=0;p<w;p++){if(F=l($?s[d][p]:s[p][d]),e&&a(F))return y;x+=z[p+1][E]*F}$?S[d][0]=f(x):S[0][d]=f(x)}return c?new c(S):S}return m}t._trend=function(e,t,r,n,a,i,o,l){return u(!0,e,t,r,n,a,i,l,o,s,s)},t._growth=function(e,t,r,n,a,l,c){var m,y;for(m=0;m<e[i];m++)for(y=0;y<e[o];y++)if(e[m][y]<=0)return l;return u(!1,e,t,r,n,s,a,c,null,Math.log,Math.exp)}},844:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._NumberHelper=void 0;var n=r(818),a=r(534),i=r(576),o=r(480),s=r(286),u=a._Types._isNullOrUndefined,l=o._StringHelper._padZeroLeft,c=o._StringHelper._padZeroRight,m=null,y=void 0,h=parseInt,f=parseFloat,d=!1,p=!0,_=Math.floor,g=Math.abs,M=Math.pow,v=Math.min,b=Number.MAX_VALUE,F=function(e,t,r){return e.substr(t,r)},S=function(e){return i._RegexHelper._getReg(e)},D=new n.ResourceManager(n.SR),x=D.getResource.bind(D),C="##################0",T="################",N={1:"+",0:"","-1":"-"},E=["0","#","?"],H={"¤":"¤",Br:"Br",Fdj:"Fdj",Nfk:"Nfk",R:"R",$:"$",FCFA:"FCFA","GH₵":"GH₵",ብር:"ብር","ر.س.‏":"ر.س.‏",XDR:"XDR","د.إ.‏":"د.إ.‏","د.ب.‏":"د.ب.‏","د.ج.‏":"د.ج.‏","ج.م.‏":"ج.م.‏","₪":"₪","د.ع.‏":"د.ع.‏","د.ا.‏":"د.ا.‏","ف.ج.ق.‏":"ف.ج.ق.‏","د.ك.‏":"د.ك.‏","ل.ل.‏":"ل.ل.‏","د.ل.‏":"د.ل.‏","د.م.‏":"د.م.‏","أ.م.‏":"أ.م.‏","ر.ع.‏":"ر.ع.‏","ر.ق.‏":"ر.ق.‏","ج.س.":"ج.س.",S:"S","£":"£","ل.س.‏":"ل.س.‏","د.ت.‏":"د.ت.‏","ر.ي.‏":"ر.ي.‏","₹":"₹",TSh:"TSh","€":"€","₼":"₼","₽":"₽",K:"K","лв.":"лв.","₦":"₦",CFA:"CFA","৳":"৳","¥":"¥",KM:"KM",КМ:"КМ",USh:"USh",Kč:"Kč","kr.":"kr.",Ksh:"Ksh",CHF:"CHF","ރ.":"ރ.","Nu.":"Nu.",EC$:"EC$",P:"P",US$:"US$",D:"D",Rp:"Rp",Ar:"Ar",MOP$:"MOP$",Rs:"Rs",MK:"MK",RM:"RM","₱":"₱",RF:"RF",SR:"SR",SDG:"SDG",Le:"Le","NAf.":"NAf.",E:"E",T$:"T$",VT:"VT",WS$:"WS$",Bs:"Bs","₡":"₡",Q:"Q",L:"L",C$:"C$","B/.":"B/.","S/.":"S/.","₲":"₲","Bs.":"Bs.",ريال:"ريال",FG:"FG",UM:"UM",kr:"kr",FBu:"FBu",FC:"FC",DA:"DA",G:"G",CF:"CF",DH:"DH",FCFP:"FCFP",LS:"LS",DT:"DT",kn:"kn",HUF:"HUF","֏":"֏",ISK:"ISK","₾":"₾","​":"​","₸":"₸","៛":"៛","₩":"₩",сом:"сом",Kz:"Kz","₭":"₭",MTn:"MTn",ден:"ден","₮":"₮",रु:"रु","Afl.":"Afl.","ߖߕ.":"ߖߕ.","руб.":"руб.",zł:"zł","؋":"؋",R$:"R$",Db:"Db",RON:"RON","₴":"₴",MAD:"MAD","රු.":"රු.",Lekë:"Lekë",den:"den",RSD:"RSD","дин.":"дин.","ܠ.ܣ.‏":"ܠ.ܣ.‏","Rs.":"Rs.",смн:"смн","฿":"฿","m.":"m.","₺":"₺",ⴷⵔ:"ⴷⵔ",soʻm:"soʻm",сўм:"сўм","₫":"₫",HK$:"HK$",MOP:"MOP",NT$:"NT$"};function P(e,t,r,n){return t&&0!==t.length&&"i"!==t?function(e,t,r,n){return B(e,k(t),r,n)}(e,t,r.NumberFormat,n):r&&r.name.length>0?e.toLocaleString():e.toString()}function w(e,t){for(var r=_(g(e)),n={_integer:1,_decimal:0};r>=10&&Number.isFinite(r);)r/=10,n._integer++;var a,i=e.toString(),o=i.search(/e/gi),s=i.indexOf(t);if(-1!==o){var u=F(i,0,o),l=F(i,o+1),c=0;-1!==s&&(c=F(u,s+1).length),(a=c-f(l))<0&&(a=0),n._decimal=a}else a=0,-1!==s&&(a=F(i,s+1).length),n._decimal=a;return n}function O(e){for(var t={_symbol:e.charAt(0),_sign:0,_exp:0},r="",n=1;n<e.length;n++)if("+"===(r=e.charAt(n)))t._sign=1;else{if("-"!==r){if("0"===r){t._exp=e.length-n;break}throw Error(x().Exp_InvalidExponentFormat)}t._sign=-1}return t}function k(e){for(var t,r={_intPart:m,_decPart:m,_group:d,_scale:0,_percent:0,_permille:0,_exponent:m},n="",a=d,i=d,o=d,s=d,u=d,l=d,c=m,y=[],h=0;h<e.length;h++){if(t=e.charAt(h),a)n+=t,'"'===t&&(y.push(n),n="",a=d);else if(i){if("E"===c||"e"===c){if(!(["+","-","0"].indexOf(t)>=0)){i=d,h--;continue}n+=t}else if("+"===c||"-"===c){if("0"!==t){i=d,h--;continue}n+=t}else if("0"===c){if("0"!==t){i=d,u||(u=p,r._exponent=O(n)),h--;continue}n+=t}}else if("*"!==c&&"_"!==c&&"\\"!==c||""===n)if("*"===t||"_"===t||"\\"===t)l=d,""!==n&&(y.push(n),n=""),n+=t;else if("'"===t)l=d,""!==n&&(y.push(n),n=""),y.push(t);else if('"'===t)l=d,a=p,""!==n&&(y.push(n),n=""),n+=t;else if(E.indexOf(t)>=0)l=p,E.indexOf(c)<0&&""!==n&&(y.push(n),n=""),n+=t;else if("."!==t||o)if("%"===t)l=d,r._percent++,""!==n&&(y.push(n),n=""),y.push(t);else if("‰"===t)l=d,r._permille++,""!==n&&(y.push(n),n=""),y.push(t);else if(","===t)if(l){var f=void 0;""!==n&&(y.push(n),n="");for(var _=p,g="",M=h+1;M<e.length;M++)if(f=e.charAt(M),'"'!==g)if("\\"!==g&&"_"!==g){if(E.indexOf(f)>=0){_=d;break}if("."===f||";"===f)break;g=f}else g="";else'"'===f&&(g="");_?r._scale++:o||(f=e.charAt(h+1))&&E.indexOf(f)>=0&&(s=p)}else n+=t;else"E"===t||"e"===t?(l=d,i=p,""!==n&&(y.push(n),n=""),n+=t):(l=d,E.indexOf(c)>=0&&""!==n&&(y.push(n),n=""),n+=t);else""!==n&&(y.push(n),n=""),r._intPart=y,y=[],o=p,l=d;else n+=t,y.push(n),n="";c=t}return""!==n&&(i&&!u&&(r._exponent=O(n)),y.push(n)),s&&(r._group=p),o?r._decPart=y:r._intPart=y,r}function I(e,t,r,n,a,i){var o=function(e,t){if(t=+t,isNaN(e=+e)||t%1!=0)return NaN;var r=e<0;if(e=r?-e:e,typeof t===y||0===t)return e=Math.round(e),r?-e:e;var n=e.toString().split("e");return e=Math.round(+(n[0]+"e"+(n[1]?+n[1]-t:-t))),+((n=(e=r?-e:e).toString().split("e"))[0]+"e"+(n[1]?+n[1]+t:t))}(e,-t);isFinite(o)||(o=e);var s,u,m=(e=o).toString(),f=m.split(/e/i);return m=f[0],u=f.length>1?h(f[1],10):0,f=m.split("."),m=f[0],s=f.length>1?f[1]:"",u>0?(m+=(s=c(s,u)).slice(0,u),s=F(s,u)):u<0&&(u=-u,s=(m=e<0?i+l(m.replace(i,""),u+1):l(m,u+1)).slice(-u,m.length)+s,m=m.slice(0,-u)),m+(t>0?a+(s=s.length>t?s.slice(0,t):c(s,t)):"")}function A(e){var t=m;if(e){t="";for(var r=0;r<e.length;r++){var n=e[r];/^(0|#|\?)+/g.test(n)&&(t+=n)}}return t}var R=Math.pow(2,48);function $(e,t){return e===t||0!==e&&0!==t&&(g(e-t)<g(e)/R||(e=Y(e,15),t=Y(t,15),g(e-t)<g(e)/R))}function U(e,t,r,n,a,i,o,s){var u=s.numberGroupSizes,c=s.numberGroupSeparator,m=s.negativeSign,y=s.percentSymbol,h=s.perMilleSymbol,f=n._exponent,_=F(t,0,1);_===m&&(t=F(t,1));var g=1===t.length&&"0"===t?0:t.length;t=0===g?"":t;for(var M=0,v="",b=e.length-1;b>=0;b--){var S="",D=e[b];if(/^(0|#|\?)+/g.test(D)){if(v!==r){for(var C=D.length,T=g-M-1;T>=0&&C>0;T--){S=t.charAt(T)+S,C--,M++}for(var E=C-1;E>=0;E--){var P=D[E];M++,"0"===P?S=P+S:"?"===P&&(""!==S&&(i.push({type:"number",value:S}),S=""),i.push({type:"numberPlaceholder",value:P}))}(v=D+v)===r&&M<g&&(S=t.substr(0,g-M)+S),""!==S&&i.push({type:"number",value:S})}}else if(n._exponent&&!o.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(D)){o.replaceExponent=p;var w="";w+=f._symbol,w+=N[f._sign],w+=l(a.toString(),f._exp),i.push({type:"exponent",value:w})}else"_"===D[0]?i.push({type:"placeholder",value:D[1]}):"*"===D[0]?o.hasInfilling||(i.push({type:"fillingChar",value:D[1]}),o.hasInfilling=!0,o.infillIndex=i.length-1):"\\"===D[0]?2===D.length&&i.push({type:"text",value:D[1]}):'"'===D[0]&&'"'===D[D.length-1]?D.length>2&&i.push({type:"text",value:D.substr(1,D.length-2)}):D===y?i.push({type:"percent",value:D}):D===h?i.push({type:"permille",value:D}):H[D]?i.push({type:"currency",value:D}):i.push({type:"text",value:D})}_===m&&r&&i.push({type:"text",value:_}),n._group===p&&function(e,t,r,n){for(var a=t[0],i=1,o=0,s=d,u=e.length,l=0;l<u;l++){var c=e[l].type;if("number"===c){for(var m="",y=e[l].value,h=y.length-1;h>=0;){if(!(1<=a&&a<=9||0===a&&i===t.length))throw Error(x().Exp_InvalidNumberGroupSize);/\d/gi.test(y[h])?(s&&(m&&e.push({type:"number",value:m}),e.push({type:"groupSeparator",value:r}),m="",s=d),o++):o=0,m=y[h]+m,o===a&&a>0&&(s=p,o=0,i<t.length&&(a=t[i],i++)),h--}m&&e.push({type:c,value:m})}else"fillingChar"===c&&(n.infillIndex=e.length-u),e.push({type:c,value:e[l].value})}e.splice(0,u)}(i,u,c,o),i.reverse(),o.infillIndex=i.length-1-o.infillIndex}function B(e,t,r,n){var a=[];e=function(e,t,r,n){var a=e;return t>0&&(a=Y(a*M(100,t),15)),r>0&&(a=Y(a*M(1e3,r),15)),n>0&&(a=Y(a/M(1e3,n),15)),a}(e,t._percent,t._permille,t._scale);var i=t._intPart,o=t._decPart;if(!i&&!o)return a;var s,u=A(i),c=A(o);if(c||(c=""),t._exponent){var m=function(e,t,r){var n={value:e,exponentValue:0},a=w(e,".")._integer,i=g(e),o=r?r.length:1;if(i>=1)a>o?(a-=o,n.value=e/M(10,a),n.exponentValue=a):n.exponentValue=0,-1===t._sign&&(t._sign=0);else if(i<1&&i>0){t._sign=-1;for(var s=M(10,o);10*i<s&&!$(10*i,s);)i*=10,n.exponentValue++;var u=M(10,n.exponentValue);n.value*=u>b?0:u}return n}(e,t._exponent,u);e=m.value,s=m.exponentValue}var y=w(e,".");g(e)>1&&y._integer+y._decimal>15&&(e=Y(e,15));r.numberGroupSizes,r.numberGroupSeparator;var h=r.numberDecimalSeparator,f=r.negativeSign,_=I(e,v(y._decimal,c.length),0,0,h,f);if(n||(_=function(e,t){var r=e;return-1!==e.indexOf(t)&&(r=e.replace(/0+$/,"")),r}(_,h)),""===_)return a.push({type:"text",value:(i?i.join(""):"")+(o?o.join(""):"")}),a;var F={hasInfilling:d,infillIndex:-1,replaceExponent:d},S=_.split(h)[0];return"10"!==S||isNaN(s)||(S="1",s+=t&&t._exponent&&-1===t._exponent._sign?-1:1),i&&U(i,S,u,t,s,a,F,r),e===1/0||e===-1/0||("0"!==S&&""===u&&o&&a.push({type:"number",value:S}),o&&function(e,t,r,n,a,i,o,s,u){var c=u.numberDecimalSeparator,m=u.percentSymbol,y=u.perMilleSymbol,h=t.indexOf(c),f=a._exponent;(h>0||n!==C||r!==T)&&o.push({type:"decimalSeparator",value:c});for(var d=-1!==h?t.substring(h+1):"",_=0,g="",M=0;M<e.length;M++){var v=e[M];if(/^(0|#|\?)+/g.test(v)){var b="";if(g!==r){for(var F=v.length,S=0,D=_;F>0&&d.length-_>0;)b+=d.charAt(D),F--,_++,S++,D++;for(var x=S;F>0;){var E=v[x];x++,_++,F--,"0"===E?b+=E:"?"===E&&(""!==b&&(o.push({type:"number",value:b}),b=""),o.push({type:"numberPlaceholder",value:E}))}""!==b&&o.push({type:"number",value:b}),g+=v}}else if(f&&!s.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(v)){s.replaceExponent=p;var P="";P+=f._symbol,P+=N[f._sign],P+=l(i.toString(),f._exp),o.push({type:"exponent",value:P})}else"_"===v[0]?o.push({type:"placeholder",value:v[1]}):"*"===v[0]?(o.push({type:"fillingChar",value:v[1]}),s.hasInfilling&&o.splice(s.infillIndex,1),s.hasInfilling=!0,s.infillIndex=o.length-1):"\\"===v[0]?2===v.length&&o.push({type:"text",value:v[1]}):'"'===v[0]&&'"'===v[v.length-1]?v.length>2&&o.push({type:"text",value:v.substr(1,v.length-2)}):v===m?o.push({type:"percent",value:v}):v===y?o.push({type:"permille",value:v}):H[v]?o.push({type:"currency",value:v}):o.push({type:"text",value:v})}}(o,_,c,u,t,s,a,F,r)),a}function j(e,t){if((e=u(e)?"":o._StringHelper._trimEnd(e,"")).match(/^[+-]?infinity$/i))return f(e);if(e.match(/^0x[a-f0-9]+$/i))return h(e,10);var r,n,a=t.NumberFormat,i=a.numberNegativePattern,s=L(e,a,i),l=s[0],c=s[1];""===l&&1!==i&&(l=(s=L(e,a,1))[0],c=s[1]),""===l&&(l="+"),c[0]===a.currencySymbol&&(c=F(c,1));var y=c.indexOf("e");y<0&&(y=c.indexOf("E")),y<0?(n=c,r=m):(n=F(c,0,y),r=F(c,y+1));var d,p,_=n.indexOf(".");_<0?(d=n,p=m):(d=F(n,0,_),p=F(n,_+1));var g=l+(d=d.split(",").join(""));if(p!==m&&(g+="."+p),g[g.length-1]===a.percentSymbol){g=F(g,0,g.length-1);var M=(g=o._StringHelper._trimEnd(g,"")).indexOf(".");-1===M&&(M=g.length);var v="";v+=F(g,0,M-2),v+=".",v+=F(g,M-2,2),g=v+=F(g,M+1)}if(r!==m){var b=L(r,a,1);""===b[0]&&(b[0]="+"),g+="e"+b[0]+b[1]}return g.match(/^[+-]?\d*\.?\d*(e[+-]?\d+)?$/)?f(g):NaN}function L(e,t,r){var n=t.negativeSign,a=t.positiveSign;if(4!==r&&2!==r||(n=" "+n,a=" "+a),4===r||3===r){if(o._StringHelper._endsWith(e,n))return["-",F(e,0,e.length-n.length)];if(o._StringHelper._endsWith(e,a))return["+",F(e,0,e.length-a.length)]}else if(2===r||1===r){if(o._StringHelper._startsWith(e,n))return["-",F(e,n.length)];if(o._StringHelper._startsWith(e,a))return["+",F(e,a.length)]}else{if(0!==r)throw Error("");if(o._StringHelper._startsWith(e,"(")&&o._StringHelper._endsWith(e,")"))return["-",F(e,1,e.length-2)]}return["",e]}function G(e){var t=s.CultureManager._getCultureInfo().NumberFormat;return"string"==typeof e&&(t=s.CultureManager._getCultureInfo(e).NumberFormat),t}function Y(e,t){return"number"==typeof e&&e.toString().length>=t&&(e=+e.toPrecision(t)),e}t._NumberHelper={_parseLocale:function(e){return j(e,s.CultureManager._getCultureInfo())},_parseInvariant:function(e){return j(e,s.CultureManager._getCultureInfo("invariant"))},_customCultureFormat:function(e,t,r,n){return r||(r=s.CultureManager._getCultureInfo()),P(e,t,r,n)},_replaceNormalToCultureSymbol:function(e,t){if("string"!=typeof e)return e;var r=G(t),n=r.numberDecimalSeparator,a=r.numberGroupSeparator;return"."!==n&&(e=e.replace(S("[.]"),"#dot#")),","!==a&&(e=e.replace(S("[,]"),"#group#")),"."!==n&&(e=e.replace(S("#dot#"),n)),","!==a&&(e=e.replace(S("#group#"),a)),e},_replaceCultureSymbolToNormal:function(e,t){if("string"!=typeof e)return e;var r=G(t),n=r.numberDecimalSeparator,a=r.numberGroupSeparator;return"."!==n&&(e=e.replace(S("["+n+"]"),"#dot#")),","!==a&&(e=e.replace(S("["+a+"]"),"#group#")),"."!==n&&(e=e.replace(S("#dot#"),".")),","!==a&&(e=e.replace(S("#group#"),",")),e},_isValidCultureNumberString:function(e,t){if("string"==typeof e){var r=G(t),n=r.numberDecimalSeparator,a=r.numberGroupSeparator;if("."!==n&&"."!==a&&e.indexOf(".")>=0||","!==n&&","!==a&&e.indexOf(",")>=0)return!1}return!0},_parseFloat:function(e,t){return f(this._replaceCultureSymbolToNormal(e,t))},_toHexString:function(e,t,r){if(0!==g(_(e)-e))throw Error(x().Exp_BadFormatSpecifier);var n=e>=0?e.toString(16):(4294967295+e+1).toString(16);return n=t?n.toLowerCase():n.toUpperCase(),!u(r)&&n.length<r?l(n,r):n},_parseCustomNumberFormatter:k,_formatNumber:B,_approxEqual:$,_safeAdd:function(e,t){return $(e,-t)?0:e+t},_formatObjectToString:function(e){var t="";if(Array.isArray(e)&&e.length>0)for(var r=0;r<e.length;r++){var n=e[r].type,a=e[r].value;if("placeholder"===n)t+=" ";else{if("fillingChar"===n)continue;t+="numberPlaceholder"===n?" ":a}}return t},_generalNumberInt:C,_generalNumberDec:T,_fixNumber:Y}},674:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.rbush=void 0;var r=Math.max,n=Math.min,a=1/0;function i(e,t){this._maxEntries=r(4,e||9),this._minEntries=r(2,Math.ceil(.4*this._maxEntries)),t&&this._initFormat(t),this.clear()}function o(e,t,r){if(!r)return t.indexOf(e);for(var n=0;n<t.length;n++)if(r(e,t[n]))return n;return-1}function s(e,t){u(e,0,e.children.length,t,e)}function u(e,t,r,n,i){i||(i=p(null)),i.minX=a,i.minY=a,i.maxX=-1/0,i.maxY=-1/0;for(var o=t,s=void 0;o<r;o++)s=e.children[o],l(i,e.leaf?n(s):s);return i}function l(e,t){return e.minX=n(e.minX,t.minX),e.minY=n(e.minY,t.minY),e.maxX=r(e.maxX,t.maxX),e.maxY=r(e.maxY,t.maxY),e}function c(e,t){return e.minX-t.minX}function m(e,t){return e.minY-t.minY}function y(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function h(e){return e.maxX-e.minX+(e.maxY-e.minY)}function f(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&(t.maxX>=0&&t.maxX<=e.maxX||e.minX<0)&&(t.maxY>=0&&t.maxY<=e.maxY||e.minY<0)}function d(e,t){return(-1===e.minY||-1===t.minY||e.minY<=t.maxY&&t.minY<=e.maxY)&&(-1===e.minX||-1===t.minX||e.minX<=t.maxX&&t.minX<=e.maxX)}function p(e){return{children:e,height:1,leaf:!0,minX:a,minY:a,maxX:-1/0,maxY:-1/0}}t.rbush=i,i.prototype={all:function(){return this._all(this.data,[])},search:function(e){var t=this.data,r=[],n=this.toBBox;if(!d(e,t))return r;for(var a,i,o,s,u=[];t;){for(a=0,i=t.children.length;a<i;a++)o=t.children[a],d(e,s=t.leaf?n(o):o)&&(t.leaf?r.push(o):f(e,s)?this._all(o,r):u.push(o));t=u.pop()}return r},collides:function(e){var t=this.data,r=this.toBBox;if(!d(e,t))return!1;for(var n,a,i,o,s=[];t;){for(n=0,a=t.children.length;n<a;n++)if(i=t.children[n],d(e,o=t.leaf?r(i):i)){if(t.leaf||f(e,o))return!0;s.push(i)}t=s.pop()}return!1},insert:function(e){return e&&this._insert(e,this.data.height-1),this},clear:function(){return this.data=p([]),this},remove:function(e,t){if(!e)return this;for(var r,n,a,i,s=this.data,u=this.toBBox(e),l=[],c=[];s||l.length;){if(s||(s=l.pop(),n=l[l.length-1],r=c.pop(),i=!0),s.leaf&&-1!==(a=o(e,s.children,t)))return s.children.splice(a,1),l.push(s),this._condense(l),this;i||s.leaf||!f(s,u)?n?(r++,s=n.children[r],i=!1):s=null:(l.push(s),c.push(r),r=0,n=s,s=s.children[0])}return this},toBBox:function(e){return e},compareMinX:c,compareMinY:m,toJSON:function(){return this.data},fromJSON:function(e){return this.data=e,this},_all:function(e,t){for(var r=[];e;)e.leaf?t.push.apply(t,e.children):r.push.apply(r,e.children),e=r.pop();return t},_chooseSubtree:function(e,t,i,o){for(var s,u,l,c,m,h,f,d;o.push(t),!t.leaf&&o.length-1!==i;){for(f=d=a,s=0,u=t.children.length;s<u;s++)m=y(l=t.children[s]),p=e,(h=(r((_=l).maxX,p.maxX)-n(_.minX,p.minX))*(r(_.maxY,p.maxY)-n(_.minY,p.minY))-m)<d?(d=h,f=m<f?m:f,c=l):h===d&&m<f&&(f=m,c=l);t=c||t.children[0]}var p,_;return t},_insert:function(e,t,r){var n=this.toBBox,a=r?e:n(e),i=[],o=this._chooseSubtree(a,this.data,t,i);for(o.children.push(e),l(o,a);t>=0&&i[t].children.length>this._maxEntries;)this._split(i,t),t--;this._adjustParentBBoxes(a,i,t)},_split:function(e,t){var r=e[t],n=r.children.length,a=this._minEntries;this._chooseSplitAxis(r,a,n);var i=this._chooseSplitIndex(r,a,n),o=p(r.children.splice(i,r.children.length-i));o.height=r.height,o.leaf=r.leaf,s(r,this.toBBox),s(o,this.toBBox),t?e[t-1].children.push(o):this._splitRoot(r,o)},_splitRoot:function(e,t){this.data=p([e,t]),this.data.height=e.height+1,this.data.leaf=!1,s(this.data,this.toBBox)},_chooseSplitIndex:function(e,t,i){var o,s,l,c,m,h,f,d,p,_,g,M,v,b;for(h=f=a,o=t;o<=i-t;o++)p=s=u(e,0,o,this.toBBox),_=l=u(e,o,i,this.toBBox),g=void 0,M=void 0,v=void 0,b=void 0,g=r(p.minX,_.minX),M=r(p.minY,_.minY),v=n(p.maxX,_.maxX),b=n(p.maxY,_.maxY),c=r(0,v-g)*r(0,b-M),m=y(s)+y(l),c<h?(h=c,d=o,f=m<f?m:f):c===h&&m<f&&(f=m,d=o);return d},_chooseSplitAxis:function(e,t,r){var n=e.leaf?this.compareMinX:c,a=e.leaf?this.compareMinY:m;this._allDistMargin(e,t,r,n)<this._allDistMargin(e,t,r,a)&&e.children.sort(n)},_allDistMargin:function(e,t,r,n){e.children.sort(n);var a,i,o=this.toBBox,s=u(e,0,t,o),c=u(e,r-t,r,o),m=h(s)+h(c);for(a=t;a<r-t;a++)i=e.children[a],l(s,e.leaf?o(i):i),m+=h(s);for(a=r-t-1;a>=t;a--)i=e.children[a],l(c,e.leaf?o(i):i),m+=h(c);return m},_adjustParentBBoxes:function(e,t,r){for(var n=r;n>=0;n--)l(t[n],e)},_condense:function(e){for(var t=e.length-1,r=void 0;t>=0;t--)0===e[t].children.length?t>0?(r=e[t-1].children).splice(r.indexOf(e[t]),1):this.clear():s(e[t],this.toBBox)},_initFormat:function(e){var t=["return a"," - b",";"];this.compareMinX=Function("a","b",t.join(e[0])),this.compareMinY=Function("a","b",t.join(e[1])),this.toBBox=Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}},576:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._RegexHelper=void 0;var n=r(480),a=function(){function e(){}return e._getRegWithModifiers=function(t,r){var n;if(r&&e._regDictWithModifiers[r]&&e._regDictWithModifiers[r][t])n=e._regDictWithModifiers[r][t];else try{null==r?(n=RegExp(t),r="empty"):n=RegExp(t,r),e._regDictWithModifiers[r]||(e._regDictWithModifiers[r]={}),e._regDictWithModifiers[r][t]=n}catch(e){return null}return n.lastIndex=0,n},e._getReg=function(t){var r=e._regDict[t];return r||(r=e._regDict[t]=RegExp(t,"g")),r.lastIndex=0,r},e._getRegIgnoreCase=function(t){var r=e._regDictIgnoreCase[t];return r||(r=e._regDictIgnoreCase[t]=RegExp(t,"gi")),r.lastIndex=0,r},e._getWildcardCriteria=function(t,r,n){if(e._wildcardParseRecord[t])return e._wildcardParseResultBuffer[t];var a=r?"[?*]+":"[~?*]+";if(e._getReg(a).test(t)){for(var i=[],o=t.split(""),s=void 0,u={".":!0,"+":!0,$:!0,"^":!0,"[":!0,"]":!0,"(":!0,")":!0,"{":!0,"}":!0,"|":!0,"/":!0,"\\":!0},l=0;l<o.length;l++)if("~"===(s=o[l])){if(!(l<o.length-1))break;"*"!==(s=o[++l])&&"?"!==s||i.push("\\"),i.push(s)}else"?"===s?i.push("."):"*"===s?(i.push("[\\s\\S]"),n?i.push("+"):i.push("*")):u[s]?(i.push("\\"),i.push(s)):i.push(s);return i.join("")}return null},e._getWildcardCriteriaFullMatch=function(t,r,n){var a=e._getWildcardCriteria(t,r,n);return a&&(a="^"+a+"$"),a},e._getReplaceSymbol=function(e,t){for(var r="#"+e+"0#",a=1;t.indexOf(r)>0;)r=n._StringHelper._join(r,"#"+e+(a-1)+"#","#"+e+a+"#"),a++;return r},e._replaceRegString2NormalString=function(e){return e.replace(/([\~\!\@\#\$\%\^\&\*\(\)\-\_\+\=\[\]\{\}\|\\\;\:\'\"\,\.\/\<\>\?])/,"\\$1")},e._regDict={},e._regDictIgnoreCase={},e._regDictWithModifiers={},e._wildcardParseRecord={},e._wildcardParseResultBuffer={},e}();t._RegexHelper=a},480:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._StringHelper=void 0;var n=r(576);function a(e,t,r){return e.substr(t,r)}function i(e){return null==e}function o(e,t,r,n){if(i(t))throw Error();if(""===t)return!0;if(t.length>e.length)return!1;var a=e,o=t;return r&&(a=a.toLowerCase(),o=o.toLowerCase()),n(a,o)}t._StringHelper={_contains:function(e,t,r){return r&&(e=e.toLowerCase(),t=t.toLowerCase()),""===t||e.indexOf(t)>=0},_indexOf:function(e,t,r){if(r){var n=e.toLowerCase(),a=t.toLowerCase();return n.indexOf(a)}return e.indexOf(t)},_trimStart:function(e,t){if(!t)return e;for(var r=e;a(r,0,t.length)===t;)r=a(r,t.length);return r},_trimEnd:function(e,t){if(!t)return e;for(var r=e;a(r,r.length-t.length,t.length)===t;)r=a(r,0,r.length-t.length);return r},_insert:function(e,t,r){if(t<0||t>e.length||i(r))throw Error();return a(e,0,t)+r+a(e,t,e.length-t)},_remove:function(e,t,r){if(i(r)&&(r=e.length-t),t<0||r<0||t+r>e.length)throw Error();return a(e,0,t)+a(e,t+r,e.length-t-r)},_startsWith:function(e,t,r){return void 0===r&&(r=!1),o(e,t,r,(function(e,t){return e.slice(0,t.length)===t}))},_endsWith:function(e,t,r){return void 0===r&&(r=!1),o(e,t,r,(function(e,t){return e.slice(-t.length)===t}))},_replace:function(e,t,r,n){if(!t)throw Error();return r=(""+r).replace(/\$/g,"$$$$"),e.replace(RegExp(t,"g"+(n?"i":"")),r)},_replaceAllNoReg:function(e,r,a,i){return r=n._RegexHelper._replaceRegString2NormalString(r),t._StringHelper._replace(e,r,a,i)},_leftBefore:function(e,t){var r=e.indexOf(t);return r<0||r>=e.length?e:a(e,0,r)},_count:function(e,t){for(var r=0,n=e.indexOf(t);n>=0;)r+=1,n=e.indexOf(t,n+1);return r},_join:function(e,t,r){return e.split(t).join(r)},_format:function(e,t){for(var r=e,n=0;n<t.length;n++){var a=RegExp("\\{"+n+"\\}","g");r=r.replace(a,t[n])}return r},_padZero:function(e,t,r){for(var n=e.toString(),a=n.length;a<t;a++)n=r?"0"+n:n+"0";return n},_padZeroLeft:function(e,r){return t._StringHelper._padZero(e,r,!0)},_padZeroRight:function(e,r){return t._StringHelper._padZero(e,r,!1)},_compareStringIgnoreCase:function(e,t){return e===t||!e&&!t||e&&t&&e.toLowerCase()===t.toLowerCase()},_toUpperCase:function(e){return e.toUpperCase()},_escapeHtml:function(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},r=n._RegexHelper._getReg("(?:&|<|>|\"|'|`)");return r.test(e)?e.replace(r,(function(e){return t[e]})):e},_unescapeHtml:function(e){var t={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"},r=n._RegexHelper._getReg("(?:&amp;|&lt;|&gt;|&quot;|&#x27;|&#x60;)");return r.test(e)?e.replace(r,(function(e){return t[e]})):e},_escapeJavascript:function(e){for(var t=e,r=/javascript:/gi;t.match(r);)t=t.replace(r,"");return t}}},534:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t._Types=void 0;var r="undefined"!=typeof window?window.File:null,n="undefined"!=typeof window?window.Blob:null;t._Types={_class2type:null,_each:function(e,r){if(t._Types._isArraylike(e))for(var n=0,a=e.length;n<a&&!1!==r.call(e[n],n,e[n]);n++);else for(var i in e)if(e.hasOwnProperty(i)&&!1===r.call(e[i],i,e[i]))break;return e},_isEmptyObject:function(e){return!e||"object"==typeof e&&0===Object.keys(e).length},_isFunction:function(e){return"function"===t._Types._getType(e)},_isArray:function(e){return Array.isArray?Array.isArray(e):"array"===t._Types._getType(e)},_isNumeric:function(e){return t._Types._isString(e)&&(e=parseFloat(e)),!isNaN(e)&&isFinite(e)},_isString:function(e){return"string"==typeof e},_getType:function(e){if(null===e)return"null";var r=t._Types._class2type;if(!r){r=t._Types._class2type={};for(var n=["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"],a=0,i=n.length;a<i;a++)r["[object "+n[a]+"]"]=n[a].toLowerCase()}var o=r.toString,s=typeof e;return"object"===s||"function"===s?r[o.call(e)]||"object":s},_inArray:function(e,r,n){var a;if(r){var i=[].indexOf;if(i)return i.call(r,e,n);for(a=r.length,t._Types._isNullOrUndefined(n)&&(n=0),n=n<0?Math.max(0,a+n):n;n<a;n++)if(n in r&&r[n]===e)return n}return-1},_merge:function(e,t){var r=t.length,n=e.length,a=0;if("number"==typeof r)for(;a<r;a++)e[n]=t[a],n++;else for(;void 0!==t[a];)e[n]=t[a],n++,a++;return e.length=n,e},_map:function(e,r,n){var a,i=[];if(t._Types._isArraylike(e))for(var o=0,s=e.length;o<s;o++)null!==(a=r(e[o],o,n))&&(i[i.length]=a);else{var u=void 0;for(u in e)e.hasOwnProperty(u)&&null!==(a=r(e[u],u,n))&&(i[i.length]=a)}return i.concat([])},_extend:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n,a,i,o,s,u,l=e[0]||{},c=1,m=e.length,y=!1;for("boolean"==typeof l&&(y=l,l=e[1]||{},c=2),"object"==typeof l||t._Types._isFunction(l)||(l={}),m===c&&(l=this,--c);c<m;c++)if(s=e[c],!t._Types._isNullOrUndefined(s))for(o in s)n=l[o],l!==(i=s[o])&&(a=t._Types._isArray(i),y&&i&&(t._Types._isPlainObject(i)||a)?(u=a?n&&t._Types._isArray(n)?n:[]:n&&t._Types._isPlainObject(n)?n:{},l[o]=t._Types._extend(y,u,i)):void 0!==i&&(l[o]=i));return l},_inherit:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n},_isWindow:function(e){return null!==e&&e===e.window},_isPlainObject:function(e){if(!e||"object"!==t._Types._getType(e)||e.nodeType||t._Types._isWindow(e))return!1;var r,n={}.hasOwnProperty;try{if(e.constructor&&!n.call(e,"constructor")&&!n.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(r in e);return void 0===r||n.call(e,r)},_isArraylike:function(e){if(t._Types._isNullOrUndefined(e))return!1;var r=e.length,n=t._Types._getType(e);return!t._Types._isWindow(e)&&(!(1!==e.nodeType||!r)||"array"===n||"function"!==n&&(0===r||"number"==typeof r&&r>0&&r-1 in e))},_makeArray:function(e,r){var n=r||[];return null!==e&&(t._Types._isArraylike(Object(e))?t._Types._merge(n,"string"==typeof e?[e]:e):[].push.call(n,e)),n},_isType:null,_isNullOrUndefined:function(e){return null==e},_isNumber:null,_toDouble:null,_cloneObject:function(e){if(!e)return e;if("number"==typeof e||"string"==typeof e||"boolean"==typeof e||t._Types._isNullOrUndefined(e))return e;if(e.clone)return e.clone();if(e instanceof Date)return new Date(e.valueOf());var a,i,o;if(r&&e instanceof r)return new r([e],e.name,{type:e.type,lastModified:e.lastModified});if(n&&e instanceof n)return new n([e],{type:e.type});for(i in a=e instanceof Object?new e.constructor:new e.constructor(e.valueOf()),e)e.hasOwnProperty(i)&&(o=e[i],e.hasOwnProperty(i)&&a[i]!==o&&(a[i]="object"==typeof o?t._Types._cloneObject(o):o));return a}}},612:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Exp_Separator=t.Exp_InvalidCast=t.Exp_InvalidNumberFormat=t.Exp_BadFormatSpecifier=t.Exp_InvalidNumberGroupSize=t.Exp_InvalidSemicolons=t.Exp_InvalidExponentFormat=t.Exp_InvalidDateFormat=void 0,t.Exp_InvalidDateFormat="Invalid date format pattern",t.Exp_InvalidExponentFormat="invalid exponent format",t.Exp_InvalidSemicolons="invalid format : too many semicolons",t.Exp_InvalidNumberGroupSize="NumberGroupSize must be between 1 and 9, except for the last element, which can be zero.",t.Exp_BadFormatSpecifier="Bad Format Specifier",t.Exp_InvalidNumberFormat="Invalid number format pattern",t.Exp_InvalidCast="InvalidCastException",t.Exp_Separator="numberDecimalSeparator, listSeparator and arrayListSeparator should be different in culture info."},479:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.UUIDGenerator=void 0;var r=function(){function e(){}return e.wrap=function(e){return"{".concat(e.toUpperCase(),"}")},e.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},e.secureUUID=function(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():this.uuidv4()},e.secureUpperCaseUUID=function(){return this.wrap(this.secureUUID())},e.isValidUpperCaseUUID=function(e){return/^\{[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\}$/i.test(e)},e}();t.UUIDGenerator=r},814:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.UndoManager=t.CommandManager=t.Key=void 0;var n=r(536);Object.defineProperty(t,"Key",{enumerable:!0,get:function(){return n.Key}}),Object.defineProperty(t,"CommandManager",{enumerable:!0,get:function(){return n.CommandManager}});var a=r(748);Object.defineProperty(t,"UndoManager",{enumerable:!0,get:function(){return a.UndoManager}})},536:function(e,t){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.CommandManager=t.Key=void 0,function(e){e[e.left=37]="left",e[e.right=39]="right",e[e.up=38]="up",e[e.down=40]="down",e[e.tab=9]="tab",e[e.enter=13]="enter",e[e.shift=16]="shift",e[e.ctrl=17]="ctrl",e[e.space=32]="space",e[e.altkey=18]="altkey",e[e.home=36]="home",e[e.end=35]="end",e[e.pup=33]="pup",e[e.pdn=34]="pdn",e[e.backspace=8]="backspace",e[e.del=46]="del",e[e.esc=27]="esc",e[e.a=65]="a",e[e.c=67]="c",e[e.v=86]="v",e[e.x=88]="x",e[e.z=90]="z",e[e.y=89]="y"}(r=t.Key||(t.Key={}));var n=function(){function e(e,t,r){this._owner=e,this._cmdDef=t,this._name=r;var n,a=this;Object.defineProperty(a,"shortcutKey",{get:function(){return a._shortcutKey},set:function(e){var t=a._shortcutKey;if(t!==e){var r=(n=a._owner._shortcutKeys)[t];if(r){var i=r.indexOf(a);i>=0&&r.splice(i,1)}a._shortcutKey=e,e&&((r=n[e])||(n[e]=r=[]),r.splice(0,0,a))}}})}return e.prototype.canUndo=function(){return this._cmdDef.canUndo},e.prototype.execute=function(e,t,r){var n,a,i=!0,o=!0;if(this._cmdDef&&t){var s={command:t,result:a,_actionType:r,actionType:r,metaData:null===(n=this._cmdDef)||void 0===n?void 0:n.metaData,r:null,isBefore:!0};this._owner._triggerInternalListener(s),s.r&&(o=!1,a=!1)}if(o){try{i=!1!==(a=(this._cmdDef.execute||this._cmdDef)(e,t,1===r))}catch(e){i=!1}t&&i&&this._owner._commandExecuted({command:this._getCmdOptions(t),result:a,_actionType:r,actionType:r})}if(this._owner&&t){var u={command:t,result:a,_actionType:r,actionType:r,isBefore:!1};this._owner._triggerInternalListener(u)}return a},e.prototype._getCmdOptions=function(e){return e&&!e.cmd&&(e.cmd=this._name),e},e}(),a=function(){function e(e){this._context=e,this._listeners={},this._internalListeners={},this._afterInternalListeners={},this._shortcutKeys={}}return e.prototype.register=function(e,t,r,a,i,o,s){var u=new n(this,t,e);this[e]=u,r&&(u.shortcutKey=this.getShortcutKey(r,a,i,o,s))},e.prototype.getCommand=function(e){return this[e]},e.prototype.execute=function(e){var t=this[e.cmd];if(t)return t.execute(this._context,e,0)},e.prototype.setShortcutKey=function(e,t,r,n,a,i){if(e){var o=this[e];o&&(o.shortcutKey=this.getShortcutKey(t,r,n,a,i))}else{var s=this.getShortcutKey(t,r,n,a,i),u=this.getCommands(s);if(u)for(var l=u.length-1;l>=0;l--)u[l].shortcutKey=void 0}},e.prototype.getShortcutKey=function(e,t,n,a,i){if(e){var o=65<=e&&e<=90?String.fromCharCode(e):r[e];return o||(o=e),o+(t?"+ctrl":"")+(n?"+shift":"")+(a?"+alt":"")+(i?"+window":"")}},e.prototype.getCommands=function(e){return this._shortcutKeys[e]},e.prototype.addListener=function(e,t){this._listeners[e]=t},e.prototype.removeListener=function(e){delete this._listeners[e]},e.prototype._commandExecuted=function(e){var t=this._listeners;for(var r in t)t.hasOwnProperty(r)&&t[r](e)},e.prototype._addInternalListener=function(e,t){this._internalListeners[e]=t},e.prototype._removeInternalListener=function(e){delete this._internalListeners[e]},e.prototype._triggerInternalListener=function(e){var t=this._internalListeners;for(var r in t)t.hasOwnProperty(r)&&t[r](e)},e.prototype._dispose=function(){this._context=null},e}();t.CommandManager=a},748:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.UndoManager=void 0;var r=function(){function e(e,t,r){this._context=e,t<0&&(t=2147483647),this._maxLength=t,this._allowUndo=r,this._undoStack=[],this._redoStack=[],this._hasNewChange=!1}return e.prototype._addCommand=function(e,t){if(e){if(1===t)this._redoStack.push(e);else{var r=this._maxLength,n=this._undoStack.length;if(r>0&&n>=r)for(var a=0;a<n-r+1;a++)this._undoStack.shift();this._undoStack.push(e),0===t&&(this._redoStack=[])}this._hasNewChange=!0}},e.prototype.canUndo=function(){return this._undoStack.length>0},e.prototype.undo=function(){var e=this._undoStack,t=!0;if(this._allowUndo&&this.canUndo()){var r=e[e.length-1];try{var n=this._context.commandManager()[r.cmd];n&&(r._fromUndoManager=!0,t=n.execute(this._context,r,1))}catch(e){t=!1}delete r._fromUndoManager,!1!==t&&(e.pop(),this._hasNewChange=!0,this._redoStack.push(r))}return t},e.prototype.canRedo=function(){return this._redoStack.length>0},e.prototype.redo=function(){var e=this._redoStack,t=!0;if(this._allowUndo&&this.canRedo()){var r=e[e.length-1];try{var n=this._context.commandManager()[r.cmd];n&&(r._fromUndoManager=!0,t=n.execute(this._context,r,2))}catch(e){t=!1}delete r._fromUndoManager,!1!==t&&(e.pop(),this._hasNewChange=!0,this._undoStack.push(r))}return t},e.prototype.getRedoStack=function(){return this._redoStack.slice()},e.prototype.getUndoStack=function(){return this._undoStack.slice()},e.prototype.maxSize=function(e){return arguments.length<1?this._maxLength:(e>=0&&(this._maxLength=e),this)},e.prototype.clear=function(){this._undoStack=[],this._redoStack=[]},e.prototype._filter=function(e){this._undoStack=this._undoStack.filter(e),this._redoStack=this._redoStack.filter(e)},e.prototype._dispose=function(){this._context=null},e.prototype.setNewChangeStatus=function(e){this._hasNewChange=e},e.prototype.getNewChangeStatus=function(){return this._hasNewChange},e}();t.UndoManager=r},569:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(2),t)},498:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Exp_InvalidCast=t.Exp_ValueIllegal=t.Exp_TokenIllegal=t.Exp_DuplicatedDescriptor=t.Exp_ValueIsNull=t.Exp_FormatIllegal=t.Exp_InvalidBackslash=t.Exp_TokenIsNull=void 0,t.Exp_TokenIsNull="token is null",t.Exp_InvalidBackslash="the '\\' cannot be evaluated",t.Exp_FormatIllegal="format is illegal.",t.Exp_ValueIsNull="value is null",t.Exp_DuplicatedDescriptor="The type of descriptor was added.",t.Exp_TokenIllegal="token is illegal.",t.Exp_ValueIllegal="value is illegal.",t.Exp_InvalidCast="InvalidCastException"},2:function(e,t,r){var n,a=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralFormatter=t._NumberFormatDateTime=t.FormatterBase=void 0;var i=r(480),o=r(97),s=r(534),u=r(844),l=r(286),c=r(818),m=r(498),y=r(810),h=r(61);s._Types._extend(c.SR.en,m);var f=new c.ResourceManager(c.SR),d=f.getResource.bind(f);s._Types._isType=function(e,t){if(s._Types._isNullOrUndefined(e))return"null"===t;if(!t)return!1;if(t instanceof Function&&e instanceof t)return!0;if(typeof e===t)return!0;if("function"===t&&/^\s*\bfunction\b/.test(""+e))return!0;if(Object.prototype.toString.call(e).slice(8,-1).toLowerCase()===t.toLowerCase())return!0;if("DateTime"===t)return e instanceof Date;if("TimeSpan"===t){if(e instanceof Date){var r=o._DateTimeHelper._toOADate(e);return r>=0&&r<1}return!1}return!1},s._Types._isNumber=function(e,t){return!!u._NumberHelper._isValidCultureNumberString(e,t)&&("string"!=typeof e||-1===e.search(/[\r\n\t]/g))&&(e=u._NumberHelper._replaceCultureSymbolToNormal(e,t),s._Types._isType(e,"number")||s._Types._isType(e,"DateTime")||s._Types._isType(e,"TimeSpan")||e&&!s._Types._isType(e,"boolean")&&!isNaN(e)&&!isNaN(parseFloat(e))&&!(e.length>=2&&"0"===e[0]&&"x"===e[1]))},s._Types._toDouble=function(e){return s._Types._isNullOrUndefined(e)||""===e?0:s._Types._isType(e,"number")?e:s._Types._isType(e,"string")&&!isNaN(e)?u._NumberHelper._parseLocale(e):s._Types._isType(e,"boolean")?e?1:0:s._Types._isType(e,"DateTime")?o._DateTimeHelper._toOADate(e):s._Types._isType(e,"TimeSpan")?Math.floor(o._DateTimeHelper._toOADate(e)):parseFloat(e)};var p=null,_=Math.abs,g={_yearTwoDigit:"yy",_yearSingleDigit:"y",_yearFourDigit:"yyyy",_monthSingleDigit:"m",_monthTwoDigit:"mm",_monthAbbreviation:"mmm",_monthUnabbreviated:"mmmm",_monthJD:"mmmmm",_daySingleDigit:"d",_dayTwoDigit:"dd",_dayWeekDayAbbreviation:"aaa",_dayWeekDayUnabbreviated:"aaaa",_hoursSingleDigit:"h",_hoursTwoDigit:"hh",_minuteSingleDigit:"m",_minuteTwoDigit:"mm",_secondSingleDigit:"s",_secondTwoDigit:"ss",_eraYear:"e",_aMPMTwoDigit:"AM/PM",_aMPMSingleDigit:"A/P",_placeholderMonthJD:"@mmmmm",_defaultAbsoluteTime:new Date(1899,11,30,0,0,0,0)},M=[g._yearSingleDigit,g._yearTwoDigit,g._yearFourDigit,g._monthSingleDigit,g._monthTwoDigit,g._monthAbbreviation,g._monthUnabbreviated,g._monthJD,g._daySingleDigit,g._dayTwoDigit,g._dayWeekDayAbbreviation,g._dayWeekDayUnabbreviated,g._hoursSingleDigit,g._hoursTwoDigit,g._minuteSingleDigit,g._minuteTwoDigit,g._secondSingleDigit,g._secondTwoDigit,"ggg","gg","g","ee","e"],v={_positive:0,_negative:1,_zero:2,_text:3},b=[{_positive:0,_negative:0,_zero:0,_text:0},{_positive:0,_negative:1,_zero:0,_text:0},{_positive:0,_negative:1,_zero:2,_text:0},{_positive:0,_negative:1,_zero:2,_text:3}],F=RegExp("([.+?*$^\\[\\](){}|/])","g"),S=[["M/d","MMM/d","MMMM/d","d/M","d/MMM","d/MMMM","M-d","MMM-d","MMMM-d","d-M","d-MMM","d-MMMM"],["M/y","MMM/y","M/yyyy","MMM/yyyy","M-y","MMM-y","M-yyyy","MMM-yyyy"],["M/d/y","MMM/d/y","MMMM/d/y","M/d/yyyy","MMM/d/yyyy","MMMM/d/yyyy","d/M/y","d/MMM/y","d/MMMM/y","d/M/yyyy","d/MMM/yyyy","d/MMMM/yyyy","yyyy/M/d","M-d-y","MMM-d-y","MMMM-d-y","M-d-yyyy","MMM-d-yyyy","MMMM-d-yyyy","d-M-y","d-MMM-y","d-MMMM-y","d-M-yyyy","d-MMM-yyyy","d-MMMM-yyyy","yyyy-M-d"],["H:m","h:m tt"],["H:m:s","H:m:s"],["H:m:s.FFF","h:m:s.FFF tt"],["h:m:s tt","h:mm:ss tt"],["M/d H:m","MMM/d H:m","MMMM/d H:m","d/M H:m","d/MMM H:m","d/MMMM H:m","M/y H:m","MMM/y H:m","M/yyyy H:m","MMM/yyyy H:m","M/d/y H:m","MMM/d/y H:m","MMMM/d/y H:m","M/d/yyyy H:m","MMM/d/yyyy H:m","MMMM/d/yyyy H:m","M-d H:m","MMM-d H:m","MMMM-d H:m","d-M H:m","d-MMM H:m","d-MMMM H:m","M-y H:m","MMM-y H:m","M-yyyy H:m","MMM-yyyy H:m","M-d-y H:m","MMM-d-y H:m","MMMM-d-y H:m","M-d-yyyy H:m","MMM-d-yyyy H:m","MMMM-d-yyyy H:m","M/d h:m tt","MMM/d h:m tt","MMMM/d h:m tt","d/M h:m tt","d/MMM h:m tt","d/MMMM h:m tt","M/y h:m tt","MMM/y h:m tt","M/yyyy h:m tt","MMM/yyyy h:m tt","M/d/y h:m tt","MMM/d/y h:m tt","MMMM/d/y h:m tt","M/d/yyyy h:m tt","MMM/d/yyyy h:m tt","MMMM/d/yyyy h:m tt","M-d h:m tt","MMM-d h:m tt","MMMM-d h:m tt","d-M h:m tt","d-MMM h:m tt","d-MMMM h:m tt","M-y h:m tt","MMM-y h:m tt","M-yyyy h:m tt","MMM-yyyy h:m tt","M-d-y h:m tt","MMM-d-y h:m tt","MMMM-d-y h:m tt","M-d-yyyy h:m tt","MMM-d-yyyy h:m tt","MMMM-d-yyyy h:m tt","d/M/y H:m","d/MMM/y H:m","d/MMMM/y H:m","d/M/yyyy H:m","d/mmm/yyyy H:m","d/MMMM/yyyy H:m","yyyy/M/d H:m","d-M-y H:m","d-MMM-y H:m","d-MMMM-y H:m","d-M-yyyy H:m","d-MMM-yyyy H:m","d-MMMM-yyyy H:m","yyyy-M-d H:m","d/M/y h:m tt","d/MMM/y h:m tt","d/MMMM/y h:m tt","d/M/yyyy h:m tt","d/mmm/yyyy h:m tt","d/MMMM/yyyy h:m tt","yyyy/M/d h:m tt","d-M-y h:m tt","d-MMM-y h:m tt","d-MMMM-y h:m tt","d-M-yyyy h:m tt","d-MMM-yyyy h:m tt","d-MMMM-yyyy h:m tt","yyyy-M-d h:m tt"],["M/d H:m:s","MMM/d H:m:s","MMMM/d H:m:s","d/M H:m:s","d/MMM H:m:s","d/MMMM H:m:s","M/y H:m:s","MMM/y H:m:s","M/yyyy H:m:s","MMM/yyyy H:m:s","M/d/y H:m:s","MMM/d/y H:m:s","MMMM/d/y H:m:s","M/d/yyyy H:m:s","MMM/d/yyyy H:m:s","MMMM/d/yyyy H:m:s","d/M/y H:m:s","d/MMM/y H:m:s","d/MMMM/y H:m:s","d/M/yyyy H:m:s","d/MMM/yyyy H:m:s","d/MMMM/yyyy H:m:s","yyyy/M/d H:m:s","M-d H:m:s","MMM-d H:m:s","MMMM-d H:m:s","d-M H:m:s","d-MMM H:m:s","d-MMMM H:m:s","M-y H:m:s","MMM-y H:m:s","M-yyyy H:m:s","MMM-yyyy H:m:s","M-d-y H:m:s","MMM-d-y H:m:s","MMMM-d-y H:m:s","M-d-yyyy H:m:s","MMM-d-yyyy H:m:s","MMMM-d-yyyy H:m:s","d-M-y H:m:s","d-MMM-y H:m:s","d-MMMM-y H:m:s","d-M-yyyy H:m:s","d-MMM-yyyy H:m:s","d-MMMM-yyyy H:m:s","yyyy-M-d H:m:s","M/d h:m:s tt","MMM/d h:m:s tt","MMMM/d h:m:s tt","d/M h:m:s tt","d/MMM h:m:s tt","d/MMMM h:m:s tt","M/y h:m:s tt","MMM/y h:m:s tt","M/yyyy h:m:s tt","MMM/yyyy h:m:s tt","M/d/y h:m:s tt","MMM/d/y h:m:s tt","MMMM/d/y h:m:s tt","M/d/yyyy h:m:s tt","MMM/d/yyyy h:m:s tt","MMMM/d/yyyy h:m:s tt","d/M/y h:m:s tt","d/MMM/y h:m:s tt","d/MMMM/y h:m:s tt","d/M/yyyy h:m:s tt","d/MMM/yyyy h:m:s tt","d/MMMM/yyyy h:m:s tt","yyyy/M/d h:m:s tt","M/d/yyyy h:mm:ss tt","M-d h:m:s tt","MMM-d h:m:s tt","MMMM-d h:m:s tt","d-M h:m:s tt","d-MMM h:m:s tt","d-MMMM h:m:s tt","M-y h:m:s tt","MMM-y h:m:s tt","M-yyyy h:m:s tt","MMM-yyyy h:m:s tt","M-d-y h:m:s tt","MMM-d-y h:m:s tt","MMMM-d-y h:m:s tt","M-d-yyyy h:m:s tt","MMM-d-yyyy h:m:s tt","MMMM-d-yyyy h:m:s tt","d-M-y h:m:s tt","d-MMM-y h:m:s tt","d-MMMM-y h:m:s tt","d-M-yyyy h:m:s tt","d-MMM-yyyy h:m:s tt","d-MMMM-yyyy h:m:s tt","yyyy-M-d h:m:s tt","M/d/yyyy H:m:s","M-d-yyyy H:m:s","M/d/yyyy h:m:s tt","M-d-yyyy H:m:s tt"],["M/d H:m:s.FFF","MMM/d H:m:s.FFF","MMMM/d H:m:s.FFF","d/M H:m:s.FFF","d/MMM H:m:s.FFF","d/MMMM H:m:s.FFF","M/y H:m:s.FFF","MMM/y H:m:s.FFF","M/yyyy H:m:s.FFF","MMM/yyyy H:m:s.FFF","M/d/y H:m:s.FFF","MMM/d/y H:m:s.FFF","MMMM/d/y H:m:s.FFF","MMM/d/yyyy H:m:s.FFF","MMMM/d/yyyy H:m:s.FFF","d/M/y H:m:s.FFF","d/MMM/y H:m:s.FFF","d/MMMM/y H:m:s.FFF","d/M/yyyy H:m:s.FFF","d/MMM/yyyy H:m:s.FFF","d/MMMM/yyyy H:m:s.FFF","yyyy/M/d H:m:s.FFF","M-d H:m:s.FFF","MMM-d H:m:s.FFF","MMMM-d H:m:s.FFF","d-M H:m:s.FFF","d-MMM H:m:s.FFF","d-MMMM H:m:s.FFF","M-y H:m:s.FFF","MMM-y H:m:s.FFF","M-yyyy H:m:s.FFF","MMM-Yyyy H:m:s.FFF","M-d-y H:m:s.FFF","MMM-d-y H:m:s.FFF","MMMM-d-y H:m:s.FFF","MMM-d-yyyy H:m:s.FFF","MMMM-d-yyyy H:m:s.FFF","D-M-y H:m:s.FFF","d-MMM-y H:m:s.FFF","d-MMMM-y H:m:s.FFF","D-M-yyyy H:m:s.FFF","d-MMM-yyyy H:m:s.FFF","d-MMMM-yyyy H:m:s.FFF","yyyy-M-d H:m:s.FFF","M/d h:m:s.FFF tt","MMM/d h:m:s.FFF tt","MMMM/d h:m:s.FFF tt","d/M h:m:s.FFF tt","d/MMM h:m:s.FFF tt","d/MMMM h:m:s.FFF tt","M/y h:m:s.FFF tt","MMM/y h:m:s.FFF tt","M/yyyy h:m:s.FFF tt","MMM/yyyy h:m:s.FFF tt","M/d/y h:m:s.FFF tt","MMM/d/y h:m:s.FFF tt","MMMM/d/y h:m:s.FFF tt","MMM/d/yyyy h:m:s.FFF tt","MMMM/d/yyyy h:m:s.FFF tt","d/M/y h:m:s.FFF tt","d/MMM/y h:m:s.FFF tt","d/MMMM/y h:m:s.FFF tt","d/M/yyyy h:m:s.FFF tt","d/MMM/yyyy h:m:s.FFF tt","d/MMMM/yyyy h:m:s.FFF tt","yyyy/M/d h:m:s.FFF tt","M-d h:m:s.FFF tt","MMM-d h:m:s.FFF tt","MMMM-d h:m:s.FFF tt","d-M h:m:s.FFF tt","d-MMM h:m:s.FFF tt","d-MMMM h:m:s.FFF tt","M-y h:m:s.FFF tt","MMM-y h:m:s.FFF tt","M-yyyy h:m:s.FFF tt","MMM-Yyyy h:m:s.FFF tt","M-d-y h:m:s.FFF tt","MMM-d-y h:m:s.FFF tt","MMMM-d-y h:m:s.FFF tt","MMM-d-yyyy H:m:s.FFF tt","MMMM-d-yyyy h:m:s.FFF tt","d-M-y h:m:s.FFF tt","d-MMM-y h:m:s.FFF tt","d-MMMM-y h:m:s.FFF tt","d-M-yyyy h:m:s.FFF tt","d-MMM-yyyy h:m:s.FFF tt","d-MMMM-yyyy h:m:s.FFF tt","yyyy-M-d h:m:s.FFF tt"]],D=["#000000","#FFFFFF","#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#800000","#008000","#000080","#808000","#800080","#008080","#C0C0C0","#808080","#9999FF","#993366","#FFFFCC","#CCFFFF","#660066","#FF8080","#0066CC","#CCCCFF","#000080","#FF00FF","#FFFF00","#00FFFF","#800080","#800000","#008080","#0000FF","#00CCFF","#CCFFFF","#CCFFCC","#FFFF99","#99CCFF","#FF99CC","#CC99FF","#FFCC99","#3366FF","#33CCCC","#99CC00","#FFCC00","#FF9900","#FF6600","#666699","#969696","#003366","#339966","#003300","#333300","#993300","#993366","#333399","#333333"],x=RegExp("color\\s*(\\d+)","i"),C=s._Types._isType,T=s._Types._isArray,N=u._NumberHelper,E=N._generalNumberInt+"."+N._generalNumberDec,H=N._formatObjectToString,P=N._customCultureFormat,w=N._fixNumber,O=s._Types._isNullOrUndefined,k=isNaN,I=function(e){return l.CultureManager._getCultureInfo(e)},A=function(e){return I(e).DateTimeFormat},R=function(e){return I(e).NumberFormat},$=function(e){return e&&e.toLowerCase()},U=function(){throw Error(d().Exp_FormatIllegal)},B=function(){return l.CultureManager.booleanMapping},j={_Empty:"",_format:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(0===arguments.length)return p;for(var a=r[0],i=1;i<arguments.length;i++){var o=RegExp("\\{"+(i-1)+"\\}","gm");a=a.replace(o,arguments[i])}return a},_isNullOrEmpty:function(e){return!e||e===j._Empty}},L=function(e){var t=e.charCodeAt(0);return t>=48&&t<=57},G=function(e){var t=e.charCodeAt(0);return t>=9&&t<=13||32===t||133===t||160===t},Y=function(){function e(e,t){ye.call(this,t);this._content=e;var r=this._content,n=ue(r[0],"$",!1),a=r.indexOf("-");if(!(n&&a>-1))throw Error(d().Exp_TokenIllegal);this._currencySymbol=ee(r,1,a-1),(r=i._StringHelper._remove(r,0,a+1)).length>0&&(this._locateID=parseInt(r,16))}return e.prototype.cultureInfo=function(){return this._cultureInfo||(this._cultureInfo=I(this._locateID)),this._cultureInfo},e.prototype.currencySymbol=function(){return this._currencySymbol?i._StringHelper._replace(this._currencySymbol,"\\.",'"."'):j._Empty},e.prototype.allowScience=function(){if(this._cultureInfo)return!this._cultureInfo.isJCKCulture},e.prototype.toString=function(){return this._content?ne(this._content):j._Empty},e.Name="LocaleIDFormatPart",e}(),z=function(){function e(e,t){this.formatCached=e,this.cultureName=t,this.typeName=""}return e.prototype.format=function(e,t){return p},e.prototype.parse=function(e){return p},e.prototype.formatString=function(e){return this.formatCached},e.prototype.toJSON=function(){var e={};for(var t in this)this.hasOwnProperty(t)&&(e[t]=this[t]);return e},e.prototype.fromJSON=function(e){if(e)for(var t in e)void 0!==e[t]&&(this[t]=e[t])},e}();t.FormatterBase=z;var K=function(){function e(e,t){ye.call(this,t);for(var r,n,a,o=this,s=["<=","<>",">=",">","<","="],u=0,l=s.length;u<l;u++)if(r=s[u],i._StringHelper._startsWith(e,r,!0)){n=i._StringHelper._remove(e,0,r.length);var c=parseFloat(n);k(c)||(a=c);break}if(a===p&&void 0===a)throw Error(d().Exp_TokenIllegal);o.value=a,o._compareOperator=r,o.isMeetCondition=function(e){var t=o._compareOperator,r=o.value;switch(t){case"<=":return e<=r;case"<>":return e!==r;case">=":return e>=r;case">":return e>r;case"<":return e<r;case"=":return e===r}}}return e.prototype.toString=function(){return ne(this._compareOperator+this.value.toString())},e}(),W=function(){function e(e,t){ye.call(this,t);if(this.token=e,this.type=parseInt(i._StringHelper._remove(e,0,5),10),this.type<0||this.type>4)throw Error(d().Exp_TokenIllegal)}return e.prototype._replaceNumberString=function(t,r,n){if(!t||t===j._Empty)return t;for(var a,o,s=t,u=t,l=-1,c=-1,m=!1,y=t.length-1;y>=0;y--){var h=u[y];!k(h)&&!ue(h," ",!1)||ue(h,".",!1)&&!m?(ue(h,".",!1)&&(m=!0),-1===l&&(l=y),c=y):c>-1&&l>-1&&(a=ee(u,c,l-c+1),k(parseFloat(a))||(o=e.numberString(a,r,n),s=i._StringHelper._remove(s,c,l-c+1),s=i._StringHelper._insert(s,c,o)),l=-1,c=-1,m=!1)}return c>-1&&l>-1&&(a=ee(u,c,l-c+1),k(parseFloat(a))||(o=e.numberString(a,r,n),s=i._StringHelper._remove(s,c,l-c+1),s=i._StringHelper._insert(s,c,o))),s},e.prototype.toString=function(){if(this.type>-1)return ne("DBNum"+this.type);throw Error()},e.numberString=function(t,r,n){var a=e.formatNumberString,i=t.split(".");if(i){if(1===i.length)return a(i[0],r.numbers,n?r.letters:p);if(2===i.length)return a(i[0],r.numbers,n?r.letters:p)+"."+a(i[1],r.numbers)}throw Error(d().Exp_ValueIllegal)},e.formatNumberString=function(t,r,n){var a,i=t,o=0,s=0;if(2===arguments.length){for(var u="";o<i.length;o++)a=ee(i,o,1),u+=r[s=parseInt(a,10)];return u}if(3===arguments.length){if(!n)return e.formatNumberString(t,r);for(var l=0,c="",m=i.length,y=!1,h=[];o<m;o++){var f=n.length-1-o;f>-1?h.push(n[f].toString()):h.push(j._Empty)}for(var d=[],p=h.length-1;p>=0;p--)d[h.length-p-1]=h[p];h=d;var _=!1;for(p=0;p<m;p++){a=ee(i,p,1),s=parseInt(a,10);var g=void 0,M=j._Empty;m-p-16>0?(g=r[s],M="",_=!0):p!==m-1&&p!==m-5&&p!==m-9&&p!==m-13?"0"===a?(g="",M="",l+=1):"0"!==a&&0!==l?(g=r[0]+r[s],M=h[p],l=0):(g=r[s],M=h[p],l=0):"0"!==a&&0!==l?(g=r[0]+r[s],M=h[p],l=0):"0"!==a&&0===l||_?(g=r[s],M=h[p],l=0,_=!1):"0"===a&&l>=3?(g="",M="",l+=1):m>=11?(g="",l+=1):(g="",M=h[p],l+=1),g+M===j._Empty||(y=!1),p!==m-13||y||(M=h[p],y=!0),p!==m-9||y||(M=h[p],y=!0),p===m-1&&(M=h[p],y=!0),c=c+g+M}return 0===parseInt(t,10)?r[0]:c}},e}(),J=function(){function e(e,t,r,n,a,i){me.call(this,t,r,n,i);this._formatString=this._fixFormat(le(e)),this._absTimeParts=a,this._formatType=2,this._init()}return e.prototype._init=function(){var t={_value:this._formatString};if(e._evaluateFormat(t._value)){var r=this._processAMPM(t),n=A(this.cultureName).amDesignator&&A(this.cultureName).pmDesignator;if(this.hasJD=this._replace(t._value,g._monthJD,'"'+g._placeholderMonthJD+'"',!0,!1,t,!1),this._replace(t._value,g._monthUnabbreviated,"MMMM",!0,!1,t,!1),this._replace(t._value,g._monthAbbreviation,"MMM",!0,!1,t,!1),this._replaceMonth(t._value,t),this._replace(t._value,g._dayWeekDayAbbreviation,"ddd",!0,!0,t,!0),this._replace(t._value,g._dayWeekDayUnabbreviated,"dddd",!0,!0,t,!0),r&&n||(this._replace(t._value,g._hoursSingleDigit,"H",!0,!0,t,!1),this._replace(t._value,g._hoursTwoDigit,"HH",!0,!0,t,!1)),this._partDBNumberFormat&&(this._partLocaleID||I(this.cultureName).NumberFormat.dbNumber)&&(this._hasYearDelay=this._hasYearDelay||this._replace(t._value,g._yearFourDigit,'"@'+g._yearFourDigit+'"',!0,!1,t,!0),this._hasYearDelay=this._hasYearDelay||this._replace(t._value,g._yearTwoDigit,'"@'+g._yearTwoDigit+'"',!0,!1,t,!0)),this._absTimeParts)for(var a=0;a<this._absTimeParts.length;a++){var i=this._absTimeParts[a];this._replace(t._value,i._originalToken,"@"+i._originalToken,!0,!0,t,!0)}this._validDateTimeFormatString=t._value}else U()},e.prototype.formatString=function(){return this._formatString},e.prototype.format=function(e){var t=j._Empty,r=p;try{if((r=o._DateTimeHelper._DT(e))&&k(r.valueOf())&&(r=p),r?e=r:t=e.toString(),r){if(t=o._DateTimeHelper._customCultureFormat(r,this._validDateTimeFormatString,this._partLocaleID&&this._partLocaleID.cultureInfo()||I(this.cultureName),this._isShowEraFirstYear),this.hasJD){var n=I(this.cultureName).DateTimeFormat.monthNames[r.getMonth()];t=i._StringHelper._replace(t,g._placeholderMonthJD,ee(n,0,1))}if(this._absTimeParts)for(var a=24*(o._DateTimeHelper._toOADate(r)-o._DateTimeHelper._toOADate(g._defaultAbsoluteTime))*60*60*1e3,s=0;s<this._absTimeParts.length;s++){var u=this._absTimeParts[s],l=u._getTimeSpan(a);if(!O(l)){var c=u._originalToken.replace("[","\\[").replace("]","\\]"),m=u._originalToken.replace("[","").replace("]",""),y=i._StringHelper._padZeroLeft(l+"",m.length);t=i._StringHelper._replace(t,"@"+c,y)}}}}catch(r){t=te(e)}return function(e,t,r,n,a){var i=e;if(!O(n)&&t instanceof Date){var s=fe(r,n.type,a);if(!s)return e;i=n._replaceNumberString(i,s,!0),1===n.type&&(i=i.replace(RegExp("一十","g"),"十")),i=(i=i.replace("@"+g._yearFourDigit,o._DateTimeHelper._localeFormat(t,g._yearFourDigit))).replace("@"+g._yearTwoDigit,o._DateTimeHelper._localeFormat(t,g._yearTwoDigit)),i=n._replaceNumberString(i,s,!1)}return i}(t,e,this._partLocaleID,this._partDBNumberFormat,this.cultureName)},e.prototype.parse=function(e){if(!e||e===j._Empty)return p;var t=e,r=$(t);if("true"===r)return!0;if("false"===r)return!1;if(this._validDateTimeFormatString){var n=o._DateTimeHelper._parseExact(t,this._validDateTimeFormatString,I(this.cultureName));if(n)return n}try{var a=o._DateTimeHelper._DT(t);return a&&!k(a)?a:k((a=new Date(t)).valueOf())?t:a}catch(e){return t}},e.prototype._fixFormat=function(e){for(var t=e,r="",n=!1,a=0;a<t.length;a++){var i=t[a];if('"'===i)n=!n;else if(!n)if("Y"===i||"D"===i||"S"===i||"E"===i||"G"===i)i=$(i);else if("M"===i){var o=t[a-1];ue("A",o,!0)||ue("P",o,!0)||(i=$(i))}r+=i}return r},e.prototype._processAMPM=function(e){var t=A(this.cultureName).amDesignator,r=A(this.cultureName).pmDesignator,n=[g._aMPMTwoDigit];t&&r?n.push(t+"/"+r):n.push(g._aMPMTwoDigit),n.push(g._aMPMSingleDigit);for(var a=["tt","tt","t"],o=e._value,s=0;s<3;s++){if(i._StringHelper._contains(o,a[s]))return!0;if(i._StringHelper._contains(o,n[s],!0))return e._value=i._StringHelper._replace(o,n[s],a[s],!0),!0}return!1},e.prototype._replaceMonth=function(e,t){for(var r=function(e){for(var t=[],r=!1,n=!1,a="",i=function(e,t){return{type:e,content:t}},o=function(e){return!O(e)&&-1!=="yYdDhHmMsSeE".indexOf(e)},s=function(r,n){if(o(r)){for(var a=r,s=e[n+1];o(s)&&s.toLowerCase()===r.toLowerCase()&&(a+=s,n<e.length-1);)n++,s=e[n+1];t.push(i("symbolic",a))}else"a"===r&&"aaa"===e.slice(n,n+3).toLowerCase()?(t.push(i("symbolic",e.slice(n,n+3))),n+=2):t.push(i("text",r));return n},u=0;u<e.length;u++){var l=e[u];if(r)t.push(i("text","\\"+l)),r=!1;else if(n&&'"'!==l)a+=l;else switch(l){case"\\":r=!0;break;case'"':n&&(t.push(i("text",'"'+a+'"')),a=""),n=!n;break;default:u=s(l,u)}}return t}(e),n=-1,a=-1,i=0;i<r.length;i++){var o=r[i];"symbolic"===o.type?"m"===o.content[0].toLowerCase()?n>=0?(o.content=o.content.toLowerCase(),n=-1):(o.content=o.content.toUpperCase(),a=i):"s"===o.content[0].toLowerCase()?a>=0&&(r[a].content=r[a].content.toLowerCase(),a=-1):"h"===o.content[0].toLowerCase()?(n=i,a=-1):a=-1:a>=0&&i>0&&"0"===o.content&&"."===r[i-1].content&&i===a+2&&(r[a].content=r[a].content.toLowerCase())}t._value=r.map((function(e){return e.content})).join("")},e.prototype._replace=function(t,r,n,a,o,s,u){if(a||o){var l=[],c=!0;!e.hasDate(t)&&e.hasTime(t)&&(c=!1);for(var m=!1,y=0;y<t.length;y++){var h=t[y];if(e.hasTime(h)&&!m?c=!1:e.hasDate(h)&&!m&&(c=!0),a&&ue(h,r[0],u)&&c||o&&ue(h,r[0],u)&&!c){for(var f=!0,d=0;d<r.length;d++)if(d+y>=t.length||!ue(r[d],t[d+y],u)){f=!1;break}var p=y+r.length-1;if(f&&p+1<t.length){var _=t[p],g=-1;for(g=p+1;g<t.length&&ue(_,t[g],u);g++);g>p+1&&(y=g,f=!1)}f&&!m&&l.splice(0,0,y)}'"'===h&&(m=!m)}if(s._value=t,l.length>0){for(y=0;y<l.length;y++){var M=l[y];s._value=i._StringHelper._remove(s._value,M,r.length),s._value=i._StringHelper._insert(s._value,M,n)}return!0}return!1}return!1},e.hasTime=function(e){return i._StringHelper._indexOf(e,g._hoursSingleDigit[0],!0)>-1||i._StringHelper._indexOf(e,g._secondSingleDigit[0],!0)>-1},e.hasDate=function(e){return i._StringHelper._indexOf(e,g._yearTwoDigit[0],!0)>-1||i._StringHelper._indexOf(e,g._daySingleDigit[0],!0)>-1},e._evaluateFormat=function(e,t){return ce(e,t||M)},e}();t._NumberFormatDateTime=J;var X=function(){function e(e,t){ye.call(this,t);var r,n=$(e)[0];if("h"===n)r=3600;else if("m"===n)r=60;else{if("s"!==n)throw Error(d().Exp_TokenIllegal);r=1}this._getTimeSpan=function(e){var t=e/1e3/r;return Math.abs(t-Math.round(t))<1e-6?Math.round(t):Math.floor(t)}}return e.Name="ABSTimeFormatPart",e}(),V=function(){function e(e,t){ye.call(this,t);var r=x.exec(e);if(null!==r){var n=Number(r[1]);(n-=1)>=0&&n<D.length&&(e=D[n])}this.foreColor=e}return e.prototype.toString=function(){return ne(this.foreColor)},e.Name="ColorFormatPart",e}(),q=function(){function e(e,t,r,n){me.call(this,t,r,n);this._isGeneralNumber=!1,this._formatType=1,this._fullFormatString=ae(e);var a=le(e);if(t&&(a=oe(a,this._partLocaleID._originalToken,this._partLocaleID.currencySymbol())),(a=ae(a)).indexOf("/")>-1){var i=function(e,t){var r=[];if(e===p||""===e)return r;var n,a,i=!1,o=[],s=!1;for(n=0;n<e.length;n++)'"'!==(a=e[n])||i||(s=!s),i||s||a!==t?o.push(a):(r.push(o.join("")),o=[]),i="\\"===a&&!i;return r.push(o.join("")),r}(a,"/");if(i&&2===i.length){this._fractionDenominatorFormat=i[1];var o=i[0];if(o){var s=o.lastIndexOf(" ");s>-1?(this._fractionIntegerFormat=ee(o,0,s),this._fractionNumeratorFormat=ee(o,s+1,o.length-s-1)):this._fractionNumeratorFormat=o}}}this._numberFormatString=a}return e.prototype.formatString=function(){return this._fullFormatString},e.prototype.format=function(t){if(C(t,"boolean"))return t.toString().toUpperCase();var r=s._Types._toDouble(t);if(k(r)||!isFinite(r)||k(t))return"string"==typeof t?t:p;var n,a,i,o,u,l=I(this.cultureName);if(this._fractionNumeratorFormat&&this._fractionDenominatorFormat){var c={value:0},m={value:0},y={value:0},h=this._getDenominatorLength();if(e.getFraction(r,h,c,m,y)){var f=e.getGCD(m.value,y.value);if(f>1&&(m.value/=f,y.value/=f),this._fractionIntegerFormat){u="",1===y.value&&(c.value+=m.value,m.value=0,y.value=0);var d=H(P(c.value,this._fractionIntegerFormat,l));d&&"0"!==d&&(u+=d,u+=" "),0===c.value&&r<0&&(u+=l.NumberFormat.negativeSign),0===r&&(u+="0"),n=this._fractionDenominatorFormat,!k(a=parseFloat(n))&&a>0&&(0!==m.value&&0!==y.value&&(m.value*=a/y.value),y.value=a,n=n.replace(/^\d+/,e.toNumberPlaceholder(a)),o=(i=Math.ceil(m.value))-m.value,m.value=parseFloat(o<=.5&&o>=0?i.toString():""+(i-1)));var _=this._fractionNumeratorFormat,g=parseFloat(_);if(!k(g)&&0===g){var M=_.length,v=m.value.toString(),b=v.length;M>b?_=_.substr(0,M-(M-b)):M<b&&(v=v.substr(0,b-(b-M)),m.value=parseInt(v,10))}var F=this._getFormattedFractionString(m.value,y.value,_,n,l);return 0===m.value&&(F=F.replace(/./g," "),""===d)?"0 "+F:""===(u+=F)?"0":u}u="";var S=c.value*y.value+m.value;return n=this._fractionDenominatorFormat,(a=parseFloat(n))>0?(S*=a/y.value,y.value=a,u+=(S=parseFloat((o=(i=Math.ceil(S))-S)<=.5&&o>=0?i.toString():""+(i-1)))+"/"+y.value):u+=this._getFormattedFractionString(S,y.value,this._fractionNumeratorFormat,this._fractionDenominatorFormat,l),0===S?"0":u}return r.toString()}return function(e,t,r,n,a){if(!O(n)){var i=fe(r,n.type,a);if(!O(i)){for(var o=!1,s=void 0,u=I(a),l=void 0,c=0,m=e.length;c<m;c++)"decimalSeparator"===e[c].type&&(o=!0,e[c].value=n._replaceNumberString(e[c].value,i,t),s=e[c].value),"number"===e[c].type&&(e[c].value=o?n._replaceNumberString(s+e[c].value,i,t).slice(1):n._replaceNumberString(e[c].value,i,t),"ja-JP"===u.name()&&e[c].value.length>1&&("一千"!==(l=e[c].value.substr(0,2))&&"一百"!==l&&"一十"!==l||(e[c].value=e[c].value.substr(1))));return e}}return e}(P(r,this._numberFormatString,l),this._isGeneralNumber,this._partLocaleID,this._partDBNumberFormat,this.cultureName)},e.prototype.parse=function(e){if(!e||e===j._Empty)return p;var t=function(e){return e&&e.toUpperCase()}(e);if("TRUE"===t||t===B()&&B().boolean_true)return!0;if("FALSE"===t||t===B()&&B().boolean_false)return!1;var r="("===e.charAt(0)&&")"===e.charAt(e.length-1);r&&(e=e.substring(1,e.length-1));var n=this._fractionNumeratorFormat&&this._fractionDenominatorFormat,a=this._trimPercentSign(this._numberFormatString)._isPer;if(n||a){var o=0;if(n&&this._fractionIntegerFormat){var s=(e=e.trim()).lastIndexOf(" ");0<s&&s<e.length-1&&(o=parseInt(e.substr(0,s),10),e=e.substr(s+1))}var u=e.indexOf("/");if(0<u&&u<e.length-1){var l=e.substr(0,u),c=e.substr(u+1);if(!k(l)&&!k(c)){var m=parseInt(l,10),y=parseInt(c,10);if(!k(m)&&!k(y)&&0!==y)return o+m/y}}}e=this._trimSpecialSymbol(e),e=this._trimCurrencySymbol(e);var h=this._trimPercentSign(e),f=h._isPer,d=h._str;if(this._isValidNumberString(d)){d=i._StringHelper._replaceAllNoReg(d,R(this.cultureName).numberGroupSeparator,"",!1);var g=N._parseFloat(d,this.cultureName);if(!k(g)&&isFinite(g)){if(f&&(g=w(g/100,15)),r){if("-"===d.charAt(0)||"+"===d.charAt(0))return p;g=-1*_(g)}return g}}return p},e.prototype._getDenominatorLength=function(){var e=this._fractionDenominatorFormat,t=0;if(e)for(var r=e.length,n=0;n<r&&e[n].match(/[#?\d]/);n++)t++;return t},e.prototype._isValidNumberString=function(e){for(var t="",r=0,n=0,a=0,i=p,o=R(this.cultureName),s=e.length-1;s>-1;s--){if(e[s]===o.numberDecimalSeparator)r++,a>0&&(i=!1),t="";else if("e"===$(e[s])){if(n++,t="",s===e.length-1)return!1}else if(e[s]===o.numberGroupSeparator)i=3===t.length,a++,t="";else if("-"===e[s]||"+"===e[s]){if(s>0&&"e"!==$(e[s-1]))return!1}else{if(!L(e[s]))return!1;if(t+=e[s],0===s&&0===parseInt(t,10)&&i)return!1}if(r>1||n>1||!1===i)return!1}return!0},e.prototype._trimSpecialSymbol=function(e){for(var t=e,r=[],n=0;n<t.length;n++)L(t[n])&&r.push(n);for(var a=R(this.cultureName),o=[a.currencyDecimalSeparator,a.currencyGroupSeparator,a.currencySymbol,"$",a.nanSymbol,a.negativeInfinitySymbol,a.negativeSign,a.numberDecimalSeparator,a.numberGroupSeparator,a.percentDecimalSeparator,a.percentGroupSeparator,a.percentSymbol,a.perMilleSymbol,a.positiveInfinitySymbol,a.positiveSign],s=t.length-1;s>-1;s--){var u=t[s];if(G(u)&&o.indexOf(u.toString())<=-1)(s<r[0]||r[r.length-1]<s)&&(t=i._StringHelper._remove(t,s,1));else if("-"===u||"+"===u){var l=s>0?t[s-1].toString():p;if(["e","E","(",R(this.cultureName).currencySymbol,"$"].indexOf(l)<0)break}}return t},e.prototype._trimCurrencySymbol=function(e){if(i._StringHelper._startsWith(e,"$")){if((t=i._StringHelper._remove(e,0,1)).indexOf("$")<0)return t}else{var t,r=R(this.cultureName).currencySymbol;if("$"!==r&&i._StringHelper._startsWith(e,r)&&(t=i._StringHelper._remove(e,0,r.length)).indexOf(r)<0)return t}return e},e.prototype._trimPercentSign=function(e){var t=R(this.cultureName).percentSymbol,r=!0,n=e;return i._StringHelper._startsWith(e,t)?n=i._StringHelper._remove(e,0,t.length):i._StringHelper._endsWith(e,t)?n=i._StringHelper._remove(e,e.length-t.length,t.length):r=!1,i._StringHelper._contains(n,t)&&(r=!1),{_str:n,_isPer:r}},e.prototype._getFormattedFractionString=function(e,t,r,n,a){var i=H(P(e,r,a)),o=H(P("0."+t,"#."+n,a,!0)),s=a&&a.NumberFormat&&a.NumberFormat.numberDecimalSeparator||".",u=i+"/"+o.substr(o.indexOf(s)+1);return""===r&&(u=e+u),""===n&&(u+=t),u},e.getGCD=function(e,t){if(0===e)return _(t);if(0===t)return _(e);for(var r=Math.max(e,t),n=Math.min(e,t),a=r%n;0!==a;)a=(r=n)%(n=a);return _(n)},e.getFraction=function(e,t,r,n,a){var i=0,o=0,s=0,u=0,l=Math.ceil;e>0?1==(u=e-l(e)+1)?(u=0,i=e):i=l(e)-1:e<0&&(i=l(e),u=l(e)-e);var c=Math.pow(10,t-1),m=Math.pow(10,t)-1;c<2&&(c=2),m<2&&(m=2);for(var y=!1,h=0,f=c;f<=m;f++){var d=Math.round(f*u),p=d/f,g=_(p-u);if((!y||g<_(h-u))&&(y=!0,h=p,o=d,s=f,g<1e-6))break}return r.value=i,n.value=o,a.value=s,y},e.toNumberPlaceholder=function(e){return e.toString().replace(/\d/g,"?")},e}(),Q=function(){function e(t,r,n,a){me.call(this,r,n,a),arguments.length>0?(e._isValidNumberFormatString(t)||U(),this._fullFormatString=t):this._fullFormatString="General",this._formatType=0}return e._isValidNumberFormatString=function(e){for(var t="",r=!1,n=-1,a=e.length,i=0;i<a;i++){var o=e[i];'"'===o?n=(r=!r)?i:-1:r||(t+=o)}return n>0&&(t+=e.substring(n,a)),!(t.indexOf("0")>=0||t.indexOf("#")>=0||t.indexOf(".")>=0||t.indexOf("@")>=0)},e.prototype._getDigitalFormat=function(){if(!this._digitalFormat){var e=this._fullFormatString;e=oe(e,"General",E),this._digitalFormat=new q(e,this._partLocaleID,this._partDBNumberFormat,this.cultureName),this._digitalFormat._isGeneralNumber=!0}return this._digitalFormat},e.prototype._getExponentialDigitalFormat=function(){return this._exponentialDigitalFormat||(this._exponentialDigitalFormat=new q("0.#####E+00",this._partLocaleID,this._partDBNumberFormat,this.cultureName),this._exponentialDigitalFormat._isGeneralNumber=!0),this._exponentialDigitalFormat},e.prototype.formatString=function(){return i._StringHelper._replace(this._fullFormatString,"@NumberFormat","General")},e.prototype.format=function(e){if(s._Types._isNumber(e,this.cultureName)){var t=!this._partLocaleID||this._partLocaleID.allowScience(),r=s._Types._toDouble(e);if(void 0!==r&&r!==p)return _(r)>99999999999&&t||_(r)<1e-11&&0!==r?this._getExponentialDigitalFormat().format(e):this._getDigitalFormat().format(e)}else{if(C(e,"string")){var n=i._StringHelper._replace(this.formatString(),'"',"");return n=se(n),e}if(C(e,"boolean"))return e.toString().toUpperCase()}return""},e.prototype.parse=function(e){if(j._isNullOrEmpty(e))return p;if("number"==typeof e)return e;var t=!1,r=e.trim(),n=i._StringHelper._indexOf(r,"-",!1);n>0&&!ue(r.charAt(n-1),"E",!0)&&(t=!0);var a,s=I(this.cultureName),u=s.DateTimeFormat,c=u.dateSeparator,m=u.timeSeparator,y=u.monthNames,h=u.abbreviatedMonthNames,f=function(e,t){if(!t||0===t.length)return!1;for(var r=!1,n=0,a=t.length;n<a;n++)if(i._StringHelper._contains(e,t[n],!0)){r=!0;break}return r};if(t||i._StringHelper._contains(r,c,!1)||i._StringHelper._contains(r,m,!1)||i._StringHelper._contains(r,"/",!1)||i._StringHelper._contains(r,":",!1)||i._StringHelper._contains(r,"-",!1)||i._StringHelper._contains(r,"年",!1)||i._StringHelper._contains(r,"月",!1)||i._StringHelper._contains(r,"日",!1)||f(r,y)||f(r,h)||"ja-JP"===s.name()&&l._EraHelper._symbols.indexOf(r[0].toUpperCase())>=0&&i._StringHelper._contains(r,".",!1)){var d=o._DateTimeHelper._parseLocale(r);if(d)return d}var g,M="-"===r.charAt(0);if(M||"+"===r.charAt(0)){if("("===(r=i._StringHelper._remove(r,0,1)).charAt(0)&&")"===r.charAt(r.length-1))return e}else if("("===r.charAt(0)&&")"===r.charAt(r.length-1)&&(g=!0,"-"===(r=(r=r.substring(1,r.length-1)).trim()).charAt(0)||"+"===r.charAt(0)))return e;return(a=this._getDigitalFormat().parse(r))!==p&&void 0!==a?g&&C(a,"boolean")?e:(g||M)&&C(a,"number")?-1*_(a):a:e},e}(),Z=function(){function e(e,t,r,n){me.call(this,t,r,n);var a=le(e,!1);t&&(a=oe(a,this._partLocaleID._originalToken,this._partLocaleID.currencySymbol())),a=se(a=ae(a)),this._formatString=a,this._formatType=3}return e.prototype.format=function(e,t){try{var r;r=e instanceof Date?o._DateTimeHelper._toOADate(e).toString():te(e);var n=this._parseFormat(this._formatString);return this._toFormattedObject(r,n.formatTokens,e,n.hasAtPart,t)}catch(e){return""}},e.prototype.parse=function(e){return e||""},e.prototype.formatString=function(){return this._formatString},e.prototype._parseFormat=function(e){for(var t,r=[],n=!1,a="",i=!1,o=p,s=0;s<e.length;s++)t=e.charAt(s),i?('"'!==t?a+=t:(a+=t,r.push(a),a="",i=!1),o=t):"*"!==o&&"_"!==o&&"\\"!==o||""===a?"*"!==t&&"_"!==t&&"\\"!==t?"@"!==t?'"'!==t?(a+=t,o=t):(o=t,""!==a&&r.push(a),a=t,i=!0):(o=t,""!==a&&(r.push(a),a=""),r.push(t),n=!0):(o=t,""!==a&&(r.push(a),a=""),a+=t):(a+=t,r.push(a),a="");return""!==a&&r.push(a),{formatTokens:r,hasAtPart:n}},e.prototype._toFormattedObject=function(e,t,r,n,a){var i=[],o=!1;if("string"!=typeof r||n||a)for(var s=t.length-1;s>=0;s--){var u=t[s];"*"===u[0]?o||(o=!0,i.push({type:"fillingChar",value:u[1]})):"_"===u[0]?i.push({type:"placeholder",value:u[1]}):'"'===u[0]&&'"'===u[u.length-1]?u.length>=2&&i.push({type:"text",value:u.substr(1,u.length-2)}):"\\@"===u?i.push({type:"text",value:"@"}):"@"===u[0]?i.push({type:"text",value:e}):i.push({type:"text",value:u})}else i.push({type:"text",value:r});return i.reverse()},e}();function ee(e,t,r){return e.substr(t,r)}function te(e){return s._Types._isNullOrUndefined(e)?"":"boolean"==typeof e?e?"TRUE":"FALSE":"string"==typeof e?e:e.toString()}function re(e,t){if("\\"===e[t])throw Error(d().Exp_InvalidBackslash);if(t-1>0&&t-1<e.length&&"\\"===e[t-1]){if(t-2<0)return!0;if(t-2>0&&t-2<e.length)return"\\"!==e[t-2]}return!1}function ne(e){if(!e)throw Error(d().Exp_TokenIsNull);return"["+e+"]"}function ae(e){if(void 0===e||e===p||""===e)return e;for(var t="",r=0,n=!1,a=0;a<e.length;a++){var i=e[a];'"'===i?(n=!n,t+=i):n?t+=i:"["===i?r++:"]"===i?--r<0&&(r=0):0===r&&(t+=i)}return t.toString()}function ie(e){return e=oe(e,"[",""),oe(e,"]","")}function oe(e,t,r){return!e||e===j._Empty||ue(t,r,!0)?e:(t=t.replace(F,"\\$1"),e.replace(RegExp(t,"g"),r))}function se(e){for(var t=e.length,r=!1,n="",a=0;a<t;a++){var i=e.charAt(a);"\\"===i?(r=!r)&&"@"!==e.charAt(a+1)||(n+=i):(r=!1,n+=i)}return n}function ue(e,t,r){return r?$(e)===$(t):e===t}function le(e,t){1===arguments.length&&(t=!0);for(var r=!1,n="",a=0;a<e.length;a++){var i=e[a];if('"'===i)r=!r;else if(!r&&!t&&"/"===i&&!re(e,a))continue;n+=i}return n}function ce(e,t){if(!e||e===j._Empty)return!1;for(var r=function(e){for(var t="",r=!1,n=0,a=e.length;n<a;n++){var i=e[n];'"'===i&&(r=!r),"E"===i||r||(t+=$(i))}return t}(le(e)),n=0;n<t.length;n++){var a=r.indexOf(t[n]);if(0===a||a>0&&"_"!==r[a-1]&&"*"!==r[a-1])return!0}return!1}function me(e,t,r,n){this._partLocaleID=e,this._partDBNumberFormat=t,this.cultureName=r,this._isShowEraFirstYear=n}function ye(e){this._originalToken=e}function he(e){var t,r=ie(e);if(!r||r===j._Empty)return t;var n=r[0];return["<",">","="].indexOf(n)>-1?(t=K).Name="ConditionalFormatPart":i._StringHelper._startsWith(r,"DBNum",!0)?(t=W).Name="DBNumberFormatPart":ue(r[0],"$",!1)&&r.indexOf("-")>-1?(t=Y).Name="LocaleIDFormatPart":function(e){var t=$(e),r=t[0];if("h"!==r&&"m"!==r&&"s"!==r)return!1;for(var n=1;n<t.length;n++)if(r!==t[n])return!1;return!0}(r)?(t=X).Name="ABSTimeFormatPart":r.indexOf("$")<0&&r.length>=3&&((t=V).Name="ColorFormatPart"),t}function fe(e,t,r){var n;if(n=e?e.cultureInfo():I(r),t<4||4===t&&("ko-kr"===r||"ko-kr"===n.name())){var a=n.NumberFormat.dbNumber;if(a)return a[t]}return p}var de=function(){function e(e,t){0===arguments.length?(this.formatCached="General",this._numberFormat=new Q):this._init(e,t)}return e.prototype._init=function(t,r){t!==p&&void 0!==t||U();var n=t;this.formatCached=t;for(var a="",i="",o=!1,s=!1,u=!1,c=[],m=0;m<t.length;m++){var y=t[m];if('"'===y)s=!s,i+=y;else if(s)i+=y;else if("["===y)o&&U(),i&&(a||(a=""),a+=i),i=y.toString(),o=!0;else if("]"===y){if(o||U(),i){var h=(i+=y).toString(),f=he(i.toString());if(f)"ABSTimeFormatPart"===f.Name?(c.push(new f(e.preProcessPart(h),h)),a+=i):h===l._EraHelper.eraExcelFormatter?(this.addPart(f,l._EraHelper.eraInternalFormatter),u=!0):this.addPart(f,h);else{var d=e.partToNormalStr(h);a+=d,n=oe(t,h,d)}i=""}else U();o=!1}else i+=y}i?o?U():a+=i:a||(a=this._getDBNumberDefaultFormat()),this.localeIDFormatPart&&(r=this.localeIDFormatPart.cultureInfo().name());var _=function(e,t){var r,n=!1;return ce(e=e?e.toString():j._Empty,["general"])?r=Q:J._evaluateFormat(e)?r=J:ce(e,["E+","E-","#",".",",","%","0","/","?"])||t?(n=!0,r=q):(n=!0,r=Z),{_isDigitalOrText:n,_type:r}}(a,this.conditionalFormatPart),g=_._type,M=_._isDigitalOrText?n:a;g?this._numberFormat=new g(M,this.localeIDFormatPart,this.dbNumberFormatPart,r,c.length>0?c:p,u):U()},e.prototype._getDBNumberDefaultFormat=function(){var t=this,r="";return t.dbNumberFormatPart&&(e.proNames.some((function(e){return"dbNumberFormatPart"!==e&&t[e]}))||(r="General")),r},e.prototype.formatString=function(){for(var t="",r=0,n=e.proNames.length;r<n;r++){var a=e.proNames[r];this[a]&&(t+=this[a].toString())}return t+this._numberFormat.formatString()},e.prototype.addPart=function(t,r){for(var n=e.proNames,a=e.preProcessPart(r),i=0,o=n.length;i<o;i++){var s=n[i];if(ue(s,t.Name,!0)){if(this[s])throw Error(d().Exp_DuplicatedDescriptor);this[s]=new t(a,r)}}},e.prototype.format=function(e,t){return this._numberFormat.format(e,t)},e.prototype.parse=function(e){return this._numberFormat.parse(e)},e.checkFormatter=function(e){if(!e||e===j._Empty)throw Error(d().Exp_TokenIllegal)},e.preProcessPart=function(t){e.checkFormatter(t);var r=ie(t);return e.checkFormatter(r),r},e.partToNormalStr=function(t){var r=e.preProcessPart(t);return"$"===r[0]&&(r=r.slice(1)),'"'+r+'"'},e.proNames=["colorFormatPart","conditionalFormatPart","dbNumberFormatPart","localeIDFormatPart"],e}(),pe=function(e){function t(t,r){var n=e.call(this,t,r)||this,a=n;return a._isSingleFormatterInfo=!0,a.PropertyChanged=[],j._isNullOrEmpty(t)&&(t="General"),a.formatCached=t,a.cultureName=r,a.init(),n}return a(t,e),t.prototype.toJSON=function(){var e={formatCached:this.formatCached};return this.cultureName&&(e.customerCultureName=this.cultureName),"general"===$(this.formatCached)&&delete e.formatCached,e},t.prototype.hasFormattedColor=function(){for(var e in v)if(v.hasOwnProperty(e)){var t=this.getFormatter(v[e]);if(t&&t.colorFormatPart)return!0}return!1},t.prototype.formatString=function(e){if(0===arguments.length){for(var t=j._Empty,r=0,n=this.formatters.length;r<n;r++){t+=this.formatters[r].formatString(),r!==n-1&&(t+=";")}return t}if(!e)throw Error(d().Exp_ValueIsNull);return this.formatters=p,this.formatCached=e,this.init(),this._raisePropertyChanged("formatString"),this},t.prototype.getFormatter=function(e){return this.formatters&&this.formatters[e]},t.prototype.getPreferredEditingFormatter=function(e){var r,n=A(this.cultureName),a=R(this.cultureName),i=t.defFormatter;if(C(e,"TimeSpan"))return i(n.longTimePattern);if(C(e,"DateTime")){var o=0===e.getHours()&&0===e.getMinutes()&&0===e.getSeconds()&&0===e.getMilliseconds()?"":" h:mm:ss";return i(n.shortDatePattern+o)}if(s._Types._isNumber(e,this.cultureName)){var u=s._Types._toDouble(e);return i(u>=1e21||u<=1e-17&&u>0||u<=-1e21||u<0&&u>=-1e-17?null!==(r=a.scientificNotation)&&void 0!==r?r:"0.##############E+00":E)}return i("General")},t.prototype.getPreferredDisplayFormatter=function(e,r){var n=t.defFormatter;if(r||(r={value:p}),r.value=p,j._isNullOrEmpty(e))return new t;var a=e,u=r.value=this.parse(a);if(C(u,"DateTime")||C(u,"TimeSpan")){var l={pattern:S,formatter:["d-mmm","mmm-yy",A().shortDatePattern,"h:mm","h:mm:ss","h:mm:ss.0","h:mm:ss tt",A().shortDatePattern+" h:mm",A().shortDatePattern+" h:mm:ss",A().shortDatePattern+" h:mm:ss.0"]},c=l.pattern,m=l.formatter,y=I(this.cultureName),h=y.DateTimeFormat,f=h.preselectedFormatters;if(f.length>0&&(c=c.concat([f]),m=m.concat([f[0]])),"ja-JP"===y.name()){c=c.concat([h.eraFormatter]),m=m.concat(["ge.M.d"]);var d=y._eraFormatter.filter((function(e){return"ggge"===e.substr(0,4)}));c=c.concat([d]),m=m.concat(['ggge"年"M"月"d"日']);var _=y._eraFormatter.filter((function(e){return"gge"===e.substr(0,3)}));c=c.concat([_]),m=m.concat(['gge"年"M"月"d"日']);var g=y._eraFormatter.filter((function(e){return"ge"===e.substr(0,2)}));c=c.concat([g]),m=m.concat(['ge"年"M"月"d"日'])}for(var M=0;M<c.length;M++)for(var v=c[M],b=0;b<v.length;b++){var F=v[b],D=o._DateTimeHelper._parseLocale(e,F);if(D&&D-u==0)return new t(m[M])}}else if(s._Types._isNumber(u,this.cultureName)){var x=R(this.cultureName),T=x.currencySymbol,N=x.numberDecimalSeparator,E=x.percentSymbol,H=x.numberGroupSeparator,P=i._StringHelper._contains,w=P(a,N)?".00":"";if(a[0]===T)return n(j._format("{0}#,##0{1};[Red]({0}#,##0{1})",T,w));if(P(a,"E",!0))return n("0.00E+00");if(a[0].toString()===E||a[a.length-1].toString()===E)return n(j._format("0{0}%",w));if(P(a,H))return n(j._format("#,##0{0}",w))}return n("General")},t.prototype.format=function(e,t){if(C(e,"boolean"))return B()&&(e=e?B().boolean_true:B().boolean_false),e.toString().toUpperCase();var r,n=0,a=this._getFormatInfo(e);if(a){var i=a.colorFormatPart;t&&i&&(t.conditionalForeColor=t.value=i.foreColor),(r=s._Types._isNumber(e,this.cultureName))&&(n=s._Types._toDouble(e));var o=j._Empty;try{if(r&&a===this.getFormatter(v._negative)&&0!==this.expressionNumber)(o=a.format(a.considerNegSymbol?n:_(n)))===p&&C(e,"string")&&(o=e);else if(void 0===(o=a.value)){var u=!this._isSingleFormatterInfo&&a===this.getFormatter(v._text);o=a.format(e,r||u)}t&&(t.content=T(o)?o:[{type:"text",value:o}]),T(o)&&(o=N._formatObjectToString(o))}catch(t){C(e,"string")&&(o=e.toString())}return o}return r&&n<0?"-":C(e,"string")?e.toString():void 0===e||e===p?j._Empty:e.toString()},t.prototype.parse=function(e){return this.formatters&&this.formatters.length>0?this.formatters[0].parse(e):p},t.prototype.init=function(){var e=this.formatCached;j._isNullOrEmpty(e)&&U(),this.formatters=[];var t=function(e){for(var t=[],r=0,n=0,a=e.length,i=0;i<a;i++)"_"===e[i]?r++:(";"!==e[i]||0!==r&&r%2!=0||(t.push(e.substring(n,i)),n=i+1),r=0);return n<=a&&t.push(e.substring(n,a)),t}(e);this._isSingleFormatterInfo=1===t.length,(!t||t.length<1||t.length>4)&&U();for(var r=0;r<t.length;r++){-1!==t[r].indexOf("@")&&-1===t[r].indexOf("\\@")&&(r!==t.length-1?U():this.hasAt=!0);var n=new de(t[r],this.cultureName);this.formatters.push(n)}this.getFormatter(v._positive)||U(),this._refreshFormatPart()},t.prototype._refreshFormatPart=function(){this.expressionNumber=this.formatters.length-(this.hasAt?1:0);var e=(0===this.expressionNumber?1:this.expressionNumber)-1;v=s._Types._extend({},b[e]),this.hasAt&&0!==this.expressionNumber&&(v._text=this.formatters.length-1)},t.prototype._getFormatInfo=function(e){this._refreshFormatPart();var t=this.getFormatter(v._positive),r=t&&t.conditionalFormatPart,n=this.getFormatter(v._text);if(r&&(v._zero=2,this.hasAt||(v._text=3)),"string"==typeof e&&k(e))return n||(r?e:t);if(s._Types._isNumber(e,this.cultureName)||C(e,"boolean")){var a=this.getFormatter(v._negative),i=this.getFormatter(v._zero),o=s._Types._toDouble(e),u=r&&t.conditionalFormatPart.isMeetCondition(o),l=a&&a.conditionalFormatPart,c=l&&a.conditionalFormatPart.isMeetCondition(o),m=void 0;if(this._isSingleFormatterInfo||(r?u:o>0||0===o&&!i))m=t;else if(l?c:o<0)m=a;else if(i)m=i;else if(a){if(r&&l)return{value:o+""};m=a}return m&&(!r||l||m!==a||i||(m.considerNegSymbol=!0),r&&l&&m===a&&a.conditionalFormatPart&&a.conditionalFormatPart.isMeetCondition(1e-10)&&(m.considerNegSymbol=!0),this.expressionNumber<=1&&(m.considerNegSymbol=!0)),m}return p},t.prototype._raisePropertyChanged=function(e){if(this.PropertyChanged)for(var t=0;t<this.PropertyChanged.length;t++){var r=this.PropertyChanged[t];"function"==typeof r&&r(this,e)}},t.defFormatter=function(e){var r=t[e];return r||(r=new t(e),t[e]=r),r},t.test=function(e){var t=!0;try{var r=new y.Lexer(e);new h.Parser(r).parse()}catch(e){t=!1}return t},t}(z);t.GeneralFormatter=pe},826:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=t.BACKSLASH=t.UNDERLINE=t.ASTERISK=t.DOUBLE_QUOTE=t.SEMICOLON=void 0,t.SEMICOLON=";",t.DOUBLE_QUOTE='"',t.ASTERISK="*",t.UNDERLINE="_",t.BACKSLASH="\\";t.throwError=function(){throw Error("Invalid Number Format")}},810:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Lexer=void 0;var n=r(826),a=function(e){return!!["0","#","?",".","%",",","/",n.BACKSLASH,n.ASTERISK,n.UNDERLINE,"@"].find((function(t){return t===e}))},i=function(e){return[n.BACKSLASH,n.ASTERISK,n.UNDERLINE].find((function(t){return t===e}))},o=function(e,t){return{type:e,value:t}},s=function(){function e(e){this._tokens=[],this._input=e,this._tokenize()}return e.prototype._tokenize=function(){for(var e=0,t=this._input;e<t.length;e++){var r=t[e];if(a(r)){if(i(r)){this._tokens.push(o("symbol",r)),e<t.length-1&&(this._tokens.push(o("char",t[e+1])),e++);continue}this._tokens.push(o("symbol",r))}else if(r!==n.SEMICOLON){if(r===n.DOUBLE_QUOTE){var s=t.slice(e+1).search(n.DOUBLE_QUOTE);if(-1!==s){s=s+e+1,this._tokens.push(o("text",t.slice(e+1,s))),e=s;continue}(0,n.throwError)()}this._tokens.push(o("char",r))}else this._tokens.push(o("semicolon",r))}this._tokens.push(o("EOF",""))},e.prototype._nextToken=function(){return this._tokens.shift()},e}();t.Lexer=s},61:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var n=r(826),a=function(){function e(e){this._lexer=e,this._currentToken=e._nextToken()}return e.prototype._eat=function(e){this._currentToken.type===e?this._currentToken=this._lexer._nextToken():(0,n.throwError)()},e.prototype.parse=function(){for(var e=[];"EOF"!==this._currentToken.type;)e.push(this._parseFormatPart()),e.length>4&&(0,n.throwError)();return{type:"numberFormat",body:e}},e.prototype._parseFormatPart=function(){for(var e=[];"semicolon"!==this._currentToken.type&&"EOF"!==this._currentToken.type;){"symbol"===this._currentToken.type?e.push(this._parseSymbol()):e.push(this._parseCharOrString())}return"semicolon"===this._currentToken.type&&this._eat("semicolon"),{type:"formatPart",body:e}},e.prototype._parseSymbol=function(){var e,t=this._currentToken.value;return t===n.ASTERISK?(this._eat("symbol"),e={type:"asterisk",body:this._currentToken.value},this._eat("char")):t===n.BACKSLASH?(this._eat("symbol"),e={type:"char",body:this._currentToken.value},this._eat("char")):t===n.UNDERLINE?(this._eat("symbol"),e={type:"underline",body:this._currentToken.value},this._eat("char")):(e={type:"symbol",body:this._currentToken.value},this._eat("symbol")),e},e.prototype._parseCharOrString=function(){var e,t=this._currentToken.type;return"char"===t?(e={type:"char",body:this._currentToken.value},this._eat("char")):"text"===t&&(e={type:"text",body:this._currentToken.value},this._eat("text")),e},e}();t.Parser=a},736:function(e){e.exports=canvas}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var i=r[e]={exports:{}};return t[e].call(i.exports,i,i.exports,n),i.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}();var a={};!function(){var e=a;Object.defineProperty(e,"__esModule",{value:!0}),e.Formatter=e.Commands=e.Common=void 0;var t=n(38);e.Common=t;var r=n(814);e.Commands=r;var i=n(569);e.Formatter=i}(),(e=void 0===e?{}:e).Spread=a}()},653:()=>{var e;!function(){"use strict";var t={38:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.UserManagerEvent=t.UserManager=t.UUIDGenerator=t._getSR=t.rbush=t.CultureManager=t.CultureInfo=t._StringHelper=t._RegexHelper=t._NumberHelper=t._DateTimeHelper=t._ArrayHelper=t._Types=t._ColorHelper=void 0;var i=r(395);Object.defineProperty(t,"_ColorHelper",{enumerable:!0,get:function(){return i._ColorHelper}});var o=r(534);Object.defineProperty(t,"_Types",{enumerable:!0,get:function(){return o._Types}});var s=r(305);Object.defineProperty(t,"_ArrayHelper",{enumerable:!0,get:function(){return s._ArrayHelper}});var u=r(97);Object.defineProperty(t,"_DateTimeHelper",{enumerable:!0,get:function(){return u._DateTimeHelper}}),Object.defineProperty(t,"_getSR",{enumerable:!0,get:function(){return u.getSR}});var l=r(844);Object.defineProperty(t,"_NumberHelper",{enumerable:!0,get:function(){return l._NumberHelper}});var c=r(576);Object.defineProperty(t,"_RegexHelper",{enumerable:!0,get:function(){return c._RegexHelper}});var m=r(480);Object.defineProperty(t,"_StringHelper",{enumerable:!0,get:function(){return m._StringHelper}});var y=r(674);Object.defineProperty(t,"rbush",{enumerable:!0,get:function(){return y.rbush}});var h=r(818),f=r(479);Object.defineProperty(t,"UUIDGenerator",{enumerable:!0,get:function(){return f.UUIDGenerator}}),Object.defineProperty(t,"HandleExcelSpecialDate",{set:function(e){h.HandleExcelSpecialDate=e},get:function(){return h.HandleExcelSpecialDate}}),a(r(818),t);var d=r(286);Object.defineProperty(t,"CultureInfo",{enumerable:!0,get:function(){return d.CultureInfo}}),Object.defineProperty(t,"CultureManager",{enumerable:!0,get:function(){return d.CultureManager}}),a(r(646),t);var p=r(561);Object.defineProperty(t,"UserManager",{enumerable:!0,get:function(){return p.UserManager}}),Object.defineProperty(t,"UserManagerEvent",{enumerable:!0,get:function(){return p.UserManagerEvent}})},286:function(e,t,r){var n,a=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.CultureManager=t._EraHelper=t.CultureInfo=t.TimelineDateOrder=void 0;var i,o=r(534),s=r(818),u=r(305),l=r(576),c="undefined"!=typeof window?window:r.g,m=o._Types._each,y=o._Types._extend,h=(new Date).getFullYear(),f=["MM/dd/yyyy","MM/d/yyyy","M/dd/yyyy","M/d/yyyy","yy/MM/dd","yy/MM/d","yy/M/dd","yy/M/d","yyyy/MM/dd","yyyy/MM/d","yyyy/M/dd","yyyy/M/d"],d=["hh:mm:ss","hh:mm:s","hh:m:ss","hh:m:s","h:mm:ss","h:mm:s","h:m:ss","h:m:s","hh:mm:ss tt","hh:mm:s tt","hh:m:ss tt","hh:m:s tt","h:mm:ss tt","h:mm:s tt","h:m:ss tt","h:m:s tt","hh:mm","hh:m","h:mm","h:m","hh:mm tt","hh:m tt","h:mm tt","h:m tt"],p=["MM-dd-yyyy","MM-d-yyyy","M-dd-yyyy","M-d-yyyy","yy-MM-dd","yy-MM-d","yy-M-dd","yy-M-d","yyyy-MM-dd","yyyy-MM-d","yyyy-M-dd","yyyy-M-d","dd-MMMM-yy","dd-MMM-yy"],_=f.concat(d);function g(e){return e.split(" ").join(" ").toUpperCase()}function M(e){for(var t=[],r=0,n=e.length;r<n;r++)t[r]=g(e[r]);return t}function v(e,t,r){var n=g(e),a=t.indexOf(n);return-1===a&&(a=r.indexOf(n)),a}function b(e){if(e){var t=e.charCodeAt(0);if(t>=11904&&t<12032||t>=8208&&t<8252||t>=12288&&t<40960||t>=43360&&t<43392||t>=44032&&t<55215||t>=63744&&t<64256||t>=65280&&t<65535)return!0}return!1}function F(e,t,r){if(" "===e||r&&" "===e)return 0;var n=r&&r(e);return t.lineBreakingForbidStart&&-1!==t.lineBreakingForbidStart.indexOf(e)?!r||n?7:6:t.lineBreakingForbidEnd&&-1!==t.lineBreakingForbidEnd.indexOf(e)?!r||n?5:4:n?2:t.lineBreakingChar&&-1!==t.lineBreakingChar.indexOf(e)?3:1}m(f,(function(e,t){m(d,(function(e,r){e<d.length-4&&_.push(t+" "+r)}))})),_=_.concat(p),m(p,(function(e,t){m(d,(function(e,r){e<d.length-4&&_.push(t+" "+r)}))})),function(e){e[e.year=1]="year",e[e.quarterOrMonth=2]="quarterOrMonth",e[e.date=3]="date"}(i=t.TimelineDateOrder||(t.TimelineDateOrder={}));var S={"00":1,"01":1,"02":1,"03":1,"04":1,"05":1,"06":1,"07":1,12:1,15:1,21:1,22:1,23:1,24:1,25:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,62:1,65:1,71:1,72:1,73:1,74:1,75:1};function D(e,t,r){if(!e)return[];for(var n=[e[0]],a=0,i=F(e[0],t,r),o=1;o<e.length;o++){var s=F(e[o],t,r);S[i+""+s]&&void 0===n[++a]&&(n[a]=""),n[a]+=e[o],i=s}return n}var x=function(){function e(){this.NumberFormat={currencyDecimalDigits:2,currencyDecimalSeparator:".",currencyGroupSeparator:",",currencyGroupSizes:[3],currencyNegativePattern:0,currencyPositivePattern:0,currencySymbol:"¤",digitSubstitution:1,isReadOnly:!0,numberGroupSizes:[3],nanSymbol:"NaN",nativeDigits:["0","1","2","3","4","5","6","7","8","9"],numberNegativePattern:1,negativeInfinitySymbol:"-Infinity",negativeSign:"-",numberDecimalDigits:2,numberDecimalSeparator:".",numberGroupSeparator:",",positiveInfinitySymbol:"Infinity",positiveSign:"+",percentDecimalDigits:2,percentDecimalSeparator:".",percentGroupSeparator:",",percentGroupSizes:[3],percentNegativePattern:0,percentPositivePattern:0,percentSymbol:"%",perMilleSymbol:"‰",listSeparator:",",arrayListSeparator:",",arrayGroupSeparator:";",dbNumber:{},standardDictionaryNumbers:{Hundreds:"Hundreds",Thousands:"Thousands",Millions:"Millions",Billions:"Billions",Trillions:"Trillions"},scientificNotation:"0.##############E+00"},this.DateTimeFormat={abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],abbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],amDesignator:"AM",calendarIsReadOnly:!0,calendarWeekRule:0,Calendar:{MinSupportedDateTime:"@-62135568000000@",MaxSupportedDateTime:"@253402300799999@",AlgorithmType:1,CalendarType:1,Eras:[1],TwoDigitYearMax:2029,isReadOnly:!0},dateSeparator:"/",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],defaultDatePattern:"MM/dd/yyyy H:mm:ss",firstDayOfWeek:0,fullDateTimePattern:"dddd, dd MMMM yyyy HH:mm:ss",longDatePattern:"dddd, dd MMMM yyyy",longTimePattern:"HH:mm:ss",monthDayPattern:"MMMM dd",monthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],nativeCalendarName:"Gregorian Calendar",pmDesignator:"PM",rfc1123Pattern:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",shortDatePattern:"MM/dd/yyyy",shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],shortTimePattern:"HH:mm",sortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",timeSeparator:":",universalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",yearMonthPattern:"yyyy MMMM",filterDialogDateFormatter:"yyyy/mmmm/dd",preselectedFormatters:[],eraFormatter:["ge/M/d","ge-M-d","ge.M.d","gee/MM/dd"]},this.name=function(){return""},this.id=-1,this.LocalNumberFormat={},this.displayName="",this.fontScriptCode=void 0,this.predefinedFormats={},this.TimelineDateOrder=[i.quarterOrMonth,i.date,i.year],this.TimelineDateSuffix={year:"",quarter:"",month:"",date:""},this.TextFormat={lineBreakingChar:[" ","-"]},this.equalCharacters=void 0}return e.prototype._getDistributedBreakingChar=function(){return[" "]},e.prototype._getDistributedWords=function(e){var t={lineBreakingChar:this._getDistributedBreakingChar()};return this.TextFormat&&this.TextFormat.lineBreakingStrategy?this.TextFormat.lineBreakingStrategy(e,t):D(e,t)},e.prototype._getTextWords=function(e){if(this.TextFormat&&this.TextFormat.lineBreakingStrategy){var t={lineBreakingChar:this.TextFormat.lineBreakingChar,lineBreakingForbidEnd:this.TextFormat.lineBreakingForbidEnd,lineBreakingForbidStart:this.TextFormat.lineBreakingForbidStart};return this.TextFormat.lineBreakingStrategy(e,t)}return D(e,this.TextFormat||{lineBreakingChar:[" ","-"]})},e.prototype._getDateTimePattern=function(){if(!this._dateTimeFormatPattern){var e=this.DateTimeFormat,t=e.shortDatePattern.replace(/m/g,"M"),r=[t,t+" h:mm",t+" h:mm:ss",t+" h:mm:ss.0","MMMdd","MMMd","MMM dd","MMM d"];if(r=r.concat(_),1041===this.id){var n=e.eraFormatter;r=(r=r.concat(this._eraFormatter)).concat(n)}r=r.concat(e.preselectedFormatters),this._dateTimeFormatPattern=r}return this._dateTimeFormatPattern},e.prototype._getMonthIndex=function(e){return this._upperMonths||(this._upperMonths=M(this.DateTimeFormat.monthNames),this._upperMonthsGenitive=M(this.DateTimeFormat.monthGenitiveNames)),v(e,this._upperMonths,this._upperMonthsGenitive)},e.prototype._getAbbrMonthIndex=function(e){return this._upperAbbrMonths||(this._upperAbbrMonths=M(this.DateTimeFormat.abbreviatedMonthNames),this._upperAbbrMonthsGenitive=M(this.DateTimeFormat.abbreviatedMonthGenitiveNames)),v(e,this._upperAbbrMonths,this._upperAbbrMonthsGenitive)},e.prototype._getDayIndex=function(e){return this._upperDays||(this._upperDays=M(this.DateTimeFormat.dayNames)),this._upperDays.indexOf(g(e))},e.prototype._getAbbrDayIndex=function(e){return this._upperAbbrDays||(this._upperAbbrDays=M(this.DateTimeFormat.abbreviatedDayNames)),this._upperAbbrDays.indexOf(g(e))},e}();t.CultureInfo=x;var C=function(){function e(){}return e._isValidEraDate=function(t){return t>=e._getEraMin()&&t<=e._getEraMax()},e._getEraDates=function(){var e=x.eras;if(void 0!==e){for(var t=[],r=0;r<e.length;r++)t[r]=new Date(e[r].startDate.replace(/-/g,"/"));return t}return this._EraDates},e._getEraPropByFormat=function(t){var r,n;switch(t){case"g":r="symbol",n=e._symbols;break;case"gg":r="abbreviation",n=e._abbreviations;break;case"ggg":r="name",n=e._names;break;default:return[]}var a=x.eras,i=[];if(void 0!==a){for(var o=0;o<a.length;o++)i[o]=a[o][r];return i}return n},e._getEraMax=function(){var e=x.eras;if(void 0!==e&&e.length>0){var t=new Date(e[e.length-1].startDate.replace(/-/g,"/"));return t.setFullYear(t.getFullYear()+99),t}return this._EraMax},e._getEraMin=function(){var e=x.eras;return void 0!==e&&e.length>0?new Date(e[0].startDate.replace(/-/g,"/")):this._EraMin},e._getEraCount=function(){var e=x.eras;return void 0!==e?e.length:this._EraCount},e._getEraYears=function(){var e=x.eras;if(void 0!==e){for(var t=[],r=1;r<e.length;r++){var n=new Date(e[r-1].startDate.replace(/-/g,"/")),a=new Date(e[r].startDate.replace(/-/g,"/"));t[r-1]=a.getFullYear()-n.getFullYear()+1}return t[r-1]=99,t}return this._EraYears},e._getEraDate=function(t){var r={_era:-1,_eraYear:-1};if(!e._isValidEraDate(t)){if(!(t>e._getEraMax()))return r;t=e._getEraMax()}for(var n=0;n<e._getEraCount();n++){if(t<(n+1!==e._getEraCount()?e._getEraDates()[n+1]:e._addMilliseconds(e._getEraMax(),1))){r._era=n,r._eraYear=t.getFullYear()-e._getEraDates()[n].getFullYear()+1;break}}return r},e._addMilliseconds=function(e,t){var r=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds());return r.setMilliseconds(r.getMilliseconds()+t),new Date(r.valueOf())},e._getYearFromEra=function(t,r){return e._getEraDates()[t].getFullYear()+r-1},e._parseEraPart=function(t,r){r=r.toUpperCase();for(var n=e._getEraPropByFormat(t),a=0;a<n.length;a++)if(n[a]===r)return a;return-1},e._formatEraPart=function(t,r,n){var a=e,i=a._getEraDate(r),o=i._era;if(o>=0){var s=a._getEraPropByFormat(t);if(s.length>0)return s[o]}var u=i._eraYear;if(u>=0){var l=u.toString();if("1"===l&&n)return"元";if("ee"===t)return 1===l.length&&(l="0"+l),l;if("e"===t)return l}return""},e._EraDates=[new Date(1868,8,8),new Date(1912,6,30),new Date(1926,11,25),new Date(1989,0,8),new Date(2019,4,1)],e._EraCount=5,e._EraYears=[45,15,64,31,99],e._EraMax=new Date(2117,11,31,23,59,59),e._EraMin=new Date(1868,8,8),e._shortcuts=["1,m","2,t","3,s","4,h","5,r"],e._EraIndices=[0,1,2,3,0,1,2,3],e._names=["明治","大正","昭和","平成","令和"],e._symbols=["M","T","S","H","R"],e._abbreviations=["明","大","昭","平","令"],e._EraYearMax=99,e.eraExcelFormatter="[$-ja-JP-x-gannen]",e.eraInternalFormatter="[$-411]",e}();t._EraHelper=C;var T=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencySymbol","isReadOnly"],["$",!1]);return w.call(t,"DateTimeFormat",["fullDateTimePattern","longDatePattern","longTimePattern","shortDatePattern","shortTimePattern","yearMonthPattern","calendarIsReadOnly","preselectedFormatters"],["dddd, MMMM dd, yyyy h:mm:ss tt","dddd, MMMM dd, yyyy","h:mm:ss tt","M/d/yyyy","h:mm tt","MMMM, yyyy",!1,["MMM yyyy","MMMM yyyy"]]),t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" H:mm:ss",t.name=function(){return"en-US"},t.displayName="English (United States)",t.id=1033,t.predefinedFormats={Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',Currency:["[$$-409]#,##0","[$$-409]#,##0;[Red][$$-409]#,##0","[$$-409]#,##0_);([$$-409]#,##0)","[$$-409]#,##0_);[Red]([$$-409]#,##0)"],Date:["m/d/yyyy","[$-409]dddd, mmmm dd, yyyy","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmm d, yyyy;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@","m/d/yyyy;@","[$-409]d-mmm-yyyy;@"],Time:["[$-409]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","mm:ss.0;@","[h]:mm:ss;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@"],Special:{"Zip Code":"00000","Zip Code + 4":"00000-0000","Phone Number":"[<=9999999]###-####;(###) ###-####","Social Security Number":"000-00-0000"},shortcut:{Number:"0.00",Currency:"[$$-409]#,##0.00",Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',ShortDate:"m/d/yyyy",LongDate:"[$-409]dddd, mmmm dd, yyyy",Time:"[$-409]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)'}},t}return a(t,e),t}(x),N=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[0,1,"¥",!1,"NaN (非数値)","-∞",1,1,"+∞",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["〇","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["〇","壱","弐","参","四","伍","六","七","八","九"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十億",Trillions:"兆"}]);var r=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""];return w.call(t,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters","EraFilterDialogDateFormatter"],[["日","月","火","水","木","金","土"],r,r,"午前",!1,["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"西暦 (日本語)","午後","yyyy/MM/dd",["日","月","火","水","木","金","土"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月d日","yyyy年M月dd日","yyyy年MM月d日","yyyy年MM月dd日"],"ggge/mmmm/d日"]),t.DateTimeFormat.eras=!0,t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" "+t.DateTimeFormat.longTimePattern,t._eraFormatter=['gggee"年"MM"月"dd"日','gggee"年"M"月"d"日','ge"年"M"月"d"日','ggge"年"M"月"d"日','ggee"年"M"月"d"日','gge"年"M"月"d"日'],t.name=function(){return"ja-JP"},t.id=1041,t.displayName="Japanese (Japan)",t.isJCKCulture=!0,t.predefinedFormats={Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$¥-411]#,##0_);[Red]([$¥-411]#,##0)","[$¥-411]#,##0_);([$¥-411]#,##0)","[$¥-411]#,##0;[Red][$¥-411]#,##0","[$¥-411]#,##0;-[$¥-411]#,##0","[$¥-411]#,##0;[Red]-[$¥-411]#,##0"],Date:["yyyy/mm/dd","[$-411]dddd, mmmm dd, yyyy",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"yyyy/m/d;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@"],Time:["[$-411]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@",'h"時"mm"分";@','h"時"mm"分"ss"秒";@'],Special:{郵便番号:"[<=999]000;[<=9999]000-00;000-0000","電話番号(東京)":"[<=99999999]####-####;(00) ####-####","正負記号 (+ = △; - = ▲)":'"△" #,##0;"▲" #,##0',"漢数字(十二万三千四百)":"[DBNum1][$-411]General","大字 (壱拾弐萬参阡四百)":"[DBNum2][$-411]General","全角 (12345)":"[DBNum3][$-411]0","全角 桁区切り(12,345)":"[DBNum3][$-411]#,##0"},shortcut:{Number:"0.00",Currency:"[$¥-411]#,##0.00",Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',ShortDate:"yyyy/mm/dd",LongDate:"[$-411]dddd, mmmm dd, yyyy",Time:"[$-411]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},t.TimelineDateOrder=[i.year,i.quarterOrMonth,i.date],t.TimelineDateSuffix={year:"年",quarter:"",month:"月",date:"日"},t.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}","」","。","、","ー"],lineBreakingForbidEnd:["(","[","{","(","[","{","「","$","$","\\","¥"],lineBreakingStrategy:function(e,t){return D(e,t,b)}},t.equalCharacters=["―ゝゞ゠ヽヾー","㆐㆑㇤㇥","‸⁊",".․","&⁋","%⁏","$⁒","#⁗",'"⁍',"‹⁓"],t}return a(t,e),t}(x),E=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[2,"¥",!1,"非数字","负无穷大",1,1,"正无穷大",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["○","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","仟","佰","拾","亿","仟","佰","拾","万","仟","佰","拾",""],numbers:["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十亿",Trillions:"兆"}]);var r=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""];return w.call(t,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters"],[["周日","周一","周二","周三","周四","周五","周六"],r,r,"上午",!1,["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],1,"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"公历","下午","yyyy/M/d",["日","一","二","三","四","五","六"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月","M月d日","yyyy年M月d日","h时mm分","h时mm分ss秒"]]),t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" "+t.DateTimeFormat.longTimePattern,t.name=function(){return"zh-cn"},t.id=2052,t.displayName="Chinese (China)",t.isJCKCulture=!0,t.localeCompare=function(e,t){var r=e.localeCompare(t,"zh");return r<0&&e>="一"&&t<"一"||r>0&&t>="一"&&e<"一"?-r:r},t.predefinedFormats={Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ ',Currency:["[$¥-804]#,##0","[$¥-804]#,##0;[Red][$¥-804]#,##0","[$¥-804]#,##0;[$¥-804]-#,##0","[$¥-804]#,##0;[Red][$¥-804]-#,##0"],Date:["yyyy/m/d","[$-804]dddd, mmmm dd, yyyy","yyyy-mm-dd;@",'[DBNum1][$-804]yyyy"年"m"月"d"日";@','[DBNum1][$-804]yyyy"年"m"月";@','[DBNum1][$-804]m"月"d"日";@',"[$-409]yyyy/m/d h:mm AM/PM;@",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"mm/dd/yy;@","m/d/yy;@","yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-804]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@",'h"时"mm"分";@','h"时"mm"分"ss"秒";@','[$-804]上午/下午h"时"mm"分";@','[$-804]上午/下午h"时"mm"分"ss"秒";@','[DBNum1][$-804]h"时"mm"分";@','[DBNum1][$-804]上午/下午h"时"mm"分";@'],Special:{邮政编码:"000000",中文小写字母:"[DBNum1][$-804]General",中文大写字母:"[DBNum2][$-804]General"},shortcut:{Number:"0.00",Currency:"[$¥-804]#,##0.00",Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',ShortDate:"yyyy/m/d",LongDate:"[$-804]dddd, mmmm dd, yyyy",Time:"[$-804]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ '}},t.TimelineDateOrder=[i.year,i.quarterOrMonth,i.date],t.TimelineDateSuffix={year:"年",quarter:"",month:"",date:"日"},t.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}"],lineBreakingForbidEnd:["(","[","{","(","[","{"],lineBreakingStrategy:function(e,t){return D(e,t,b)}},t.normalizeDateTimeString=function(e){var t;if(l._RegexHelper._getReg("^([0-9]{1,2}|[0-9]{4})年[0-9]{1,2}月$").test(e))return(t=e.split("年"))[1].replace("月","")+"/1/"+t[0];if(l._RegexHelper._getReg("^[0-9]{1,2}月[0-9]{1,2}日$").test(e))return(t=e.split("月"))[0]+"/"+t[1].replace("日","")+"/"+h;if(l._RegexHelper._getReg("^(上午|下午)?[0-9]{1,2}时[0-9]{1,2}分([0-9]{1,2}秒)?$").test(e)){var r=e.replace("时",":").replace("分",":").replace("秒","");return(r=r.endsWith(":")?r+"00":r).startsWith("上午")&&(r=r.replace("上午","")+" AM"),r.startsWith("下午")&&(r=r.replace("下午","")+" PM"),r}return e.includes("上午")||e.includes("下午")?e.replace("上午","am").replace("下午","pm"):null},t}return a(t,e),t.prototype._getDistributedBreakingChar=function(){return[" "," "]},t}(x),H=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","dbNumber","standardDictionaryNumbers"],[0,1,"₩",!1,{1:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["零","壹","貳","參","四","伍","六","七","八","九"]},3:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","1","2","3","4","5","6","7","8","9"]},4:{letters:["조","천","백","십","억","천","백","십","만","천","백","십",""],numbers:["○","일","이","삼","사","오","육","칠","팔","구"]}},{Hundreds:"백",Thousands:"천",Millions:"백만",Billions:"10억",Trillions:"조"}]);var r=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""];return w.call(t,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter"],[["일","월","화","수","목","금","토"],r,r,"오전",!1,["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],1,"yyyy'년' M'월' d'일' dddd h:mm:ss","yyyy'년' M'월' d'일' dddd","h:mm:ss","M'월' d'일'",n,n,"서기","오후","yyyy-MM-dd",["일","월","화","수","목","금","토"],"tt h:mm","yyyy'년' M'월'","yyyy년/mmmm/d일"]),t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" "+t.DateTimeFormat.longTimePattern,t.name=function(){return"ko-kr"},t.id=1042,t.displayName="Korean (Korea)",t.isJCKCulture=!0,t.predefinedFormats={Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$₩-412]#,##0","[$₩-412]#,##0;[Red][$₩-412]#,##0","[$₩-412]#,##0;-[$₩-412]#,##0","[$₩-412]#,##0;[Red]-[$₩-412]#,##0"],Date:["yyyy-mm-dd",'yyyy"년" m"월" d"일" dddd',"yyyy-mm-dd;@",'yyyy"년" m"월" d"일";@','yy"年" m"月" d"日";@','yyyy"년" m"월";@','m"월" d"일";@',"yy-m-d;@","yy-m-d h:mm;@",'m"月"d"日";@',"[$-412]yy-m-d AM/PM h:mm;@","yy/m/d;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-412]h:mm:ss AM/PM","h:mm;@","h:mm:ss;@","[$-412]AM/PM h:mm;@","[$-412]AM/PM h:mm:ss;@","[$-409]h:mm AM/PM;@","[$-409]h:mm:ss AM/PM;@",'yyyy"-"m"-"d h:mm;@','[$-412]yyyy"-"m"-"d AM/PM h:mm;@','[$-409]yyyy"-"m"-"d h:mm AM/PM;@','h"시" mm"분";@','h"시" mm"분" ss"초";@','[$-412]AM/PM h"시" mm"분";@','[$-412]AM/PM h"시" mm"분" ss"초";@'],Special:{"우편 번호":"000-000","전화 번호 (국번 4자리)":"[<=999999]####-####;(0##) ####-####","전화 번호 (국번 3자리)":"[<=9999999]###-####;(0##) ###-####",주민등록번호:"000000-0000000","숫자(한자)":"[DBNum1][$-412]General","숫자(한자-갖은자)":"[DBNum2][$-412]General","숫자(한글)":"[DBNum4][$-412]General"},shortcut:{Number:"0.00",Currency:"[$₩-412]#,##0.00",Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',ShortDate:"yyyy-mm-dd",LongDate:'yyyy"년" m"월" d"일" dddd',Time:"[$-412]h:mm:ss AM/PM",Percentage:"0%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},t.TimelineDateOrder=[i.year,i.quarterOrMonth,i.date],t.TimelineDateSuffix={year:"년",quarter:"",month:"월",date:"일"},t}return a(t,e),t}(x),P={invariant:new x,"en-us":new T,"ja-jp":new N,"zh-cn":new E,"ko-kr":new H};function w(e,t,r){for(var n,a=0,i=t.length;a<i;a++)n=t[a],this[e][n]=r[a]}var O={},k=["lsru","lsde","ls1","ls2","ls3","ls4","ls5","ls6","ls7","ls8","ls9","ls10","ls11"],I=["wmk1","wmk2"],A=function(){function e(){this._cultureVersion=1,this._resourcesMap={}}return e.instance=function(){return this._instance||(this._instance=new this)},e.prototype.culture=function(t){if(0===arguments.length)return e._cRName;var r,n,a;t&&e._cRName!==t&&(e._cRName=t.toLowerCase(),this._cultureVersion++,r=e._cRName,n=e._instance.getCultureInfo(),"object"==typeof document&&("function"!=typeof CustomEvent?(a=document.createEvent("CustomEvent")).initCustomEvent("cultureChanged",!1,!1,void 0):a=new CustomEvent("cultureChanged",{}),a.cultureInfo=r,c.gcCultureInfo=r,c.gcCultureObj=n,document.dispatchEvent(a)))},e.prototype.addCultureInfo=function(e,t,r){if(t&&t instanceof x){var n=t.NumberFormat&&t.NumberFormat.numberDecimalSeparator,a=t.NumberFormat.arrayListSeparator,i=t.NumberFormat.arrayGroupSeparator;if(n===t.NumberFormat.listSeparator||i===a)throw new s.ResourceManager(s.SR).getResource().Exp_Separator;P[e.toLowerCase()]=t}if(r&&"object"==typeof r){var o=e.toLowerCase();O[o]=y(!0,{},r),this._cultureVersion++}},e.prototype.getCultureInfoDict=function(){return P},e.prototype.getCultureInfo=function(t){if(0===arguments.length)return P[e._cRName];"string"==typeof t&&(t=t.toLowerCase());var r=P,n=null;for(var a in r)if(a===t||void 0!==r[a].id&&r[a].id===t){n=r[a];break}return n},e.prototype.getLanguage=function(e){if("string"==typeof e){var t=e.toLowerCase();return O[t]}return null},e.prototype.getResources=function(e){var t=this.culture().toLowerCase();if(null==e&&(e=t),"string"==typeof e){var r=e.toLowerCase();if(this._resourcesMap[r])return this._adjustCurrentResources(this._resourcesMap[r])}return null},e.prototype._adjustCurrentResources=function(e){var t="PivotTables",r="ReportSheet",n="GanttSheet",a="DataChart",i="Sheets",o=y(!0,{},e);o[t]&&this._deleteSkipKey(o[t],I),o[r]&&this._deleteSkipKey(o[r],I),o[n]&&this._deleteSkipKey(o[n],I),o[a]&&this._deleteSkipKey(o[a],I),o[i]&&this._deleteSkipKey(o[i],k);var s=o.CalcEngine;return s&&(o.Functions=s._builtInFunctionsResource,o.TableFunctions=s._tableFunctionsResource,delete s._builtInFunctionsResource,delete s._tableFunctionsResource),o},e.prototype._deleteSkipKey=function(e,t){for(var r=0,n=t;r<n.length;r++){delete e[n[r]]}},e.prototype._languageTranslate=function(e,t,r){var n=O[e.toLowerCase()];for(var a in t)if(!u._ArrayHelper._contains(k,a)){var i=this._getTranslate(n,a,r);(null!==i&&"string"==typeof i&&"string"==typeof t[a]||null!==i&&"object"==typeof i&&!Array.isArray(i))&&(t[a]=i)}t._builtInFunctionsResource&&n.Functions&&this._translateFunctions(n.Functions,t._builtInFunctionsResource),t._tableFunctionsResource&&n.TableFunctions&&y(!0,t._tableFunctionsResource,n.TableFunctions)},e.prototype._getTranslate=function(e,t,r){if(e.hasOwnProperty(t))return e[t];if(r&&(a=e[r])&&"object"==typeof a&&a.hasOwnProperty(t))return a[t];for(var n in e){var a;if((a=e[n])&&"object"==typeof a&&a.hasOwnProperty(t))return a[t]}return null},e.prototype._translateFunctions=function(e,t){for(var r in t)if(e.hasOwnProperty(r)){var n=t[r],a=e[r],i=n.parameters,o=a.parameters;for(var s in n.description=a.description,i)if(o.hasOwnProperty(s)){var u=o[s];"string"==typeof u&&(i[s].name=u)}}return{}},e.prototype._getCultureInfo=function(t){var r=this.getCultureInfo(t);return r||(r=P[e._cRName])||(r=new x),r},e.prototype._getFilterDialogFormatterStr=function(e,t){var r=(this.getCultureInfo(e)||this.getCultureInfo("en-US")).DateTimeFormat,n=r.filterDialogDateFormatter;return(t.indexOf("g")>=0||t.indexOf("e")>=0)&&(n=r.EraFilterDialogDateFormatter||n),n},e._cRName="en-us",e}();t.CultureManager=A.instance()},561:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(895),t)},566:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Error_InvalidRemoteConfigurationForUserFetching=t.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter=t.Error_FailedToFetchUsers=t.Error_RemoteConfigurationForUserFetchingNotProvided=t.GUEST_USER=void 0,t.GUEST_USER="Guest",t.Error_RemoteConfigurationForUserFetchingNotProvided="Remote configuration for user fetching is not provided.",t.Error_FailedToFetchUsers="Failed to fetch users: ",t.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter="GraphQL schema must be provided for graphql adapter.",t.Error_InvalidRemoteConfigurationForUserFetching="Invalid remote configuration for user fetching."},895:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UserManager=t.UserManagerEvent=void 0;var i=r(566),o=r(818),s=r(479),u=r(534),l=r(305);u._Types._extend(o.SR.en,i);var c,m=new o.ResourceManager(o.SR),y=m.getResource.bind(m),h=u._Types._isNullOrUndefined,f=l._ArrayHelper._clone,d=u._Types._cloneObject,p=["#3B82F6","#10B981","#8B5CF6","#F59E0B","#EF4444","#06B6D4","#EC4899","#84CC16","#6366F1","#14B8A6","#F97316","#A855F7","#22C55E","#EAB308","#F43F5E","#0EA5E9","#D946EF","#65A30D","#DC2626","#7C3AED"];!function(e){e.CurrentUserChanged="CurrentUserChanged"}(c=t.UserManagerEvent||(t.UserManagerEvent={}));var _=function(){function e(e){var t={id:s.UUIDGenerator.secureUpperCaseUUID(),name:y().GUEST_USER,color:"#26A69A",_isDefault:!0};this._users=[t],this._currentUserId=t.id,this.options=e,this._currentColorIndex=0,this._listeners=new Map([[c.CurrentUserChanged,[]]])}return e.instance=function(){return this._instance||(this._instance=new this)},e.prototype.configure=function(e){this.options=e},e.prototype._getSync=function(e){for(var t=this._users,r=0;r<t.length;r++)if(t[r].id===e)return d(t[r])},e.prototype._get=function(e){var t;return n(this,void 0,void 0,(function(){var r;return a(this,(function(n){switch(n.label){case 0:return(null===(t=this.options)||void 0===t?void 0:t.get)?[4,this.options.get(e)]:[3,2];case 1:return(r=n.sent())&&this._add(r),[2,r];case 2:return[2]}}))}))},e.prototype._getOrCreate=function(e){e||(e=s.UUIDGenerator.secureUpperCaseUUID());var t=this._getSync(e);return t||(t={id:e,name:y().GUEST_USER}),this._add(t),t},e.prototype._assignColorToUsers=function(e){var t=this;Array.isArray(e)&&e.forEach((function(e){e&&!e.color&&(e.color=t._getCurrentColor(e.id))}))},e.prototype._search=function(e){var t;return n(this,void 0,void 0,(function(){var r,n;return a(this,(function(a){switch(a.label){case 0:return(null===(t=(r=this).options)||void 0===t?void 0:t.search)?[4,r.options.search(e)]:[3,2];case 1:return n=a.sent(),r._assignColorToUsers(n),[2,n];case 2:return[2,[]]}}))}))},e.prototype.bind=function(e,t){this._listeners.has(e)||this._listeners.set(e,[]);var r=this._listeners.get(e);Array.isArray(r)&&r.push(t)},e.prototype.current=function(e){var t=this;if(h(e))return t._currentUserId;if(t._currentUserId!==e){var r=t._currentUserId;t._currentUserId=e,Promise.all([t._get(r),t._get(e)]).then((function(n){var a=n[0],i=n[1];a||(a=t._getSync(r))&&a._isDefault&&(t._users=t._users.filter((function(e){return!e._isDefault}))),t._triggerCurrentUserChanged(a,i,r,e)})).catch((function(n){t._triggerCurrentUserChanged(void 0,void 0,r,e)}))}return t._currentUserId},e.prototype._triggerCurrentUserChanged=function(e,t,r,n){e||(e=this._getSync(r)),t||(t=this._getSync(n)),this._trigger(c.CurrentUserChanged,{oldCurrentUser:e,newCurrentUser:t})},e.prototype._getUsers=function(){return f(this._users)},e.prototype.unbind=function(e,t){if(this._listeners.has(e)){var r=this._listeners.get(e);if(!Array.isArray(r))return;t?r.splice(r.indexOf(t),1):r.splice(0)}},e.prototype._trigger=function(e,t){if(this._listeners.has(e)){var r=this._listeners.get(e);if(!Array.isArray(r))return;r.forEach((function(r){r(e,t)}))}},e.prototype._fromJSON=function(e){e&&(this._assignColorToUsers(e),this._users=e||[])},e.prototype._toJSON=function(){return f(this._users)},e.prototype._getCurrentColorIndex=function(){var e,t=this._currentColorIndex,r=(null===(e=this.options)||void 0===e?void 0:e.colorScheme)?this.options.colorScheme.length:p.length;return this._currentColorIndex=(t+1)%r,t},e.prototype._hashString=function(e){var t=0;if(!e||0===e.length)return t;for(var r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r),t|=0}return Math.abs(t)},e.prototype._getColorIndexForUser=function(e){var t,r=(null===(t=this.options)||void 0===t?void 0:t.colorScheme)?this.options.colorScheme.length:p.length;return this._hashString(e)%r},e.prototype._getCurrentColor=function(e){var t,r=(null===(t=this.options)||void 0===t?void 0:t.colorScheme)||p;return e?r[this._getColorIndexForUser(e)]:r[this._getCurrentColorIndex()]},e.prototype._add=function(e){for(var t=this._users,r=0;r<t.length;r++)if(t[r].id===e.id)return t[r]=e,void(e.color||(e.color=this._getCurrentColor(e.id)));e.color||(e.color=this._getCurrentColor(e.id)),t.push(e)},e.prototype._create=function(e,t){var r={id:e||s.UUIDGenerator.secureUpperCaseUUID(),name:t||y().GUEST_USER};return this._add(r),r},e.prototype._remove=function(e){this._users=this._users.filter((function(t){return t.id!==e}))},e.prototype._dispose=function(){this._listeners.clear(),this._users=[],this._currentUserId=""},e}();t.UserManager=_.instance()},305:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t._ArrayHelper=void 0;function r(e,t){for(var n in t)if(t.hasOwnProperty(n)){var a=t[n];Array.isArray(a)?(e[n]=[],r(e[n],t[n])):null!==a&&"object"==typeof a?(e[n]={},r(e[n],t[n])):e[n]=t[n]}}var n=function(){function e(){}return e._insert=function(e,t,r){e.splice(t,0,r)},e._add=function(e,t){e.push(t)},e._contains=function(e,t){return e.indexOf(t)>-1},e._remove=function(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)},e._removeByIndex=function(e,t){return e.slice(0,t).concat(e.slice(t+1))},e._indexOf=function(e,t,r){return e.indexOf(t,r)},e._clear=function(e,t,r){if(!(t<0))for(var n=0;n<r&&t+n<e.length;n++)e[t+n]=null},e._nextNonEmptyIndex=function(e,t){t<0&&(t=-1);for(var r=t+1;r<e.length;r++)if(void 0!==e[r]&&null!==e[r])return r;return-1},e._getLength=function(e){return e&&e.length},e._clone=function(e){var t=[];return r(t,e),t},e}();t._ArrayHelper=n},395:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._ColorHelper=void 0;var n=r(844)._NumberHelper._toHexString,a=Math.min,i=Math.max,o=Math.abs,s=parseInt;function u(e,t,r){return r<0&&(r+=240),r>240&&(r-=240),r<40?e+((t-e)*r+20)/40:r<120?t:r<160?e+((t-e)*(160-r)+20)/40:e}function l(e,t,r){var n,a,i;if(0===r)n=a=i=s(255*t/240+"",10);else{var o,u;n=c(o=2*t-(u=t<=120?s((t*(240+r)+120)/240+""):t+r-s((t*r+120)/240+"")),u,e+80),a=c(o,u,e),i=c(o,u,e-80)}return{a:255,r:n,g:a,b:i}}function c(e,t,r){return a(s((255*u(e,t,r)+120)/240+""),255)}var m={aliceblue:[240,248,255,255],antiquewhite:[250,235,215,255],aqua:[0,255,255,255],aquamarine:[127,255,212,255],azure:[240,255,255,255],beige:[245,245,220,255],bisque:[255,228,196,255],black:[0,0,0,255],blanchedalmond:[255,235,205,255],blue:[0,0,255,255],blueviolet:[138,43,226,255],brown:[165,42,42,255],burlywood:[222,184,135,255],cadetblue:[95,158,160,255],chartreuse:[127,255,0,255],chocolate:[210,105,30,255],coral:[255,127,80,255],cornflowerblue:[100,149,237,255],cornsilk:[255,248,220,255],crimson:[220,20,60,255],cyan:[0,255,255,255],darkblue:[0,0,139,255],darkcyan:[0,139,139,255],darkgoldenrod:[184,134,11,255],darkgray:[169,169,169,255],darkgreen:[0,100,0,255],darkgrey:[169,169,169,255],darkkhaki:[189,183,107,255],darkmagenta:[139,0,139,255],darkolivegreen:[85,107,47,255],darkorange:[255,140,0,255],darkorchid:[153,50,204,255],darkred:[139,0,0,255],darksalmon:[233,150,122,255],darkseagreen:[143,188,143,255],darkslateblue:[72,61,139,255],darkslategray:[47,79,79,255],darkslategrey:[47,79,79,255],darkturquoise:[0,206,209,255],darkviolet:[148,0,211,255],deeppink:[255,20,147,255],deepskyblue:[0,191,255,255],dimgray:[105,105,105,255],dimgrey:[105,105,105,255],dodgerblue:[30,144,255,255],firebrick:[178,34,34,255],floralwhite:[255,250,240,255],forestgreen:[34,139,34,255],fuchsia:[255,0,255,255],gainsboro:[220,220,220,255],ghostwhite:[248,248,255,255],gold:[255,215,0,255],goldenrod:[218,165,32,255],gray:[128,128,128,255],green:[0,128,0,255],greenyellow:[173,255,47,255],grey:[128,128,128,255],honeydew:[240,255,240,255],hotpink:[255,105,180,255],indianred:[205,92,92,255],indigo:[75,0,130,255],ivory:[255,255,240,255],khaki:[240,230,140,255],lavender:[230,230,250,255],lavenderblush:[255,240,245,255],lawngreen:[124,252,0,255],lemonchiffon:[255,250,205,255],lightblue:[173,216,230,255],lightcoral:[240,128,128,255],lightcyan:[224,255,255,255],lightgoldenrodyellow:[250,250,210,255],lightgray:[211,211,211,255],lightgreen:[144,238,144,255],lightgrey:[211,211,211,255],lightpink:[255,182,193,255],lightsalmon:[255,160,122,255],lightseagreen:[32,178,170,255],lightskyblue:[135,206,250,255],lightslategray:[119,136,153,255],lightslategrey:[119,136,153,255],lightsteelblue:[176,196,222,255],lightyellow:[255,255,224,255],lime:[0,255,0,255],limegreen:[50,205,50,255],linen:[250,240,230,255],magenta:[255,0,255,255],maroon:[128,0,0,255],mediumaquamarine:[102,205,170,255],mediumblue:[0,0,205,255],mediumorchid:[186,85,211,255],mediumpurple:[147,112,219,255],mediumseagreen:[60,179,113,255],mediumslateblue:[123,104,238,255],mediumspringgreen:[0,250,154,255],mediumturquoise:[72,209,204,255],mediumvioletred:[199,21,133,255],midnightblue:[25,25,112,255],mintcream:[245,255,250,255],mistyrose:[255,228,225,255],moccasin:[255,228,181,255],navajowhite:[255,222,173,255],navy:[0,0,128,255],oldlace:[253,245,230,255],olive:[128,128,0,255],olivedrab:[107,142,35,255],orange:[255,165,0,255],orangered:[255,69,0,255],orchid:[218,112,214,255],palegoldenrod:[238,232,170,255],palegreen:[152,251,152,255],paleturquoise:[175,238,238,255],palevioletred:[219,112,147,255],papayawhip:[255,239,213,255],peachpuff:[255,218,185,255],peru:[205,133,63,255],pink:[255,192,203,255],plum:[221,160,221,255],powderblue:[176,224,230,255],purple:[128,0,128,255],rebeccapurple:[102,51,153,255],red:[255,0,0,255],rosybrown:[188,143,143,255],royalblue:[65,105,225,255],saddlebrown:[139,69,19,255],salmon:[250,128,114,255],sandybrown:[244,164,96,255],seagreen:[46,139,87,255],seashell:[255,245,238,255],sienna:[160,82,45,255],silver:[192,192,192,255],skyblue:[135,206,235,255],slateblue:[106,90,205,255],slategray:[112,128,144,255],slategrey:[112,128,144,255],snow:[255,250,250,255],springgreen:[0,255,127,255],steelblue:[70,130,180,255],tan:[210,180,140,255],teal:[0,128,128,255],thistle:[216,191,216,255],tomato:[255,99,71,255],turquoise:[64,224,208,255],violet:[238,130,238,255],wheat:[245,222,179,255],white:[255,255,255,255],whitesmoke:[245,245,245,255],yellow:[255,255,0,255],yellowgreen:[154,205,50,255]},y=function(){function e(e){var t=e.r,r=e.g,n=e.b,o=i(i(t,r),n),u=a(a(t,r),n),l=o+u;this._luminosity=s((240*l+255)/510+"",10);var c=o-u;if(0===c)this._saturation=0,this._hue=160;else{this._luminosity<=120?this._saturation=s((240*c+l/2)/l+"",10):this._saturation=s((240*c+(510-l)/2)/(510-l)+"",10);var m=(40*(o-t)+c/2)/c,y=(40*(o-r)+c/2)/c,h=(40*(o-n)+c/2)/c;this._hue=s(t===o?h-y+"":r===o?80+m-h+"":160+y-m+"",10),this._hue<0&&(this._hue+=240),this._hue>240&&(this._hue-=240)}}return e.prototype._getLighterColor=function(e){var t=this._luminosity,r=this._newLuma(this._luminosity,500,!0);return l(this._hue,t+(r-t)*e,this._saturation)},e.prototype._newLuma=function(e,t,r){return 0===t?e:r?t>0?(e*(1e3-t)+241*t)/1e3:e*(t+1e3)/1e3:((e+=240*t/1e3)<0&&(e=0),e>240&&(e=240),e)},e}(),h=/rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})(?:,\s*(\.\d+|\d(?:\.\d+)?))?\)/;function f(e){if(/^#[A-Fa-f0-9]+$/.test(e)){var t=e.replace(/^#/,""),r=t.length,n="",a="";if(6===r||8===r)n=t.substr(0,6),8===r&&(a=t.substr(6,2));else if(3===r||4===r){var i=t.split(3===r?/(.)/:/(..)/);n=i.filter(Boolean).map((function(e){return parseInt(3===r?e+e:e,16)})).map((function(e){return e.toString(16).padStart(2,"0")})).join(""),4===r&&(a=i[3]+i[3])}return[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16),s=a?parseInt(a,16):255]}if(e.toLowerCase()in m)return m[e.toLowerCase()];var o=h.exec(e);if(null!==o){var s=void 0===o[4]?255:255*+o[4];return[o[1],o[2],o[3],s]}return null}var d=function(){function e(){}return e._toString=function(e){var t=e.a,r=e.r,a=e.g,i=e.b;return 3===arguments.length&&(t=255,r=arguments[0],a=arguments[1],i=arguments[2]),4===arguments.length&&(t=arguments[0],r=arguments[1],a=arguments[2],i=arguments[3]),255===t?"#"+n(r,!0,2)+n(a,!0,2)+n(i,!0,2):"rgba("+r+","+a+","+i+","+t+")"},e._equal=function(e,t){return e.stops||e.type?JSON.stringify(e)===JSON.stringify(t):e.a===t.a&&e.r===t.r&&e.g===t.g&&e.b===t.b},e._getBrightness=function(e){return(299*e.r+587*e.g+114*e.b)/1e3},e._isTwoColorSimilar=function(e,t){var r=255-o(e.r-t.r),n=255-o(e.g-t.g),a=255-o(e.b-t.b),i=o(e.a-t.a);return!!(((r/=255)+(n/=255)+(a/=255))/3>=.9&&i<=.05)},e._invertColor=function(t){var r=255^t.r,n=255^t.g,a=255^t.b;return e._toString(t.a,r,n,a)},e._stringToARGB=function(t){if("object"!=typeof document)return f(t);var n=e._ctx;if(n||(i=document.createElement("canvas"))&&i.getContext&&(n=e._ctx=i.getContext("2d",{willReadFrequently:!0})),!n){var a=r(736);if(a&&a.createCanvas){var i=a.createCanvas(2,2);n=e._ctx=i.getContext("2d")}if(!n)return f(t)}n.clearRect(1,1,1,1),n.fillStyle=t,n.fillRect(1,1,1,1);var o=n.getImageData(1,1,1,1);return o?o.data:null},e._fromString=function(t){if(t instanceof e)return t;if(null!==t&&"object"==typeof t)return t;var r=0,n=0,a=0,i=0;if(t){var o=e._stringToARGB(t);o&&(n=o[0],a=o[1],i=o[2],r=o[3])}return{a:r,r:n,g:a,b:i}},e._applyTint=function(t,r){if(0===r)return t;var n=new y(t),a=s((r>0?(240-n._luminosity)*r:n._luminosity*r)+"",10);return e._fromHLS(n._hue,n._luminosity+a,n._saturation)},e._getLighterColor=function(t,r){var n=e._fromString(t),a=new y(n)._getLighterColor(r);return e._toString(a)},e._hueToRGB=u,e._fromHLS=l,e}();t._ColorHelper=d},818:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._isInstanceOf=t._hasOwnProperty=t._deleteElementsForMap=t._deleteElements=t._addElementsForMap=t._addElements=t.ResourceManager=t.SR=void 0;var n=r(286),a=r(612),i=r(534);t.SR={en:a};var o=i._Types._extend,s=function(){function e(e,t){this.res=e,this._moduleName=t,this._resourcesMap=n.CultureManager._resourcesMap,this.cachedResource=this._getResourceCollection(e,!0),this._buildResourcesMap(this.cachedResource,t),this._cultureVersion=0}return e.prototype.getResource=function(){var e=this._getResourceCollection(this.res,!this.cachedResource);return e&&(this.cachedResource=e),this._buildResourcesMap(this.cachedResource,this._moduleName),this.cachedResource},e.prototype._buildResourcesMap=function(e,t){if(t){var r=n.CultureManager.culture().toLowerCase();this._resourcesMap[r]=this._resourcesMap[r]||{},this._resourcesMap[r][t]=e,n.CultureManager._resourcesMap=this._resourcesMap}},e.prototype._getResourceCollection=function(e,t){var r=n.CultureManager.culture();if(e&&r){var a=n.CultureManager._cultureVersion;if(this._cultureVersion===a&&!t)return;if(this._cultureVersion=a,n.CultureManager.getLanguage(r)){var i=o(!0,{},e.en);return n.CultureManager._languageTranslate(r,i,this._moduleName),i}var s=r.substr(0,2).toLowerCase();return e.hasOwnProperty(s)?e[s]:e.en}return{}},e}();t.ResourceManager=s,t._addElements=function(e,t,r,n){if(e&&0<=r&&r<t){var a,i=[],o=void 0;for(o=r;o<t;o++)void 0!==e[o]&&i.push(o);for(a=i.length,o=0;o<a;o++){var s=i[a-o-1],u=e[s];e[s]=null,e[Math.floor(s)+n]=u}}},t._addElementsForMap=function(e,t,r,n){if(e&&0<=t){for(var a,i=[],o=void 0,s=0,u=Array.from(e.keys());s<u.length;s++){(l=u[s])>=t&&i.push(l)}for(i.sort((function(e,t){return e-t})),a=i.length,o=0;o<a;o++){var l=i[a-o-1],c=e.get(l);e.delete(l);var m=l+r;e.set(m,c),n&&n(c,m)}}},t._deleteElements=function(e,t,r,n){if(e&&0<=r&&r<t){var a,i=[],o=r+n,s=void 0;for(s=r;s<t;s++)void 0!==e[s]&&(r<=s&&s<o?e[s]=null:s>=o&&i.push(s));for(a=i.length,s=0;s<a;s++){var u=i[s],l=e[u];e[u]=null,e[Math.floor(u)-n]=l}}},t._deleteElementsForMap=function(e,t,r,n){if(e&&0<=t){for(var a,i=[],o=t+r,s=void 0,u=0,l=Array.from(e.keys());u<l.length;u++){var c=l[u];e.has(c)&&(t<=c&&c<o?(n&&n(e.get(c),-1),e.delete(c)):c>=o&&i.push(c))}for(i.sort((function(e,t){return e-t})),a=i.length,s=0;s<a;s++){c=i[s];var m=e.get(c);e.delete(c);var y=c-r;e.set(y,m),n&&n(m,y)}}},t._hasOwnProperty=function(e,t){return e.hasOwnProperty(t)},t._isInstanceOf=function(e,t){return e instanceof t}},97:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._DateTimeHelper=t.getSR=void 0;var n=r(818),a=r(480),i=r(305),o=r(286),s=r(534)._Types._isNullOrUndefined,u=a._StringHelper._padZeroLeft,l=parseInt,c=!1,m=Math.floor,y=Math.abs,h=new n.ResourceManager(n.SR,"Common");t.getSR=h.getResource.bind(h);var f={};function d(e,r,a,i){var s=a.DateTimeFormat,l=s.Calendar.convert;if(!r||!r.length)return a&&a.name.length?l?d(e,s.fullDateTimePattern,a):e.toLocaleString():e.toString();var c,h,f,_=s.eras,g="",M=/([^d]|^)(d|dd)([^d]|$)/g;function v(){return h||f||(h=M.test(r),f=!0),h}var b,F=0,S=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;function D(e,t){return b?b[t]:function(e,t){if(n.HandleExcelSpecialDate)return n.HandleExcelSpecialDate.call(null,e,t);switch(t){case 0:return e.getFullYear();case 1:return e.getMonth();case 2:return e.getDate();default:return}}(e,t)}"s"!==r&&l&&(b=l.fromGregorian(e));for(var x=-2,C=-2,T={_value:""},N=0;;N++){var E=S.lastIndex,H=S.exec(r),P=r.slice(E,H?H.index:r.length);if(T._value="",F+=p(P,T),g+=T._value,!H)break;if(F%2!=1){var w=D(e,0),O=e.getDay(),k=e.getHours(),I=e.getMinutes(),A=e.getSeconds(),R=e.getMilliseconds(),$=e.getTimezoneOffset();switch(H[0]){case"dddd":g+=s.dayNames[O];break;case"ddd":g+=s.abbreviatedDayNames[O];break;case"dd":h=!0,g+=u(D(e,2),2);break;case"d":h=!0,g+=D(e,2);break;case"MMMM":g+=s.monthGenitiveNames&&v()?s.monthGenitiveNames[D(e,1)]:s.monthNames[D(e,1)];break;case"MMM":g+=s.abbreviatedMonthGenitiveNames&&v()?s.abbreviatedMonthGenitiveNames[D(e,1)]:s.abbreviatedMonthNames[D(e,1)];break;case"MM":g+=u(D(e,1)+1,2);break;case"M":g+=D(e,1)+1;break;case"yyyy":case"yyy":g+=x>=0?o._EraHelper._formatEraPart("ee",e,i):u(b?b[0]:w,4);break;case"yy":g+=x>=0?o._EraHelper._formatEraPart("ee",e,i):u((b?b[0]:w)%100,2);break;case"y":g+=x>=0?o._EraHelper._formatEraPart("e",e,i):""+(b?b[0]:w)%100;break;case"hh":0==(c=k%12)&&(c=12),g+=u(c,2);break;case"h":0==(c=k%12)&&(c=12),g+=c;break;case"HH":g+=u(k,2);break;case"H":g+=k.toString();break;case"mm":g+=u(I,2);break;case"m":g+=I.toString();break;case"ss":g+=u(A,2);break;case"s":g+=A.toString();break;case"tt":g+=k<12?s.amDesignator:s.pmDesignator;break;case"t":g+=(k<12?s.amDesignator:s.pmDesignator).charAt(0);break;case"f":case"0":g+=u(R,3).charAt(0);break;case"ff":case"00":g+=u(R,3).substr(0,2);break;case"fff":case"000":g+=u(R,3);break;case"z":g+=((c=$/60)<=0?"+":"-")+m(y(c));break;case"zz":g+=((c=$/60)<=0?"+":"-")+u(m(y(c)),2);break;case"zzz":g+=((c=$/60)<=0?"+":"-")+u(m(y(c)),2)+":"+u(y($%60),2);break;case"g":case"gg":case"ggg":if(!_)break;if(x===N-1){x=N;break}g+=o._EraHelper._formatEraPart(H[0],e,i),x=N;break;case"e":case"ee":if(!_){g+=u(b?b[0]:w,4);break}if(C===N-1){C=N;break}g+=o._EraHelper._formatEraPart(H[0],e,i),C=N;break;case"/":g+=s.dateSeparator;break;default:if(!/\[(H+|h+|m+|s+)\]/.test(H[0]))throw Error((0,t.getSR)().Exp_InvalidDateFormat);g+=H[0]}}else g+=H[0]}return g.toString()}function p(e,t){for(var r=0,n=c,a=0,i=e.length;a<i;a++){var o=e.charAt(a);switch(o){case'"':n?t._value+="'":r++,n=c;break;case"\\":n&&(t._value+="\\"),n=!n;break;default:t._value+=o,n=c}}return r}function _(e,t){var r=new Date;if(e.DateTimeFormat.eras&&t<100){var n=o._EraHelper._getEraDate(r)._eraYear;(t+=n-n%100)>e.DateTimeFormat.Calendar.TwoDigitYearMax&&(t-=100)}return t}function g(e){var t=e.getTimezoneOffset();return-485===t&&(t=-485-43/60),-321===t&&(t=-321-10/60),-507===t&&(t=-507-52/60),-402===t&&(t=-402-4/60),t}var M=function(){function e(){}return e._customCultureFormat=function(e,t,r,n){return r||(r=o.CultureManager._getCultureInfo()),d(e,t,r,n)},e._localeFormat=function(e,t,r){return d(e,t,r||o.CultureManager._getCultureInfo())},e._parseDate=function(t,r,n){var a,i,o,s,u,l=c;for((u=n).slice(1).forEach((function(e){e&&(l=!0)})),l||(u=u.concat(r._getDateTimePattern())),i=u.length,a=1;a<i;a++)if((s=u[a])&&(l=!0,o=e._parseExact(t,s,r)))return o;return null},e._parseLocale=function(t,r,n){var a,i;return r||n||void 0===(i=f[t])?(a=r?[t,r]:[t],i=e._parseDate(t,n||o.CultureManager._getCultureInfo(),a),r||n||(f[t]=i),i?new Date(i):i):i?new Date(i):i},e._parseInvariant=function(t,r){return e._parseDate(t,o.CultureManager._getCultureInfo("invariant"),[t,r])},e._parseExact=function(e,r,n){e=e.trim();var s=n.DateTimeFormat,u=1041===n.id,m=function(e,r,n){if(e._parseRegExp){if(e._parseRegExp[r])return e._parseRegExp[r]}else e._parseRegExp={};var a=r;a=(a=a.replace("%M","M")).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1");for(var o,s="^",u={_value:""},l=[],c=0,m=0,y=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;null!==(o=y.exec(a));){u._value="";var h=a.slice(c,o.index);if(c=y.lastIndex,m+=p(h,u),s+=u._value,m%2!=1){switch(o[0]){case"dddd":case"ddd":case"MMMM":case"MMM":case"gggg":case"ggg":case"gg":case"g":s+="(\\D+)";break;case"tt":case"t":s+="(\\D*)";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":s+="(\\d\\d?\\d?)";break;case"eee":case"ee":case"e":s+=n?"(\\u5143|\\d\\d?)":"(\\d\\d?)";break;case"yyy":case"yyyy":s+="(\\d{2}|\\d{4})";break;case"fff":case"000":s+="(\\d{3})";break;case"ff":case"00":s+="(\\d{2})";break;case"f":case"0":s+="(\\d)";break;case"zzz":s+="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":s+="([+-]?\\d\\d?)";break;case"/":s+="/"===e.dateSeparator?"(\\/)":"([\\/\\"+e.dateSeparator+"])";break;default:throw Error((0,t.getSR)().Exp_InvalidDateFormat)}i._ArrayHelper._add(l,o[0])}else s+=o[0]}u._value="",p(a.slice(c),u),s+=u._value;var f=(s+="$").toString().replace(/\s+/g,"\\s+"),d={_regExp:f,_groups:l,_exp:RegExp(f)};return e._parseRegExp[r]=d,d}(s,r,u),y=m._exp.exec(e);if(null===y)return null;for(var h,f=m._groups,d=null,g=null,M=null,v=null,b=null,F=0,S=0,D=0,x=0,C=null,T=c,N=c,E=0,H=f.length;E<H;E++){var P=y[E+1];if(P)switch(f[E]){case"dd":case"d":if((v=l(P,10))<1||v>31)return null;break;case"MMMM":if((M=n._getMonthIndex(P))<0||M>11)return null;break;case"MMM":if((M=n._getAbbrMonthIndex(P))<0||M>11)return null;break;case"M":case"MM":case"%M":if((M=l(P,10)-1)<0||M>11)return null;break;case"e":case"ee":if((g=u&&"元"===P?1:_(n,l(P,10)))<0||g>9999)return null;break;case"y":case"yy":case"yyy":case"yyyy":if((g=l(P,10))<0||g>9999)return null;break;case"h":case"hh":case"H":case"HH":if((F=l(P,10))<0)return null;break;case"m":case"mm":if((S=l(P,10))<0||S>59)return null;break;case"s":case"ss":if((D=l(P,10))<0||D>59)return null;break;case"tt":case"t":var w=P.toUpperCase();if(T=w===s.pmDesignator.toUpperCase(),N=w===s.amDesignator.toUpperCase(),!T&&!N)return null;break;case"f":case"0":if((x=100*l(P,10))<0||x>999)return null;break;case"ff":case"00":if((x=10*l(P,10))<0||x>999)return null;break;case"fff":case"000":if((x=l(P,10))<0||x>999)return null;break;case"dddd":if((b=n._getDayIndex(P))<0||b>6)return null;break;case"ddd":if((b=n._getAbbrDayIndex(P))<0||b>6)return null;break;case"zzz":var O=P.split(/:/);if(2!==O.length)return null;if((h=l(O[0],10))<-12||h>13)return null;var k=l(O[1],10);if(k<0||k>59)return null;C=60*h+(a._StringHelper._startsWith(P,"-")?-k:k);break;case"z":case"zz":if((h=l(P,10))<-12||h>13)return null;C=60*h;break;case"g":case"gg":case"ggg":var I=P;if(!I||!s.eras)return null;if((d=o._EraHelper._parseEraPart(f[E],I))<0)return null}}var A,R=/^(\d|\d\d|\d\d\d):/.test(e),$=R?new Date(1899,11,30):new Date,U=s.Calendar.convert;if(U&&(A=U.fromGregorian($)),U||(A=[$.getFullYear(),$.getMonth(),$.getDate()]),null===g?g=A[0]:g<100&&(s.eras&&null!==d?g=o._EraHelper._getYearFromEra(d||0,g):g+=g>=30?1900:2e3),null===M&&(M=A[1]),null===v&&(v=R?A[2]:1),U){if(null===($=U.toGregorian(g,M,v)))return null}else{if($.setFullYear(g,M,v),$.getDate()!==v)return null;if(null!==b&&$.getDay()!==b)return null}if(T&&F<12?F+=12:N&&12===F&&(F=0),$.setHours(F,S,D,x),null!==C){var B=$.getMinutes()-(C+$.getTimezoneOffset());$.setHours($.getHours()+B/60,B%60)}return $},e._fromOADate=function(e){var t=g(new Date(864e5*(e-25569))),r=Math.round(864e5*(e-25569+t/1440)),n=new Date(r),a=t>=0?1:-1,i=g(new Date(r+36e5*a));if(y(t-i)>=60){var o=new Date(r+60*(i-t)*1e3);if(t>i){if(-1===a||i===g(n))return o}else if(t<i&&(1===a||i===g(n)))return o}return n},e._fromOADateString=function(t){if("/OADate("===t.substr(0,8)){var r=parseFloat(t.substr(8,t.length-10));return e._fromOADate(r)}},e._toOADateString=function(t){return"/OADate("+e._toOADate(t)+")/"},e._toOADate=function(e){if(s(e))return 0;if("number"!=typeof e&&"string"!=typeof e||(e=new Date(e)),e instanceof Date){var t=g(e);return(1440*e.getTime()+3181192704e6-864e5*t)/124416e6}return 0},e._DT=function(r){var n=null,a=!0;if(s(r))n=e._fromOADate(0);else if(r instanceof Date)n=new Date(r.valueOf());else if("string"==typeof r){var i=e._parseLocale(r);if(!i)if(isNaN(r))if(e._isInvalidDateString(r))a=c;else{isNaN((i=new Date(r)).valueOf())&&(a=c);var o=/^[-+=\s]*(\d+)\W+(\d+)\W+(\d+)$/.exec(r.replace(/ |\n/g,"").trim());o&&4===o.length&&(-1!==o.indexOf(i.getFullYear().toString())&&-1!==o.indexOf(""+(i.getMonth()+1))&&-1!==o.indexOf(i.getDate().toString())||(a=c))}else(i=e._fromOADate(parseFloat(r)))||(a=c);n=i}else"number"==typeof r?n=e._fromOADate(r):a=c;if(a)return n;throw(0,t.getSR)().Exp_InvalidCast},e._isInvalidDateString=function(t){var r,n,a=o.CultureManager._getCultureInfo().DateTimeFormat,i=e._invalidCharInDateStr,s=function(e,t){var r=0;return t.forEach((function(t){t&&e.indexOf(t)>-1&&r++})),r>1};return s(t,a.monthNames)||s(t,a.abbreviatedMonthNames)||s(t,a.dayNames)||s(t,a.abbreviatedDayNames)||function(e,t){if(e&&e.indexOf(" ")>-1){var r=e.split(" "),n=r.length;return n>=2&&t.indexOf(r[n-2])<=-1&&!isNaN(r[n-1])}return!1}(t,a.monthNames.concat(a.abbreviatedMonthNames))||(r=t,n=!1,i.forEach((function(e){r.indexOf(e)>-1&&(n=!0)})),n)},e._isDate=function(e){return e&&(e.constructor===Date||e.getUTCDate&&e.setFullYear)},e._invalidCharInDateStr=["@","#","!","`","^","$","*","(",")","&"],e}();t._DateTimeHelper=M},646:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._growth=t._trend=void 0;var n=r(844),a=isNaN,i="rowCount",o="colCount";function s(e){return e}function u(e,t,r,s,u,l,c,m,y,h,f){var d,p,_,g,M,v,b,F,S,D,x,C,T,N,E,H,P=r[i],w=r[o],O=t[i],k=t[o],I=s[i],A=s[o],R=1===w,$=1===k;if(O===P&&k===w){var U=0,B=0,j=0,L=0;for(b=P*w,d=0;d<P;d++)for(p=0;p<w;p++){if(g=l(r[d][p]),M=l(t[d][p]),e&&(a(g)||a(M)))return y;U+=g,B+=g*g,j+=M=h(M),L+=g*M}var G=b*L-U*j;F=u?(j*B-U*L)/(b*B-U*U):0;var Y=(v=u?G/(b*B-U*U):L/B).toString();for((Y.indexOf("000000000000")>1||Y.indexOf("999999999999")>1)&&(v=n._NumberHelper._fixNumber(v,12),F=n._NumberHelper._fixNumber(F,12)),S=[],d=0;d<I;d++)for(S[d]=[],p=0;p<A;p++){if(g=l(s[d][p]),e&&a(g))return y;S[d][p]=0===G?t[0][0]:f(n._NumberHelper._safeAdd(v*g,F))}return c?new c(S):S}if($&&O===P||1===O&&k===w){for(g=[],M=[],E=w+1,H=w+2,d=0;d<P;d++){if(F=l(x=$?t[d][0]:t[0][d]),e&&a(F))return y;M[d]=R?h(F):F}for(d=0;d<P;d++)for(g[d]=[],p=0;p<w;p++){if(F=l(r[d][p]),e&&a(F))return y;g[d][p]=F}var z=[];for(v=0;v<E;v++)for(z[v]=[],b=0;b<H;b++)z[v][b]=0;for(_=0;_<P;_++)for(z[0][E]+=M[_],d=0;d<w;d++)for(x=d+1,z[0][x]+=g[_][d],z[x][0]=z[0][x],z[x][E]+=g[_][d]*M[_],p=d;p<w;p++)z[T=p+1][x]+=g[_][d]*g[_][p],z[x][T]=z[T][x];z[0][0]=P;var K=u?0:1;for(D=K;D<E;D++){if(e){if(0===z[D][D]){for(N=!1,p=D+1;!N&&p<E;p++)if(0!==z[p][D]){for(_=0;_<H;_++)T=z[D][_],z[D][_]=z[p][_],z[p][_]=T;N=!0}if(!N)return m}}else{for(d=D;d<E&&0===z[d][D];)d++;if(d>=E)return m;for(C=K;C<H;C++)x=z[D][C],z[D][C]=z[d][C],z[d][C]=x}for(x=1/z[D][D],C=K;C<H;C++)z[D][C]*=x;for(d=K;d<E;d++)if(d!==D)for(x=-z[d][D],C=0;C<H;C++)z[d][C]+=x*z[D][C];u||(z[0][E]=0)}for(S=[],$||(S[0]=[]),d=0;d<I;d++){for($&&(S[d]=[]),x=z[0][E],p=0;p<w;p++){if(F=l($?s[d][p]:s[p][d]),e&&a(F))return y;x+=z[p+1][E]*F}$?S[d][0]=f(x):S[0][d]=f(x)}return c?new c(S):S}return m}t._trend=function(e,t,r,n,a,i,o,l){return u(!0,e,t,r,n,a,i,l,o,s,s)},t._growth=function(e,t,r,n,a,l,c){var m,y;for(m=0;m<e[i];m++)for(y=0;y<e[o];y++)if(e[m][y]<=0)return l;return u(!1,e,t,r,n,s,a,c,null,Math.log,Math.exp)}},844:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._NumberHelper=void 0;var n=r(818),a=r(534),i=r(576),o=r(480),s=r(286),u=a._Types._isNullOrUndefined,l=o._StringHelper._padZeroLeft,c=o._StringHelper._padZeroRight,m=null,y=void 0,h=parseInt,f=parseFloat,d=!1,p=!0,_=Math.floor,g=Math.abs,M=Math.pow,v=Math.min,b=Number.MAX_VALUE,F=function(e,t,r){return e.substr(t,r)},S=function(e){return i._RegexHelper._getReg(e)},D=new n.ResourceManager(n.SR),x=D.getResource.bind(D),C="##################0",T="################",N={1:"+",0:"","-1":"-"},E=["0","#","?"],H={"¤":"¤",Br:"Br",Fdj:"Fdj",Nfk:"Nfk",R:"R",$:"$",FCFA:"FCFA","GH₵":"GH₵",ብር:"ብር","ر.س.‏":"ر.س.‏",XDR:"XDR","د.إ.‏":"د.إ.‏","د.ب.‏":"د.ب.‏","د.ج.‏":"د.ج.‏","ج.م.‏":"ج.م.‏","₪":"₪","د.ع.‏":"د.ع.‏","د.ا.‏":"د.ا.‏","ف.ج.ق.‏":"ف.ج.ق.‏","د.ك.‏":"د.ك.‏","ل.ل.‏":"ل.ل.‏","د.ل.‏":"د.ل.‏","د.م.‏":"د.م.‏","أ.م.‏":"أ.م.‏","ر.ع.‏":"ر.ع.‏","ر.ق.‏":"ر.ق.‏","ج.س.":"ج.س.",S:"S","£":"£","ل.س.‏":"ل.س.‏","د.ت.‏":"د.ت.‏","ر.ي.‏":"ر.ي.‏","₹":"₹",TSh:"TSh","€":"€","₼":"₼","₽":"₽",K:"K","лв.":"лв.","₦":"₦",CFA:"CFA","৳":"৳","¥":"¥",KM:"KM",КМ:"КМ",USh:"USh",Kč:"Kč","kr.":"kr.",Ksh:"Ksh",CHF:"CHF","ރ.":"ރ.","Nu.":"Nu.",EC$:"EC$",P:"P",US$:"US$",D:"D",Rp:"Rp",Ar:"Ar",MOP$:"MOP$",Rs:"Rs",MK:"MK",RM:"RM","₱":"₱",RF:"RF",SR:"SR",SDG:"SDG",Le:"Le","NAf.":"NAf.",E:"E",T$:"T$",VT:"VT",WS$:"WS$",Bs:"Bs","₡":"₡",Q:"Q",L:"L",C$:"C$","B/.":"B/.","S/.":"S/.","₲":"₲","Bs.":"Bs.",ريال:"ريال",FG:"FG",UM:"UM",kr:"kr",FBu:"FBu",FC:"FC",DA:"DA",G:"G",CF:"CF",DH:"DH",FCFP:"FCFP",LS:"LS",DT:"DT",kn:"kn",HUF:"HUF","֏":"֏",ISK:"ISK","₾":"₾","​":"​","₸":"₸","៛":"៛","₩":"₩",сом:"сом",Kz:"Kz","₭":"₭",MTn:"MTn",ден:"ден","₮":"₮",रु:"रु","Afl.":"Afl.","ߖߕ.":"ߖߕ.","руб.":"руб.",zł:"zł","؋":"؋",R$:"R$",Db:"Db",RON:"RON","₴":"₴",MAD:"MAD","රු.":"රු.",Lekë:"Lekë",den:"den",RSD:"RSD","дин.":"дин.","ܠ.ܣ.‏":"ܠ.ܣ.‏","Rs.":"Rs.",смн:"смн","฿":"฿","m.":"m.","₺":"₺",ⴷⵔ:"ⴷⵔ",soʻm:"soʻm",сўм:"сўм","₫":"₫",HK$:"HK$",MOP:"MOP",NT$:"NT$"};function P(e,t,r,n){return t&&0!==t.length&&"i"!==t?function(e,t,r,n){return B(e,k(t),r,n)}(e,t,r.NumberFormat,n):r&&r.name.length>0?e.toLocaleString():e.toString()}function w(e,t){for(var r=_(g(e)),n={_integer:1,_decimal:0};r>=10&&Number.isFinite(r);)r/=10,n._integer++;var a,i=e.toString(),o=i.search(/e/gi),s=i.indexOf(t);if(-1!==o){var u=F(i,0,o),l=F(i,o+1),c=0;-1!==s&&(c=F(u,s+1).length),(a=c-f(l))<0&&(a=0),n._decimal=a}else a=0,-1!==s&&(a=F(i,s+1).length),n._decimal=a;return n}function O(e){for(var t={_symbol:e.charAt(0),_sign:0,_exp:0},r="",n=1;n<e.length;n++)if("+"===(r=e.charAt(n)))t._sign=1;else{if("-"!==r){if("0"===r){t._exp=e.length-n;break}throw Error(x().Exp_InvalidExponentFormat)}t._sign=-1}return t}function k(e){for(var t,r={_intPart:m,_decPart:m,_group:d,_scale:0,_percent:0,_permille:0,_exponent:m},n="",a=d,i=d,o=d,s=d,u=d,l=d,c=m,y=[],h=0;h<e.length;h++){if(t=e.charAt(h),a)n+=t,'"'===t&&(y.push(n),n="",a=d);else if(i){if("E"===c||"e"===c){if(!(["+","-","0"].indexOf(t)>=0)){i=d,h--;continue}n+=t}else if("+"===c||"-"===c){if("0"!==t){i=d,h--;continue}n+=t}else if("0"===c){if("0"!==t){i=d,u||(u=p,r._exponent=O(n)),h--;continue}n+=t}}else if("*"!==c&&"_"!==c&&"\\"!==c||""===n)if("*"===t||"_"===t||"\\"===t)l=d,""!==n&&(y.push(n),n=""),n+=t;else if("'"===t)l=d,""!==n&&(y.push(n),n=""),y.push(t);else if('"'===t)l=d,a=p,""!==n&&(y.push(n),n=""),n+=t;else if(E.indexOf(t)>=0)l=p,E.indexOf(c)<0&&""!==n&&(y.push(n),n=""),n+=t;else if("."!==t||o)if("%"===t)l=d,r._percent++,""!==n&&(y.push(n),n=""),y.push(t);else if("‰"===t)l=d,r._permille++,""!==n&&(y.push(n),n=""),y.push(t);else if(","===t)if(l){var f=void 0;""!==n&&(y.push(n),n="");for(var _=p,g="",M=h+1;M<e.length;M++)if(f=e.charAt(M),'"'!==g)if("\\"!==g&&"_"!==g){if(E.indexOf(f)>=0){_=d;break}if("."===f||";"===f)break;g=f}else g="";else'"'===f&&(g="");_?r._scale++:o||(f=e.charAt(h+1))&&E.indexOf(f)>=0&&(s=p)}else n+=t;else"E"===t||"e"===t?(l=d,i=p,""!==n&&(y.push(n),n=""),n+=t):(l=d,E.indexOf(c)>=0&&""!==n&&(y.push(n),n=""),n+=t);else""!==n&&(y.push(n),n=""),r._intPart=y,y=[],o=p,l=d;else n+=t,y.push(n),n="";c=t}return""!==n&&(i&&!u&&(r._exponent=O(n)),y.push(n)),s&&(r._group=p),o?r._decPart=y:r._intPart=y,r}function I(e,t,r,n,a,i){var o=function(e,t){if(t=+t,isNaN(e=+e)||t%1!=0)return NaN;var r=e<0;if(e=r?-e:e,typeof t===y||0===t)return e=Math.round(e),r?-e:e;var n=e.toString().split("e");return e=Math.round(+(n[0]+"e"+(n[1]?+n[1]-t:-t))),+((n=(e=r?-e:e).toString().split("e"))[0]+"e"+(n[1]?+n[1]+t:t))}(e,-t);isFinite(o)||(o=e);var s,u,m=(e=o).toString(),f=m.split(/e/i);return m=f[0],u=f.length>1?h(f[1],10):0,f=m.split("."),m=f[0],s=f.length>1?f[1]:"",u>0?(m+=(s=c(s,u)).slice(0,u),s=F(s,u)):u<0&&(u=-u,s=(m=e<0?i+l(m.replace(i,""),u+1):l(m,u+1)).slice(-u,m.length)+s,m=m.slice(0,-u)),m+(t>0?a+(s=s.length>t?s.slice(0,t):c(s,t)):"")}function A(e){var t=m;if(e){t="";for(var r=0;r<e.length;r++){var n=e[r];/^(0|#|\?)+/g.test(n)&&(t+=n)}}return t}var R=Math.pow(2,48);function $(e,t){return e===t||0!==e&&0!==t&&(g(e-t)<g(e)/R||(e=Y(e,15),t=Y(t,15),g(e-t)<g(e)/R))}function U(e,t,r,n,a,i,o,s){var u=s.numberGroupSizes,c=s.numberGroupSeparator,m=s.negativeSign,y=s.percentSymbol,h=s.perMilleSymbol,f=n._exponent,_=F(t,0,1);_===m&&(t=F(t,1));var g=1===t.length&&"0"===t?0:t.length;t=0===g?"":t;for(var M=0,v="",b=e.length-1;b>=0;b--){var S="",D=e[b];if(/^(0|#|\?)+/g.test(D)){if(v!==r){for(var C=D.length,T=g-M-1;T>=0&&C>0;T--){S=t.charAt(T)+S,C--,M++}for(var E=C-1;E>=0;E--){var P=D[E];M++,"0"===P?S=P+S:"?"===P&&(""!==S&&(i.push({type:"number",value:S}),S=""),i.push({type:"numberPlaceholder",value:P}))}(v=D+v)===r&&M<g&&(S=t.substr(0,g-M)+S),""!==S&&i.push({type:"number",value:S})}}else if(n._exponent&&!o.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(D)){o.replaceExponent=p;var w="";w+=f._symbol,w+=N[f._sign],w+=l(a.toString(),f._exp),i.push({type:"exponent",value:w})}else"_"===D[0]?i.push({type:"placeholder",value:D[1]}):"*"===D[0]?o.hasInfilling||(i.push({type:"fillingChar",value:D[1]}),o.hasInfilling=!0,o.infillIndex=i.length-1):"\\"===D[0]?2===D.length&&i.push({type:"text",value:D[1]}):'"'===D[0]&&'"'===D[D.length-1]?D.length>2&&i.push({type:"text",value:D.substr(1,D.length-2)}):D===y?i.push({type:"percent",value:D}):D===h?i.push({type:"permille",value:D}):H[D]?i.push({type:"currency",value:D}):i.push({type:"text",value:D})}_===m&&r&&i.push({type:"text",value:_}),n._group===p&&function(e,t,r,n){for(var a=t[0],i=1,o=0,s=d,u=e.length,l=0;l<u;l++){var c=e[l].type;if("number"===c){for(var m="",y=e[l].value,h=y.length-1;h>=0;){if(!(1<=a&&a<=9||0===a&&i===t.length))throw Error(x().Exp_InvalidNumberGroupSize);/\d/gi.test(y[h])?(s&&(m&&e.push({type:"number",value:m}),e.push({type:"groupSeparator",value:r}),m="",s=d),o++):o=0,m=y[h]+m,o===a&&a>0&&(s=p,o=0,i<t.length&&(a=t[i],i++)),h--}m&&e.push({type:c,value:m})}else"fillingChar"===c&&(n.infillIndex=e.length-u),e.push({type:c,value:e[l].value})}e.splice(0,u)}(i,u,c,o),i.reverse(),o.infillIndex=i.length-1-o.infillIndex}function B(e,t,r,n){var a=[];e=function(e,t,r,n){var a=e;return t>0&&(a=Y(a*M(100,t),15)),r>0&&(a=Y(a*M(1e3,r),15)),n>0&&(a=Y(a/M(1e3,n),15)),a}(e,t._percent,t._permille,t._scale);var i=t._intPart,o=t._decPart;if(!i&&!o)return a;var s,u=A(i),c=A(o);if(c||(c=""),t._exponent){var m=function(e,t,r){var n={value:e,exponentValue:0},a=w(e,".")._integer,i=g(e),o=r?r.length:1;if(i>=1)a>o?(a-=o,n.value=e/M(10,a),n.exponentValue=a):n.exponentValue=0,-1===t._sign&&(t._sign=0);else if(i<1&&i>0){t._sign=-1;for(var s=M(10,o);10*i<s&&!$(10*i,s);)i*=10,n.exponentValue++;var u=M(10,n.exponentValue);n.value*=u>b?0:u}return n}(e,t._exponent,u);e=m.value,s=m.exponentValue}var y=w(e,".");g(e)>1&&y._integer+y._decimal>15&&(e=Y(e,15));r.numberGroupSizes,r.numberGroupSeparator;var h=r.numberDecimalSeparator,f=r.negativeSign,_=I(e,v(y._decimal,c.length),0,0,h,f);if(n||(_=function(e,t){var r=e;return-1!==e.indexOf(t)&&(r=e.replace(/0+$/,"")),r}(_,h)),""===_)return a.push({type:"text",value:(i?i.join(""):"")+(o?o.join(""):"")}),a;var F={hasInfilling:d,infillIndex:-1,replaceExponent:d},S=_.split(h)[0];return"10"!==S||isNaN(s)||(S="1",s+=t&&t._exponent&&-1===t._exponent._sign?-1:1),i&&U(i,S,u,t,s,a,F,r),e===1/0||e===-1/0||("0"!==S&&""===u&&o&&a.push({type:"number",value:S}),o&&function(e,t,r,n,a,i,o,s,u){var c=u.numberDecimalSeparator,m=u.percentSymbol,y=u.perMilleSymbol,h=t.indexOf(c),f=a._exponent;(h>0||n!==C||r!==T)&&o.push({type:"decimalSeparator",value:c});for(var d=-1!==h?t.substring(h+1):"",_=0,g="",M=0;M<e.length;M++){var v=e[M];if(/^(0|#|\?)+/g.test(v)){var b="";if(g!==r){for(var F=v.length,S=0,D=_;F>0&&d.length-_>0;)b+=d.charAt(D),F--,_++,S++,D++;for(var x=S;F>0;){var E=v[x];x++,_++,F--,"0"===E?b+=E:"?"===E&&(""!==b&&(o.push({type:"number",value:b}),b=""),o.push({type:"numberPlaceholder",value:E}))}""!==b&&o.push({type:"number",value:b}),g+=v}}else if(f&&!s.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(v)){s.replaceExponent=p;var P="";P+=f._symbol,P+=N[f._sign],P+=l(i.toString(),f._exp),o.push({type:"exponent",value:P})}else"_"===v[0]?o.push({type:"placeholder",value:v[1]}):"*"===v[0]?(o.push({type:"fillingChar",value:v[1]}),s.hasInfilling&&o.splice(s.infillIndex,1),s.hasInfilling=!0,s.infillIndex=o.length-1):"\\"===v[0]?2===v.length&&o.push({type:"text",value:v[1]}):'"'===v[0]&&'"'===v[v.length-1]?v.length>2&&o.push({type:"text",value:v.substr(1,v.length-2)}):v===m?o.push({type:"percent",value:v}):v===y?o.push({type:"permille",value:v}):H[v]?o.push({type:"currency",value:v}):o.push({type:"text",value:v})}}(o,_,c,u,t,s,a,F,r)),a}function j(e,t){if((e=u(e)?"":o._StringHelper._trimEnd(e,"")).match(/^[+-]?infinity$/i))return f(e);if(e.match(/^0x[a-f0-9]+$/i))return h(e,10);var r,n,a=t.NumberFormat,i=a.numberNegativePattern,s=L(e,a,i),l=s[0],c=s[1];""===l&&1!==i&&(l=(s=L(e,a,1))[0],c=s[1]),""===l&&(l="+"),c[0]===a.currencySymbol&&(c=F(c,1));var y=c.indexOf("e");y<0&&(y=c.indexOf("E")),y<0?(n=c,r=m):(n=F(c,0,y),r=F(c,y+1));var d,p,_=n.indexOf(".");_<0?(d=n,p=m):(d=F(n,0,_),p=F(n,_+1));var g=l+(d=d.split(",").join(""));if(p!==m&&(g+="."+p),g[g.length-1]===a.percentSymbol){g=F(g,0,g.length-1);var M=(g=o._StringHelper._trimEnd(g,"")).indexOf(".");-1===M&&(M=g.length);var v="";v+=F(g,0,M-2),v+=".",v+=F(g,M-2,2),g=v+=F(g,M+1)}if(r!==m){var b=L(r,a,1);""===b[0]&&(b[0]="+"),g+="e"+b[0]+b[1]}return g.match(/^[+-]?\d*\.?\d*(e[+-]?\d+)?$/)?f(g):NaN}function L(e,t,r){var n=t.negativeSign,a=t.positiveSign;if(4!==r&&2!==r||(n=" "+n,a=" "+a),4===r||3===r){if(o._StringHelper._endsWith(e,n))return["-",F(e,0,e.length-n.length)];if(o._StringHelper._endsWith(e,a))return["+",F(e,0,e.length-a.length)]}else if(2===r||1===r){if(o._StringHelper._startsWith(e,n))return["-",F(e,n.length)];if(o._StringHelper._startsWith(e,a))return["+",F(e,a.length)]}else{if(0!==r)throw Error("");if(o._StringHelper._startsWith(e,"(")&&o._StringHelper._endsWith(e,")"))return["-",F(e,1,e.length-2)]}return["",e]}function G(e){var t=s.CultureManager._getCultureInfo().NumberFormat;return"string"==typeof e&&(t=s.CultureManager._getCultureInfo(e).NumberFormat),t}function Y(e,t){return"number"==typeof e&&e.toString().length>=t&&(e=+e.toPrecision(t)),e}t._NumberHelper={_parseLocale:function(e){return j(e,s.CultureManager._getCultureInfo())},_parseInvariant:function(e){return j(e,s.CultureManager._getCultureInfo("invariant"))},_customCultureFormat:function(e,t,r,n){return r||(r=s.CultureManager._getCultureInfo()),P(e,t,r,n)},_replaceNormalToCultureSymbol:function(e,t){if("string"!=typeof e)return e;var r=G(t),n=r.numberDecimalSeparator,a=r.numberGroupSeparator;return"."!==n&&(e=e.replace(S("[.]"),"#dot#")),","!==a&&(e=e.replace(S("[,]"),"#group#")),"."!==n&&(e=e.replace(S("#dot#"),n)),","!==a&&(e=e.replace(S("#group#"),a)),e},_replaceCultureSymbolToNormal:function(e,t){if("string"!=typeof e)return e;var r=G(t),n=r.numberDecimalSeparator,a=r.numberGroupSeparator;return"."!==n&&(e=e.replace(S("["+n+"]"),"#dot#")),","!==a&&(e=e.replace(S("["+a+"]"),"#group#")),"."!==n&&(e=e.replace(S("#dot#"),".")),","!==a&&(e=e.replace(S("#group#"),",")),e},_isValidCultureNumberString:function(e,t){if("string"==typeof e){var r=G(t),n=r.numberDecimalSeparator,a=r.numberGroupSeparator;if("."!==n&&"."!==a&&e.indexOf(".")>=0||","!==n&&","!==a&&e.indexOf(",")>=0)return!1}return!0},_parseFloat:function(e,t){return f(this._replaceCultureSymbolToNormal(e,t))},_toHexString:function(e,t,r){if(0!==g(_(e)-e))throw Error(x().Exp_BadFormatSpecifier);var n=e>=0?e.toString(16):(4294967295+e+1).toString(16);return n=t?n.toLowerCase():n.toUpperCase(),!u(r)&&n.length<r?l(n,r):n},_parseCustomNumberFormatter:k,_formatNumber:B,_approxEqual:$,_safeAdd:function(e,t){return $(e,-t)?0:e+t},_formatObjectToString:function(e){var t="";if(Array.isArray(e)&&e.length>0)for(var r=0;r<e.length;r++){var n=e[r].type,a=e[r].value;if("placeholder"===n)t+=" ";else{if("fillingChar"===n)continue;t+="numberPlaceholder"===n?" ":a}}return t},_generalNumberInt:C,_generalNumberDec:T,_fixNumber:Y}},674:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.rbush=void 0;var r=Math.max,n=Math.min,a=1/0;function i(e,t){this._maxEntries=r(4,e||9),this._minEntries=r(2,Math.ceil(.4*this._maxEntries)),t&&this._initFormat(t),this.clear()}function o(e,t,r){if(!r)return t.indexOf(e);for(var n=0;n<t.length;n++)if(r(e,t[n]))return n;return-1}function s(e,t){u(e,0,e.children.length,t,e)}function u(e,t,r,n,i){i||(i=p(null)),i.minX=a,i.minY=a,i.maxX=-1/0,i.maxY=-1/0;for(var o=t,s=void 0;o<r;o++)s=e.children[o],l(i,e.leaf?n(s):s);return i}function l(e,t){return e.minX=n(e.minX,t.minX),e.minY=n(e.minY,t.minY),e.maxX=r(e.maxX,t.maxX),e.maxY=r(e.maxY,t.maxY),e}function c(e,t){return e.minX-t.minX}function m(e,t){return e.minY-t.minY}function y(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function h(e){return e.maxX-e.minX+(e.maxY-e.minY)}function f(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&(t.maxX>=0&&t.maxX<=e.maxX||e.minX<0)&&(t.maxY>=0&&t.maxY<=e.maxY||e.minY<0)}function d(e,t){return(-1===e.minY||-1===t.minY||e.minY<=t.maxY&&t.minY<=e.maxY)&&(-1===e.minX||-1===t.minX||e.minX<=t.maxX&&t.minX<=e.maxX)}function p(e){return{children:e,height:1,leaf:!0,minX:a,minY:a,maxX:-1/0,maxY:-1/0}}t.rbush=i,i.prototype={all:function(){return this._all(this.data,[])},search:function(e){var t=this.data,r=[],n=this.toBBox;if(!d(e,t))return r;for(var a,i,o,s,u=[];t;){for(a=0,i=t.children.length;a<i;a++)o=t.children[a],d(e,s=t.leaf?n(o):o)&&(t.leaf?r.push(o):f(e,s)?this._all(o,r):u.push(o));t=u.pop()}return r},collides:function(e){var t=this.data,r=this.toBBox;if(!d(e,t))return!1;for(var n,a,i,o,s=[];t;){for(n=0,a=t.children.length;n<a;n++)if(i=t.children[n],d(e,o=t.leaf?r(i):i)){if(t.leaf||f(e,o))return!0;s.push(i)}t=s.pop()}return!1},insert:function(e){return e&&this._insert(e,this.data.height-1),this},clear:function(){return this.data=p([]),this},remove:function(e,t){if(!e)return this;for(var r,n,a,i,s=this.data,u=this.toBBox(e),l=[],c=[];s||l.length;){if(s||(s=l.pop(),n=l[l.length-1],r=c.pop(),i=!0),s.leaf&&-1!==(a=o(e,s.children,t)))return s.children.splice(a,1),l.push(s),this._condense(l),this;i||s.leaf||!f(s,u)?n?(r++,s=n.children[r],i=!1):s=null:(l.push(s),c.push(r),r=0,n=s,s=s.children[0])}return this},toBBox:function(e){return e},compareMinX:c,compareMinY:m,toJSON:function(){return this.data},fromJSON:function(e){return this.data=e,this},_all:function(e,t){for(var r=[];e;)e.leaf?t.push.apply(t,e.children):r.push.apply(r,e.children),e=r.pop();return t},_chooseSubtree:function(e,t,i,o){for(var s,u,l,c,m,h,f,d;o.push(t),!t.leaf&&o.length-1!==i;){for(f=d=a,s=0,u=t.children.length;s<u;s++)m=y(l=t.children[s]),p=e,(h=(r((_=l).maxX,p.maxX)-n(_.minX,p.minX))*(r(_.maxY,p.maxY)-n(_.minY,p.minY))-m)<d?(d=h,f=m<f?m:f,c=l):h===d&&m<f&&(f=m,c=l);t=c||t.children[0]}var p,_;return t},_insert:function(e,t,r){var n=this.toBBox,a=r?e:n(e),i=[],o=this._chooseSubtree(a,this.data,t,i);for(o.children.push(e),l(o,a);t>=0&&i[t].children.length>this._maxEntries;)this._split(i,t),t--;this._adjustParentBBoxes(a,i,t)},_split:function(e,t){var r=e[t],n=r.children.length,a=this._minEntries;this._chooseSplitAxis(r,a,n);var i=this._chooseSplitIndex(r,a,n),o=p(r.children.splice(i,r.children.length-i));o.height=r.height,o.leaf=r.leaf,s(r,this.toBBox),s(o,this.toBBox),t?e[t-1].children.push(o):this._splitRoot(r,o)},_splitRoot:function(e,t){this.data=p([e,t]),this.data.height=e.height+1,this.data.leaf=!1,s(this.data,this.toBBox)},_chooseSplitIndex:function(e,t,i){var o,s,l,c,m,h,f,d,p,_,g,M,v,b;for(h=f=a,o=t;o<=i-t;o++)p=s=u(e,0,o,this.toBBox),_=l=u(e,o,i,this.toBBox),g=void 0,M=void 0,v=void 0,b=void 0,g=r(p.minX,_.minX),M=r(p.minY,_.minY),v=n(p.maxX,_.maxX),b=n(p.maxY,_.maxY),c=r(0,v-g)*r(0,b-M),m=y(s)+y(l),c<h?(h=c,d=o,f=m<f?m:f):c===h&&m<f&&(f=m,d=o);return d},_chooseSplitAxis:function(e,t,r){var n=e.leaf?this.compareMinX:c,a=e.leaf?this.compareMinY:m;this._allDistMargin(e,t,r,n)<this._allDistMargin(e,t,r,a)&&e.children.sort(n)},_allDistMargin:function(e,t,r,n){e.children.sort(n);var a,i,o=this.toBBox,s=u(e,0,t,o),c=u(e,r-t,r,o),m=h(s)+h(c);for(a=t;a<r-t;a++)i=e.children[a],l(s,e.leaf?o(i):i),m+=h(s);for(a=r-t-1;a>=t;a--)i=e.children[a],l(c,e.leaf?o(i):i),m+=h(c);return m},_adjustParentBBoxes:function(e,t,r){for(var n=r;n>=0;n--)l(t[n],e)},_condense:function(e){for(var t=e.length-1,r=void 0;t>=0;t--)0===e[t].children.length?t>0?(r=e[t-1].children).splice(r.indexOf(e[t]),1):this.clear():s(e[t],this.toBBox)},_initFormat:function(e){var t=["return a"," - b",";"];this.compareMinX=Function("a","b",t.join(e[0])),this.compareMinY=Function("a","b",t.join(e[1])),this.toBBox=Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}},576:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._RegexHelper=void 0;var n=r(480),a=function(){function e(){}return e._getRegWithModifiers=function(t,r){var n;if(r&&e._regDictWithModifiers[r]&&e._regDictWithModifiers[r][t])n=e._regDictWithModifiers[r][t];else try{null==r?(n=RegExp(t),r="empty"):n=RegExp(t,r),e._regDictWithModifiers[r]||(e._regDictWithModifiers[r]={}),e._regDictWithModifiers[r][t]=n}catch(e){return null}return n.lastIndex=0,n},e._getReg=function(t){var r=e._regDict[t];return r||(r=e._regDict[t]=RegExp(t,"g")),r.lastIndex=0,r},e._getRegIgnoreCase=function(t){var r=e._regDictIgnoreCase[t];return r||(r=e._regDictIgnoreCase[t]=RegExp(t,"gi")),r.lastIndex=0,r},e._getWildcardCriteria=function(t,r,n){if(e._wildcardParseRecord[t])return e._wildcardParseResultBuffer[t];var a=r?"[?*]+":"[~?*]+";if(e._getReg(a).test(t)){for(var i=[],o=t.split(""),s=void 0,u={".":!0,"+":!0,$:!0,"^":!0,"[":!0,"]":!0,"(":!0,")":!0,"{":!0,"}":!0,"|":!0,"/":!0,"\\":!0},l=0;l<o.length;l++)if("~"===(s=o[l])){if(!(l<o.length-1))break;"*"!==(s=o[++l])&&"?"!==s||i.push("\\"),i.push(s)}else"?"===s?i.push("."):"*"===s?(i.push("[\\s\\S]"),n?i.push("+"):i.push("*")):u[s]?(i.push("\\"),i.push(s)):i.push(s);return i.join("")}return null},e._getWildcardCriteriaFullMatch=function(t,r,n){var a=e._getWildcardCriteria(t,r,n);return a&&(a="^"+a+"$"),a},e._getReplaceSymbol=function(e,t){for(var r="#"+e+"0#",a=1;t.indexOf(r)>0;)r=n._StringHelper._join(r,"#"+e+(a-1)+"#","#"+e+a+"#"),a++;return r},e._replaceRegString2NormalString=function(e){return e.replace(/([\~\!\@\#\$\%\^\&\*\(\)\-\_\+\=\[\]\{\}\|\\\;\:\'\"\,\.\/\<\>\?])/,"\\$1")},e._regDict={},e._regDictIgnoreCase={},e._regDictWithModifiers={},e._wildcardParseRecord={},e._wildcardParseResultBuffer={},e}();t._RegexHelper=a},480:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._StringHelper=void 0;var n=r(576);function a(e,t,r){return e.substr(t,r)}function i(e){return null==e}function o(e,t,r,n){if(i(t))throw Error();if(""===t)return!0;if(t.length>e.length)return!1;var a=e,o=t;return r&&(a=a.toLowerCase(),o=o.toLowerCase()),n(a,o)}t._StringHelper={_contains:function(e,t,r){return r&&(e=e.toLowerCase(),t=t.toLowerCase()),""===t||e.indexOf(t)>=0},_indexOf:function(e,t,r){if(r){var n=e.toLowerCase(),a=t.toLowerCase();return n.indexOf(a)}return e.indexOf(t)},_trimStart:function(e,t){if(!t)return e;for(var r=e;a(r,0,t.length)===t;)r=a(r,t.length);return r},_trimEnd:function(e,t){if(!t)return e;for(var r=e;a(r,r.length-t.length,t.length)===t;)r=a(r,0,r.length-t.length);return r},_insert:function(e,t,r){if(t<0||t>e.length||i(r))throw Error();return a(e,0,t)+r+a(e,t,e.length-t)},_remove:function(e,t,r){if(i(r)&&(r=e.length-t),t<0||r<0||t+r>e.length)throw Error();return a(e,0,t)+a(e,t+r,e.length-t-r)},_startsWith:function(e,t,r){return void 0===r&&(r=!1),o(e,t,r,(function(e,t){return e.slice(0,t.length)===t}))},_endsWith:function(e,t,r){return void 0===r&&(r=!1),o(e,t,r,(function(e,t){return e.slice(-t.length)===t}))},_replace:function(e,t,r,n){if(!t)throw Error();return r=(""+r).replace(/\$/g,"$$$$"),e.replace(RegExp(t,"g"+(n?"i":"")),r)},_replaceAllNoReg:function(e,r,a,i){return r=n._RegexHelper._replaceRegString2NormalString(r),t._StringHelper._replace(e,r,a,i)},_leftBefore:function(e,t){var r=e.indexOf(t);return r<0||r>=e.length?e:a(e,0,r)},_count:function(e,t){for(var r=0,n=e.indexOf(t);n>=0;)r+=1,n=e.indexOf(t,n+1);return r},_join:function(e,t,r){return e.split(t).join(r)},_format:function(e,t){for(var r=e,n=0;n<t.length;n++){var a=RegExp("\\{"+n+"\\}","g");r=r.replace(a,t[n])}return r},_padZero:function(e,t,r){for(var n=e.toString(),a=n.length;a<t;a++)n=r?"0"+n:n+"0";return n},_padZeroLeft:function(e,r){return t._StringHelper._padZero(e,r,!0)},_padZeroRight:function(e,r){return t._StringHelper._padZero(e,r,!1)},_compareStringIgnoreCase:function(e,t){return e===t||!e&&!t||e&&t&&e.toLowerCase()===t.toLowerCase()},_toUpperCase:function(e){return e.toUpperCase()},_escapeHtml:function(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},r=n._RegexHelper._getReg("(?:&|<|>|\"|'|`)");return r.test(e)?e.replace(r,(function(e){return t[e]})):e},_unescapeHtml:function(e){var t={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"},r=n._RegexHelper._getReg("(?:&amp;|&lt;|&gt;|&quot;|&#x27;|&#x60;)");return r.test(e)?e.replace(r,(function(e){return t[e]})):e},_escapeJavascript:function(e){for(var t=e,r=/javascript:/gi;t.match(r);)t=t.replace(r,"");return t}}},534:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t._Types=void 0;var r="undefined"!=typeof window?window.File:null,n="undefined"!=typeof window?window.Blob:null;t._Types={_class2type:null,_each:function(e,r){if(t._Types._isArraylike(e))for(var n=0,a=e.length;n<a&&!1!==r.call(e[n],n,e[n]);n++);else for(var i in e)if(e.hasOwnProperty(i)&&!1===r.call(e[i],i,e[i]))break;return e},_isEmptyObject:function(e){return!e||"object"==typeof e&&0===Object.keys(e).length},_isFunction:function(e){return"function"===t._Types._getType(e)},_isArray:function(e){return Array.isArray?Array.isArray(e):"array"===t._Types._getType(e)},_isNumeric:function(e){return t._Types._isString(e)&&(e=parseFloat(e)),!isNaN(e)&&isFinite(e)},_isString:function(e){return"string"==typeof e},_getType:function(e){if(null===e)return"null";var r=t._Types._class2type;if(!r){r=t._Types._class2type={};for(var n=["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"],a=0,i=n.length;a<i;a++)r["[object "+n[a]+"]"]=n[a].toLowerCase()}var o=r.toString,s=typeof e;return"object"===s||"function"===s?r[o.call(e)]||"object":s},_inArray:function(e,r,n){var a;if(r){var i=[].indexOf;if(i)return i.call(r,e,n);for(a=r.length,t._Types._isNullOrUndefined(n)&&(n=0),n=n<0?Math.max(0,a+n):n;n<a;n++)if(n in r&&r[n]===e)return n}return-1},_merge:function(e,t){var r=t.length,n=e.length,a=0;if("number"==typeof r)for(;a<r;a++)e[n]=t[a],n++;else for(;void 0!==t[a];)e[n]=t[a],n++,a++;return e.length=n,e},_map:function(e,r,n){var a,i=[];if(t._Types._isArraylike(e))for(var o=0,s=e.length;o<s;o++)null!==(a=r(e[o],o,n))&&(i[i.length]=a);else{var u=void 0;for(u in e)e.hasOwnProperty(u)&&null!==(a=r(e[u],u,n))&&(i[i.length]=a)}return i.concat([])},_extend:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n,a,i,o,s,u,l=e[0]||{},c=1,m=e.length,y=!1;for("boolean"==typeof l&&(y=l,l=e[1]||{},c=2),"object"==typeof l||t._Types._isFunction(l)||(l={}),m===c&&(l=this,--c);c<m;c++)if(s=e[c],!t._Types._isNullOrUndefined(s))for(o in s)n=l[o],l!==(i=s[o])&&(a=t._Types._isArray(i),y&&i&&(t._Types._isPlainObject(i)||a)?(u=a?n&&t._Types._isArray(n)?n:[]:n&&t._Types._isPlainObject(n)?n:{},l[o]=t._Types._extend(y,u,i)):void 0!==i&&(l[o]=i));return l},_inherit:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n},_isWindow:function(e){return null!==e&&e===e.window},_isPlainObject:function(e){if(!e||"object"!==t._Types._getType(e)||e.nodeType||t._Types._isWindow(e))return!1;var r,n={}.hasOwnProperty;try{if(e.constructor&&!n.call(e,"constructor")&&!n.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(r in e);return void 0===r||n.call(e,r)},_isArraylike:function(e){if(t._Types._isNullOrUndefined(e))return!1;var r=e.length,n=t._Types._getType(e);return!t._Types._isWindow(e)&&(!(1!==e.nodeType||!r)||"array"===n||"function"!==n&&(0===r||"number"==typeof r&&r>0&&r-1 in e))},_makeArray:function(e,r){var n=r||[];return null!==e&&(t._Types._isArraylike(Object(e))?t._Types._merge(n,"string"==typeof e?[e]:e):[].push.call(n,e)),n},_isType:null,_isNullOrUndefined:function(e){return null==e},_isNumber:null,_toDouble:null,_cloneObject:function(e){if(!e)return e;if("number"==typeof e||"string"==typeof e||"boolean"==typeof e||t._Types._isNullOrUndefined(e))return e;if(e.clone)return e.clone();if(e instanceof Date)return new Date(e.valueOf());var a,i,o;if(r&&e instanceof r)return new r([e],e.name,{type:e.type,lastModified:e.lastModified});if(n&&e instanceof n)return new n([e],{type:e.type});for(i in a=e instanceof Object?new e.constructor:new e.constructor(e.valueOf()),e)e.hasOwnProperty(i)&&(o=e[i],e.hasOwnProperty(i)&&a[i]!==o&&(a[i]="object"==typeof o?t._Types._cloneObject(o):o));return a}}},612:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Exp_Separator=t.Exp_InvalidCast=t.Exp_InvalidNumberFormat=t.Exp_BadFormatSpecifier=t.Exp_InvalidNumberGroupSize=t.Exp_InvalidSemicolons=t.Exp_InvalidExponentFormat=t.Exp_InvalidDateFormat=void 0,t.Exp_InvalidDateFormat="Invalid date format pattern",t.Exp_InvalidExponentFormat="invalid exponent format",t.Exp_InvalidSemicolons="invalid format : too many semicolons",t.Exp_InvalidNumberGroupSize="NumberGroupSize must be between 1 and 9, except for the last element, which can be zero.",t.Exp_BadFormatSpecifier="Bad Format Specifier",t.Exp_InvalidNumberFormat="Invalid number format pattern",t.Exp_InvalidCast="InvalidCastException",t.Exp_Separator="numberDecimalSeparator, listSeparator and arrayListSeparator should be different in culture info."},479:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.UUIDGenerator=void 0;var r=function(){function e(){}return e.wrap=function(e){return"{".concat(e.toUpperCase(),"}")},e.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},e.secureUUID=function(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():this.uuidv4()},e.secureUpperCaseUUID=function(){return this.wrap(this.secureUUID())},e.isValidUpperCaseUUID=function(e){return/^\{[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\}$/i.test(e)},e}();t.UUIDGenerator=r},814:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.UndoManager=t.CommandManager=t.Key=void 0;var n=r(536);Object.defineProperty(t,"Key",{enumerable:!0,get:function(){return n.Key}}),Object.defineProperty(t,"CommandManager",{enumerable:!0,get:function(){return n.CommandManager}});var a=r(748);Object.defineProperty(t,"UndoManager",{enumerable:!0,get:function(){return a.UndoManager}})},536:function(e,t){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.CommandManager=t.Key=void 0,function(e){e[e.left=37]="left",e[e.right=39]="right",e[e.up=38]="up",e[e.down=40]="down",e[e.tab=9]="tab",e[e.enter=13]="enter",e[e.shift=16]="shift",e[e.ctrl=17]="ctrl",e[e.space=32]="space",e[e.altkey=18]="altkey",e[e.home=36]="home",e[e.end=35]="end",e[e.pup=33]="pup",e[e.pdn=34]="pdn",e[e.backspace=8]="backspace",e[e.del=46]="del",e[e.esc=27]="esc",e[e.a=65]="a",e[e.c=67]="c",e[e.v=86]="v",e[e.x=88]="x",e[e.z=90]="z",e[e.y=89]="y"}(r=t.Key||(t.Key={}));var n=function(){function e(e,t,r){this._owner=e,this._cmdDef=t,this._name=r;var n,a=this;Object.defineProperty(a,"shortcutKey",{get:function(){return a._shortcutKey},set:function(e){var t=a._shortcutKey;if(t!==e){var r=(n=a._owner._shortcutKeys)[t];if(r){var i=r.indexOf(a);i>=0&&r.splice(i,1)}a._shortcutKey=e,e&&((r=n[e])||(n[e]=r=[]),r.splice(0,0,a))}}})}return e.prototype.canUndo=function(){return this._cmdDef.canUndo},e.prototype.execute=function(e,t,r){var n,a,i=!0,o=!0;if(this._cmdDef&&t){var s={command:t,result:a,_actionType:r,actionType:r,metaData:null===(n=this._cmdDef)||void 0===n?void 0:n.metaData,r:null,isBefore:!0};this._owner._triggerInternalListener(s),s.r&&(o=!1,a=!1)}if(o){try{i=!1!==(a=(this._cmdDef.execute||this._cmdDef)(e,t,1===r))}catch(e){i=!1}t&&i&&this._owner._commandExecuted({command:this._getCmdOptions(t),result:a,_actionType:r,actionType:r})}if(this._owner&&t){var u={command:t,result:a,_actionType:r,actionType:r,isBefore:!1};this._owner._triggerInternalListener(u)}return a},e.prototype._getCmdOptions=function(e){return e&&!e.cmd&&(e.cmd=this._name),e},e}(),a=function(){function e(e){this._context=e,this._listeners={},this._internalListeners={},this._afterInternalListeners={},this._shortcutKeys={}}return e.prototype.register=function(e,t,r,a,i,o,s){var u=new n(this,t,e);this[e]=u,r&&(u.shortcutKey=this.getShortcutKey(r,a,i,o,s))},e.prototype.getCommand=function(e){return this[e]},e.prototype.execute=function(e){var t=this[e.cmd];if(t)return t.execute(this._context,e,0)},e.prototype.setShortcutKey=function(e,t,r,n,a,i){if(e){var o=this[e];o&&(o.shortcutKey=this.getShortcutKey(t,r,n,a,i))}else{var s=this.getShortcutKey(t,r,n,a,i),u=this.getCommands(s);if(u)for(var l=u.length-1;l>=0;l--)u[l].shortcutKey=void 0}},e.prototype.getShortcutKey=function(e,t,n,a,i){if(e){var o=65<=e&&e<=90?String.fromCharCode(e):r[e];return o||(o=e),o+(t?"+ctrl":"")+(n?"+shift":"")+(a?"+alt":"")+(i?"+window":"")}},e.prototype.getCommands=function(e){return this._shortcutKeys[e]},e.prototype.addListener=function(e,t){this._listeners[e]=t},e.prototype.removeListener=function(e){delete this._listeners[e]},e.prototype._commandExecuted=function(e){var t=this._listeners;for(var r in t)t.hasOwnProperty(r)&&t[r](e)},e.prototype._addInternalListener=function(e,t){this._internalListeners[e]=t},e.prototype._removeInternalListener=function(e){delete this._internalListeners[e]},e.prototype._triggerInternalListener=function(e){var t=this._internalListeners;for(var r in t)t.hasOwnProperty(r)&&t[r](e)},e.prototype._dispose=function(){this._context=null},e}();t.CommandManager=a},748:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.UndoManager=void 0;var r=function(){function e(e,t,r){this._context=e,t<0&&(t=2147483647),this._maxLength=t,this._allowUndo=r,this._undoStack=[],this._redoStack=[],this._hasNewChange=!1}return e.prototype._addCommand=function(e,t){if(e){if(1===t)this._redoStack.push(e);else{var r=this._maxLength,n=this._undoStack.length;if(r>0&&n>=r)for(var a=0;a<n-r+1;a++)this._undoStack.shift();this._undoStack.push(e),0===t&&(this._redoStack=[])}this._hasNewChange=!0}},e.prototype.canUndo=function(){return this._undoStack.length>0},e.prototype.undo=function(){var e=this._undoStack,t=!0;if(this._allowUndo&&this.canUndo()){var r=e[e.length-1];try{var n=this._context.commandManager()[r.cmd];n&&(r._fromUndoManager=!0,t=n.execute(this._context,r,1))}catch(e){t=!1}delete r._fromUndoManager,!1!==t&&(e.pop(),this._hasNewChange=!0,this._redoStack.push(r))}return t},e.prototype.canRedo=function(){return this._redoStack.length>0},e.prototype.redo=function(){var e=this._redoStack,t=!0;if(this._allowUndo&&this.canRedo()){var r=e[e.length-1];try{var n=this._context.commandManager()[r.cmd];n&&(r._fromUndoManager=!0,t=n.execute(this._context,r,2))}catch(e){t=!1}delete r._fromUndoManager,!1!==t&&(e.pop(),this._hasNewChange=!0,this._undoStack.push(r))}return t},e.prototype.getRedoStack=function(){return this._redoStack.slice()},e.prototype.getUndoStack=function(){return this._undoStack.slice()},e.prototype.maxSize=function(e){return arguments.length<1?this._maxLength:(e>=0&&(this._maxLength=e),this)},e.prototype.clear=function(){this._undoStack=[],this._redoStack=[]},e.prototype._filter=function(e){this._undoStack=this._undoStack.filter(e),this._redoStack=this._redoStack.filter(e)},e.prototype._dispose=function(){this._context=null},e.prototype.setNewChangeStatus=function(e){this._hasNewChange=e},e.prototype.getNewChangeStatus=function(){return this._hasNewChange},e}();t.UndoManager=r},569:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(2),t)},498:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Exp_InvalidCast=t.Exp_ValueIllegal=t.Exp_TokenIllegal=t.Exp_DuplicatedDescriptor=t.Exp_ValueIsNull=t.Exp_FormatIllegal=t.Exp_InvalidBackslash=t.Exp_TokenIsNull=void 0,t.Exp_TokenIsNull="token is null",t.Exp_InvalidBackslash="the '\\' cannot be evaluated",t.Exp_FormatIllegal="format is illegal.",t.Exp_ValueIsNull="value is null",t.Exp_DuplicatedDescriptor="The type of descriptor was added.",t.Exp_TokenIllegal="token is illegal.",t.Exp_ValueIllegal="value is illegal.",t.Exp_InvalidCast="InvalidCastException"},2:function(e,t,r){var n,a=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralFormatter=t._NumberFormatDateTime=t.FormatterBase=void 0;var i=r(480),o=r(97),s=r(534),u=r(844),l=r(286),c=r(818),m=r(498),y=r(810),h=r(61);s._Types._extend(c.SR.en,m);var f=new c.ResourceManager(c.SR),d=f.getResource.bind(f);s._Types._isType=function(e,t){if(s._Types._isNullOrUndefined(e))return"null"===t;if(!t)return!1;if(t instanceof Function&&e instanceof t)return!0;if(typeof e===t)return!0;if("function"===t&&/^\s*\bfunction\b/.test(""+e))return!0;if(Object.prototype.toString.call(e).slice(8,-1).toLowerCase()===t.toLowerCase())return!0;if("DateTime"===t)return e instanceof Date;if("TimeSpan"===t){if(e instanceof Date){var r=o._DateTimeHelper._toOADate(e);return r>=0&&r<1}return!1}return!1},s._Types._isNumber=function(e,t){return!!u._NumberHelper._isValidCultureNumberString(e,t)&&("string"!=typeof e||-1===e.search(/[\r\n\t]/g))&&(e=u._NumberHelper._replaceCultureSymbolToNormal(e,t),s._Types._isType(e,"number")||s._Types._isType(e,"DateTime")||s._Types._isType(e,"TimeSpan")||e&&!s._Types._isType(e,"boolean")&&!isNaN(e)&&!isNaN(parseFloat(e))&&!(e.length>=2&&"0"===e[0]&&"x"===e[1]))},s._Types._toDouble=function(e){return s._Types._isNullOrUndefined(e)||""===e?0:s._Types._isType(e,"number")?e:s._Types._isType(e,"string")&&!isNaN(e)?u._NumberHelper._parseLocale(e):s._Types._isType(e,"boolean")?e?1:0:s._Types._isType(e,"DateTime")?o._DateTimeHelper._toOADate(e):s._Types._isType(e,"TimeSpan")?Math.floor(o._DateTimeHelper._toOADate(e)):parseFloat(e)};var p=null,_=Math.abs,g={_yearTwoDigit:"yy",_yearSingleDigit:"y",_yearFourDigit:"yyyy",_monthSingleDigit:"m",_monthTwoDigit:"mm",_monthAbbreviation:"mmm",_monthUnabbreviated:"mmmm",_monthJD:"mmmmm",_daySingleDigit:"d",_dayTwoDigit:"dd",_dayWeekDayAbbreviation:"aaa",_dayWeekDayUnabbreviated:"aaaa",_hoursSingleDigit:"h",_hoursTwoDigit:"hh",_minuteSingleDigit:"m",_minuteTwoDigit:"mm",_secondSingleDigit:"s",_secondTwoDigit:"ss",_eraYear:"e",_aMPMTwoDigit:"AM/PM",_aMPMSingleDigit:"A/P",_placeholderMonthJD:"@mmmmm",_defaultAbsoluteTime:new Date(1899,11,30,0,0,0,0)},M=[g._yearSingleDigit,g._yearTwoDigit,g._yearFourDigit,g._monthSingleDigit,g._monthTwoDigit,g._monthAbbreviation,g._monthUnabbreviated,g._monthJD,g._daySingleDigit,g._dayTwoDigit,g._dayWeekDayAbbreviation,g._dayWeekDayUnabbreviated,g._hoursSingleDigit,g._hoursTwoDigit,g._minuteSingleDigit,g._minuteTwoDigit,g._secondSingleDigit,g._secondTwoDigit,"ggg","gg","g","ee","e"],v={_positive:0,_negative:1,_zero:2,_text:3},b=[{_positive:0,_negative:0,_zero:0,_text:0},{_positive:0,_negative:1,_zero:0,_text:0},{_positive:0,_negative:1,_zero:2,_text:0},{_positive:0,_negative:1,_zero:2,_text:3}],F=RegExp("([.+?*$^\\[\\](){}|/])","g"),S=[["M/d","MMM/d","MMMM/d","d/M","d/MMM","d/MMMM","M-d","MMM-d","MMMM-d","d-M","d-MMM","d-MMMM"],["M/y","MMM/y","M/yyyy","MMM/yyyy","M-y","MMM-y","M-yyyy","MMM-yyyy"],["M/d/y","MMM/d/y","MMMM/d/y","M/d/yyyy","MMM/d/yyyy","MMMM/d/yyyy","d/M/y","d/MMM/y","d/MMMM/y","d/M/yyyy","d/MMM/yyyy","d/MMMM/yyyy","yyyy/M/d","M-d-y","MMM-d-y","MMMM-d-y","M-d-yyyy","MMM-d-yyyy","MMMM-d-yyyy","d-M-y","d-MMM-y","d-MMMM-y","d-M-yyyy","d-MMM-yyyy","d-MMMM-yyyy","yyyy-M-d"],["H:m","h:m tt"],["H:m:s","H:m:s"],["H:m:s.FFF","h:m:s.FFF tt"],["h:m:s tt","h:mm:ss tt"],["M/d H:m","MMM/d H:m","MMMM/d H:m","d/M H:m","d/MMM H:m","d/MMMM H:m","M/y H:m","MMM/y H:m","M/yyyy H:m","MMM/yyyy H:m","M/d/y H:m","MMM/d/y H:m","MMMM/d/y H:m","M/d/yyyy H:m","MMM/d/yyyy H:m","MMMM/d/yyyy H:m","M-d H:m","MMM-d H:m","MMMM-d H:m","d-M H:m","d-MMM H:m","d-MMMM H:m","M-y H:m","MMM-y H:m","M-yyyy H:m","MMM-yyyy H:m","M-d-y H:m","MMM-d-y H:m","MMMM-d-y H:m","M-d-yyyy H:m","MMM-d-yyyy H:m","MMMM-d-yyyy H:m","M/d h:m tt","MMM/d h:m tt","MMMM/d h:m tt","d/M h:m tt","d/MMM h:m tt","d/MMMM h:m tt","M/y h:m tt","MMM/y h:m tt","M/yyyy h:m tt","MMM/yyyy h:m tt","M/d/y h:m tt","MMM/d/y h:m tt","MMMM/d/y h:m tt","M/d/yyyy h:m tt","MMM/d/yyyy h:m tt","MMMM/d/yyyy h:m tt","M-d h:m tt","MMM-d h:m tt","MMMM-d h:m tt","d-M h:m tt","d-MMM h:m tt","d-MMMM h:m tt","M-y h:m tt","MMM-y h:m tt","M-yyyy h:m tt","MMM-yyyy h:m tt","M-d-y h:m tt","MMM-d-y h:m tt","MMMM-d-y h:m tt","M-d-yyyy h:m tt","MMM-d-yyyy h:m tt","MMMM-d-yyyy h:m tt","d/M/y H:m","d/MMM/y H:m","d/MMMM/y H:m","d/M/yyyy H:m","d/mmm/yyyy H:m","d/MMMM/yyyy H:m","yyyy/M/d H:m","d-M-y H:m","d-MMM-y H:m","d-MMMM-y H:m","d-M-yyyy H:m","d-MMM-yyyy H:m","d-MMMM-yyyy H:m","yyyy-M-d H:m","d/M/y h:m tt","d/MMM/y h:m tt","d/MMMM/y h:m tt","d/M/yyyy h:m tt","d/mmm/yyyy h:m tt","d/MMMM/yyyy h:m tt","yyyy/M/d h:m tt","d-M-y h:m tt","d-MMM-y h:m tt","d-MMMM-y h:m tt","d-M-yyyy h:m tt","d-MMM-yyyy h:m tt","d-MMMM-yyyy h:m tt","yyyy-M-d h:m tt"],["M/d H:m:s","MMM/d H:m:s","MMMM/d H:m:s","d/M H:m:s","d/MMM H:m:s","d/MMMM H:m:s","M/y H:m:s","MMM/y H:m:s","M/yyyy H:m:s","MMM/yyyy H:m:s","M/d/y H:m:s","MMM/d/y H:m:s","MMMM/d/y H:m:s","M/d/yyyy H:m:s","MMM/d/yyyy H:m:s","MMMM/d/yyyy H:m:s","d/M/y H:m:s","d/MMM/y H:m:s","d/MMMM/y H:m:s","d/M/yyyy H:m:s","d/MMM/yyyy H:m:s","d/MMMM/yyyy H:m:s","yyyy/M/d H:m:s","M-d H:m:s","MMM-d H:m:s","MMMM-d H:m:s","d-M H:m:s","d-MMM H:m:s","d-MMMM H:m:s","M-y H:m:s","MMM-y H:m:s","M-yyyy H:m:s","MMM-yyyy H:m:s","M-d-y H:m:s","MMM-d-y H:m:s","MMMM-d-y H:m:s","M-d-yyyy H:m:s","MMM-d-yyyy H:m:s","MMMM-d-yyyy H:m:s","d-M-y H:m:s","d-MMM-y H:m:s","d-MMMM-y H:m:s","d-M-yyyy H:m:s","d-MMM-yyyy H:m:s","d-MMMM-yyyy H:m:s","yyyy-M-d H:m:s","M/d h:m:s tt","MMM/d h:m:s tt","MMMM/d h:m:s tt","d/M h:m:s tt","d/MMM h:m:s tt","d/MMMM h:m:s tt","M/y h:m:s tt","MMM/y h:m:s tt","M/yyyy h:m:s tt","MMM/yyyy h:m:s tt","M/d/y h:m:s tt","MMM/d/y h:m:s tt","MMMM/d/y h:m:s tt","M/d/yyyy h:m:s tt","MMM/d/yyyy h:m:s tt","MMMM/d/yyyy h:m:s tt","d/M/y h:m:s tt","d/MMM/y h:m:s tt","d/MMMM/y h:m:s tt","d/M/yyyy h:m:s tt","d/MMM/yyyy h:m:s tt","d/MMMM/yyyy h:m:s tt","yyyy/M/d h:m:s tt","M/d/yyyy h:mm:ss tt","M-d h:m:s tt","MMM-d h:m:s tt","MMMM-d h:m:s tt","d-M h:m:s tt","d-MMM h:m:s tt","d-MMMM h:m:s tt","M-y h:m:s tt","MMM-y h:m:s tt","M-yyyy h:m:s tt","MMM-yyyy h:m:s tt","M-d-y h:m:s tt","MMM-d-y h:m:s tt","MMMM-d-y h:m:s tt","M-d-yyyy h:m:s tt","MMM-d-yyyy h:m:s tt","MMMM-d-yyyy h:m:s tt","d-M-y h:m:s tt","d-MMM-y h:m:s tt","d-MMMM-y h:m:s tt","d-M-yyyy h:m:s tt","d-MMM-yyyy h:m:s tt","d-MMMM-yyyy h:m:s tt","yyyy-M-d h:m:s tt","M/d/yyyy H:m:s","M-d-yyyy H:m:s","M/d/yyyy h:m:s tt","M-d-yyyy H:m:s tt"],["M/d H:m:s.FFF","MMM/d H:m:s.FFF","MMMM/d H:m:s.FFF","d/M H:m:s.FFF","d/MMM H:m:s.FFF","d/MMMM H:m:s.FFF","M/y H:m:s.FFF","MMM/y H:m:s.FFF","M/yyyy H:m:s.FFF","MMM/yyyy H:m:s.FFF","M/d/y H:m:s.FFF","MMM/d/y H:m:s.FFF","MMMM/d/y H:m:s.FFF","MMM/d/yyyy H:m:s.FFF","MMMM/d/yyyy H:m:s.FFF","d/M/y H:m:s.FFF","d/MMM/y H:m:s.FFF","d/MMMM/y H:m:s.FFF","d/M/yyyy H:m:s.FFF","d/MMM/yyyy H:m:s.FFF","d/MMMM/yyyy H:m:s.FFF","yyyy/M/d H:m:s.FFF","M-d H:m:s.FFF","MMM-d H:m:s.FFF","MMMM-d H:m:s.FFF","d-M H:m:s.FFF","d-MMM H:m:s.FFF","d-MMMM H:m:s.FFF","M-y H:m:s.FFF","MMM-y H:m:s.FFF","M-yyyy H:m:s.FFF","MMM-Yyyy H:m:s.FFF","M-d-y H:m:s.FFF","MMM-d-y H:m:s.FFF","MMMM-d-y H:m:s.FFF","MMM-d-yyyy H:m:s.FFF","MMMM-d-yyyy H:m:s.FFF","D-M-y H:m:s.FFF","d-MMM-y H:m:s.FFF","d-MMMM-y H:m:s.FFF","D-M-yyyy H:m:s.FFF","d-MMM-yyyy H:m:s.FFF","d-MMMM-yyyy H:m:s.FFF","yyyy-M-d H:m:s.FFF","M/d h:m:s.FFF tt","MMM/d h:m:s.FFF tt","MMMM/d h:m:s.FFF tt","d/M h:m:s.FFF tt","d/MMM h:m:s.FFF tt","d/MMMM h:m:s.FFF tt","M/y h:m:s.FFF tt","MMM/y h:m:s.FFF tt","M/yyyy h:m:s.FFF tt","MMM/yyyy h:m:s.FFF tt","M/d/y h:m:s.FFF tt","MMM/d/y h:m:s.FFF tt","MMMM/d/y h:m:s.FFF tt","MMM/d/yyyy h:m:s.FFF tt","MMMM/d/yyyy h:m:s.FFF tt","d/M/y h:m:s.FFF tt","d/MMM/y h:m:s.FFF tt","d/MMMM/y h:m:s.FFF tt","d/M/yyyy h:m:s.FFF tt","d/MMM/yyyy h:m:s.FFF tt","d/MMMM/yyyy h:m:s.FFF tt","yyyy/M/d h:m:s.FFF tt","M-d h:m:s.FFF tt","MMM-d h:m:s.FFF tt","MMMM-d h:m:s.FFF tt","d-M h:m:s.FFF tt","d-MMM h:m:s.FFF tt","d-MMMM h:m:s.FFF tt","M-y h:m:s.FFF tt","MMM-y h:m:s.FFF tt","M-yyyy h:m:s.FFF tt","MMM-Yyyy h:m:s.FFF tt","M-d-y h:m:s.FFF tt","MMM-d-y h:m:s.FFF tt","MMMM-d-y h:m:s.FFF tt","MMM-d-yyyy H:m:s.FFF tt","MMMM-d-yyyy h:m:s.FFF tt","d-M-y h:m:s.FFF tt","d-MMM-y h:m:s.FFF tt","d-MMMM-y h:m:s.FFF tt","d-M-yyyy h:m:s.FFF tt","d-MMM-yyyy h:m:s.FFF tt","d-MMMM-yyyy h:m:s.FFF tt","yyyy-M-d h:m:s.FFF tt"]],D=["#000000","#FFFFFF","#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#800000","#008000","#000080","#808000","#800080","#008080","#C0C0C0","#808080","#9999FF","#993366","#FFFFCC","#CCFFFF","#660066","#FF8080","#0066CC","#CCCCFF","#000080","#FF00FF","#FFFF00","#00FFFF","#800080","#800000","#008080","#0000FF","#00CCFF","#CCFFFF","#CCFFCC","#FFFF99","#99CCFF","#FF99CC","#CC99FF","#FFCC99","#3366FF","#33CCCC","#99CC00","#FFCC00","#FF9900","#FF6600","#666699","#969696","#003366","#339966","#003300","#333300","#993300","#993366","#333399","#333333"],x=RegExp("color\\s*(\\d+)","i"),C=s._Types._isType,T=s._Types._isArray,N=u._NumberHelper,E=N._generalNumberInt+"."+N._generalNumberDec,H=N._formatObjectToString,P=N._customCultureFormat,w=N._fixNumber,O=s._Types._isNullOrUndefined,k=isNaN,I=function(e){return l.CultureManager._getCultureInfo(e)},A=function(e){return I(e).DateTimeFormat},R=function(e){return I(e).NumberFormat},$=function(e){return e&&e.toLowerCase()},U=function(){throw Error(d().Exp_FormatIllegal)},B=function(){return l.CultureManager.booleanMapping},j={_Empty:"",_format:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(0===arguments.length)return p;for(var a=r[0],i=1;i<arguments.length;i++){var o=RegExp("\\{"+(i-1)+"\\}","gm");a=a.replace(o,arguments[i])}return a},_isNullOrEmpty:function(e){return!e||e===j._Empty}},L=function(e){var t=e.charCodeAt(0);return t>=48&&t<=57},G=function(e){var t=e.charCodeAt(0);return t>=9&&t<=13||32===t||133===t||160===t},Y=function(){function e(e,t){ye.call(this,t);this._content=e;var r=this._content,n=ue(r[0],"$",!1),a=r.indexOf("-");if(!(n&&a>-1))throw Error(d().Exp_TokenIllegal);this._currencySymbol=ee(r,1,a-1),(r=i._StringHelper._remove(r,0,a+1)).length>0&&(this._locateID=parseInt(r,16))}return e.prototype.cultureInfo=function(){return this._cultureInfo||(this._cultureInfo=I(this._locateID)),this._cultureInfo},e.prototype.currencySymbol=function(){return this._currencySymbol?i._StringHelper._replace(this._currencySymbol,"\\.",'"."'):j._Empty},e.prototype.allowScience=function(){if(this._cultureInfo)return!this._cultureInfo.isJCKCulture},e.prototype.toString=function(){return this._content?ne(this._content):j._Empty},e.Name="LocaleIDFormatPart",e}(),z=function(){function e(e,t){this.formatCached=e,this.cultureName=t,this.typeName=""}return e.prototype.format=function(e,t){return p},e.prototype.parse=function(e){return p},e.prototype.formatString=function(e){return this.formatCached},e.prototype.toJSON=function(){var e={};for(var t in this)this.hasOwnProperty(t)&&(e[t]=this[t]);return e},e.prototype.fromJSON=function(e){if(e)for(var t in e)void 0!==e[t]&&(this[t]=e[t])},e}();t.FormatterBase=z;var K=function(){function e(e,t){ye.call(this,t);for(var r,n,a,o=this,s=["<=","<>",">=",">","<","="],u=0,l=s.length;u<l;u++)if(r=s[u],i._StringHelper._startsWith(e,r,!0)){n=i._StringHelper._remove(e,0,r.length);var c=parseFloat(n);k(c)||(a=c);break}if(a===p&&void 0===a)throw Error(d().Exp_TokenIllegal);o.value=a,o._compareOperator=r,o.isMeetCondition=function(e){var t=o._compareOperator,r=o.value;switch(t){case"<=":return e<=r;case"<>":return e!==r;case">=":return e>=r;case">":return e>r;case"<":return e<r;case"=":return e===r}}}return e.prototype.toString=function(){return ne(this._compareOperator+this.value.toString())},e}(),W=function(){function e(e,t){ye.call(this,t);if(this.token=e,this.type=parseInt(i._StringHelper._remove(e,0,5),10),this.type<0||this.type>4)throw Error(d().Exp_TokenIllegal)}return e.prototype._replaceNumberString=function(t,r,n){if(!t||t===j._Empty)return t;for(var a,o,s=t,u=t,l=-1,c=-1,m=!1,y=t.length-1;y>=0;y--){var h=u[y];!k(h)&&!ue(h," ",!1)||ue(h,".",!1)&&!m?(ue(h,".",!1)&&(m=!0),-1===l&&(l=y),c=y):c>-1&&l>-1&&(a=ee(u,c,l-c+1),k(parseFloat(a))||(o=e.numberString(a,r,n),s=i._StringHelper._remove(s,c,l-c+1),s=i._StringHelper._insert(s,c,o)),l=-1,c=-1,m=!1)}return c>-1&&l>-1&&(a=ee(u,c,l-c+1),k(parseFloat(a))||(o=e.numberString(a,r,n),s=i._StringHelper._remove(s,c,l-c+1),s=i._StringHelper._insert(s,c,o))),s},e.prototype.toString=function(){if(this.type>-1)return ne("DBNum"+this.type);throw Error()},e.numberString=function(t,r,n){var a=e.formatNumberString,i=t.split(".");if(i){if(1===i.length)return a(i[0],r.numbers,n?r.letters:p);if(2===i.length)return a(i[0],r.numbers,n?r.letters:p)+"."+a(i[1],r.numbers)}throw Error(d().Exp_ValueIllegal)},e.formatNumberString=function(t,r,n){var a,i=t,o=0,s=0;if(2===arguments.length){for(var u="";o<i.length;o++)a=ee(i,o,1),u+=r[s=parseInt(a,10)];return u}if(3===arguments.length){if(!n)return e.formatNumberString(t,r);for(var l=0,c="",m=i.length,y=!1,h=[];o<m;o++){var f=n.length-1-o;f>-1?h.push(n[f].toString()):h.push(j._Empty)}for(var d=[],p=h.length-1;p>=0;p--)d[h.length-p-1]=h[p];h=d;var _=!1;for(p=0;p<m;p++){a=ee(i,p,1),s=parseInt(a,10);var g=void 0,M=j._Empty;m-p-16>0?(g=r[s],M="",_=!0):p!==m-1&&p!==m-5&&p!==m-9&&p!==m-13?"0"===a?(g="",M="",l+=1):"0"!==a&&0!==l?(g=r[0]+r[s],M=h[p],l=0):(g=r[s],M=h[p],l=0):"0"!==a&&0!==l?(g=r[0]+r[s],M=h[p],l=0):"0"!==a&&0===l||_?(g=r[s],M=h[p],l=0,_=!1):"0"===a&&l>=3?(g="",M="",l+=1):m>=11?(g="",l+=1):(g="",M=h[p],l+=1),g+M===j._Empty||(y=!1),p!==m-13||y||(M=h[p],y=!0),p!==m-9||y||(M=h[p],y=!0),p===m-1&&(M=h[p],y=!0),c=c+g+M}return 0===parseInt(t,10)?r[0]:c}},e}(),J=function(){function e(e,t,r,n,a,i){me.call(this,t,r,n,i);this._formatString=this._fixFormat(le(e)),this._absTimeParts=a,this._formatType=2,this._init()}return e.prototype._init=function(){var t={_value:this._formatString};if(e._evaluateFormat(t._value)){var r=this._processAMPM(t),n=A(this.cultureName).amDesignator&&A(this.cultureName).pmDesignator;if(this.hasJD=this._replace(t._value,g._monthJD,'"'+g._placeholderMonthJD+'"',!0,!1,t,!1),this._replace(t._value,g._monthUnabbreviated,"MMMM",!0,!1,t,!1),this._replace(t._value,g._monthAbbreviation,"MMM",!0,!1,t,!1),this._replaceMonth(t._value,t),this._replace(t._value,g._dayWeekDayAbbreviation,"ddd",!0,!0,t,!0),this._replace(t._value,g._dayWeekDayUnabbreviated,"dddd",!0,!0,t,!0),r&&n||(this._replace(t._value,g._hoursSingleDigit,"H",!0,!0,t,!1),this._replace(t._value,g._hoursTwoDigit,"HH",!0,!0,t,!1)),this._partDBNumberFormat&&(this._partLocaleID||I(this.cultureName).NumberFormat.dbNumber)&&(this._hasYearDelay=this._hasYearDelay||this._replace(t._value,g._yearFourDigit,'"@'+g._yearFourDigit+'"',!0,!1,t,!0),this._hasYearDelay=this._hasYearDelay||this._replace(t._value,g._yearTwoDigit,'"@'+g._yearTwoDigit+'"',!0,!1,t,!0)),this._absTimeParts)for(var a=0;a<this._absTimeParts.length;a++){var i=this._absTimeParts[a];this._replace(t._value,i._originalToken,"@"+i._originalToken,!0,!0,t,!0)}this._validDateTimeFormatString=t._value}else U()},e.prototype.formatString=function(){return this._formatString},e.prototype.format=function(e){var t=j._Empty,r=p;try{if((r=o._DateTimeHelper._DT(e))&&k(r.valueOf())&&(r=p),r?e=r:t=e.toString(),r){if(t=o._DateTimeHelper._customCultureFormat(r,this._validDateTimeFormatString,this._partLocaleID&&this._partLocaleID.cultureInfo()||I(this.cultureName),this._isShowEraFirstYear),this.hasJD){var n=I(this.cultureName).DateTimeFormat.monthNames[r.getMonth()];t=i._StringHelper._replace(t,g._placeholderMonthJD,ee(n,0,1))}if(this._absTimeParts)for(var a=24*(o._DateTimeHelper._toOADate(r)-o._DateTimeHelper._toOADate(g._defaultAbsoluteTime))*60*60*1e3,s=0;s<this._absTimeParts.length;s++){var u=this._absTimeParts[s],l=u._getTimeSpan(a);if(!O(l)){var c=u._originalToken.replace("[","\\[").replace("]","\\]"),m=u._originalToken.replace("[","").replace("]",""),y=i._StringHelper._padZeroLeft(l+"",m.length);t=i._StringHelper._replace(t,"@"+c,y)}}}}catch(r){t=te(e)}return function(e,t,r,n,a){var i=e;if(!O(n)&&t instanceof Date){var s=fe(r,n.type,a);if(!s)return e;i=n._replaceNumberString(i,s,!0),1===n.type&&(i=i.replace(RegExp("一十","g"),"十")),i=(i=i.replace("@"+g._yearFourDigit,o._DateTimeHelper._localeFormat(t,g._yearFourDigit))).replace("@"+g._yearTwoDigit,o._DateTimeHelper._localeFormat(t,g._yearTwoDigit)),i=n._replaceNumberString(i,s,!1)}return i}(t,e,this._partLocaleID,this._partDBNumberFormat,this.cultureName)},e.prototype.parse=function(e){if(!e||e===j._Empty)return p;var t=e,r=$(t);if("true"===r)return!0;if("false"===r)return!1;if(this._validDateTimeFormatString){var n=o._DateTimeHelper._parseExact(t,this._validDateTimeFormatString,I(this.cultureName));if(n)return n}try{var a=o._DateTimeHelper._DT(t);return a&&!k(a)?a:k((a=new Date(t)).valueOf())?t:a}catch(e){return t}},e.prototype._fixFormat=function(e){for(var t=e,r="",n=!1,a=0;a<t.length;a++){var i=t[a];if('"'===i)n=!n;else if(!n)if("Y"===i||"D"===i||"S"===i||"E"===i||"G"===i)i=$(i);else if("M"===i){var o=t[a-1];ue("A",o,!0)||ue("P",o,!0)||(i=$(i))}r+=i}return r},e.prototype._processAMPM=function(e){var t=A(this.cultureName).amDesignator,r=A(this.cultureName).pmDesignator,n=[g._aMPMTwoDigit];t&&r?n.push(t+"/"+r):n.push(g._aMPMTwoDigit),n.push(g._aMPMSingleDigit);for(var a=["tt","tt","t"],o=e._value,s=0;s<3;s++){if(i._StringHelper._contains(o,a[s]))return!0;if(i._StringHelper._contains(o,n[s],!0))return e._value=i._StringHelper._replace(o,n[s],a[s],!0),!0}return!1},e.prototype._replaceMonth=function(e,t){for(var r=function(e){for(var t=[],r=!1,n=!1,a="",i=function(e,t){return{type:e,content:t}},o=function(e){return!O(e)&&-1!=="yYdDhHmMsSeE".indexOf(e)},s=function(r,n){if(o(r)){for(var a=r,s=e[n+1];o(s)&&s.toLowerCase()===r.toLowerCase()&&(a+=s,n<e.length-1);)n++,s=e[n+1];t.push(i("symbolic",a))}else"a"===r&&"aaa"===e.slice(n,n+3).toLowerCase()?(t.push(i("symbolic",e.slice(n,n+3))),n+=2):t.push(i("text",r));return n},u=0;u<e.length;u++){var l=e[u];if(r)t.push(i("text","\\"+l)),r=!1;else if(n&&'"'!==l)a+=l;else switch(l){case"\\":r=!0;break;case'"':n&&(t.push(i("text",'"'+a+'"')),a=""),n=!n;break;default:u=s(l,u)}}return t}(e),n=-1,a=-1,i=0;i<r.length;i++){var o=r[i];"symbolic"===o.type?"m"===o.content[0].toLowerCase()?n>=0?(o.content=o.content.toLowerCase(),n=-1):(o.content=o.content.toUpperCase(),a=i):"s"===o.content[0].toLowerCase()?a>=0&&(r[a].content=r[a].content.toLowerCase(),a=-1):"h"===o.content[0].toLowerCase()?(n=i,a=-1):a=-1:a>=0&&i>0&&"0"===o.content&&"."===r[i-1].content&&i===a+2&&(r[a].content=r[a].content.toLowerCase())}t._value=r.map((function(e){return e.content})).join("")},e.prototype._replace=function(t,r,n,a,o,s,u){if(a||o){var l=[],c=!0;!e.hasDate(t)&&e.hasTime(t)&&(c=!1);for(var m=!1,y=0;y<t.length;y++){var h=t[y];if(e.hasTime(h)&&!m?c=!1:e.hasDate(h)&&!m&&(c=!0),a&&ue(h,r[0],u)&&c||o&&ue(h,r[0],u)&&!c){for(var f=!0,d=0;d<r.length;d++)if(d+y>=t.length||!ue(r[d],t[d+y],u)){f=!1;break}var p=y+r.length-1;if(f&&p+1<t.length){var _=t[p],g=-1;for(g=p+1;g<t.length&&ue(_,t[g],u);g++);g>p+1&&(y=g,f=!1)}f&&!m&&l.splice(0,0,y)}'"'===h&&(m=!m)}if(s._value=t,l.length>0){for(y=0;y<l.length;y++){var M=l[y];s._value=i._StringHelper._remove(s._value,M,r.length),s._value=i._StringHelper._insert(s._value,M,n)}return!0}return!1}return!1},e.hasTime=function(e){return i._StringHelper._indexOf(e,g._hoursSingleDigit[0],!0)>-1||i._StringHelper._indexOf(e,g._secondSingleDigit[0],!0)>-1},e.hasDate=function(e){return i._StringHelper._indexOf(e,g._yearTwoDigit[0],!0)>-1||i._StringHelper._indexOf(e,g._daySingleDigit[0],!0)>-1},e._evaluateFormat=function(e,t){return ce(e,t||M)},e}();t._NumberFormatDateTime=J;var X=function(){function e(e,t){ye.call(this,t);var r,n=$(e)[0];if("h"===n)r=3600;else if("m"===n)r=60;else{if("s"!==n)throw Error(d().Exp_TokenIllegal);r=1}this._getTimeSpan=function(e){var t=e/1e3/r;return Math.abs(t-Math.round(t))<1e-6?Math.round(t):Math.floor(t)}}return e.Name="ABSTimeFormatPart",e}(),V=function(){function e(e,t){ye.call(this,t);var r=x.exec(e);if(null!==r){var n=Number(r[1]);(n-=1)>=0&&n<D.length&&(e=D[n])}this.foreColor=e}return e.prototype.toString=function(){return ne(this.foreColor)},e.Name="ColorFormatPart",e}(),q=function(){function e(e,t,r,n){me.call(this,t,r,n);this._isGeneralNumber=!1,this._formatType=1,this._fullFormatString=ae(e);var a=le(e);if(t&&(a=oe(a,this._partLocaleID._originalToken,this._partLocaleID.currencySymbol())),(a=ae(a)).indexOf("/")>-1){var i=function(e,t){var r=[];if(e===p||""===e)return r;var n,a,i=!1,o=[],s=!1;for(n=0;n<e.length;n++)'"'!==(a=e[n])||i||(s=!s),i||s||a!==t?o.push(a):(r.push(o.join("")),o=[]),i="\\"===a&&!i;return r.push(o.join("")),r}(a,"/");if(i&&2===i.length){this._fractionDenominatorFormat=i[1];var o=i[0];if(o){var s=o.lastIndexOf(" ");s>-1?(this._fractionIntegerFormat=ee(o,0,s),this._fractionNumeratorFormat=ee(o,s+1,o.length-s-1)):this._fractionNumeratorFormat=o}}}this._numberFormatString=a}return e.prototype.formatString=function(){return this._fullFormatString},e.prototype.format=function(t){if(C(t,"boolean"))return t.toString().toUpperCase();var r=s._Types._toDouble(t);if(k(r)||!isFinite(r)||k(t))return"string"==typeof t?t:p;var n,a,i,o,u,l=I(this.cultureName);if(this._fractionNumeratorFormat&&this._fractionDenominatorFormat){var c={value:0},m={value:0},y={value:0},h=this._getDenominatorLength();if(e.getFraction(r,h,c,m,y)){var f=e.getGCD(m.value,y.value);if(f>1&&(m.value/=f,y.value/=f),this._fractionIntegerFormat){u="",1===y.value&&(c.value+=m.value,m.value=0,y.value=0);var d=H(P(c.value,this._fractionIntegerFormat,l));d&&"0"!==d&&(u+=d,u+=" "),0===c.value&&r<0&&(u+=l.NumberFormat.negativeSign),0===r&&(u+="0"),n=this._fractionDenominatorFormat,!k(a=parseFloat(n))&&a>0&&(0!==m.value&&0!==y.value&&(m.value*=a/y.value),y.value=a,n=n.replace(/^\d+/,e.toNumberPlaceholder(a)),o=(i=Math.ceil(m.value))-m.value,m.value=parseFloat(o<=.5&&o>=0?i.toString():""+(i-1)));var _=this._fractionNumeratorFormat,g=parseFloat(_);if(!k(g)&&0===g){var M=_.length,v=m.value.toString(),b=v.length;M>b?_=_.substr(0,M-(M-b)):M<b&&(v=v.substr(0,b-(b-M)),m.value=parseInt(v,10))}var F=this._getFormattedFractionString(m.value,y.value,_,n,l);return 0===m.value&&(F=F.replace(/./g," "),""===d)?"0 "+F:""===(u+=F)?"0":u}u="";var S=c.value*y.value+m.value;return n=this._fractionDenominatorFormat,(a=parseFloat(n))>0?(S*=a/y.value,y.value=a,u+=(S=parseFloat((o=(i=Math.ceil(S))-S)<=.5&&o>=0?i.toString():""+(i-1)))+"/"+y.value):u+=this._getFormattedFractionString(S,y.value,this._fractionNumeratorFormat,this._fractionDenominatorFormat,l),0===S?"0":u}return r.toString()}return function(e,t,r,n,a){if(!O(n)){var i=fe(r,n.type,a);if(!O(i)){for(var o=!1,s=void 0,u=I(a),l=void 0,c=0,m=e.length;c<m;c++)"decimalSeparator"===e[c].type&&(o=!0,e[c].value=n._replaceNumberString(e[c].value,i,t),s=e[c].value),"number"===e[c].type&&(e[c].value=o?n._replaceNumberString(s+e[c].value,i,t).slice(1):n._replaceNumberString(e[c].value,i,t),"ja-JP"===u.name()&&e[c].value.length>1&&("一千"!==(l=e[c].value.substr(0,2))&&"一百"!==l&&"一十"!==l||(e[c].value=e[c].value.substr(1))));return e}}return e}(P(r,this._numberFormatString,l),this._isGeneralNumber,this._partLocaleID,this._partDBNumberFormat,this.cultureName)},e.prototype.parse=function(e){if(!e||e===j._Empty)return p;var t=function(e){return e&&e.toUpperCase()}(e);if("TRUE"===t||t===B()&&B().boolean_true)return!0;if("FALSE"===t||t===B()&&B().boolean_false)return!1;var r="("===e.charAt(0)&&")"===e.charAt(e.length-1);r&&(e=e.substring(1,e.length-1));var n=this._fractionNumeratorFormat&&this._fractionDenominatorFormat,a=this._trimPercentSign(this._numberFormatString)._isPer;if(n||a){var o=0;if(n&&this._fractionIntegerFormat){var s=(e=e.trim()).lastIndexOf(" ");0<s&&s<e.length-1&&(o=parseInt(e.substr(0,s),10),e=e.substr(s+1))}var u=e.indexOf("/");if(0<u&&u<e.length-1){var l=e.substr(0,u),c=e.substr(u+1);if(!k(l)&&!k(c)){var m=parseInt(l,10),y=parseInt(c,10);if(!k(m)&&!k(y)&&0!==y)return o+m/y}}}e=this._trimSpecialSymbol(e),e=this._trimCurrencySymbol(e);var h=this._trimPercentSign(e),f=h._isPer,d=h._str;if(this._isValidNumberString(d)){d=i._StringHelper._replaceAllNoReg(d,R(this.cultureName).numberGroupSeparator,"",!1);var g=N._parseFloat(d,this.cultureName);if(!k(g)&&isFinite(g)){if(f&&(g=w(g/100,15)),r){if("-"===d.charAt(0)||"+"===d.charAt(0))return p;g=-1*_(g)}return g}}return p},e.prototype._getDenominatorLength=function(){var e=this._fractionDenominatorFormat,t=0;if(e)for(var r=e.length,n=0;n<r&&e[n].match(/[#?\d]/);n++)t++;return t},e.prototype._isValidNumberString=function(e){for(var t="",r=0,n=0,a=0,i=p,o=R(this.cultureName),s=e.length-1;s>-1;s--){if(e[s]===o.numberDecimalSeparator)r++,a>0&&(i=!1),t="";else if("e"===$(e[s])){if(n++,t="",s===e.length-1)return!1}else if(e[s]===o.numberGroupSeparator)i=3===t.length,a++,t="";else if("-"===e[s]||"+"===e[s]){if(s>0&&"e"!==$(e[s-1]))return!1}else{if(!L(e[s]))return!1;if(t+=e[s],0===s&&0===parseInt(t,10)&&i)return!1}if(r>1||n>1||!1===i)return!1}return!0},e.prototype._trimSpecialSymbol=function(e){for(var t=e,r=[],n=0;n<t.length;n++)L(t[n])&&r.push(n);for(var a=R(this.cultureName),o=[a.currencyDecimalSeparator,a.currencyGroupSeparator,a.currencySymbol,"$",a.nanSymbol,a.negativeInfinitySymbol,a.negativeSign,a.numberDecimalSeparator,a.numberGroupSeparator,a.percentDecimalSeparator,a.percentGroupSeparator,a.percentSymbol,a.perMilleSymbol,a.positiveInfinitySymbol,a.positiveSign],s=t.length-1;s>-1;s--){var u=t[s];if(G(u)&&o.indexOf(u.toString())<=-1)(s<r[0]||r[r.length-1]<s)&&(t=i._StringHelper._remove(t,s,1));else if("-"===u||"+"===u){var l=s>0?t[s-1].toString():p;if(["e","E","(",R(this.cultureName).currencySymbol,"$"].indexOf(l)<0)break}}return t},e.prototype._trimCurrencySymbol=function(e){if(i._StringHelper._startsWith(e,"$")){if((t=i._StringHelper._remove(e,0,1)).indexOf("$")<0)return t}else{var t,r=R(this.cultureName).currencySymbol;if("$"!==r&&i._StringHelper._startsWith(e,r)&&(t=i._StringHelper._remove(e,0,r.length)).indexOf(r)<0)return t}return e},e.prototype._trimPercentSign=function(e){var t=R(this.cultureName).percentSymbol,r=!0,n=e;return i._StringHelper._startsWith(e,t)?n=i._StringHelper._remove(e,0,t.length):i._StringHelper._endsWith(e,t)?n=i._StringHelper._remove(e,e.length-t.length,t.length):r=!1,i._StringHelper._contains(n,t)&&(r=!1),{_str:n,_isPer:r}},e.prototype._getFormattedFractionString=function(e,t,r,n,a){var i=H(P(e,r,a)),o=H(P("0."+t,"#."+n,a,!0)),s=a&&a.NumberFormat&&a.NumberFormat.numberDecimalSeparator||".",u=i+"/"+o.substr(o.indexOf(s)+1);return""===r&&(u=e+u),""===n&&(u+=t),u},e.getGCD=function(e,t){if(0===e)return _(t);if(0===t)return _(e);for(var r=Math.max(e,t),n=Math.min(e,t),a=r%n;0!==a;)a=(r=n)%(n=a);return _(n)},e.getFraction=function(e,t,r,n,a){var i=0,o=0,s=0,u=0,l=Math.ceil;e>0?1==(u=e-l(e)+1)?(u=0,i=e):i=l(e)-1:e<0&&(i=l(e),u=l(e)-e);var c=Math.pow(10,t-1),m=Math.pow(10,t)-1;c<2&&(c=2),m<2&&(m=2);for(var y=!1,h=0,f=c;f<=m;f++){var d=Math.round(f*u),p=d/f,g=_(p-u);if((!y||g<_(h-u))&&(y=!0,h=p,o=d,s=f,g<1e-6))break}return r.value=i,n.value=o,a.value=s,y},e.toNumberPlaceholder=function(e){return e.toString().replace(/\d/g,"?")},e}(),Q=function(){function e(t,r,n,a){me.call(this,r,n,a),arguments.length>0?(e._isValidNumberFormatString(t)||U(),this._fullFormatString=t):this._fullFormatString="General",this._formatType=0}return e._isValidNumberFormatString=function(e){for(var t="",r=!1,n=-1,a=e.length,i=0;i<a;i++){var o=e[i];'"'===o?n=(r=!r)?i:-1:r||(t+=o)}return n>0&&(t+=e.substring(n,a)),!(t.indexOf("0")>=0||t.indexOf("#")>=0||t.indexOf(".")>=0||t.indexOf("@")>=0)},e.prototype._getDigitalFormat=function(){if(!this._digitalFormat){var e=this._fullFormatString;e=oe(e,"General",E),this._digitalFormat=new q(e,this._partLocaleID,this._partDBNumberFormat,this.cultureName),this._digitalFormat._isGeneralNumber=!0}return this._digitalFormat},e.prototype._getExponentialDigitalFormat=function(){return this._exponentialDigitalFormat||(this._exponentialDigitalFormat=new q("0.#####E+00",this._partLocaleID,this._partDBNumberFormat,this.cultureName),this._exponentialDigitalFormat._isGeneralNumber=!0),this._exponentialDigitalFormat},e.prototype.formatString=function(){return i._StringHelper._replace(this._fullFormatString,"@NumberFormat","General")},e.prototype.format=function(e){if(s._Types._isNumber(e,this.cultureName)){var t=!this._partLocaleID||this._partLocaleID.allowScience(),r=s._Types._toDouble(e);if(void 0!==r&&r!==p)return _(r)>99999999999&&t||_(r)<1e-11&&0!==r?this._getExponentialDigitalFormat().format(e):this._getDigitalFormat().format(e)}else{if(C(e,"string")){var n=i._StringHelper._replace(this.formatString(),'"',"");return n=se(n),e}if(C(e,"boolean"))return e.toString().toUpperCase()}return""},e.prototype.parse=function(e){if(j._isNullOrEmpty(e))return p;if("number"==typeof e)return e;var t=!1,r=e.trim(),n=i._StringHelper._indexOf(r,"-",!1);n>0&&!ue(r.charAt(n-1),"E",!0)&&(t=!0);var a,s=I(this.cultureName),u=s.DateTimeFormat,c=u.dateSeparator,m=u.timeSeparator,y=u.monthNames,h=u.abbreviatedMonthNames,f=function(e,t){if(!t||0===t.length)return!1;for(var r=!1,n=0,a=t.length;n<a;n++)if(i._StringHelper._contains(e,t[n],!0)){r=!0;break}return r};if(t||i._StringHelper._contains(r,c,!1)||i._StringHelper._contains(r,m,!1)||i._StringHelper._contains(r,"/",!1)||i._StringHelper._contains(r,":",!1)||i._StringHelper._contains(r,"-",!1)||i._StringHelper._contains(r,"年",!1)||i._StringHelper._contains(r,"月",!1)||i._StringHelper._contains(r,"日",!1)||f(r,y)||f(r,h)||"ja-JP"===s.name()&&l._EraHelper._symbols.indexOf(r[0].toUpperCase())>=0&&i._StringHelper._contains(r,".",!1)){var d=o._DateTimeHelper._parseLocale(r);if(d)return d}var g,M="-"===r.charAt(0);if(M||"+"===r.charAt(0)){if("("===(r=i._StringHelper._remove(r,0,1)).charAt(0)&&")"===r.charAt(r.length-1))return e}else if("("===r.charAt(0)&&")"===r.charAt(r.length-1)&&(g=!0,"-"===(r=(r=r.substring(1,r.length-1)).trim()).charAt(0)||"+"===r.charAt(0)))return e;return(a=this._getDigitalFormat().parse(r))!==p&&void 0!==a?g&&C(a,"boolean")?e:(g||M)&&C(a,"number")?-1*_(a):a:e},e}(),Z=function(){function e(e,t,r,n){me.call(this,t,r,n);var a=le(e,!1);t&&(a=oe(a,this._partLocaleID._originalToken,this._partLocaleID.currencySymbol())),a=se(a=ae(a)),this._formatString=a,this._formatType=3}return e.prototype.format=function(e,t){try{var r;r=e instanceof Date?o._DateTimeHelper._toOADate(e).toString():te(e);var n=this._parseFormat(this._formatString);return this._toFormattedObject(r,n.formatTokens,e,n.hasAtPart,t)}catch(e){return""}},e.prototype.parse=function(e){return e||""},e.prototype.formatString=function(){return this._formatString},e.prototype._parseFormat=function(e){for(var t,r=[],n=!1,a="",i=!1,o=p,s=0;s<e.length;s++)t=e.charAt(s),i?('"'!==t?a+=t:(a+=t,r.push(a),a="",i=!1),o=t):"*"!==o&&"_"!==o&&"\\"!==o||""===a?"*"!==t&&"_"!==t&&"\\"!==t?"@"!==t?'"'!==t?(a+=t,o=t):(o=t,""!==a&&r.push(a),a=t,i=!0):(o=t,""!==a&&(r.push(a),a=""),r.push(t),n=!0):(o=t,""!==a&&(r.push(a),a=""),a+=t):(a+=t,r.push(a),a="");return""!==a&&r.push(a),{formatTokens:r,hasAtPart:n}},e.prototype._toFormattedObject=function(e,t,r,n,a){var i=[],o=!1;if("string"!=typeof r||n||a)for(var s=t.length-1;s>=0;s--){var u=t[s];"*"===u[0]?o||(o=!0,i.push({type:"fillingChar",value:u[1]})):"_"===u[0]?i.push({type:"placeholder",value:u[1]}):'"'===u[0]&&'"'===u[u.length-1]?u.length>=2&&i.push({type:"text",value:u.substr(1,u.length-2)}):"\\@"===u?i.push({type:"text",value:"@"}):"@"===u[0]?i.push({type:"text",value:e}):i.push({type:"text",value:u})}else i.push({type:"text",value:r});return i.reverse()},e}();function ee(e,t,r){return e.substr(t,r)}function te(e){return s._Types._isNullOrUndefined(e)?"":"boolean"==typeof e?e?"TRUE":"FALSE":"string"==typeof e?e:e.toString()}function re(e,t){if("\\"===e[t])throw Error(d().Exp_InvalidBackslash);if(t-1>0&&t-1<e.length&&"\\"===e[t-1]){if(t-2<0)return!0;if(t-2>0&&t-2<e.length)return"\\"!==e[t-2]}return!1}function ne(e){if(!e)throw Error(d().Exp_TokenIsNull);return"["+e+"]"}function ae(e){if(void 0===e||e===p||""===e)return e;for(var t="",r=0,n=!1,a=0;a<e.length;a++){var i=e[a];'"'===i?(n=!n,t+=i):n?t+=i:"["===i?r++:"]"===i?--r<0&&(r=0):0===r&&(t+=i)}return t.toString()}function ie(e){return e=oe(e,"[",""),oe(e,"]","")}function oe(e,t,r){return!e||e===j._Empty||ue(t,r,!0)?e:(t=t.replace(F,"\\$1"),e.replace(RegExp(t,"g"),r))}function se(e){for(var t=e.length,r=!1,n="",a=0;a<t;a++){var i=e.charAt(a);"\\"===i?(r=!r)&&"@"!==e.charAt(a+1)||(n+=i):(r=!1,n+=i)}return n}function ue(e,t,r){return r?$(e)===$(t):e===t}function le(e,t){1===arguments.length&&(t=!0);for(var r=!1,n="",a=0;a<e.length;a++){var i=e[a];if('"'===i)r=!r;else if(!r&&!t&&"/"===i&&!re(e,a))continue;n+=i}return n}function ce(e,t){if(!e||e===j._Empty)return!1;for(var r=function(e){for(var t="",r=!1,n=0,a=e.length;n<a;n++){var i=e[n];'"'===i&&(r=!r),"E"===i||r||(t+=$(i))}return t}(le(e)),n=0;n<t.length;n++){var a=r.indexOf(t[n]);if(0===a||a>0&&"_"!==r[a-1]&&"*"!==r[a-1])return!0}return!1}function me(e,t,r,n){this._partLocaleID=e,this._partDBNumberFormat=t,this.cultureName=r,this._isShowEraFirstYear=n}function ye(e){this._originalToken=e}function he(e){var t,r=ie(e);if(!r||r===j._Empty)return t;var n=r[0];return["<",">","="].indexOf(n)>-1?(t=K).Name="ConditionalFormatPart":i._StringHelper._startsWith(r,"DBNum",!0)?(t=W).Name="DBNumberFormatPart":ue(r[0],"$",!1)&&r.indexOf("-")>-1?(t=Y).Name="LocaleIDFormatPart":function(e){var t=$(e),r=t[0];if("h"!==r&&"m"!==r&&"s"!==r)return!1;for(var n=1;n<t.length;n++)if(r!==t[n])return!1;return!0}(r)?(t=X).Name="ABSTimeFormatPart":r.indexOf("$")<0&&r.length>=3&&((t=V).Name="ColorFormatPart"),t}function fe(e,t,r){var n;if(n=e?e.cultureInfo():I(r),t<4||4===t&&("ko-kr"===r||"ko-kr"===n.name())){var a=n.NumberFormat.dbNumber;if(a)return a[t]}return p}var de=function(){function e(e,t){0===arguments.length?(this.formatCached="General",this._numberFormat=new Q):this._init(e,t)}return e.prototype._init=function(t,r){t!==p&&void 0!==t||U();var n=t;this.formatCached=t;for(var a="",i="",o=!1,s=!1,u=!1,c=[],m=0;m<t.length;m++){var y=t[m];if('"'===y)s=!s,i+=y;else if(s)i+=y;else if("["===y)o&&U(),i&&(a||(a=""),a+=i),i=y.toString(),o=!0;else if("]"===y){if(o||U(),i){var h=(i+=y).toString(),f=he(i.toString());if(f)"ABSTimeFormatPart"===f.Name?(c.push(new f(e.preProcessPart(h),h)),a+=i):h===l._EraHelper.eraExcelFormatter?(this.addPart(f,l._EraHelper.eraInternalFormatter),u=!0):this.addPart(f,h);else{var d=e.partToNormalStr(h);a+=d,n=oe(t,h,d)}i=""}else U();o=!1}else i+=y}i?o?U():a+=i:a||(a=this._getDBNumberDefaultFormat()),this.localeIDFormatPart&&(r=this.localeIDFormatPart.cultureInfo().name());var _=function(e,t){var r,n=!1;return ce(e=e?e.toString():j._Empty,["general"])?r=Q:J._evaluateFormat(e)?r=J:ce(e,["E+","E-","#",".",",","%","0","/","?"])||t?(n=!0,r=q):(n=!0,r=Z),{_isDigitalOrText:n,_type:r}}(a,this.conditionalFormatPart),g=_._type,M=_._isDigitalOrText?n:a;g?this._numberFormat=new g(M,this.localeIDFormatPart,this.dbNumberFormatPart,r,c.length>0?c:p,u):U()},e.prototype._getDBNumberDefaultFormat=function(){var t=this,r="";return t.dbNumberFormatPart&&(e.proNames.some((function(e){return"dbNumberFormatPart"!==e&&t[e]}))||(r="General")),r},e.prototype.formatString=function(){for(var t="",r=0,n=e.proNames.length;r<n;r++){var a=e.proNames[r];this[a]&&(t+=this[a].toString())}return t+this._numberFormat.formatString()},e.prototype.addPart=function(t,r){for(var n=e.proNames,a=e.preProcessPart(r),i=0,o=n.length;i<o;i++){var s=n[i];if(ue(s,t.Name,!0)){if(this[s])throw Error(d().Exp_DuplicatedDescriptor);this[s]=new t(a,r)}}},e.prototype.format=function(e,t){return this._numberFormat.format(e,t)},e.prototype.parse=function(e){return this._numberFormat.parse(e)},e.checkFormatter=function(e){if(!e||e===j._Empty)throw Error(d().Exp_TokenIllegal)},e.preProcessPart=function(t){e.checkFormatter(t);var r=ie(t);return e.checkFormatter(r),r},e.partToNormalStr=function(t){var r=e.preProcessPart(t);return"$"===r[0]&&(r=r.slice(1)),'"'+r+'"'},e.proNames=["colorFormatPart","conditionalFormatPart","dbNumberFormatPart","localeIDFormatPart"],e}(),pe=function(e){function t(t,r){var n=e.call(this,t,r)||this,a=n;return a._isSingleFormatterInfo=!0,a.PropertyChanged=[],j._isNullOrEmpty(t)&&(t="General"),a.formatCached=t,a.cultureName=r,a.init(),n}return a(t,e),t.prototype.toJSON=function(){var e={formatCached:this.formatCached};return this.cultureName&&(e.customerCultureName=this.cultureName),"general"===$(this.formatCached)&&delete e.formatCached,e},t.prototype.hasFormattedColor=function(){for(var e in v)if(v.hasOwnProperty(e)){var t=this.getFormatter(v[e]);if(t&&t.colorFormatPart)return!0}return!1},t.prototype.formatString=function(e){if(0===arguments.length){for(var t=j._Empty,r=0,n=this.formatters.length;r<n;r++){t+=this.formatters[r].formatString(),r!==n-1&&(t+=";")}return t}if(!e)throw Error(d().Exp_ValueIsNull);return this.formatters=p,this.formatCached=e,this.init(),this._raisePropertyChanged("formatString"),this},t.prototype.getFormatter=function(e){return this.formatters&&this.formatters[e]},t.prototype.getPreferredEditingFormatter=function(e){var r,n=A(this.cultureName),a=R(this.cultureName),i=t.defFormatter;if(C(e,"TimeSpan"))return i(n.longTimePattern);if(C(e,"DateTime")){var o=0===e.getHours()&&0===e.getMinutes()&&0===e.getSeconds()&&0===e.getMilliseconds()?"":" h:mm:ss";return i(n.shortDatePattern+o)}if(s._Types._isNumber(e,this.cultureName)){var u=s._Types._toDouble(e);return i(u>=1e21||u<=1e-17&&u>0||u<=-1e21||u<0&&u>=-1e-17?null!==(r=a.scientificNotation)&&void 0!==r?r:"0.##############E+00":E)}return i("General")},t.prototype.getPreferredDisplayFormatter=function(e,r){var n=t.defFormatter;if(r||(r={value:p}),r.value=p,j._isNullOrEmpty(e))return new t;var a=e,u=r.value=this.parse(a);if(C(u,"DateTime")||C(u,"TimeSpan")){var l={pattern:S,formatter:["d-mmm","mmm-yy",A().shortDatePattern,"h:mm","h:mm:ss","h:mm:ss.0","h:mm:ss tt",A().shortDatePattern+" h:mm",A().shortDatePattern+" h:mm:ss",A().shortDatePattern+" h:mm:ss.0"]},c=l.pattern,m=l.formatter,y=I(this.cultureName),h=y.DateTimeFormat,f=h.preselectedFormatters;if(f.length>0&&(c=c.concat([f]),m=m.concat([f[0]])),"ja-JP"===y.name()){c=c.concat([h.eraFormatter]),m=m.concat(["ge.M.d"]);var d=y._eraFormatter.filter((function(e){return"ggge"===e.substr(0,4)}));c=c.concat([d]),m=m.concat(['ggge"年"M"月"d"日']);var _=y._eraFormatter.filter((function(e){return"gge"===e.substr(0,3)}));c=c.concat([_]),m=m.concat(['gge"年"M"月"d"日']);var g=y._eraFormatter.filter((function(e){return"ge"===e.substr(0,2)}));c=c.concat([g]),m=m.concat(['ge"年"M"月"d"日'])}for(var M=0;M<c.length;M++)for(var v=c[M],b=0;b<v.length;b++){var F=v[b],D=o._DateTimeHelper._parseLocale(e,F);if(D&&D-u==0)return new t(m[M])}}else if(s._Types._isNumber(u,this.cultureName)){var x=R(this.cultureName),T=x.currencySymbol,N=x.numberDecimalSeparator,E=x.percentSymbol,H=x.numberGroupSeparator,P=i._StringHelper._contains,w=P(a,N)?".00":"";if(a[0]===T)return n(j._format("{0}#,##0{1};[Red]({0}#,##0{1})",T,w));if(P(a,"E",!0))return n("0.00E+00");if(a[0].toString()===E||a[a.length-1].toString()===E)return n(j._format("0{0}%",w));if(P(a,H))return n(j._format("#,##0{0}",w))}return n("General")},t.prototype.format=function(e,t){if(C(e,"boolean"))return B()&&(e=e?B().boolean_true:B().boolean_false),e.toString().toUpperCase();var r,n=0,a=this._getFormatInfo(e);if(a){var i=a.colorFormatPart;t&&i&&(t.conditionalForeColor=t.value=i.foreColor),(r=s._Types._isNumber(e,this.cultureName))&&(n=s._Types._toDouble(e));var o=j._Empty;try{if(r&&a===this.getFormatter(v._negative)&&0!==this.expressionNumber)(o=a.format(a.considerNegSymbol?n:_(n)))===p&&C(e,"string")&&(o=e);else if(void 0===(o=a.value)){var u=!this._isSingleFormatterInfo&&a===this.getFormatter(v._text);o=a.format(e,r||u)}t&&(t.content=T(o)?o:[{type:"text",value:o}]),T(o)&&(o=N._formatObjectToString(o))}catch(t){C(e,"string")&&(o=e.toString())}return o}return r&&n<0?"-":C(e,"string")?e.toString():void 0===e||e===p?j._Empty:e.toString()},t.prototype.parse=function(e){return this.formatters&&this.formatters.length>0?this.formatters[0].parse(e):p},t.prototype.init=function(){var e=this.formatCached;j._isNullOrEmpty(e)&&U(),this.formatters=[];var t=function(e){for(var t=[],r=0,n=0,a=e.length,i=0;i<a;i++)"_"===e[i]?r++:(";"!==e[i]||0!==r&&r%2!=0||(t.push(e.substring(n,i)),n=i+1),r=0);return n<=a&&t.push(e.substring(n,a)),t}(e);this._isSingleFormatterInfo=1===t.length,(!t||t.length<1||t.length>4)&&U();for(var r=0;r<t.length;r++){-1!==t[r].indexOf("@")&&-1===t[r].indexOf("\\@")&&(r!==t.length-1?U():this.hasAt=!0);var n=new de(t[r],this.cultureName);this.formatters.push(n)}this.getFormatter(v._positive)||U(),this._refreshFormatPart()},t.prototype._refreshFormatPart=function(){this.expressionNumber=this.formatters.length-(this.hasAt?1:0);var e=(0===this.expressionNumber?1:this.expressionNumber)-1;v=s._Types._extend({},b[e]),this.hasAt&&0!==this.expressionNumber&&(v._text=this.formatters.length-1)},t.prototype._getFormatInfo=function(e){this._refreshFormatPart();var t=this.getFormatter(v._positive),r=t&&t.conditionalFormatPart,n=this.getFormatter(v._text);if(r&&(v._zero=2,this.hasAt||(v._text=3)),"string"==typeof e&&k(e))return n||(r?e:t);if(s._Types._isNumber(e,this.cultureName)||C(e,"boolean")){var a=this.getFormatter(v._negative),i=this.getFormatter(v._zero),o=s._Types._toDouble(e),u=r&&t.conditionalFormatPart.isMeetCondition(o),l=a&&a.conditionalFormatPart,c=l&&a.conditionalFormatPart.isMeetCondition(o),m=void 0;if(this._isSingleFormatterInfo||(r?u:o>0||0===o&&!i))m=t;else if(l?c:o<0)m=a;else if(i)m=i;else if(a){if(r&&l)return{value:o+""};m=a}return m&&(!r||l||m!==a||i||(m.considerNegSymbol=!0),r&&l&&m===a&&a.conditionalFormatPart&&a.conditionalFormatPart.isMeetCondition(1e-10)&&(m.considerNegSymbol=!0),this.expressionNumber<=1&&(m.considerNegSymbol=!0)),m}return p},t.prototype._raisePropertyChanged=function(e){if(this.PropertyChanged)for(var t=0;t<this.PropertyChanged.length;t++){var r=this.PropertyChanged[t];"function"==typeof r&&r(this,e)}},t.defFormatter=function(e){var r=t[e];return r||(r=new t(e),t[e]=r),r},t.test=function(e){var t=!0;try{var r=new y.Lexer(e);new h.Parser(r).parse()}catch(e){t=!1}return t},t}(z);t.GeneralFormatter=pe},826:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=t.BACKSLASH=t.UNDERLINE=t.ASTERISK=t.DOUBLE_QUOTE=t.SEMICOLON=void 0,t.SEMICOLON=";",t.DOUBLE_QUOTE='"',t.ASTERISK="*",t.UNDERLINE="_",t.BACKSLASH="\\";t.throwError=function(){throw Error("Invalid Number Format")}},810:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Lexer=void 0;var n=r(826),a=function(e){return!!["0","#","?",".","%",",","/",n.BACKSLASH,n.ASTERISK,n.UNDERLINE,"@"].find((function(t){return t===e}))},i=function(e){return[n.BACKSLASH,n.ASTERISK,n.UNDERLINE].find((function(t){return t===e}))},o=function(e,t){return{type:e,value:t}},s=function(){function e(e){this._tokens=[],this._input=e,this._tokenize()}return e.prototype._tokenize=function(){for(var e=0,t=this._input;e<t.length;e++){var r=t[e];if(a(r)){if(i(r)){this._tokens.push(o("symbol",r)),e<t.length-1&&(this._tokens.push(o("char",t[e+1])),e++);continue}this._tokens.push(o("symbol",r))}else if(r!==n.SEMICOLON){if(r===n.DOUBLE_QUOTE){var s=t.slice(e+1).search(n.DOUBLE_QUOTE);if(-1!==s){s=s+e+1,this._tokens.push(o("text",t.slice(e+1,s))),e=s;continue}(0,n.throwError)()}this._tokens.push(o("char",r))}else this._tokens.push(o("semicolon",r))}this._tokens.push(o("EOF",""))},e.prototype._nextToken=function(){return this._tokens.shift()},e}();t.Lexer=s},61:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var n=r(826),a=function(){function e(e){this._lexer=e,this._currentToken=e._nextToken()}return e.prototype._eat=function(e){this._currentToken.type===e?this._currentToken=this._lexer._nextToken():(0,n.throwError)()},e.prototype.parse=function(){for(var e=[];"EOF"!==this._currentToken.type;)e.push(this._parseFormatPart()),e.length>4&&(0,n.throwError)();return{type:"numberFormat",body:e}},e.prototype._parseFormatPart=function(){for(var e=[];"semicolon"!==this._currentToken.type&&"EOF"!==this._currentToken.type;){"symbol"===this._currentToken.type?e.push(this._parseSymbol()):e.push(this._parseCharOrString())}return"semicolon"===this._currentToken.type&&this._eat("semicolon"),{type:"formatPart",body:e}},e.prototype._parseSymbol=function(){var e,t=this._currentToken.value;return t===n.ASTERISK?(this._eat("symbol"),e={type:"asterisk",body:this._currentToken.value},this._eat("char")):t===n.BACKSLASH?(this._eat("symbol"),e={type:"char",body:this._currentToken.value},this._eat("char")):t===n.UNDERLINE?(this._eat("symbol"),e={type:"underline",body:this._currentToken.value},this._eat("char")):(e={type:"symbol",body:this._currentToken.value},this._eat("symbol")),e},e.prototype._parseCharOrString=function(){var e,t=this._currentToken.type;return"char"===t?(e={type:"char",body:this._currentToken.value},this._eat("char")):"text"===t&&(e={type:"text",body:this._currentToken.value},this._eat("text")),e},e}();t.Parser=a},736:function(e){e.exports=canvas}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var i=r[e]={exports:{}};return t[e].call(i.exports,i,i.exports,n),i.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}();var a={};!function(){var e=a;Object.defineProperty(e,"__esModule",{value:!0}),e.Formatter=e.Commands=e.Common=void 0;var t=n(38);e.Common=t;var r=n(814);e.Commands=r;var i=n(569);e.Formatter=i}(),(e=void 0===e?{}:e).Spread=a}()},138:()=>{var e;!function(){"use strict";var t={38:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.UserManagerEvent=t.UserManager=t.UUIDGenerator=t._getSR=t.rbush=t.CultureManager=t.CultureInfo=t._StringHelper=t._RegexHelper=t._NumberHelper=t._DateTimeHelper=t._ArrayHelper=t._Types=t._ColorHelper=void 0;var i=r(395);Object.defineProperty(t,"_ColorHelper",{enumerable:!0,get:function(){return i._ColorHelper}});var o=r(534);Object.defineProperty(t,"_Types",{enumerable:!0,get:function(){return o._Types}});var s=r(305);Object.defineProperty(t,"_ArrayHelper",{enumerable:!0,get:function(){return s._ArrayHelper}});var u=r(97);Object.defineProperty(t,"_DateTimeHelper",{enumerable:!0,get:function(){return u._DateTimeHelper}}),Object.defineProperty(t,"_getSR",{enumerable:!0,get:function(){return u.getSR}});var l=r(844);Object.defineProperty(t,"_NumberHelper",{enumerable:!0,get:function(){return l._NumberHelper}});var c=r(576);Object.defineProperty(t,"_RegexHelper",{enumerable:!0,get:function(){return c._RegexHelper}});var m=r(480);Object.defineProperty(t,"_StringHelper",{enumerable:!0,get:function(){return m._StringHelper}});var y=r(674);Object.defineProperty(t,"rbush",{enumerable:!0,get:function(){return y.rbush}});var h=r(818),f=r(479);Object.defineProperty(t,"UUIDGenerator",{enumerable:!0,get:function(){return f.UUIDGenerator}}),Object.defineProperty(t,"HandleExcelSpecialDate",{set:function(e){h.HandleExcelSpecialDate=e},get:function(){return h.HandleExcelSpecialDate}}),a(r(818),t);var d=r(286);Object.defineProperty(t,"CultureInfo",{enumerable:!0,get:function(){return d.CultureInfo}}),Object.defineProperty(t,"CultureManager",{enumerable:!0,get:function(){return d.CultureManager}}),a(r(646),t);var p=r(561);Object.defineProperty(t,"UserManager",{enumerable:!0,get:function(){return p.UserManager}}),Object.defineProperty(t,"UserManagerEvent",{enumerable:!0,get:function(){return p.UserManagerEvent}})},286:function(e,t,r){var n,a=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.CultureManager=t._EraHelper=t.CultureInfo=t.TimelineDateOrder=void 0;var i,o=r(534),s=r(818),u=r(305),l=r(576),c="undefined"!=typeof window?window:r.g,m=o._Types._each,y=o._Types._extend,h=(new Date).getFullYear(),f=["MM/dd/yyyy","MM/d/yyyy","M/dd/yyyy","M/d/yyyy","yy/MM/dd","yy/MM/d","yy/M/dd","yy/M/d","yyyy/MM/dd","yyyy/MM/d","yyyy/M/dd","yyyy/M/d"],d=["hh:mm:ss","hh:mm:s","hh:m:ss","hh:m:s","h:mm:ss","h:mm:s","h:m:ss","h:m:s","hh:mm:ss tt","hh:mm:s tt","hh:m:ss tt","hh:m:s tt","h:mm:ss tt","h:mm:s tt","h:m:ss tt","h:m:s tt","hh:mm","hh:m","h:mm","h:m","hh:mm tt","hh:m tt","h:mm tt","h:m tt"],p=["MM-dd-yyyy","MM-d-yyyy","M-dd-yyyy","M-d-yyyy","yy-MM-dd","yy-MM-d","yy-M-dd","yy-M-d","yyyy-MM-dd","yyyy-MM-d","yyyy-M-dd","yyyy-M-d","dd-MMMM-yy","dd-MMM-yy"],_=f.concat(d);function g(e){return e.split(" ").join(" ").toUpperCase()}function M(e){for(var t=[],r=0,n=e.length;r<n;r++)t[r]=g(e[r]);return t}function v(e,t,r){var n=g(e),a=t.indexOf(n);return-1===a&&(a=r.indexOf(n)),a}function b(e){if(e){var t=e.charCodeAt(0);if(t>=11904&&t<12032||t>=8208&&t<8252||t>=12288&&t<40960||t>=43360&&t<43392||t>=44032&&t<55215||t>=63744&&t<64256||t>=65280&&t<65535)return!0}return!1}function F(e,t,r){if(" "===e||r&&" "===e)return 0;var n=r&&r(e);return t.lineBreakingForbidStart&&-1!==t.lineBreakingForbidStart.indexOf(e)?!r||n?7:6:t.lineBreakingForbidEnd&&-1!==t.lineBreakingForbidEnd.indexOf(e)?!r||n?5:4:n?2:t.lineBreakingChar&&-1!==t.lineBreakingChar.indexOf(e)?3:1}m(f,(function(e,t){m(d,(function(e,r){e<d.length-4&&_.push(t+" "+r)}))})),_=_.concat(p),m(p,(function(e,t){m(d,(function(e,r){e<d.length-4&&_.push(t+" "+r)}))})),function(e){e[e.year=1]="year",e[e.quarterOrMonth=2]="quarterOrMonth",e[e.date=3]="date"}(i=t.TimelineDateOrder||(t.TimelineDateOrder={}));var S={"00":1,"01":1,"02":1,"03":1,"04":1,"05":1,"06":1,"07":1,12:1,15:1,21:1,22:1,23:1,24:1,25:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,62:1,65:1,71:1,72:1,73:1,74:1,75:1};function D(e,t,r){if(!e)return[];for(var n=[e[0]],a=0,i=F(e[0],t,r),o=1;o<e.length;o++){var s=F(e[o],t,r);S[i+""+s]&&void 0===n[++a]&&(n[a]=""),n[a]+=e[o],i=s}return n}var x=function(){function e(){this.NumberFormat={currencyDecimalDigits:2,currencyDecimalSeparator:".",currencyGroupSeparator:",",currencyGroupSizes:[3],currencyNegativePattern:0,currencyPositivePattern:0,currencySymbol:"¤",digitSubstitution:1,isReadOnly:!0,numberGroupSizes:[3],nanSymbol:"NaN",nativeDigits:["0","1","2","3","4","5","6","7","8","9"],numberNegativePattern:1,negativeInfinitySymbol:"-Infinity",negativeSign:"-",numberDecimalDigits:2,numberDecimalSeparator:".",numberGroupSeparator:",",positiveInfinitySymbol:"Infinity",positiveSign:"+",percentDecimalDigits:2,percentDecimalSeparator:".",percentGroupSeparator:",",percentGroupSizes:[3],percentNegativePattern:0,percentPositivePattern:0,percentSymbol:"%",perMilleSymbol:"‰",listSeparator:",",arrayListSeparator:",",arrayGroupSeparator:";",dbNumber:{},standardDictionaryNumbers:{Hundreds:"Hundreds",Thousands:"Thousands",Millions:"Millions",Billions:"Billions",Trillions:"Trillions"},scientificNotation:"0.##############E+00"},this.DateTimeFormat={abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],abbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],amDesignator:"AM",calendarIsReadOnly:!0,calendarWeekRule:0,Calendar:{MinSupportedDateTime:"@-62135568000000@",MaxSupportedDateTime:"@253402300799999@",AlgorithmType:1,CalendarType:1,Eras:[1],TwoDigitYearMax:2029,isReadOnly:!0},dateSeparator:"/",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],defaultDatePattern:"MM/dd/yyyy H:mm:ss",firstDayOfWeek:0,fullDateTimePattern:"dddd, dd MMMM yyyy HH:mm:ss",longDatePattern:"dddd, dd MMMM yyyy",longTimePattern:"HH:mm:ss",monthDayPattern:"MMMM dd",monthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],nativeCalendarName:"Gregorian Calendar",pmDesignator:"PM",rfc1123Pattern:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",shortDatePattern:"MM/dd/yyyy",shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],shortTimePattern:"HH:mm",sortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",timeSeparator:":",universalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",yearMonthPattern:"yyyy MMMM",filterDialogDateFormatter:"yyyy/mmmm/dd",preselectedFormatters:[],eraFormatter:["ge/M/d","ge-M-d","ge.M.d","gee/MM/dd"]},this.name=function(){return""},this.id=-1,this.LocalNumberFormat={},this.displayName="",this.fontScriptCode=void 0,this.predefinedFormats={},this.TimelineDateOrder=[i.quarterOrMonth,i.date,i.year],this.TimelineDateSuffix={year:"",quarter:"",month:"",date:""},this.TextFormat={lineBreakingChar:[" ","-"]},this.equalCharacters=void 0}return e.prototype._getDistributedBreakingChar=function(){return[" "]},e.prototype._getDistributedWords=function(e){var t={lineBreakingChar:this._getDistributedBreakingChar()};return this.TextFormat&&this.TextFormat.lineBreakingStrategy?this.TextFormat.lineBreakingStrategy(e,t):D(e,t)},e.prototype._getTextWords=function(e){if(this.TextFormat&&this.TextFormat.lineBreakingStrategy){var t={lineBreakingChar:this.TextFormat.lineBreakingChar,lineBreakingForbidEnd:this.TextFormat.lineBreakingForbidEnd,lineBreakingForbidStart:this.TextFormat.lineBreakingForbidStart};return this.TextFormat.lineBreakingStrategy(e,t)}return D(e,this.TextFormat||{lineBreakingChar:[" ","-"]})},e.prototype._getDateTimePattern=function(){if(!this._dateTimeFormatPattern){var e=this.DateTimeFormat,t=e.shortDatePattern.replace(/m/g,"M"),r=[t,t+" h:mm",t+" h:mm:ss",t+" h:mm:ss.0","MMMdd","MMMd","MMM dd","MMM d"];if(r=r.concat(_),1041===this.id){var n=e.eraFormatter;r=(r=r.concat(this._eraFormatter)).concat(n)}r=r.concat(e.preselectedFormatters),this._dateTimeFormatPattern=r}return this._dateTimeFormatPattern},e.prototype._getMonthIndex=function(e){return this._upperMonths||(this._upperMonths=M(this.DateTimeFormat.monthNames),this._upperMonthsGenitive=M(this.DateTimeFormat.monthGenitiveNames)),v(e,this._upperMonths,this._upperMonthsGenitive)},e.prototype._getAbbrMonthIndex=function(e){return this._upperAbbrMonths||(this._upperAbbrMonths=M(this.DateTimeFormat.abbreviatedMonthNames),this._upperAbbrMonthsGenitive=M(this.DateTimeFormat.abbreviatedMonthGenitiveNames)),v(e,this._upperAbbrMonths,this._upperAbbrMonthsGenitive)},e.prototype._getDayIndex=function(e){return this._upperDays||(this._upperDays=M(this.DateTimeFormat.dayNames)),this._upperDays.indexOf(g(e))},e.prototype._getAbbrDayIndex=function(e){return this._upperAbbrDays||(this._upperAbbrDays=M(this.DateTimeFormat.abbreviatedDayNames)),this._upperAbbrDays.indexOf(g(e))},e}();t.CultureInfo=x;var C=function(){function e(){}return e._isValidEraDate=function(t){return t>=e._getEraMin()&&t<=e._getEraMax()},e._getEraDates=function(){var e=x.eras;if(void 0!==e){for(var t=[],r=0;r<e.length;r++)t[r]=new Date(e[r].startDate.replace(/-/g,"/"));return t}return this._EraDates},e._getEraPropByFormat=function(t){var r,n;switch(t){case"g":r="symbol",n=e._symbols;break;case"gg":r="abbreviation",n=e._abbreviations;break;case"ggg":r="name",n=e._names;break;default:return[]}var a=x.eras,i=[];if(void 0!==a){for(var o=0;o<a.length;o++)i[o]=a[o][r];return i}return n},e._getEraMax=function(){var e=x.eras;if(void 0!==e&&e.length>0){var t=new Date(e[e.length-1].startDate.replace(/-/g,"/"));return t.setFullYear(t.getFullYear()+99),t}return this._EraMax},e._getEraMin=function(){var e=x.eras;return void 0!==e&&e.length>0?new Date(e[0].startDate.replace(/-/g,"/")):this._EraMin},e._getEraCount=function(){var e=x.eras;return void 0!==e?e.length:this._EraCount},e._getEraYears=function(){var e=x.eras;if(void 0!==e){for(var t=[],r=1;r<e.length;r++){var n=new Date(e[r-1].startDate.replace(/-/g,"/")),a=new Date(e[r].startDate.replace(/-/g,"/"));t[r-1]=a.getFullYear()-n.getFullYear()+1}return t[r-1]=99,t}return this._EraYears},e._getEraDate=function(t){var r={_era:-1,_eraYear:-1};if(!e._isValidEraDate(t)){if(!(t>e._getEraMax()))return r;t=e._getEraMax()}for(var n=0;n<e._getEraCount();n++){if(t<(n+1!==e._getEraCount()?e._getEraDates()[n+1]:e._addMilliseconds(e._getEraMax(),1))){r._era=n,r._eraYear=t.getFullYear()-e._getEraDates()[n].getFullYear()+1;break}}return r},e._addMilliseconds=function(e,t){var r=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds());return r.setMilliseconds(r.getMilliseconds()+t),new Date(r.valueOf())},e._getYearFromEra=function(t,r){return e._getEraDates()[t].getFullYear()+r-1},e._parseEraPart=function(t,r){r=r.toUpperCase();for(var n=e._getEraPropByFormat(t),a=0;a<n.length;a++)if(n[a]===r)return a;return-1},e._formatEraPart=function(t,r,n){var a=e,i=a._getEraDate(r),o=i._era;if(o>=0){var s=a._getEraPropByFormat(t);if(s.length>0)return s[o]}var u=i._eraYear;if(u>=0){var l=u.toString();if("1"===l&&n)return"元";if("ee"===t)return 1===l.length&&(l="0"+l),l;if("e"===t)return l}return""},e._EraDates=[new Date(1868,8,8),new Date(1912,6,30),new Date(1926,11,25),new Date(1989,0,8),new Date(2019,4,1)],e._EraCount=5,e._EraYears=[45,15,64,31,99],e._EraMax=new Date(2117,11,31,23,59,59),e._EraMin=new Date(1868,8,8),e._shortcuts=["1,m","2,t","3,s","4,h","5,r"],e._EraIndices=[0,1,2,3,0,1,2,3],e._names=["明治","大正","昭和","平成","令和"],e._symbols=["M","T","S","H","R"],e._abbreviations=["明","大","昭","平","令"],e._EraYearMax=99,e.eraExcelFormatter="[$-ja-JP-x-gannen]",e.eraInternalFormatter="[$-411]",e}();t._EraHelper=C;var T=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencySymbol","isReadOnly"],["$",!1]);return w.call(t,"DateTimeFormat",["fullDateTimePattern","longDatePattern","longTimePattern","shortDatePattern","shortTimePattern","yearMonthPattern","calendarIsReadOnly","preselectedFormatters"],["dddd, MMMM dd, yyyy h:mm:ss tt","dddd, MMMM dd, yyyy","h:mm:ss tt","M/d/yyyy","h:mm tt","MMMM, yyyy",!1,["MMM yyyy","MMMM yyyy"]]),t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" H:mm:ss",t.name=function(){return"en-US"},t.displayName="English (United States)",t.id=1033,t.predefinedFormats={Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',Currency:["[$$-409]#,##0","[$$-409]#,##0;[Red][$$-409]#,##0","[$$-409]#,##0_);([$$-409]#,##0)","[$$-409]#,##0_);[Red]([$$-409]#,##0)"],Date:["m/d/yyyy","[$-409]dddd, mmmm dd, yyyy","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmm d, yyyy;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@","m/d/yyyy;@","[$-409]d-mmm-yyyy;@"],Time:["[$-409]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","mm:ss.0;@","[h]:mm:ss;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@"],Special:{"Zip Code":"00000","Zip Code + 4":"00000-0000","Phone Number":"[<=9999999]###-####;(###) ###-####","Social Security Number":"000-00-0000"},shortcut:{Number:"0.00",Currency:"[$$-409]#,##0.00",Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',ShortDate:"m/d/yyyy",LongDate:"[$-409]dddd, mmmm dd, yyyy",Time:"[$-409]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)'}},t}return a(t,e),t}(x),N=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[0,1,"¥",!1,"NaN (非数値)","-∞",1,1,"+∞",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["〇","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["〇","壱","弐","参","四","伍","六","七","八","九"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十億",Trillions:"兆"}]);var r=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""];return w.call(t,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters","EraFilterDialogDateFormatter"],[["日","月","火","水","木","金","土"],r,r,"午前",!1,["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"西暦 (日本語)","午後","yyyy/MM/dd",["日","月","火","水","木","金","土"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月d日","yyyy年M月dd日","yyyy年MM月d日","yyyy年MM月dd日"],"ggge/mmmm/d日"]),t.DateTimeFormat.eras=!0,t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" "+t.DateTimeFormat.longTimePattern,t._eraFormatter=['gggee"年"MM"月"dd"日','gggee"年"M"月"d"日','ge"年"M"月"d"日','ggge"年"M"月"d"日','ggee"年"M"月"d"日','gge"年"M"月"d"日'],t.name=function(){return"ja-JP"},t.id=1041,t.displayName="Japanese (Japan)",t.isJCKCulture=!0,t.predefinedFormats={Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$¥-411]#,##0_);[Red]([$¥-411]#,##0)","[$¥-411]#,##0_);([$¥-411]#,##0)","[$¥-411]#,##0;[Red][$¥-411]#,##0","[$¥-411]#,##0;-[$¥-411]#,##0","[$¥-411]#,##0;[Red]-[$¥-411]#,##0"],Date:["yyyy/mm/dd","[$-411]dddd, mmmm dd, yyyy",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"yyyy/m/d;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@"],Time:["[$-411]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@",'h"時"mm"分";@','h"時"mm"分"ss"秒";@'],Special:{郵便番号:"[<=999]000;[<=9999]000-00;000-0000","電話番号(東京)":"[<=99999999]####-####;(00) ####-####","正負記号 (+ = △; - = ▲)":'"△" #,##0;"▲" #,##0',"漢数字(十二万三千四百)":"[DBNum1][$-411]General","大字 (壱拾弐萬参阡四百)":"[DBNum2][$-411]General","全角 (12345)":"[DBNum3][$-411]0","全角 桁区切り(12,345)":"[DBNum3][$-411]#,##0"},shortcut:{Number:"0.00",Currency:"[$¥-411]#,##0.00",Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',ShortDate:"yyyy/mm/dd",LongDate:"[$-411]dddd, mmmm dd, yyyy",Time:"[$-411]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},t.TimelineDateOrder=[i.year,i.quarterOrMonth,i.date],t.TimelineDateSuffix={year:"年",quarter:"",month:"月",date:"日"},t.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}","」","。","、","ー"],lineBreakingForbidEnd:["(","[","{","(","[","{","「","$","$","\\","¥"],lineBreakingStrategy:function(e,t){return D(e,t,b)}},t.equalCharacters=["―ゝゞ゠ヽヾー","㆐㆑㇤㇥","‸⁊",".․","&⁋","%⁏","$⁒","#⁗",'"⁍',"‹⁓"],t}return a(t,e),t}(x),E=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[2,"¥",!1,"非数字","负无穷大",1,1,"正无穷大",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["○","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","仟","佰","拾","亿","仟","佰","拾","万","仟","佰","拾",""],numbers:["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十亿",Trillions:"兆"}]);var r=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""];return w.call(t,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters"],[["周日","周一","周二","周三","周四","周五","周六"],r,r,"上午",!1,["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],1,"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"公历","下午","yyyy/M/d",["日","一","二","三","四","五","六"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月","M月d日","yyyy年M月d日","h时mm分","h时mm分ss秒"]]),t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" "+t.DateTimeFormat.longTimePattern,t.name=function(){return"zh-cn"},t.id=2052,t.displayName="Chinese (China)",t.isJCKCulture=!0,t.localeCompare=function(e,t){var r=e.localeCompare(t,"zh");return r<0&&e>="一"&&t<"一"||r>0&&t>="一"&&e<"一"?-r:r},t.predefinedFormats={Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ ',Currency:["[$¥-804]#,##0","[$¥-804]#,##0;[Red][$¥-804]#,##0","[$¥-804]#,##0;[$¥-804]-#,##0","[$¥-804]#,##0;[Red][$¥-804]-#,##0"],Date:["yyyy/m/d","[$-804]dddd, mmmm dd, yyyy","yyyy-mm-dd;@",'[DBNum1][$-804]yyyy"年"m"月"d"日";@','[DBNum1][$-804]yyyy"年"m"月";@','[DBNum1][$-804]m"月"d"日";@',"[$-409]yyyy/m/d h:mm AM/PM;@",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"mm/dd/yy;@","m/d/yy;@","yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-804]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@",'h"时"mm"分";@','h"时"mm"分"ss"秒";@','[$-804]上午/下午h"时"mm"分";@','[$-804]上午/下午h"时"mm"分"ss"秒";@','[DBNum1][$-804]h"时"mm"分";@','[DBNum1][$-804]上午/下午h"时"mm"分";@'],Special:{邮政编码:"000000",中文小写字母:"[DBNum1][$-804]General",中文大写字母:"[DBNum2][$-804]General"},shortcut:{Number:"0.00",Currency:"[$¥-804]#,##0.00",Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',ShortDate:"yyyy/m/d",LongDate:"[$-804]dddd, mmmm dd, yyyy",Time:"[$-804]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ '}},t.TimelineDateOrder=[i.year,i.quarterOrMonth,i.date],t.TimelineDateSuffix={year:"年",quarter:"",month:"",date:"日"},t.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}"],lineBreakingForbidEnd:["(","[","{","(","[","{"],lineBreakingStrategy:function(e,t){return D(e,t,b)}},t.normalizeDateTimeString=function(e){var t;if(l._RegexHelper._getReg("^([0-9]{1,2}|[0-9]{4})年[0-9]{1,2}月$").test(e))return(t=e.split("年"))[1].replace("月","")+"/1/"+t[0];if(l._RegexHelper._getReg("^[0-9]{1,2}月[0-9]{1,2}日$").test(e))return(t=e.split("月"))[0]+"/"+t[1].replace("日","")+"/"+h;if(l._RegexHelper._getReg("^(上午|下午)?[0-9]{1,2}时[0-9]{1,2}分([0-9]{1,2}秒)?$").test(e)){var r=e.replace("时",":").replace("分",":").replace("秒","");return(r=r.endsWith(":")?r+"00":r).startsWith("上午")&&(r=r.replace("上午","")+" AM"),r.startsWith("下午")&&(r=r.replace("下午","")+" PM"),r}return e.includes("上午")||e.includes("下午")?e.replace("上午","am").replace("下午","pm"):null},t}return a(t,e),t.prototype._getDistributedBreakingChar=function(){return[" "," "]},t}(x),H=function(e){function t(){var t=e.call(this)||this;w.call(t,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","dbNumber","standardDictionaryNumbers"],[0,1,"₩",!1,{1:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["零","壹","貳","參","四","伍","六","七","八","九"]},3:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","1","2","3","4","5","6","7","8","9"]},4:{letters:["조","천","백","십","억","천","백","십","만","천","백","십",""],numbers:["○","일","이","삼","사","오","육","칠","팔","구"]}},{Hundreds:"백",Thousands:"천",Millions:"백만",Billions:"10억",Trillions:"조"}]);var r=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""];return w.call(t,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter"],[["일","월","화","수","목","금","토"],r,r,"오전",!1,["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],1,"yyyy'년' M'월' d'일' dddd h:mm:ss","yyyy'년' M'월' d'일' dddd","h:mm:ss","M'월' d'일'",n,n,"서기","오후","yyyy-MM-dd",["일","월","화","수","목","금","토"],"tt h:mm","yyyy'년' M'월'","yyyy년/mmmm/d일"]),t.DateTimeFormat.defaultDatePattern=t.DateTimeFormat.shortDatePattern+" "+t.DateTimeFormat.longTimePattern,t.name=function(){return"ko-kr"},t.id=1042,t.displayName="Korean (Korea)",t.isJCKCulture=!0,t.predefinedFormats={Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$₩-412]#,##0","[$₩-412]#,##0;[Red][$₩-412]#,##0","[$₩-412]#,##0;-[$₩-412]#,##0","[$₩-412]#,##0;[Red]-[$₩-412]#,##0"],Date:["yyyy-mm-dd",'yyyy"년" m"월" d"일" dddd',"yyyy-mm-dd;@",'yyyy"년" m"월" d"일";@','yy"年" m"月" d"日";@','yyyy"년" m"월";@','m"월" d"일";@',"yy-m-d;@","yy-m-d h:mm;@",'m"月"d"日";@',"[$-412]yy-m-d AM/PM h:mm;@","yy/m/d;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-412]h:mm:ss AM/PM","h:mm;@","h:mm:ss;@","[$-412]AM/PM h:mm;@","[$-412]AM/PM h:mm:ss;@","[$-409]h:mm AM/PM;@","[$-409]h:mm:ss AM/PM;@",'yyyy"-"m"-"d h:mm;@','[$-412]yyyy"-"m"-"d AM/PM h:mm;@','[$-409]yyyy"-"m"-"d h:mm AM/PM;@','h"시" mm"분";@','h"시" mm"분" ss"초";@','[$-412]AM/PM h"시" mm"분";@','[$-412]AM/PM h"시" mm"분" ss"초";@'],Special:{"우편 번호":"000-000","전화 번호 (국번 4자리)":"[<=999999]####-####;(0##) ####-####","전화 번호 (국번 3자리)":"[<=9999999]###-####;(0##) ###-####",주민등록번호:"000000-0000000","숫자(한자)":"[DBNum1][$-412]General","숫자(한자-갖은자)":"[DBNum2][$-412]General","숫자(한글)":"[DBNum4][$-412]General"},shortcut:{Number:"0.00",Currency:"[$₩-412]#,##0.00",Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',ShortDate:"yyyy-mm-dd",LongDate:'yyyy"년" m"월" d"일" dddd',Time:"[$-412]h:mm:ss AM/PM",Percentage:"0%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},t.TimelineDateOrder=[i.year,i.quarterOrMonth,i.date],t.TimelineDateSuffix={year:"년",quarter:"",month:"월",date:"일"},t}return a(t,e),t}(x),P={invariant:new x,"en-us":new T,"ja-jp":new N,"zh-cn":new E,"ko-kr":new H};function w(e,t,r){for(var n,a=0,i=t.length;a<i;a++)n=t[a],this[e][n]=r[a]}var O={},k=["lsru","lsde","ls1","ls2","ls3","ls4","ls5","ls6","ls7","ls8","ls9","ls10","ls11"],I=["wmk1","wmk2"],A=function(){function e(){this._cultureVersion=1,this._resourcesMap={}}return e.instance=function(){return this._instance||(this._instance=new this)},e.prototype.culture=function(t){if(0===arguments.length)return e._cRName;var r,n,a;t&&e._cRName!==t&&(e._cRName=t.toLowerCase(),this._cultureVersion++,r=e._cRName,n=e._instance.getCultureInfo(),"object"==typeof document&&("function"!=typeof CustomEvent?(a=document.createEvent("CustomEvent")).initCustomEvent("cultureChanged",!1,!1,void 0):a=new CustomEvent("cultureChanged",{}),a.cultureInfo=r,c.gcCultureInfo=r,c.gcCultureObj=n,document.dispatchEvent(a)))},e.prototype.addCultureInfo=function(e,t,r){if(t&&t instanceof x){var n=t.NumberFormat&&t.NumberFormat.numberDecimalSeparator,a=t.NumberFormat.arrayListSeparator,i=t.NumberFormat.arrayGroupSeparator;if(n===t.NumberFormat.listSeparator||i===a)throw new s.ResourceManager(s.SR).getResource().Exp_Separator;P[e.toLowerCase()]=t}if(r&&"object"==typeof r){var o=e.toLowerCase();O[o]=y(!0,{},r),this._cultureVersion++}},e.prototype.getCultureInfoDict=function(){return P},e.prototype.getCultureInfo=function(t){if(0===arguments.length)return P[e._cRName];"string"==typeof t&&(t=t.toLowerCase());var r=P,n=null;for(var a in r)if(a===t||void 0!==r[a].id&&r[a].id===t){n=r[a];break}return n},e.prototype.getLanguage=function(e){if("string"==typeof e){var t=e.toLowerCase();return O[t]}return null},e.prototype.getResources=function(e){var t=this.culture().toLowerCase();if(null==e&&(e=t),"string"==typeof e){var r=e.toLowerCase();if(this._resourcesMap[r])return this._adjustCurrentResources(this._resourcesMap[r])}return null},e.prototype._adjustCurrentResources=function(e){var t="PivotTables",r="ReportSheet",n="GanttSheet",a="DataChart",i="Sheets",o=y(!0,{},e);o[t]&&this._deleteSkipKey(o[t],I),o[r]&&this._deleteSkipKey(o[r],I),o[n]&&this._deleteSkipKey(o[n],I),o[a]&&this._deleteSkipKey(o[a],I),o[i]&&this._deleteSkipKey(o[i],k);var s=o.CalcEngine;return s&&(o.Functions=s._builtInFunctionsResource,o.TableFunctions=s._tableFunctionsResource,delete s._builtInFunctionsResource,delete s._tableFunctionsResource),o},e.prototype._deleteSkipKey=function(e,t){for(var r=0,n=t;r<n.length;r++){delete e[n[r]]}},e.prototype._languageTranslate=function(e,t,r){var n=O[e.toLowerCase()];for(var a in t)if(!u._ArrayHelper._contains(k,a)){var i=this._getTranslate(n,a,r);(null!==i&&"string"==typeof i&&"string"==typeof t[a]||null!==i&&"object"==typeof i&&!Array.isArray(i))&&(t[a]=i)}t._builtInFunctionsResource&&n.Functions&&this._translateFunctions(n.Functions,t._builtInFunctionsResource),t._tableFunctionsResource&&n.TableFunctions&&y(!0,t._tableFunctionsResource,n.TableFunctions)},e.prototype._getTranslate=function(e,t,r){if(e.hasOwnProperty(t))return e[t];if(r&&(a=e[r])&&"object"==typeof a&&a.hasOwnProperty(t))return a[t];for(var n in e){var a;if((a=e[n])&&"object"==typeof a&&a.hasOwnProperty(t))return a[t]}return null},e.prototype._translateFunctions=function(e,t){for(var r in t)if(e.hasOwnProperty(r)){var n=t[r],a=e[r],i=n.parameters,o=a.parameters;for(var s in n.description=a.description,i)if(o.hasOwnProperty(s)){var u=o[s];"string"==typeof u&&(i[s].name=u)}}return{}},e.prototype._getCultureInfo=function(t){var r=this.getCultureInfo(t);return r||(r=P[e._cRName])||(r=new x),r},e.prototype._getFilterDialogFormatterStr=function(e,t){var r=(this.getCultureInfo(e)||this.getCultureInfo("en-US")).DateTimeFormat,n=r.filterDialogDateFormatter;return(t.indexOf("g")>=0||t.indexOf("e")>=0)&&(n=r.EraFilterDialogDateFormatter||n),n},e._cRName="en-us",e}();t.CultureManager=A.instance()},561:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(895),t)},566:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Error_InvalidRemoteConfigurationForUserFetching=t.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter=t.Error_FailedToFetchUsers=t.Error_RemoteConfigurationForUserFetchingNotProvided=t.GUEST_USER=void 0,t.GUEST_USER="Guest",t.Error_RemoteConfigurationForUserFetchingNotProvided="Remote configuration for user fetching is not provided.",t.Error_FailedToFetchUsers="Failed to fetch users: ",t.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter="GraphQL schema must be provided for graphql adapter.",t.Error_InvalidRemoteConfigurationForUserFetching="Invalid remote configuration for user fetching."},895:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UserManager=t.UserManagerEvent=void 0;var i=r(566),o=r(818),s=r(479),u=r(534),l=r(305);u._Types._extend(o.SR.en,i);var c,m=new o.ResourceManager(o.SR),y=m.getResource.bind(m),h=u._Types._isNullOrUndefined,f=l._ArrayHelper._clone,d=u._Types._cloneObject,p=["#3B82F6","#10B981","#8B5CF6","#F59E0B","#EF4444","#06B6D4","#EC4899","#84CC16","#6366F1","#14B8A6","#F97316","#A855F7","#22C55E","#EAB308","#F43F5E","#0EA5E9","#D946EF","#65A30D","#DC2626","#7C3AED"];!function(e){e.CurrentUserChanged="CurrentUserChanged"}(c=t.UserManagerEvent||(t.UserManagerEvent={}));var _=function(){function e(e){var t={id:s.UUIDGenerator.secureUpperCaseUUID(),name:y().GUEST_USER,color:"#26A69A",_isDefault:!0};this._users=[t],this._currentUserId=t.id,this.options=e,this._currentColorIndex=0,this._listeners=new Map([[c.CurrentUserChanged,[]]])}return e.instance=function(){return this._instance||(this._instance=new this)},e.prototype.configure=function(e){this.options=e},e.prototype._getSync=function(e){for(var t=this._users,r=0;r<t.length;r++)if(t[r].id===e)return d(t[r])},e.prototype._get=function(e){var t;return n(this,void 0,void 0,(function(){var r;return a(this,(function(n){switch(n.label){case 0:return(null===(t=this.options)||void 0===t?void 0:t.get)?[4,this.options.get(e)]:[3,2];case 1:return(r=n.sent())&&this._add(r),[2,r];case 2:return[2]}}))}))},e.prototype._getOrCreate=function(e){e||(e=s.UUIDGenerator.secureUpperCaseUUID());var t=this._getSync(e);return t||(t={id:e,name:y().GUEST_USER}),this._add(t),t},e.prototype._assignColorToUsers=function(e){var t=this;Array.isArray(e)&&e.forEach((function(e){e&&!e.color&&(e.color=t._getCurrentColor(e.id))}))},e.prototype._search=function(e){var t;return n(this,void 0,void 0,(function(){var r,n;return a(this,(function(a){switch(a.label){case 0:return(null===(t=(r=this).options)||void 0===t?void 0:t.search)?[4,r.options.search(e)]:[3,2];case 1:return n=a.sent(),r._assignColorToUsers(n),[2,n];case 2:return[2,[]]}}))}))},e.prototype.bind=function(e,t){this._listeners.has(e)||this._listeners.set(e,[]);var r=this._listeners.get(e);Array.isArray(r)&&r.push(t)},e.prototype.current=function(e){var t=this;if(h(e))return t._currentUserId;if(t._currentUserId!==e){var r=t._currentUserId;t._currentUserId=e,Promise.all([t._get(r),t._get(e)]).then((function(n){var a=n[0],i=n[1];a||(a=t._getSync(r))&&a._isDefault&&(t._users=t._users.filter((function(e){return!e._isDefault}))),t._triggerCurrentUserChanged(a,i,r,e)})).catch((function(n){t._triggerCurrentUserChanged(void 0,void 0,r,e)}))}return t._currentUserId},e.prototype._triggerCurrentUserChanged=function(e,t,r,n){e||(e=this._getSync(r)),t||(t=this._getSync(n)),this._trigger(c.CurrentUserChanged,{oldCurrentUser:e,newCurrentUser:t})},e.prototype._getUsers=function(){return f(this._users)},e.prototype.unbind=function(e,t){if(this._listeners.has(e)){var r=this._listeners.get(e);if(!Array.isArray(r))return;t?r.splice(r.indexOf(t),1):r.splice(0)}},e.prototype._trigger=function(e,t){if(this._listeners.has(e)){var r=this._listeners.get(e);if(!Array.isArray(r))return;r.forEach((function(r){r(e,t)}))}},e.prototype._fromJSON=function(e){e&&(this._assignColorToUsers(e),this._users=e||[])},e.prototype._toJSON=function(){return f(this._users)},e.prototype._getCurrentColorIndex=function(){var e,t=this._currentColorIndex,r=(null===(e=this.options)||void 0===e?void 0:e.colorScheme)?this.options.colorScheme.length:p.length;return this._currentColorIndex=(t+1)%r,t},e.prototype._hashString=function(e){var t=0;if(!e||0===e.length)return t;for(var r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r),t|=0}return Math.abs(t)},e.prototype._getColorIndexForUser=function(e){var t,r=(null===(t=this.options)||void 0===t?void 0:t.colorScheme)?this.options.colorScheme.length:p.length;return this._hashString(e)%r},e.prototype._getCurrentColor=function(e){var t,r=(null===(t=this.options)||void 0===t?void 0:t.colorScheme)||p;return e?r[this._getColorIndexForUser(e)]:r[this._getCurrentColorIndex()]},e.prototype._add=function(e){for(var t=this._users,r=0;r<t.length;r++)if(t[r].id===e.id)return t[r]=e,void(e.color||(e.color=this._getCurrentColor(e.id)));e.color||(e.color=this._getCurrentColor(e.id)),t.push(e)},e.prototype._create=function(e,t){var r={id:e||s.UUIDGenerator.secureUpperCaseUUID(),name:t||y().GUEST_USER};return this._add(r),r},e.prototype._remove=function(e){this._users=this._users.filter((function(t){return t.id!==e}))},e.prototype._dispose=function(){this._listeners.clear(),this._users=[],this._currentUserId=""},e}();t.UserManager=_.instance()},305:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t._ArrayHelper=void 0;function r(e,t){for(var n in t)if(t.hasOwnProperty(n)){var a=t[n];Array.isArray(a)?(e[n]=[],r(e[n],t[n])):null!==a&&"object"==typeof a?(e[n]={},r(e[n],t[n])):e[n]=t[n]}}var n=function(){function e(){}return e._insert=function(e,t,r){e.splice(t,0,r)},e._add=function(e,t){e.push(t)},e._contains=function(e,t){return e.indexOf(t)>-1},e._remove=function(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)},e._removeByIndex=function(e,t){return e.slice(0,t).concat(e.slice(t+1))},e._indexOf=function(e,t,r){return e.indexOf(t,r)},e._clear=function(e,t,r){if(!(t<0))for(var n=0;n<r&&t+n<e.length;n++)e[t+n]=null},e._nextNonEmptyIndex=function(e,t){t<0&&(t=-1);for(var r=t+1;r<e.length;r++)if(void 0!==e[r]&&null!==e[r])return r;return-1},e._getLength=function(e){return e&&e.length},e._clone=function(e){var t=[];return r(t,e),t},e}();t._ArrayHelper=n},395:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._ColorHelper=void 0;var n=r(844)._NumberHelper._toHexString,a=Math.min,i=Math.max,o=Math.abs,s=parseInt;function u(e,t,r){return r<0&&(r+=240),r>240&&(r-=240),r<40?e+((t-e)*r+20)/40:r<120?t:r<160?e+((t-e)*(160-r)+20)/40:e}function l(e,t,r){var n,a,i;if(0===r)n=a=i=s(255*t/240+"",10);else{var o,u;n=c(o=2*t-(u=t<=120?s((t*(240+r)+120)/240+""):t+r-s((t*r+120)/240+"")),u,e+80),a=c(o,u,e),i=c(o,u,e-80)}return{a:255,r:n,g:a,b:i}}function c(e,t,r){return a(s((255*u(e,t,r)+120)/240+""),255)}var m={aliceblue:[240,248,255,255],antiquewhite:[250,235,215,255],aqua:[0,255,255,255],aquamarine:[127,255,212,255],azure:[240,255,255,255],beige:[245,245,220,255],bisque:[255,228,196,255],black:[0,0,0,255],blanchedalmond:[255,235,205,255],blue:[0,0,255,255],blueviolet:[138,43,226,255],brown:[165,42,42,255],burlywood:[222,184,135,255],cadetblue:[95,158,160,255],chartreuse:[127,255,0,255],chocolate:[210,105,30,255],coral:[255,127,80,255],cornflowerblue:[100,149,237,255],cornsilk:[255,248,220,255],crimson:[220,20,60,255],cyan:[0,255,255,255],darkblue:[0,0,139,255],darkcyan:[0,139,139,255],darkgoldenrod:[184,134,11,255],darkgray:[169,169,169,255],darkgreen:[0,100,0,255],darkgrey:[169,169,169,255],darkkhaki:[189,183,107,255],darkmagenta:[139,0,139,255],darkolivegreen:[85,107,47,255],darkorange:[255,140,0,255],darkorchid:[153,50,204,255],darkred:[139,0,0,255],darksalmon:[233,150,122,255],darkseagreen:[143,188,143,255],darkslateblue:[72,61,139,255],darkslategray:[47,79,79,255],darkslategrey:[47,79,79,255],darkturquoise:[0,206,209,255],darkviolet:[148,0,211,255],deeppink:[255,20,147,255],deepskyblue:[0,191,255,255],dimgray:[105,105,105,255],dimgrey:[105,105,105,255],dodgerblue:[30,144,255,255],firebrick:[178,34,34,255],floralwhite:[255,250,240,255],forestgreen:[34,139,34,255],fuchsia:[255,0,255,255],gainsboro:[220,220,220,255],ghostwhite:[248,248,255,255],gold:[255,215,0,255],goldenrod:[218,165,32,255],gray:[128,128,128,255],green:[0,128,0,255],greenyellow:[173,255,47,255],grey:[128,128,128,255],honeydew:[240,255,240,255],hotpink:[255,105,180,255],indianred:[205,92,92,255],indigo:[75,0,130,255],ivory:[255,255,240,255],khaki:[240,230,140,255],lavender:[230,230,250,255],lavenderblush:[255,240,245,255],lawngreen:[124,252,0,255],lemonchiffon:[255,250,205,255],lightblue:[173,216,230,255],lightcoral:[240,128,128,255],lightcyan:[224,255,255,255],lightgoldenrodyellow:[250,250,210,255],lightgray:[211,211,211,255],lightgreen:[144,238,144,255],lightgrey:[211,211,211,255],lightpink:[255,182,193,255],lightsalmon:[255,160,122,255],lightseagreen:[32,178,170,255],lightskyblue:[135,206,250,255],lightslategray:[119,136,153,255],lightslategrey:[119,136,153,255],lightsteelblue:[176,196,222,255],lightyellow:[255,255,224,255],lime:[0,255,0,255],limegreen:[50,205,50,255],linen:[250,240,230,255],magenta:[255,0,255,255],maroon:[128,0,0,255],mediumaquamarine:[102,205,170,255],mediumblue:[0,0,205,255],mediumorchid:[186,85,211,255],mediumpurple:[147,112,219,255],mediumseagreen:[60,179,113,255],mediumslateblue:[123,104,238,255],mediumspringgreen:[0,250,154,255],mediumturquoise:[72,209,204,255],mediumvioletred:[199,21,133,255],midnightblue:[25,25,112,255],mintcream:[245,255,250,255],mistyrose:[255,228,225,255],moccasin:[255,228,181,255],navajowhite:[255,222,173,255],navy:[0,0,128,255],oldlace:[253,245,230,255],olive:[128,128,0,255],olivedrab:[107,142,35,255],orange:[255,165,0,255],orangered:[255,69,0,255],orchid:[218,112,214,255],palegoldenrod:[238,232,170,255],palegreen:[152,251,152,255],paleturquoise:[175,238,238,255],palevioletred:[219,112,147,255],papayawhip:[255,239,213,255],peachpuff:[255,218,185,255],peru:[205,133,63,255],pink:[255,192,203,255],plum:[221,160,221,255],powderblue:[176,224,230,255],purple:[128,0,128,255],rebeccapurple:[102,51,153,255],red:[255,0,0,255],rosybrown:[188,143,143,255],royalblue:[65,105,225,255],saddlebrown:[139,69,19,255],salmon:[250,128,114,255],sandybrown:[244,164,96,255],seagreen:[46,139,87,255],seashell:[255,245,238,255],sienna:[160,82,45,255],silver:[192,192,192,255],skyblue:[135,206,235,255],slateblue:[106,90,205,255],slategray:[112,128,144,255],slategrey:[112,128,144,255],snow:[255,250,250,255],springgreen:[0,255,127,255],steelblue:[70,130,180,255],tan:[210,180,140,255],teal:[0,128,128,255],thistle:[216,191,216,255],tomato:[255,99,71,255],turquoise:[64,224,208,255],violet:[238,130,238,255],wheat:[245,222,179,255],white:[255,255,255,255],whitesmoke:[245,245,245,255],yellow:[255,255,0,255],yellowgreen:[154,205,50,255]},y=function(){function e(e){var t=e.r,r=e.g,n=e.b,o=i(i(t,r),n),u=a(a(t,r),n),l=o+u;this._luminosity=s((240*l+255)/510+"",10);var c=o-u;if(0===c)this._saturation=0,this._hue=160;else{this._luminosity<=120?this._saturation=s((240*c+l/2)/l+"",10):this._saturation=s((240*c+(510-l)/2)/(510-l)+"",10);var m=(40*(o-t)+c/2)/c,y=(40*(o-r)+c/2)/c,h=(40*(o-n)+c/2)/c;this._hue=s(t===o?h-y+"":r===o?80+m-h+"":160+y-m+"",10),this._hue<0&&(this._hue+=240),this._hue>240&&(this._hue-=240)}}return e.prototype._getLighterColor=function(e){var t=this._luminosity,r=this._newLuma(this._luminosity,500,!0);return l(this._hue,t+(r-t)*e,this._saturation)},e.prototype._newLuma=function(e,t,r){return 0===t?e:r?t>0?(e*(1e3-t)+241*t)/1e3:e*(t+1e3)/1e3:((e+=240*t/1e3)<0&&(e=0),e>240&&(e=240),e)},e}(),h=/rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})(?:,\s*(\.\d+|\d(?:\.\d+)?))?\)/;function f(e){if(/^#[A-Fa-f0-9]+$/.test(e)){var t=e.replace(/^#/,""),r=t.length,n="",a="";if(6===r||8===r)n=t.substr(0,6),8===r&&(a=t.substr(6,2));else if(3===r||4===r){var i=t.split(3===r?/(.)/:/(..)/);n=i.filter(Boolean).map((function(e){return parseInt(3===r?e+e:e,16)})).map((function(e){return e.toString(16).padStart(2,"0")})).join(""),4===r&&(a=i[3]+i[3])}return[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16),s=a?parseInt(a,16):255]}if(e.toLowerCase()in m)return m[e.toLowerCase()];var o=h.exec(e);if(null!==o){var s=void 0===o[4]?255:255*+o[4];return[o[1],o[2],o[3],s]}return null}var d=function(){function e(){}return e._toString=function(e){var t=e.a,r=e.r,a=e.g,i=e.b;return 3===arguments.length&&(t=255,r=arguments[0],a=arguments[1],i=arguments[2]),4===arguments.length&&(t=arguments[0],r=arguments[1],a=arguments[2],i=arguments[3]),255===t?"#"+n(r,!0,2)+n(a,!0,2)+n(i,!0,2):"rgba("+r+","+a+","+i+","+t+")"},e._equal=function(e,t){return e.stops||e.type?JSON.stringify(e)===JSON.stringify(t):e.a===t.a&&e.r===t.r&&e.g===t.g&&e.b===t.b},e._getBrightness=function(e){return(299*e.r+587*e.g+114*e.b)/1e3},e._isTwoColorSimilar=function(e,t){var r=255-o(e.r-t.r),n=255-o(e.g-t.g),a=255-o(e.b-t.b),i=o(e.a-t.a);return!!(((r/=255)+(n/=255)+(a/=255))/3>=.9&&i<=.05)},e._invertColor=function(t){var r=255^t.r,n=255^t.g,a=255^t.b;return e._toString(t.a,r,n,a)},e._stringToARGB=function(t){if("object"!=typeof document)return f(t);var n=e._ctx;if(n||(i=document.createElement("canvas"))&&i.getContext&&(n=e._ctx=i.getContext("2d",{willReadFrequently:!0})),!n){var a=r(736);if(a&&a.createCanvas){var i=a.createCanvas(2,2);n=e._ctx=i.getContext("2d")}if(!n)return f(t)}n.clearRect(1,1,1,1),n.fillStyle=t,n.fillRect(1,1,1,1);var o=n.getImageData(1,1,1,1);return o?o.data:null},e._fromString=function(t){if(t instanceof e)return t;if(null!==t&&"object"==typeof t)return t;var r=0,n=0,a=0,i=0;if(t){var o=e._stringToARGB(t);o&&(n=o[0],a=o[1],i=o[2],r=o[3])}return{a:r,r:n,g:a,b:i}},e._applyTint=function(t,r){if(0===r)return t;var n=new y(t),a=s((r>0?(240-n._luminosity)*r:n._luminosity*r)+"",10);return e._fromHLS(n._hue,n._luminosity+a,n._saturation)},e._getLighterColor=function(t,r){var n=e._fromString(t),a=new y(n)._getLighterColor(r);return e._toString(a)},e._hueToRGB=u,e._fromHLS=l,e}();t._ColorHelper=d},818:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._isInstanceOf=t._hasOwnProperty=t._deleteElementsForMap=t._deleteElements=t._addElementsForMap=t._addElements=t.ResourceManager=t.SR=void 0;var n=r(286),a=r(612),i=r(534);t.SR={en:a};var o=i._Types._extend,s=function(){function e(e,t){this.res=e,this._moduleName=t,this._resourcesMap=n.CultureManager._resourcesMap,this.cachedResource=this._getResourceCollection(e,!0),this._buildResourcesMap(this.cachedResource,t),this._cultureVersion=0}return e.prototype.getResource=function(){var e=this._getResourceCollection(this.res,!this.cachedResource);return e&&(this.cachedResource=e),this._buildResourcesMap(this.cachedResource,this._moduleName),this.cachedResource},e.prototype._buildResourcesMap=function(e,t){if(t){var r=n.CultureManager.culture().toLowerCase();this._resourcesMap[r]=this._resourcesMap[r]||{},this._resourcesMap[r][t]=e,n.CultureManager._resourcesMap=this._resourcesMap}},e.prototype._getResourceCollection=function(e,t){var r=n.CultureManager.culture();if(e&&r){var a=n.CultureManager._cultureVersion;if(this._cultureVersion===a&&!t)return;if(this._cultureVersion=a,n.CultureManager.getLanguage(r)){var i=o(!0,{},e.en);return n.CultureManager._languageTranslate(r,i,this._moduleName),i}var s=r.substr(0,2).toLowerCase();return e.hasOwnProperty(s)?e[s]:e.en}return{}},e}();t.ResourceManager=s,t._addElements=function(e,t,r,n){if(e&&0<=r&&r<t){var a,i=[],o=void 0;for(o=r;o<t;o++)void 0!==e[o]&&i.push(o);for(a=i.length,o=0;o<a;o++){var s=i[a-o-1],u=e[s];e[s]=null,e[Math.floor(s)+n]=u}}},t._addElementsForMap=function(e,t,r,n){if(e&&0<=t){for(var a,i=[],o=void 0,s=0,u=Array.from(e.keys());s<u.length;s++){(l=u[s])>=t&&i.push(l)}for(i.sort((function(e,t){return e-t})),a=i.length,o=0;o<a;o++){var l=i[a-o-1],c=e.get(l);e.delete(l);var m=l+r;e.set(m,c),n&&n(c,m)}}},t._deleteElements=function(e,t,r,n){if(e&&0<=r&&r<t){var a,i=[],o=r+n,s=void 0;for(s=r;s<t;s++)void 0!==e[s]&&(r<=s&&s<o?e[s]=null:s>=o&&i.push(s));for(a=i.length,s=0;s<a;s++){var u=i[s],l=e[u];e[u]=null,e[Math.floor(u)-n]=l}}},t._deleteElementsForMap=function(e,t,r,n){if(e&&0<=t){for(var a,i=[],o=t+r,s=void 0,u=0,l=Array.from(e.keys());u<l.length;u++){var c=l[u];e.has(c)&&(t<=c&&c<o?(n&&n(e.get(c),-1),e.delete(c)):c>=o&&i.push(c))}for(i.sort((function(e,t){return e-t})),a=i.length,s=0;s<a;s++){c=i[s];var m=e.get(c);e.delete(c);var y=c-r;e.set(y,m),n&&n(m,y)}}},t._hasOwnProperty=function(e,t){return e.hasOwnProperty(t)},t._isInstanceOf=function(e,t){return e instanceof t}},97:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._DateTimeHelper=t.getSR=void 0;var n=r(818),a=r(480),i=r(305),o=r(286),s=r(534)._Types._isNullOrUndefined,u=a._StringHelper._padZeroLeft,l=parseInt,c=!1,m=Math.floor,y=Math.abs,h=new n.ResourceManager(n.SR,"Common");t.getSR=h.getResource.bind(h);var f={};function d(e,r,a,i){var s=a.DateTimeFormat,l=s.Calendar.convert;if(!r||!r.length)return a&&a.name.length?l?d(e,s.fullDateTimePattern,a):e.toLocaleString():e.toString();var c,h,f,_=s.eras,g="",M=/([^d]|^)(d|dd)([^d]|$)/g;function v(){return h||f||(h=M.test(r),f=!0),h}var b,F=0,S=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;function D(e,t){return b?b[t]:function(e,t){if(n.HandleExcelSpecialDate)return n.HandleExcelSpecialDate.call(null,e,t);switch(t){case 0:return e.getFullYear();case 1:return e.getMonth();case 2:return e.getDate();default:return}}(e,t)}"s"!==r&&l&&(b=l.fromGregorian(e));for(var x=-2,C=-2,T={_value:""},N=0;;N++){var E=S.lastIndex,H=S.exec(r),P=r.slice(E,H?H.index:r.length);if(T._value="",F+=p(P,T),g+=T._value,!H)break;if(F%2!=1){var w=D(e,0),O=e.getDay(),k=e.getHours(),I=e.getMinutes(),A=e.getSeconds(),R=e.getMilliseconds(),$=e.getTimezoneOffset();switch(H[0]){case"dddd":g+=s.dayNames[O];break;case"ddd":g+=s.abbreviatedDayNames[O];break;case"dd":h=!0,g+=u(D(e,2),2);break;case"d":h=!0,g+=D(e,2);break;case"MMMM":g+=s.monthGenitiveNames&&v()?s.monthGenitiveNames[D(e,1)]:s.monthNames[D(e,1)];break;case"MMM":g+=s.abbreviatedMonthGenitiveNames&&v()?s.abbreviatedMonthGenitiveNames[D(e,1)]:s.abbreviatedMonthNames[D(e,1)];break;case"MM":g+=u(D(e,1)+1,2);break;case"M":g+=D(e,1)+1;break;case"yyyy":case"yyy":g+=x>=0?o._EraHelper._formatEraPart("ee",e,i):u(b?b[0]:w,4);break;case"yy":g+=x>=0?o._EraHelper._formatEraPart("ee",e,i):u((b?b[0]:w)%100,2);break;case"y":g+=x>=0?o._EraHelper._formatEraPart("e",e,i):""+(b?b[0]:w)%100;break;case"hh":0==(c=k%12)&&(c=12),g+=u(c,2);break;case"h":0==(c=k%12)&&(c=12),g+=c;break;case"HH":g+=u(k,2);break;case"H":g+=k.toString();break;case"mm":g+=u(I,2);break;case"m":g+=I.toString();break;case"ss":g+=u(A,2);break;case"s":g+=A.toString();break;case"tt":g+=k<12?s.amDesignator:s.pmDesignator;break;case"t":g+=(k<12?s.amDesignator:s.pmDesignator).charAt(0);break;case"f":case"0":g+=u(R,3).charAt(0);break;case"ff":case"00":g+=u(R,3).substr(0,2);break;case"fff":case"000":g+=u(R,3);break;case"z":g+=((c=$/60)<=0?"+":"-")+m(y(c));break;case"zz":g+=((c=$/60)<=0?"+":"-")+u(m(y(c)),2);break;case"zzz":g+=((c=$/60)<=0?"+":"-")+u(m(y(c)),2)+":"+u(y($%60),2);break;case"g":case"gg":case"ggg":if(!_)break;if(x===N-1){x=N;break}g+=o._EraHelper._formatEraPart(H[0],e,i),x=N;break;case"e":case"ee":if(!_){g+=u(b?b[0]:w,4);break}if(C===N-1){C=N;break}g+=o._EraHelper._formatEraPart(H[0],e,i),C=N;break;case"/":g+=s.dateSeparator;break;default:if(!/\[(H+|h+|m+|s+)\]/.test(H[0]))throw Error((0,t.getSR)().Exp_InvalidDateFormat);g+=H[0]}}else g+=H[0]}return g.toString()}function p(e,t){for(var r=0,n=c,a=0,i=e.length;a<i;a++){var o=e.charAt(a);switch(o){case'"':n?t._value+="'":r++,n=c;break;case"\\":n&&(t._value+="\\"),n=!n;break;default:t._value+=o,n=c}}return r}function _(e,t){var r=new Date;if(e.DateTimeFormat.eras&&t<100){var n=o._EraHelper._getEraDate(r)._eraYear;(t+=n-n%100)>e.DateTimeFormat.Calendar.TwoDigitYearMax&&(t-=100)}return t}function g(e){var t=e.getTimezoneOffset();return-485===t&&(t=-485-43/60),-321===t&&(t=-321-10/60),-507===t&&(t=-507-52/60),-402===t&&(t=-402-4/60),t}var M=function(){function e(){}return e._customCultureFormat=function(e,t,r,n){return r||(r=o.CultureManager._getCultureInfo()),d(e,t,r,n)},e._localeFormat=function(e,t,r){return d(e,t,r||o.CultureManager._getCultureInfo())},e._parseDate=function(t,r,n){var a,i,o,s,u,l=c;for((u=n).slice(1).forEach((function(e){e&&(l=!0)})),l||(u=u.concat(r._getDateTimePattern())),i=u.length,a=1;a<i;a++)if((s=u[a])&&(l=!0,o=e._parseExact(t,s,r)))return o;return null},e._parseLocale=function(t,r,n){var a,i;return r||n||void 0===(i=f[t])?(a=r?[t,r]:[t],i=e._parseDate(t,n||o.CultureManager._getCultureInfo(),a),r||n||(f[t]=i),i?new Date(i):i):i?new Date(i):i},e._parseInvariant=function(t,r){return e._parseDate(t,o.CultureManager._getCultureInfo("invariant"),[t,r])},e._parseExact=function(e,r,n){e=e.trim();var s=n.DateTimeFormat,u=1041===n.id,m=function(e,r,n){if(e._parseRegExp){if(e._parseRegExp[r])return e._parseRegExp[r]}else e._parseRegExp={};var a=r;a=(a=a.replace("%M","M")).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1");for(var o,s="^",u={_value:""},l=[],c=0,m=0,y=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;null!==(o=y.exec(a));){u._value="";var h=a.slice(c,o.index);if(c=y.lastIndex,m+=p(h,u),s+=u._value,m%2!=1){switch(o[0]){case"dddd":case"ddd":case"MMMM":case"MMM":case"gggg":case"ggg":case"gg":case"g":s+="(\\D+)";break;case"tt":case"t":s+="(\\D*)";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":s+="(\\d\\d?\\d?)";break;case"eee":case"ee":case"e":s+=n?"(\\u5143|\\d\\d?)":"(\\d\\d?)";break;case"yyy":case"yyyy":s+="(\\d{2}|\\d{4})";break;case"fff":case"000":s+="(\\d{3})";break;case"ff":case"00":s+="(\\d{2})";break;case"f":case"0":s+="(\\d)";break;case"zzz":s+="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":s+="([+-]?\\d\\d?)";break;case"/":s+="/"===e.dateSeparator?"(\\/)":"([\\/\\"+e.dateSeparator+"])";break;default:throw Error((0,t.getSR)().Exp_InvalidDateFormat)}i._ArrayHelper._add(l,o[0])}else s+=o[0]}u._value="",p(a.slice(c),u),s+=u._value;var f=(s+="$").toString().replace(/\s+/g,"\\s+"),d={_regExp:f,_groups:l,_exp:RegExp(f)};return e._parseRegExp[r]=d,d}(s,r,u),y=m._exp.exec(e);if(null===y)return null;for(var h,f=m._groups,d=null,g=null,M=null,v=null,b=null,F=0,S=0,D=0,x=0,C=null,T=c,N=c,E=0,H=f.length;E<H;E++){var P=y[E+1];if(P)switch(f[E]){case"dd":case"d":if((v=l(P,10))<1||v>31)return null;break;case"MMMM":if((M=n._getMonthIndex(P))<0||M>11)return null;break;case"MMM":if((M=n._getAbbrMonthIndex(P))<0||M>11)return null;break;case"M":case"MM":case"%M":if((M=l(P,10)-1)<0||M>11)return null;break;case"e":case"ee":if((g=u&&"元"===P?1:_(n,l(P,10)))<0||g>9999)return null;break;case"y":case"yy":case"yyy":case"yyyy":if((g=l(P,10))<0||g>9999)return null;break;case"h":case"hh":case"H":case"HH":if((F=l(P,10))<0)return null;break;case"m":case"mm":if((S=l(P,10))<0||S>59)return null;break;case"s":case"ss":if((D=l(P,10))<0||D>59)return null;break;case"tt":case"t":var w=P.toUpperCase();if(T=w===s.pmDesignator.toUpperCase(),N=w===s.amDesignator.toUpperCase(),!T&&!N)return null;break;case"f":case"0":if((x=100*l(P,10))<0||x>999)return null;break;case"ff":case"00":if((x=10*l(P,10))<0||x>999)return null;break;case"fff":case"000":if((x=l(P,10))<0||x>999)return null;break;case"dddd":if((b=n._getDayIndex(P))<0||b>6)return null;break;case"ddd":if((b=n._getAbbrDayIndex(P))<0||b>6)return null;break;case"zzz":var O=P.split(/:/);if(2!==O.length)return null;if((h=l(O[0],10))<-12||h>13)return null;var k=l(O[1],10);if(k<0||k>59)return null;C=60*h+(a._StringHelper._startsWith(P,"-")?-k:k);break;case"z":case"zz":if((h=l(P,10))<-12||h>13)return null;C=60*h;break;case"g":case"gg":case"ggg":var I=P;if(!I||!s.eras)return null;if((d=o._EraHelper._parseEraPart(f[E],I))<0)return null}}var A,R=/^(\d|\d\d|\d\d\d):/.test(e),$=R?new Date(1899,11,30):new Date,U=s.Calendar.convert;if(U&&(A=U.fromGregorian($)),U||(A=[$.getFullYear(),$.getMonth(),$.getDate()]),null===g?g=A[0]:g<100&&(s.eras&&null!==d?g=o._EraHelper._getYearFromEra(d||0,g):g+=g>=30?1900:2e3),null===M&&(M=A[1]),null===v&&(v=R?A[2]:1),U){if(null===($=U.toGregorian(g,M,v)))return null}else{if($.setFullYear(g,M,v),$.getDate()!==v)return null;if(null!==b&&$.getDay()!==b)return null}if(T&&F<12?F+=12:N&&12===F&&(F=0),$.setHours(F,S,D,x),null!==C){var B=$.getMinutes()-(C+$.getTimezoneOffset());$.setHours($.getHours()+B/60,B%60)}return $},e._fromOADate=function(e){var t=g(new Date(864e5*(e-25569))),r=Math.round(864e5*(e-25569+t/1440)),n=new Date(r),a=t>=0?1:-1,i=g(new Date(r+36e5*a));if(y(t-i)>=60){var o=new Date(r+60*(i-t)*1e3);if(t>i){if(-1===a||i===g(n))return o}else if(t<i&&(1===a||i===g(n)))return o}return n},e._fromOADateString=function(t){if("/OADate("===t.substr(0,8)){var r=parseFloat(t.substr(8,t.length-10));return e._fromOADate(r)}},e._toOADateString=function(t){return"/OADate("+e._toOADate(t)+")/"},e._toOADate=function(e){if(s(e))return 0;if("number"!=typeof e&&"string"!=typeof e||(e=new Date(e)),e instanceof Date){var t=g(e);return(1440*e.getTime()+3181192704e6-864e5*t)/124416e6}return 0},e._DT=function(r){var n=null,a=!0;if(s(r))n=e._fromOADate(0);else if(r instanceof Date)n=new Date(r.valueOf());else if("string"==typeof r){var i=e._parseLocale(r);if(!i)if(isNaN(r))if(e._isInvalidDateString(r))a=c;else{isNaN((i=new Date(r)).valueOf())&&(a=c);var o=/^[-+=\s]*(\d+)\W+(\d+)\W+(\d+)$/.exec(r.replace(/ |\n/g,"").trim());o&&4===o.length&&(-1!==o.indexOf(i.getFullYear().toString())&&-1!==o.indexOf(""+(i.getMonth()+1))&&-1!==o.indexOf(i.getDate().toString())||(a=c))}else(i=e._fromOADate(parseFloat(r)))||(a=c);n=i}else"number"==typeof r?n=e._fromOADate(r):a=c;if(a)return n;throw(0,t.getSR)().Exp_InvalidCast},e._isInvalidDateString=function(t){var r,n,a=o.CultureManager._getCultureInfo().DateTimeFormat,i=e._invalidCharInDateStr,s=function(e,t){var r=0;return t.forEach((function(t){t&&e.indexOf(t)>-1&&r++})),r>1};return s(t,a.monthNames)||s(t,a.abbreviatedMonthNames)||s(t,a.dayNames)||s(t,a.abbreviatedDayNames)||function(e,t){if(e&&e.indexOf(" ")>-1){var r=e.split(" "),n=r.length;return n>=2&&t.indexOf(r[n-2])<=-1&&!isNaN(r[n-1])}return!1}(t,a.monthNames.concat(a.abbreviatedMonthNames))||(r=t,n=!1,i.forEach((function(e){r.indexOf(e)>-1&&(n=!0)})),n)},e._isDate=function(e){return e&&(e.constructor===Date||e.getUTCDate&&e.setFullYear)},e._invalidCharInDateStr=["@","#","!","`","^","$","*","(",")","&"],e}();t._DateTimeHelper=M},646:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._growth=t._trend=void 0;var n=r(844),a=isNaN,i="rowCount",o="colCount";function s(e){return e}function u(e,t,r,s,u,l,c,m,y,h,f){var d,p,_,g,M,v,b,F,S,D,x,C,T,N,E,H,P=r[i],w=r[o],O=t[i],k=t[o],I=s[i],A=s[o],R=1===w,$=1===k;if(O===P&&k===w){var U=0,B=0,j=0,L=0;for(b=P*w,d=0;d<P;d++)for(p=0;p<w;p++){if(g=l(r[d][p]),M=l(t[d][p]),e&&(a(g)||a(M)))return y;U+=g,B+=g*g,j+=M=h(M),L+=g*M}var G=b*L-U*j;F=u?(j*B-U*L)/(b*B-U*U):0;var Y=(v=u?G/(b*B-U*U):L/B).toString();for((Y.indexOf("000000000000")>1||Y.indexOf("999999999999")>1)&&(v=n._NumberHelper._fixNumber(v,12),F=n._NumberHelper._fixNumber(F,12)),S=[],d=0;d<I;d++)for(S[d]=[],p=0;p<A;p++){if(g=l(s[d][p]),e&&a(g))return y;S[d][p]=0===G?t[0][0]:f(n._NumberHelper._safeAdd(v*g,F))}return c?new c(S):S}if($&&O===P||1===O&&k===w){for(g=[],M=[],E=w+1,H=w+2,d=0;d<P;d++){if(F=l(x=$?t[d][0]:t[0][d]),e&&a(F))return y;M[d]=R?h(F):F}for(d=0;d<P;d++)for(g[d]=[],p=0;p<w;p++){if(F=l(r[d][p]),e&&a(F))return y;g[d][p]=F}var z=[];for(v=0;v<E;v++)for(z[v]=[],b=0;b<H;b++)z[v][b]=0;for(_=0;_<P;_++)for(z[0][E]+=M[_],d=0;d<w;d++)for(x=d+1,z[0][x]+=g[_][d],z[x][0]=z[0][x],z[x][E]+=g[_][d]*M[_],p=d;p<w;p++)z[T=p+1][x]+=g[_][d]*g[_][p],z[x][T]=z[T][x];z[0][0]=P;var K=u?0:1;for(D=K;D<E;D++){if(e){if(0===z[D][D]){for(N=!1,p=D+1;!N&&p<E;p++)if(0!==z[p][D]){for(_=0;_<H;_++)T=z[D][_],z[D][_]=z[p][_],z[p][_]=T;N=!0}if(!N)return m}}else{for(d=D;d<E&&0===z[d][D];)d++;if(d>=E)return m;for(C=K;C<H;C++)x=z[D][C],z[D][C]=z[d][C],z[d][C]=x}for(x=1/z[D][D],C=K;C<H;C++)z[D][C]*=x;for(d=K;d<E;d++)if(d!==D)for(x=-z[d][D],C=0;C<H;C++)z[d][C]+=x*z[D][C];u||(z[0][E]=0)}for(S=[],$||(S[0]=[]),d=0;d<I;d++){for($&&(S[d]=[]),x=z[0][E],p=0;p<w;p++){if(F=l($?s[d][p]:s[p][d]),e&&a(F))return y;x+=z[p+1][E]*F}$?S[d][0]=f(x):S[0][d]=f(x)}return c?new c(S):S}return m}t._trend=function(e,t,r,n,a,i,o,l){return u(!0,e,t,r,n,a,i,l,o,s,s)},t._growth=function(e,t,r,n,a,l,c){var m,y;for(m=0;m<e[i];m++)for(y=0;y<e[o];y++)if(e[m][y]<=0)return l;return u(!1,e,t,r,n,s,a,c,null,Math.log,Math.exp)}},844:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._NumberHelper=void 0;var n=r(818),a=r(534),i=r(576),o=r(480),s=r(286),u=a._Types._isNullOrUndefined,l=o._StringHelper._padZeroLeft,c=o._StringHelper._padZeroRight,m=null,y=void 0,h=parseInt,f=parseFloat,d=!1,p=!0,_=Math.floor,g=Math.abs,M=Math.pow,v=Math.min,b=Number.MAX_VALUE,F=function(e,t,r){return e.substr(t,r)},S=function(e){return i._RegexHelper._getReg(e)},D=new n.ResourceManager(n.SR),x=D.getResource.bind(D),C="##################0",T="################",N={1:"+",0:"","-1":"-"},E=["0","#","?"],H={"¤":"¤",Br:"Br",Fdj:"Fdj",Nfk:"Nfk",R:"R",$:"$",FCFA:"FCFA","GH₵":"GH₵",ብር:"ብር","ر.س.‏":"ر.س.‏",XDR:"XDR","د.إ.‏":"د.إ.‏","د.ب.‏":"د.ب.‏","د.ج.‏":"د.ج.‏","ج.م.‏":"ج.م.‏","₪":"₪","د.ع.‏":"د.ع.‏","د.ا.‏":"د.ا.‏","ف.ج.ق.‏":"ف.ج.ق.‏","د.ك.‏":"د.ك.‏","ل.ل.‏":"ل.ل.‏","د.ل.‏":"د.ل.‏","د.م.‏":"د.م.‏","أ.م.‏":"أ.م.‏","ر.ع.‏":"ر.ع.‏","ر.ق.‏":"ر.ق.‏","ج.س.":"ج.س.",S:"S","£":"£","ل.س.‏":"ل.س.‏","د.ت.‏":"د.ت.‏","ر.ي.‏":"ر.ي.‏","₹":"₹",TSh:"TSh","€":"€","₼":"₼","₽":"₽",K:"K","лв.":"лв.","₦":"₦",CFA:"CFA","৳":"৳","¥":"¥",KM:"KM",КМ:"КМ",USh:"USh",Kč:"Kč","kr.":"kr.",Ksh:"Ksh",CHF:"CHF","ރ.":"ރ.","Nu.":"Nu.",EC$:"EC$",P:"P",US$:"US$",D:"D",Rp:"Rp",Ar:"Ar",MOP$:"MOP$",Rs:"Rs",MK:"MK",RM:"RM","₱":"₱",RF:"RF",SR:"SR",SDG:"SDG",Le:"Le","NAf.":"NAf.",E:"E",T$:"T$",VT:"VT",WS$:"WS$",Bs:"Bs","₡":"₡",Q:"Q",L:"L",C$:"C$","B/.":"B/.","S/.":"S/.","₲":"₲","Bs.":"Bs.",ريال:"ريال",FG:"FG",UM:"UM",kr:"kr",FBu:"FBu",FC:"FC",DA:"DA",G:"G",CF:"CF",DH:"DH",FCFP:"FCFP",LS:"LS",DT:"DT",kn:"kn",HUF:"HUF","֏":"֏",ISK:"ISK","₾":"₾","​":"​","₸":"₸","៛":"៛","₩":"₩",сом:"сом",Kz:"Kz","₭":"₭",MTn:"MTn",ден:"ден","₮":"₮",रु:"रु","Afl.":"Afl.","ߖߕ.":"ߖߕ.","руб.":"руб.",zł:"zł","؋":"؋",R$:"R$",Db:"Db",RON:"RON","₴":"₴",MAD:"MAD","රු.":"රු.",Lekë:"Lekë",den:"den",RSD:"RSD","дин.":"дин.","ܠ.ܣ.‏":"ܠ.ܣ.‏","Rs.":"Rs.",смн:"смн","฿":"฿","m.":"m.","₺":"₺",ⴷⵔ:"ⴷⵔ",soʻm:"soʻm",сўм:"сўм","₫":"₫",HK$:"HK$",MOP:"MOP",NT$:"NT$"};function P(e,t,r,n){return t&&0!==t.length&&"i"!==t?function(e,t,r,n){return B(e,k(t),r,n)}(e,t,r.NumberFormat,n):r&&r.name.length>0?e.toLocaleString():e.toString()}function w(e,t){for(var r=_(g(e)),n={_integer:1,_decimal:0};r>=10&&Number.isFinite(r);)r/=10,n._integer++;var a,i=e.toString(),o=i.search(/e/gi),s=i.indexOf(t);if(-1!==o){var u=F(i,0,o),l=F(i,o+1),c=0;-1!==s&&(c=F(u,s+1).length),(a=c-f(l))<0&&(a=0),n._decimal=a}else a=0,-1!==s&&(a=F(i,s+1).length),n._decimal=a;return n}function O(e){for(var t={_symbol:e.charAt(0),_sign:0,_exp:0},r="",n=1;n<e.length;n++)if("+"===(r=e.charAt(n)))t._sign=1;else{if("-"!==r){if("0"===r){t._exp=e.length-n;break}throw Error(x().Exp_InvalidExponentFormat)}t._sign=-1}return t}function k(e){for(var t,r={_intPart:m,_decPart:m,_group:d,_scale:0,_percent:0,_permille:0,_exponent:m},n="",a=d,i=d,o=d,s=d,u=d,l=d,c=m,y=[],h=0;h<e.length;h++){if(t=e.charAt(h),a)n+=t,'"'===t&&(y.push(n),n="",a=d);else if(i){if("E"===c||"e"===c){if(!(["+","-","0"].indexOf(t)>=0)){i=d,h--;continue}n+=t}else if("+"===c||"-"===c){if("0"!==t){i=d,h--;continue}n+=t}else if("0"===c){if("0"!==t){i=d,u||(u=p,r._exponent=O(n)),h--;continue}n+=t}}else if("*"!==c&&"_"!==c&&"\\"!==c||""===n)if("*"===t||"_"===t||"\\"===t)l=d,""!==n&&(y.push(n),n=""),n+=t;else if("'"===t)l=d,""!==n&&(y.push(n),n=""),y.push(t);else if('"'===t)l=d,a=p,""!==n&&(y.push(n),n=""),n+=t;else if(E.indexOf(t)>=0)l=p,E.indexOf(c)<0&&""!==n&&(y.push(n),n=""),n+=t;else if("."!==t||o)if("%"===t)l=d,r._percent++,""!==n&&(y.push(n),n=""),y.push(t);else if("‰"===t)l=d,r._permille++,""!==n&&(y.push(n),n=""),y.push(t);else if(","===t)if(l){var f=void 0;""!==n&&(y.push(n),n="");for(var _=p,g="",M=h+1;M<e.length;M++)if(f=e.charAt(M),'"'!==g)if("\\"!==g&&"_"!==g){if(E.indexOf(f)>=0){_=d;break}if("."===f||";"===f)break;g=f}else g="";else'"'===f&&(g="");_?r._scale++:o||(f=e.charAt(h+1))&&E.indexOf(f)>=0&&(s=p)}else n+=t;else"E"===t||"e"===t?(l=d,i=p,""!==n&&(y.push(n),n=""),n+=t):(l=d,E.indexOf(c)>=0&&""!==n&&(y.push(n),n=""),n+=t);else""!==n&&(y.push(n),n=""),r._intPart=y,y=[],o=p,l=d;else n+=t,y.push(n),n="";c=t}return""!==n&&(i&&!u&&(r._exponent=O(n)),y.push(n)),s&&(r._group=p),o?r._decPart=y:r._intPart=y,r}function I(e,t,r,n,a,i){var o=function(e,t){if(t=+t,isNaN(e=+e)||t%1!=0)return NaN;var r=e<0;if(e=r?-e:e,typeof t===y||0===t)return e=Math.round(e),r?-e:e;var n=e.toString().split("e");return e=Math.round(+(n[0]+"e"+(n[1]?+n[1]-t:-t))),+((n=(e=r?-e:e).toString().split("e"))[0]+"e"+(n[1]?+n[1]+t:t))}(e,-t);isFinite(o)||(o=e);var s,u,m=(e=o).toString(),f=m.split(/e/i);return m=f[0],u=f.length>1?h(f[1],10):0,f=m.split("."),m=f[0],s=f.length>1?f[1]:"",u>0?(m+=(s=c(s,u)).slice(0,u),s=F(s,u)):u<0&&(u=-u,s=(m=e<0?i+l(m.replace(i,""),u+1):l(m,u+1)).slice(-u,m.length)+s,m=m.slice(0,-u)),m+(t>0?a+(s=s.length>t?s.slice(0,t):c(s,t)):"")}function A(e){var t=m;if(e){t="";for(var r=0;r<e.length;r++){var n=e[r];/^(0|#|\?)+/g.test(n)&&(t+=n)}}return t}var R=Math.pow(2,48);function $(e,t){return e===t||0!==e&&0!==t&&(g(e-t)<g(e)/R||(e=Y(e,15),t=Y(t,15),g(e-t)<g(e)/R))}function U(e,t,r,n,a,i,o,s){var u=s.numberGroupSizes,c=s.numberGroupSeparator,m=s.negativeSign,y=s.percentSymbol,h=s.perMilleSymbol,f=n._exponent,_=F(t,0,1);_===m&&(t=F(t,1));var g=1===t.length&&"0"===t?0:t.length;t=0===g?"":t;for(var M=0,v="",b=e.length-1;b>=0;b--){var S="",D=e[b];if(/^(0|#|\?)+/g.test(D)){if(v!==r){for(var C=D.length,T=g-M-1;T>=0&&C>0;T--){S=t.charAt(T)+S,C--,M++}for(var E=C-1;E>=0;E--){var P=D[E];M++,"0"===P?S=P+S:"?"===P&&(""!==S&&(i.push({type:"number",value:S}),S=""),i.push({type:"numberPlaceholder",value:P}))}(v=D+v)===r&&M<g&&(S=t.substr(0,g-M)+S),""!==S&&i.push({type:"number",value:S})}}else if(n._exponent&&!o.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(D)){o.replaceExponent=p;var w="";w+=f._symbol,w+=N[f._sign],w+=l(a.toString(),f._exp),i.push({type:"exponent",value:w})}else"_"===D[0]?i.push({type:"placeholder",value:D[1]}):"*"===D[0]?o.hasInfilling||(i.push({type:"fillingChar",value:D[1]}),o.hasInfilling=!0,o.infillIndex=i.length-1):"\\"===D[0]?2===D.length&&i.push({type:"text",value:D[1]}):'"'===D[0]&&'"'===D[D.length-1]?D.length>2&&i.push({type:"text",value:D.substr(1,D.length-2)}):D===y?i.push({type:"percent",value:D}):D===h?i.push({type:"permille",value:D}):H[D]?i.push({type:"currency",value:D}):i.push({type:"text",value:D})}_===m&&r&&i.push({type:"text",value:_}),n._group===p&&function(e,t,r,n){for(var a=t[0],i=1,o=0,s=d,u=e.length,l=0;l<u;l++){var c=e[l].type;if("number"===c){for(var m="",y=e[l].value,h=y.length-1;h>=0;){if(!(1<=a&&a<=9||0===a&&i===t.length))throw Error(x().Exp_InvalidNumberGroupSize);/\d/gi.test(y[h])?(s&&(m&&e.push({type:"number",value:m}),e.push({type:"groupSeparator",value:r}),m="",s=d),o++):o=0,m=y[h]+m,o===a&&a>0&&(s=p,o=0,i<t.length&&(a=t[i],i++)),h--}m&&e.push({type:c,value:m})}else"fillingChar"===c&&(n.infillIndex=e.length-u),e.push({type:c,value:e[l].value})}e.splice(0,u)}(i,u,c,o),i.reverse(),o.infillIndex=i.length-1-o.infillIndex}function B(e,t,r,n){var a=[];e=function(e,t,r,n){var a=e;return t>0&&(a=Y(a*M(100,t),15)),r>0&&(a=Y(a*M(1e3,r),15)),n>0&&(a=Y(a/M(1e3,n),15)),a}(e,t._percent,t._permille,t._scale);var i=t._intPart,o=t._decPart;if(!i&&!o)return a;var s,u=A(i),c=A(o);if(c||(c=""),t._exponent){var m=function(e,t,r){var n={value:e,exponentValue:0},a=w(e,".")._integer,i=g(e),o=r?r.length:1;if(i>=1)a>o?(a-=o,n.value=e/M(10,a),n.exponentValue=a):n.exponentValue=0,-1===t._sign&&(t._sign=0);else if(i<1&&i>0){t._sign=-1;for(var s=M(10,o);10*i<s&&!$(10*i,s);)i*=10,n.exponentValue++;var u=M(10,n.exponentValue);n.value*=u>b?0:u}return n}(e,t._exponent,u);e=m.value,s=m.exponentValue}var y=w(e,".");g(e)>1&&y._integer+y._decimal>15&&(e=Y(e,15));r.numberGroupSizes,r.numberGroupSeparator;var h=r.numberDecimalSeparator,f=r.negativeSign,_=I(e,v(y._decimal,c.length),0,0,h,f);if(n||(_=function(e,t){var r=e;return-1!==e.indexOf(t)&&(r=e.replace(/0+$/,"")),r}(_,h)),""===_)return a.push({type:"text",value:(i?i.join(""):"")+(o?o.join(""):"")}),a;var F={hasInfilling:d,infillIndex:-1,replaceExponent:d},S=_.split(h)[0];return"10"!==S||isNaN(s)||(S="1",s+=t&&t._exponent&&-1===t._exponent._sign?-1:1),i&&U(i,S,u,t,s,a,F,r),e===1/0||e===-1/0||("0"!==S&&""===u&&o&&a.push({type:"number",value:S}),o&&function(e,t,r,n,a,i,o,s,u){var c=u.numberDecimalSeparator,m=u.percentSymbol,y=u.perMilleSymbol,h=t.indexOf(c),f=a._exponent;(h>0||n!==C||r!==T)&&o.push({type:"decimalSeparator",value:c});for(var d=-1!==h?t.substring(h+1):"",_=0,g="",M=0;M<e.length;M++){var v=e[M];if(/^(0|#|\?)+/g.test(v)){var b="";if(g!==r){for(var F=v.length,S=0,D=_;F>0&&d.length-_>0;)b+=d.charAt(D),F--,_++,S++,D++;for(var x=S;F>0;){var E=v[x];x++,_++,F--,"0"===E?b+=E:"?"===E&&(""!==b&&(o.push({type:"number",value:b}),b=""),o.push({type:"numberPlaceholder",value:E}))}""!==b&&o.push({type:"number",value:b}),g+=v}}else if(f&&!s.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(v)){s.replaceExponent=p;var P="";P+=f._symbol,P+=N[f._sign],P+=l(i.toString(),f._exp),o.push({type:"exponent",value:P})}else"_"===v[0]?o.push({type:"placeholder",value:v[1]}):"*"===v[0]?(o.push({type:"fillingChar",value:v[1]}),s.hasInfilling&&o.splice(s.infillIndex,1),s.hasInfilling=!0,s.infillIndex=o.length-1):"\\"===v[0]?2===v.length&&o.push({type:"text",value:v[1]}):'"'===v[0]&&'"'===v[v.length-1]?v.length>2&&o.push({type:"text",value:v.substr(1,v.length-2)}):v===m?o.push({type:"percent",value:v}):v===y?o.push({type:"permille",value:v}):H[v]?o.push({type:"currency",value:v}):o.push({type:"text",value:v})}}(o,_,c,u,t,s,a,F,r)),a}function j(e,t){if((e=u(e)?"":o._StringHelper._trimEnd(e,"")).match(/^[+-]?infinity$/i))return f(e);if(e.match(/^0x[a-f0-9]+$/i))return h(e,10);var r,n,a=t.NumberFormat,i=a.numberNegativePattern,s=L(e,a,i),l=s[0],c=s[1];""===l&&1!==i&&(l=(s=L(e,a,1))[0],c=s[1]),""===l&&(l="+"),c[0]===a.currencySymbol&&(c=F(c,1));var y=c.indexOf("e");y<0&&(y=c.indexOf("E")),y<0?(n=c,r=m):(n=F(c,0,y),r=F(c,y+1));var d,p,_=n.indexOf(".");_<0?(d=n,p=m):(d=F(n,0,_),p=F(n,_+1));var g=l+(d=d.split(",").join(""));if(p!==m&&(g+="."+p),g[g.length-1]===a.percentSymbol){g=F(g,0,g.length-1);var M=(g=o._StringHelper._trimEnd(g,"")).indexOf(".");-1===M&&(M=g.length);var v="";v+=F(g,0,M-2),v+=".",v+=F(g,M-2,2),g=v+=F(g,M+1)}if(r!==m){var b=L(r,a,1);""===b[0]&&(b[0]="+"),g+="e"+b[0]+b[1]}return g.match(/^[+-]?\d*\.?\d*(e[+-]?\d+)?$/)?f(g):NaN}function L(e,t,r){var n=t.negativeSign,a=t.positiveSign;if(4!==r&&2!==r||(n=" "+n,a=" "+a),4===r||3===r){if(o._StringHelper._endsWith(e,n))return["-",F(e,0,e.length-n.length)];if(o._StringHelper._endsWith(e,a))return["+",F(e,0,e.length-a.length)]}else if(2===r||1===r){if(o._StringHelper._startsWith(e,n))return["-",F(e,n.length)];if(o._StringHelper._startsWith(e,a))return["+",F(e,a.length)]}else{if(0!==r)throw Error("");if(o._StringHelper._startsWith(e,"(")&&o._StringHelper._endsWith(e,")"))return["-",F(e,1,e.length-2)]}return["",e]}function G(e){var t=s.CultureManager._getCultureInfo().NumberFormat;return"string"==typeof e&&(t=s.CultureManager._getCultureInfo(e).NumberFormat),t}function Y(e,t){return"number"==typeof e&&e.toString().length>=t&&(e=+e.toPrecision(t)),e}t._NumberHelper={_parseLocale:function(e){return j(e,s.CultureManager._getCultureInfo())},_parseInvariant:function(e){return j(e,s.CultureManager._getCultureInfo("invariant"))},_customCultureFormat:function(e,t,r,n){return r||(r=s.CultureManager._getCultureInfo()),P(e,t,r,n)},_replaceNormalToCultureSymbol:function(e,t){if("string"!=typeof e)return e;var r=G(t),n=r.numberDecimalSeparator,a=r.numberGroupSeparator;return"."!==n&&(e=e.replace(S("[.]"),"#dot#")),","!==a&&(e=e.replace(S("[,]"),"#group#")),"."!==n&&(e=e.replace(S("#dot#"),n)),","!==a&&(e=e.replace(S("#group#"),a)),e},_replaceCultureSymbolToNormal:function(e,t){if("string"!=typeof e)return e;var r=G(t),n=r.numberDecimalSeparator,a=r.numberGroupSeparator;return"."!==n&&(e=e.replace(S("["+n+"]"),"#dot#")),","!==a&&(e=e.replace(S("["+a+"]"),"#group#")),"."!==n&&(e=e.replace(S("#dot#"),".")),","!==a&&(e=e.replace(S("#group#"),",")),e},_isValidCultureNumberString:function(e,t){if("string"==typeof e){var r=G(t),n=r.numberDecimalSeparator,a=r.numberGroupSeparator;if("."!==n&&"."!==a&&e.indexOf(".")>=0||","!==n&&","!==a&&e.indexOf(",")>=0)return!1}return!0},_parseFloat:function(e,t){return f(this._replaceCultureSymbolToNormal(e,t))},_toHexString:function(e,t,r){if(0!==g(_(e)-e))throw Error(x().Exp_BadFormatSpecifier);var n=e>=0?e.toString(16):(4294967295+e+1).toString(16);return n=t?n.toLowerCase():n.toUpperCase(),!u(r)&&n.length<r?l(n,r):n},_parseCustomNumberFormatter:k,_formatNumber:B,_approxEqual:$,_safeAdd:function(e,t){return $(e,-t)?0:e+t},_formatObjectToString:function(e){var t="";if(Array.isArray(e)&&e.length>0)for(var r=0;r<e.length;r++){var n=e[r].type,a=e[r].value;if("placeholder"===n)t+=" ";else{if("fillingChar"===n)continue;t+="numberPlaceholder"===n?" ":a}}return t},_generalNumberInt:C,_generalNumberDec:T,_fixNumber:Y}},674:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.rbush=void 0;var r=Math.max,n=Math.min,a=1/0;function i(e,t){this._maxEntries=r(4,e||9),this._minEntries=r(2,Math.ceil(.4*this._maxEntries)),t&&this._initFormat(t),this.clear()}function o(e,t,r){if(!r)return t.indexOf(e);for(var n=0;n<t.length;n++)if(r(e,t[n]))return n;return-1}function s(e,t){u(e,0,e.children.length,t,e)}function u(e,t,r,n,i){i||(i=p(null)),i.minX=a,i.minY=a,i.maxX=-1/0,i.maxY=-1/0;for(var o=t,s=void 0;o<r;o++)s=e.children[o],l(i,e.leaf?n(s):s);return i}function l(e,t){return e.minX=n(e.minX,t.minX),e.minY=n(e.minY,t.minY),e.maxX=r(e.maxX,t.maxX),e.maxY=r(e.maxY,t.maxY),e}function c(e,t){return e.minX-t.minX}function m(e,t){return e.minY-t.minY}function y(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function h(e){return e.maxX-e.minX+(e.maxY-e.minY)}function f(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&(t.maxX>=0&&t.maxX<=e.maxX||e.minX<0)&&(t.maxY>=0&&t.maxY<=e.maxY||e.minY<0)}function d(e,t){return(-1===e.minY||-1===t.minY||e.minY<=t.maxY&&t.minY<=e.maxY)&&(-1===e.minX||-1===t.minX||e.minX<=t.maxX&&t.minX<=e.maxX)}function p(e){return{children:e,height:1,leaf:!0,minX:a,minY:a,maxX:-1/0,maxY:-1/0}}t.rbush=i,i.prototype={all:function(){return this._all(this.data,[])},search:function(e){var t=this.data,r=[],n=this.toBBox;if(!d(e,t))return r;for(var a,i,o,s,u=[];t;){for(a=0,i=t.children.length;a<i;a++)o=t.children[a],d(e,s=t.leaf?n(o):o)&&(t.leaf?r.push(o):f(e,s)?this._all(o,r):u.push(o));t=u.pop()}return r},collides:function(e){var t=this.data,r=this.toBBox;if(!d(e,t))return!1;for(var n,a,i,o,s=[];t;){for(n=0,a=t.children.length;n<a;n++)if(i=t.children[n],d(e,o=t.leaf?r(i):i)){if(t.leaf||f(e,o))return!0;s.push(i)}t=s.pop()}return!1},insert:function(e){return e&&this._insert(e,this.data.height-1),this},clear:function(){return this.data=p([]),this},remove:function(e,t){if(!e)return this;for(var r,n,a,i,s=this.data,u=this.toBBox(e),l=[],c=[];s||l.length;){if(s||(s=l.pop(),n=l[l.length-1],r=c.pop(),i=!0),s.leaf&&-1!==(a=o(e,s.children,t)))return s.children.splice(a,1),l.push(s),this._condense(l),this;i||s.leaf||!f(s,u)?n?(r++,s=n.children[r],i=!1):s=null:(l.push(s),c.push(r),r=0,n=s,s=s.children[0])}return this},toBBox:function(e){return e},compareMinX:c,compareMinY:m,toJSON:function(){return this.data},fromJSON:function(e){return this.data=e,this},_all:function(e,t){for(var r=[];e;)e.leaf?t.push.apply(t,e.children):r.push.apply(r,e.children),e=r.pop();return t},_chooseSubtree:function(e,t,i,o){for(var s,u,l,c,m,h,f,d;o.push(t),!t.leaf&&o.length-1!==i;){for(f=d=a,s=0,u=t.children.length;s<u;s++)m=y(l=t.children[s]),p=e,(h=(r((_=l).maxX,p.maxX)-n(_.minX,p.minX))*(r(_.maxY,p.maxY)-n(_.minY,p.minY))-m)<d?(d=h,f=m<f?m:f,c=l):h===d&&m<f&&(f=m,c=l);t=c||t.children[0]}var p,_;return t},_insert:function(e,t,r){var n=this.toBBox,a=r?e:n(e),i=[],o=this._chooseSubtree(a,this.data,t,i);for(o.children.push(e),l(o,a);t>=0&&i[t].children.length>this._maxEntries;)this._split(i,t),t--;this._adjustParentBBoxes(a,i,t)},_split:function(e,t){var r=e[t],n=r.children.length,a=this._minEntries;this._chooseSplitAxis(r,a,n);var i=this._chooseSplitIndex(r,a,n),o=p(r.children.splice(i,r.children.length-i));o.height=r.height,o.leaf=r.leaf,s(r,this.toBBox),s(o,this.toBBox),t?e[t-1].children.push(o):this._splitRoot(r,o)},_splitRoot:function(e,t){this.data=p([e,t]),this.data.height=e.height+1,this.data.leaf=!1,s(this.data,this.toBBox)},_chooseSplitIndex:function(e,t,i){var o,s,l,c,m,h,f,d,p,_,g,M,v,b;for(h=f=a,o=t;o<=i-t;o++)p=s=u(e,0,o,this.toBBox),_=l=u(e,o,i,this.toBBox),g=void 0,M=void 0,v=void 0,b=void 0,g=r(p.minX,_.minX),M=r(p.minY,_.minY),v=n(p.maxX,_.maxX),b=n(p.maxY,_.maxY),c=r(0,v-g)*r(0,b-M),m=y(s)+y(l),c<h?(h=c,d=o,f=m<f?m:f):c===h&&m<f&&(f=m,d=o);return d},_chooseSplitAxis:function(e,t,r){var n=e.leaf?this.compareMinX:c,a=e.leaf?this.compareMinY:m;this._allDistMargin(e,t,r,n)<this._allDistMargin(e,t,r,a)&&e.children.sort(n)},_allDistMargin:function(e,t,r,n){e.children.sort(n);var a,i,o=this.toBBox,s=u(e,0,t,o),c=u(e,r-t,r,o),m=h(s)+h(c);for(a=t;a<r-t;a++)i=e.children[a],l(s,e.leaf?o(i):i),m+=h(s);for(a=r-t-1;a>=t;a--)i=e.children[a],l(c,e.leaf?o(i):i),m+=h(c);return m},_adjustParentBBoxes:function(e,t,r){for(var n=r;n>=0;n--)l(t[n],e)},_condense:function(e){for(var t=e.length-1,r=void 0;t>=0;t--)0===e[t].children.length?t>0?(r=e[t-1].children).splice(r.indexOf(e[t]),1):this.clear():s(e[t],this.toBBox)},_initFormat:function(e){var t=["return a"," - b",";"];this.compareMinX=Function("a","b",t.join(e[0])),this.compareMinY=Function("a","b",t.join(e[1])),this.toBBox=Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}},576:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._RegexHelper=void 0;var n=r(480),a=function(){function e(){}return e._getRegWithModifiers=function(t,r){var n;if(r&&e._regDictWithModifiers[r]&&e._regDictWithModifiers[r][t])n=e._regDictWithModifiers[r][t];else try{null==r?(n=RegExp(t),r="empty"):n=RegExp(t,r),e._regDictWithModifiers[r]||(e._regDictWithModifiers[r]={}),e._regDictWithModifiers[r][t]=n}catch(e){return null}return n.lastIndex=0,n},e._getReg=function(t){var r=e._regDict[t];return r||(r=e._regDict[t]=RegExp(t,"g")),r.lastIndex=0,r},e._getRegIgnoreCase=function(t){var r=e._regDictIgnoreCase[t];return r||(r=e._regDictIgnoreCase[t]=RegExp(t,"gi")),r.lastIndex=0,r},e._getWildcardCriteria=function(t,r,n){if(e._wildcardParseRecord[t])return e._wildcardParseResultBuffer[t];var a=r?"[?*]+":"[~?*]+";if(e._getReg(a).test(t)){for(var i=[],o=t.split(""),s=void 0,u={".":!0,"+":!0,$:!0,"^":!0,"[":!0,"]":!0,"(":!0,")":!0,"{":!0,"}":!0,"|":!0,"/":!0,"\\":!0},l=0;l<o.length;l++)if("~"===(s=o[l])){if(!(l<o.length-1))break;"*"!==(s=o[++l])&&"?"!==s||i.push("\\"),i.push(s)}else"?"===s?i.push("."):"*"===s?(i.push("[\\s\\S]"),n?i.push("+"):i.push("*")):u[s]?(i.push("\\"),i.push(s)):i.push(s);return i.join("")}return null},e._getWildcardCriteriaFullMatch=function(t,r,n){var a=e._getWildcardCriteria(t,r,n);return a&&(a="^"+a+"$"),a},e._getReplaceSymbol=function(e,t){for(var r="#"+e+"0#",a=1;t.indexOf(r)>0;)r=n._StringHelper._join(r,"#"+e+(a-1)+"#","#"+e+a+"#"),a++;return r},e._replaceRegString2NormalString=function(e){return e.replace(/([\~\!\@\#\$\%\^\&\*\(\)\-\_\+\=\[\]\{\}\|\\\;\:\'\"\,\.\/\<\>\?])/,"\\$1")},e._regDict={},e._regDictIgnoreCase={},e._regDictWithModifiers={},e._wildcardParseRecord={},e._wildcardParseResultBuffer={},e}();t._RegexHelper=a},480:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t._StringHelper=void 0;var n=r(576);function a(e,t,r){return e.substr(t,r)}function i(e){return null==e}function o(e,t,r,n){if(i(t))throw Error();if(""===t)return!0;if(t.length>e.length)return!1;var a=e,o=t;return r&&(a=a.toLowerCase(),o=o.toLowerCase()),n(a,o)}t._StringHelper={_contains:function(e,t,r){return r&&(e=e.toLowerCase(),t=t.toLowerCase()),""===t||e.indexOf(t)>=0},_indexOf:function(e,t,r){if(r){var n=e.toLowerCase(),a=t.toLowerCase();return n.indexOf(a)}return e.indexOf(t)},_trimStart:function(e,t){if(!t)return e;for(var r=e;a(r,0,t.length)===t;)r=a(r,t.length);return r},_trimEnd:function(e,t){if(!t)return e;for(var r=e;a(r,r.length-t.length,t.length)===t;)r=a(r,0,r.length-t.length);return r},_insert:function(e,t,r){if(t<0||t>e.length||i(r))throw Error();return a(e,0,t)+r+a(e,t,e.length-t)},_remove:function(e,t,r){if(i(r)&&(r=e.length-t),t<0||r<0||t+r>e.length)throw Error();return a(e,0,t)+a(e,t+r,e.length-t-r)},_startsWith:function(e,t,r){return void 0===r&&(r=!1),o(e,t,r,(function(e,t){return e.slice(0,t.length)===t}))},_endsWith:function(e,t,r){return void 0===r&&(r=!1),o(e,t,r,(function(e,t){return e.slice(-t.length)===t}))},_replace:function(e,t,r,n){if(!t)throw Error();return r=(""+r).replace(/\$/g,"$$$$"),e.replace(RegExp(t,"g"+(n?"i":"")),r)},_replaceAllNoReg:function(e,r,a,i){return r=n._RegexHelper._replaceRegString2NormalString(r),t._StringHelper._replace(e,r,a,i)},_leftBefore:function(e,t){var r=e.indexOf(t);return r<0||r>=e.length?e:a(e,0,r)},_count:function(e,t){for(var r=0,n=e.indexOf(t);n>=0;)r+=1,n=e.indexOf(t,n+1);return r},_join:function(e,t,r){return e.split(t).join(r)},_format:function(e,t){for(var r=e,n=0;n<t.length;n++){var a=RegExp("\\{"+n+"\\}","g");r=r.replace(a,t[n])}return r},_padZero:function(e,t,r){for(var n=e.toString(),a=n.length;a<t;a++)n=r?"0"+n:n+"0";return n},_padZeroLeft:function(e,r){return t._StringHelper._padZero(e,r,!0)},_padZeroRight:function(e,r){return t._StringHelper._padZero(e,r,!1)},_compareStringIgnoreCase:function(e,t){return e===t||!e&&!t||e&&t&&e.toLowerCase()===t.toLowerCase()},_toUpperCase:function(e){return e.toUpperCase()},_escapeHtml:function(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},r=n._RegexHelper._getReg("(?:&|<|>|\"|'|`)");return r.test(e)?e.replace(r,(function(e){return t[e]})):e},_unescapeHtml:function(e){var t={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"},r=n._RegexHelper._getReg("(?:&amp;|&lt;|&gt;|&quot;|&#x27;|&#x60;)");return r.test(e)?e.replace(r,(function(e){return t[e]})):e},_escapeJavascript:function(e){for(var t=e,r=/javascript:/gi;t.match(r);)t=t.replace(r,"");return t}}},534:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t._Types=void 0;var r="undefined"!=typeof window?window.File:null,n="undefined"!=typeof window?window.Blob:null;t._Types={_class2type:null,_each:function(e,r){if(t._Types._isArraylike(e))for(var n=0,a=e.length;n<a&&!1!==r.call(e[n],n,e[n]);n++);else for(var i in e)if(e.hasOwnProperty(i)&&!1===r.call(e[i],i,e[i]))break;return e},_isEmptyObject:function(e){return!e||"object"==typeof e&&0===Object.keys(e).length},_isFunction:function(e){return"function"===t._Types._getType(e)},_isArray:function(e){return Array.isArray?Array.isArray(e):"array"===t._Types._getType(e)},_isNumeric:function(e){return t._Types._isString(e)&&(e=parseFloat(e)),!isNaN(e)&&isFinite(e)},_isString:function(e){return"string"==typeof e},_getType:function(e){if(null===e)return"null";var r=t._Types._class2type;if(!r){r=t._Types._class2type={};for(var n=["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"],a=0,i=n.length;a<i;a++)r["[object "+n[a]+"]"]=n[a].toLowerCase()}var o=r.toString,s=typeof e;return"object"===s||"function"===s?r[o.call(e)]||"object":s},_inArray:function(e,r,n){var a;if(r){var i=[].indexOf;if(i)return i.call(r,e,n);for(a=r.length,t._Types._isNullOrUndefined(n)&&(n=0),n=n<0?Math.max(0,a+n):n;n<a;n++)if(n in r&&r[n]===e)return n}return-1},_merge:function(e,t){var r=t.length,n=e.length,a=0;if("number"==typeof r)for(;a<r;a++)e[n]=t[a],n++;else for(;void 0!==t[a];)e[n]=t[a],n++,a++;return e.length=n,e},_map:function(e,r,n){var a,i=[];if(t._Types._isArraylike(e))for(var o=0,s=e.length;o<s;o++)null!==(a=r(e[o],o,n))&&(i[i.length]=a);else{var u=void 0;for(u in e)e.hasOwnProperty(u)&&null!==(a=r(e[u],u,n))&&(i[i.length]=a)}return i.concat([])},_extend:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n,a,i,o,s,u,l=e[0]||{},c=1,m=e.length,y=!1;for("boolean"==typeof l&&(y=l,l=e[1]||{},c=2),"object"==typeof l||t._Types._isFunction(l)||(l={}),m===c&&(l=this,--c);c<m;c++)if(s=e[c],!t._Types._isNullOrUndefined(s))for(o in s)n=l[o],l!==(i=s[o])&&(a=t._Types._isArray(i),y&&i&&(t._Types._isPlainObject(i)||a)?(u=a?n&&t._Types._isArray(n)?n:[]:n&&t._Types._isPlainObject(n)?n:{},l[o]=t._Types._extend(y,u,i)):void 0!==i&&(l[o]=i));return l},_inherit:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n},_isWindow:function(e){return null!==e&&e===e.window},_isPlainObject:function(e){if(!e||"object"!==t._Types._getType(e)||e.nodeType||t._Types._isWindow(e))return!1;var r,n={}.hasOwnProperty;try{if(e.constructor&&!n.call(e,"constructor")&&!n.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(r in e);return void 0===r||n.call(e,r)},_isArraylike:function(e){if(t._Types._isNullOrUndefined(e))return!1;var r=e.length,n=t._Types._getType(e);return!t._Types._isWindow(e)&&(!(1!==e.nodeType||!r)||"array"===n||"function"!==n&&(0===r||"number"==typeof r&&r>0&&r-1 in e))},_makeArray:function(e,r){var n=r||[];return null!==e&&(t._Types._isArraylike(Object(e))?t._Types._merge(n,"string"==typeof e?[e]:e):[].push.call(n,e)),n},_isType:null,_isNullOrUndefined:function(e){return null==e},_isNumber:null,_toDouble:null,_cloneObject:function(e){if(!e)return e;if("number"==typeof e||"string"==typeof e||"boolean"==typeof e||t._Types._isNullOrUndefined(e))return e;if(e.clone)return e.clone();if(e instanceof Date)return new Date(e.valueOf());var a,i,o;if(r&&e instanceof r)return new r([e],e.name,{type:e.type,lastModified:e.lastModified});if(n&&e instanceof n)return new n([e],{type:e.type});for(i in a=e instanceof Object?new e.constructor:new e.constructor(e.valueOf()),e)e.hasOwnProperty(i)&&(o=e[i],e.hasOwnProperty(i)&&a[i]!==o&&(a[i]="object"==typeof o?t._Types._cloneObject(o):o));return a}}},612:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Exp_Separator=t.Exp_InvalidCast=t.Exp_InvalidNumberFormat=t.Exp_BadFormatSpecifier=t.Exp_InvalidNumberGroupSize=t.Exp_InvalidSemicolons=t.Exp_InvalidExponentFormat=t.Exp_InvalidDateFormat=void 0,t.Exp_InvalidDateFormat="Invalid date format pattern",t.Exp_InvalidExponentFormat="invalid exponent format",t.Exp_InvalidSemicolons="invalid format : too many semicolons",t.Exp_InvalidNumberGroupSize="NumberGroupSize must be between 1 and 9, except for the last element, which can be zero.",t.Exp_BadFormatSpecifier="Bad Format Specifier",t.Exp_InvalidNumberFormat="Invalid number format pattern",t.Exp_InvalidCast="InvalidCastException",t.Exp_Separator="numberDecimalSeparator, listSeparator and arrayListSeparator should be different in culture info."},479:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.UUIDGenerator=void 0;var r=function(){function e(){}return e.wrap=function(e){return"{".concat(e.toUpperCase(),"}")},e.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},e.secureUUID=function(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():this.uuidv4()},e.secureUpperCaseUUID=function(){return this.wrap(this.secureUUID())},e.isValidUpperCaseUUID=function(e){return/^\{[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\}$/i.test(e)},e}();t.UUIDGenerator=r},814:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.UndoManager=t.CommandManager=t.Key=void 0;var n=r(536);Object.defineProperty(t,"Key",{enumerable:!0,get:function(){return n.Key}}),Object.defineProperty(t,"CommandManager",{enumerable:!0,get:function(){return n.CommandManager}});var a=r(748);Object.defineProperty(t,"UndoManager",{enumerable:!0,get:function(){return a.UndoManager}})},536:function(e,t){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.CommandManager=t.Key=void 0,function(e){e[e.left=37]="left",e[e.right=39]="right",e[e.up=38]="up",e[e.down=40]="down",e[e.tab=9]="tab",e[e.enter=13]="enter",e[e.shift=16]="shift",e[e.ctrl=17]="ctrl",e[e.space=32]="space",e[e.altkey=18]="altkey",e[e.home=36]="home",e[e.end=35]="end",e[e.pup=33]="pup",e[e.pdn=34]="pdn",e[e.backspace=8]="backspace",e[e.del=46]="del",e[e.esc=27]="esc",e[e.a=65]="a",e[e.c=67]="c",e[e.v=86]="v",e[e.x=88]="x",e[e.z=90]="z",e[e.y=89]="y"}(r=t.Key||(t.Key={}));var n=function(){function e(e,t,r){this._owner=e,this._cmdDef=t,this._name=r;var n,a=this;Object.defineProperty(a,"shortcutKey",{get:function(){return a._shortcutKey},set:function(e){var t=a._shortcutKey;if(t!==e){var r=(n=a._owner._shortcutKeys)[t];if(r){var i=r.indexOf(a);i>=0&&r.splice(i,1)}a._shortcutKey=e,e&&((r=n[e])||(n[e]=r=[]),r.splice(0,0,a))}}})}return e.prototype.canUndo=function(){return this._cmdDef.canUndo},e.prototype.execute=function(e,t,r){var n,a,i=!0,o=!0;if(this._cmdDef&&t){var s={command:t,result:a,_actionType:r,actionType:r,metaData:null===(n=this._cmdDef)||void 0===n?void 0:n.metaData,r:null,isBefore:!0};this._owner._triggerInternalListener(s),s.r&&(o=!1,a=!1)}if(o){try{i=!1!==(a=(this._cmdDef.execute||this._cmdDef)(e,t,1===r))}catch(e){i=!1}t&&i&&this._owner._commandExecuted({command:this._getCmdOptions(t),result:a,_actionType:r,actionType:r})}if(this._owner&&t){var u={command:t,result:a,_actionType:r,actionType:r,isBefore:!1};this._owner._triggerInternalListener(u)}return a},e.prototype._getCmdOptions=function(e){return e&&!e.cmd&&(e.cmd=this._name),e},e}(),a=function(){function e(e){this._context=e,this._listeners={},this._internalListeners={},this._afterInternalListeners={},this._shortcutKeys={}}return e.prototype.register=function(e,t,r,a,i,o,s){var u=new n(this,t,e);this[e]=u,r&&(u.shortcutKey=this.getShortcutKey(r,a,i,o,s))},e.prototype.getCommand=function(e){return this[e]},e.prototype.execute=function(e){var t=this[e.cmd];if(t)return t.execute(this._context,e,0)},e.prototype.setShortcutKey=function(e,t,r,n,a,i){if(e){var o=this[e];o&&(o.shortcutKey=this.getShortcutKey(t,r,n,a,i))}else{var s=this.getShortcutKey(t,r,n,a,i),u=this.getCommands(s);if(u)for(var l=u.length-1;l>=0;l--)u[l].shortcutKey=void 0}},e.prototype.getShortcutKey=function(e,t,n,a,i){if(e){var o=65<=e&&e<=90?String.fromCharCode(e):r[e];return o||(o=e),o+(t?"+ctrl":"")+(n?"+shift":"")+(a?"+alt":"")+(i?"+window":"")}},e.prototype.getCommands=function(e){return this._shortcutKeys[e]},e.prototype.addListener=function(e,t){this._listeners[e]=t},e.prototype.removeListener=function(e){delete this._listeners[e]},e.prototype._commandExecuted=function(e){var t=this._listeners;for(var r in t)t.hasOwnProperty(r)&&t[r](e)},e.prototype._addInternalListener=function(e,t){this._internalListeners[e]=t},e.prototype._removeInternalListener=function(e){delete this._internalListeners[e]},e.prototype._triggerInternalListener=function(e){var t=this._internalListeners;for(var r in t)t.hasOwnProperty(r)&&t[r](e)},e.prototype._dispose=function(){this._context=null},e}();t.CommandManager=a},748:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.UndoManager=void 0;var r=function(){function e(e,t,r){this._context=e,t<0&&(t=2147483647),this._maxLength=t,this._allowUndo=r,this._undoStack=[],this._redoStack=[],this._hasNewChange=!1}return e.prototype._addCommand=function(e,t){if(e){if(1===t)this._redoStack.push(e);else{var r=this._maxLength,n=this._undoStack.length;if(r>0&&n>=r)for(var a=0;a<n-r+1;a++)this._undoStack.shift();this._undoStack.push(e),0===t&&(this._redoStack=[])}this._hasNewChange=!0}},e.prototype.canUndo=function(){return this._undoStack.length>0},e.prototype.undo=function(){var e=this._undoStack,t=!0;if(this._allowUndo&&this.canUndo()){var r=e[e.length-1];try{var n=this._context.commandManager()[r.cmd];n&&(r._fromUndoManager=!0,t=n.execute(this._context,r,1))}catch(e){t=!1}delete r._fromUndoManager,!1!==t&&(e.pop(),this._hasNewChange=!0,this._redoStack.push(r))}return t},e.prototype.canRedo=function(){return this._redoStack.length>0},e.prototype.redo=function(){var e=this._redoStack,t=!0;if(this._allowUndo&&this.canRedo()){var r=e[e.length-1];try{var n=this._context.commandManager()[r.cmd];n&&(r._fromUndoManager=!0,t=n.execute(this._context,r,2))}catch(e){t=!1}delete r._fromUndoManager,!1!==t&&(e.pop(),this._hasNewChange=!0,this._undoStack.push(r))}return t},e.prototype.getRedoStack=function(){return this._redoStack.slice()},e.prototype.getUndoStack=function(){return this._undoStack.slice()},e.prototype.maxSize=function(e){return arguments.length<1?this._maxLength:(e>=0&&(this._maxLength=e),this)},e.prototype.clear=function(){this._undoStack=[],this._redoStack=[]},e.prototype._filter=function(e){this._undoStack=this._undoStack.filter(e),this._redoStack=this._redoStack.filter(e)},e.prototype._dispose=function(){this._context=null},e.prototype.setNewChangeStatus=function(e){this._hasNewChange=e},e.prototype.getNewChangeStatus=function(){return this._hasNewChange},e}();t.UndoManager=r},569:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(2),t)},498:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Exp_InvalidCast=t.Exp_ValueIllegal=t.Exp_TokenIllegal=t.Exp_DuplicatedDescriptor=t.Exp_ValueIsNull=t.Exp_FormatIllegal=t.Exp_InvalidBackslash=t.Exp_TokenIsNull=void 0,t.Exp_TokenIsNull="token is null",t.Exp_InvalidBackslash="the '\\' cannot be evaluated",t.Exp_FormatIllegal="format is illegal.",t.Exp_ValueIsNull="value is null",t.Exp_DuplicatedDescriptor="The type of descriptor was added.",t.Exp_TokenIllegal="token is illegal.",t.Exp_ValueIllegal="value is illegal.",t.Exp_InvalidCast="InvalidCastException"},2:function(e,t,r){var n,a=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralFormatter=t._NumberFormatDateTime=t.FormatterBase=void 0;var i=r(480),o=r(97),s=r(534),u=r(844),l=r(286),c=r(818),m=r(498),y=r(810),h=r(61);s._Types._extend(c.SR.en,m);var f=new c.ResourceManager(c.SR),d=f.getResource.bind(f);s._Types._isType=function(e,t){if(s._Types._isNullOrUndefined(e))return"null"===t;if(!t)return!1;if(t instanceof Function&&e instanceof t)return!0;if(typeof e===t)return!0;if("function"===t&&/^\s*\bfunction\b/.test(""+e))return!0;if(Object.prototype.toString.call(e).slice(8,-1).toLowerCase()===t.toLowerCase())return!0;if("DateTime"===t)return e instanceof Date;if("TimeSpan"===t){if(e instanceof Date){var r=o._DateTimeHelper._toOADate(e);return r>=0&&r<1}return!1}return!1},s._Types._isNumber=function(e,t){return!!u._NumberHelper._isValidCultureNumberString(e,t)&&("string"!=typeof e||-1===e.search(/[\r\n\t]/g))&&(e=u._NumberHelper._replaceCultureSymbolToNormal(e,t),s._Types._isType(e,"number")||s._Types._isType(e,"DateTime")||s._Types._isType(e,"TimeSpan")||e&&!s._Types._isType(e,"boolean")&&!isNaN(e)&&!isNaN(parseFloat(e))&&!(e.length>=2&&"0"===e[0]&&"x"===e[1]))},s._Types._toDouble=function(e){return s._Types._isNullOrUndefined(e)||""===e?0:s._Types._isType(e,"number")?e:s._Types._isType(e,"string")&&!isNaN(e)?u._NumberHelper._parseLocale(e):s._Types._isType(e,"boolean")?e?1:0:s._Types._isType(e,"DateTime")?o._DateTimeHelper._toOADate(e):s._Types._isType(e,"TimeSpan")?Math.floor(o._DateTimeHelper._toOADate(e)):parseFloat(e)};var p=null,_=Math.abs,g={_yearTwoDigit:"yy",_yearSingleDigit:"y",_yearFourDigit:"yyyy",_monthSingleDigit:"m",_monthTwoDigit:"mm",_monthAbbreviation:"mmm",_monthUnabbreviated:"mmmm",_monthJD:"mmmmm",_daySingleDigit:"d",_dayTwoDigit:"dd",_dayWeekDayAbbreviation:"aaa",_dayWeekDayUnabbreviated:"aaaa",_hoursSingleDigit:"h",_hoursTwoDigit:"hh",_minuteSingleDigit:"m",_minuteTwoDigit:"mm",_secondSingleDigit:"s",_secondTwoDigit:"ss",_eraYear:"e",_aMPMTwoDigit:"AM/PM",_aMPMSingleDigit:"A/P",_placeholderMonthJD:"@mmmmm",_defaultAbsoluteTime:new Date(1899,11,30,0,0,0,0)},M=[g._yearSingleDigit,g._yearTwoDigit,g._yearFourDigit,g._monthSingleDigit,g._monthTwoDigit,g._monthAbbreviation,g._monthUnabbreviated,g._monthJD,g._daySingleDigit,g._dayTwoDigit,g._dayWeekDayAbbreviation,g._dayWeekDayUnabbreviated,g._hoursSingleDigit,g._hoursTwoDigit,g._minuteSingleDigit,g._minuteTwoDigit,g._secondSingleDigit,g._secondTwoDigit,"ggg","gg","g","ee","e"],v={_positive:0,_negative:1,_zero:2,_text:3},b=[{_positive:0,_negative:0,_zero:0,_text:0},{_positive:0,_negative:1,_zero:0,_text:0},{_positive:0,_negative:1,_zero:2,_text:0},{_positive:0,_negative:1,_zero:2,_text:3}],F=RegExp("([.+?*$^\\[\\](){}|/])","g"),S=[["M/d","MMM/d","MMMM/d","d/M","d/MMM","d/MMMM","M-d","MMM-d","MMMM-d","d-M","d-MMM","d-MMMM"],["M/y","MMM/y","M/yyyy","MMM/yyyy","M-y","MMM-y","M-yyyy","MMM-yyyy"],["M/d/y","MMM/d/y","MMMM/d/y","M/d/yyyy","MMM/d/yyyy","MMMM/d/yyyy","d/M/y","d/MMM/y","d/MMMM/y","d/M/yyyy","d/MMM/yyyy","d/MMMM/yyyy","yyyy/M/d","M-d-y","MMM-d-y","MMMM-d-y","M-d-yyyy","MMM-d-yyyy","MMMM-d-yyyy","d-M-y","d-MMM-y","d-MMMM-y","d-M-yyyy","d-MMM-yyyy","d-MMMM-yyyy","yyyy-M-d"],["H:m","h:m tt"],["H:m:s","H:m:s"],["H:m:s.FFF","h:m:s.FFF tt"],["h:m:s tt","h:mm:ss tt"],["M/d H:m","MMM/d H:m","MMMM/d H:m","d/M H:m","d/MMM H:m","d/MMMM H:m","M/y H:m","MMM/y H:m","M/yyyy H:m","MMM/yyyy H:m","M/d/y H:m","MMM/d/y H:m","MMMM/d/y H:m","M/d/yyyy H:m","MMM/d/yyyy H:m","MMMM/d/yyyy H:m","M-d H:m","MMM-d H:m","MMMM-d H:m","d-M H:m","d-MMM H:m","d-MMMM H:m","M-y H:m","MMM-y H:m","M-yyyy H:m","MMM-yyyy H:m","M-d-y H:m","MMM-d-y H:m","MMMM-d-y H:m","M-d-yyyy H:m","MMM-d-yyyy H:m","MMMM-d-yyyy H:m","M/d h:m tt","MMM/d h:m tt","MMMM/d h:m tt","d/M h:m tt","d/MMM h:m tt","d/MMMM h:m tt","M/y h:m tt","MMM/y h:m tt","M/yyyy h:m tt","MMM/yyyy h:m tt","M/d/y h:m tt","MMM/d/y h:m tt","MMMM/d/y h:m tt","M/d/yyyy h:m tt","MMM/d/yyyy h:m tt","MMMM/d/yyyy h:m tt","M-d h:m tt","MMM-d h:m tt","MMMM-d h:m tt","d-M h:m tt","d-MMM h:m tt","d-MMMM h:m tt","M-y h:m tt","MMM-y h:m tt","M-yyyy h:m tt","MMM-yyyy h:m tt","M-d-y h:m tt","MMM-d-y h:m tt","MMMM-d-y h:m tt","M-d-yyyy h:m tt","MMM-d-yyyy h:m tt","MMMM-d-yyyy h:m tt","d/M/y H:m","d/MMM/y H:m","d/MMMM/y H:m","d/M/yyyy H:m","d/mmm/yyyy H:m","d/MMMM/yyyy H:m","yyyy/M/d H:m","d-M-y H:m","d-MMM-y H:m","d-MMMM-y H:m","d-M-yyyy H:m","d-MMM-yyyy H:m","d-MMMM-yyyy H:m","yyyy-M-d H:m","d/M/y h:m tt","d/MMM/y h:m tt","d/MMMM/y h:m tt","d/M/yyyy h:m tt","d/mmm/yyyy h:m tt","d/MMMM/yyyy h:m tt","yyyy/M/d h:m tt","d-M-y h:m tt","d-MMM-y h:m tt","d-MMMM-y h:m tt","d-M-yyyy h:m tt","d-MMM-yyyy h:m tt","d-MMMM-yyyy h:m tt","yyyy-M-d h:m tt"],["M/d H:m:s","MMM/d H:m:s","MMMM/d H:m:s","d/M H:m:s","d/MMM H:m:s","d/MMMM H:m:s","M/y H:m:s","MMM/y H:m:s","M/yyyy H:m:s","MMM/yyyy H:m:s","M/d/y H:m:s","MMM/d/y H:m:s","MMMM/d/y H:m:s","M/d/yyyy H:m:s","MMM/d/yyyy H:m:s","MMMM/d/yyyy H:m:s","d/M/y H:m:s","d/MMM/y H:m:s","d/MMMM/y H:m:s","d/M/yyyy H:m:s","d/MMM/yyyy H:m:s","d/MMMM/yyyy H:m:s","yyyy/M/d H:m:s","M-d H:m:s","MMM-d H:m:s","MMMM-d H:m:s","d-M H:m:s","d-MMM H:m:s","d-MMMM H:m:s","M-y H:m:s","MMM-y H:m:s","M-yyyy H:m:s","MMM-yyyy H:m:s","M-d-y H:m:s","MMM-d-y H:m:s","MMMM-d-y H:m:s","M-d-yyyy H:m:s","MMM-d-yyyy H:m:s","MMMM-d-yyyy H:m:s","d-M-y H:m:s","d-MMM-y H:m:s","d-MMMM-y H:m:s","d-M-yyyy H:m:s","d-MMM-yyyy H:m:s","d-MMMM-yyyy H:m:s","yyyy-M-d H:m:s","M/d h:m:s tt","MMM/d h:m:s tt","MMMM/d h:m:s tt","d/M h:m:s tt","d/MMM h:m:s tt","d/MMMM h:m:s tt","M/y h:m:s tt","MMM/y h:m:s tt","M/yyyy h:m:s tt","MMM/yyyy h:m:s tt","M/d/y h:m:s tt","MMM/d/y h:m:s tt","MMMM/d/y h:m:s tt","M/d/yyyy h:m:s tt","MMM/d/yyyy h:m:s tt","MMMM/d/yyyy h:m:s tt","d/M/y h:m:s tt","d/MMM/y h:m:s tt","d/MMMM/y h:m:s tt","d/M/yyyy h:m:s tt","d/MMM/yyyy h:m:s tt","d/MMMM/yyyy h:m:s tt","yyyy/M/d h:m:s tt","M/d/yyyy h:mm:ss tt","M-d h:m:s tt","MMM-d h:m:s tt","MMMM-d h:m:s tt","d-M h:m:s tt","d-MMM h:m:s tt","d-MMMM h:m:s tt","M-y h:m:s tt","MMM-y h:m:s tt","M-yyyy h:m:s tt","MMM-yyyy h:m:s tt","M-d-y h:m:s tt","MMM-d-y h:m:s tt","MMMM-d-y h:m:s tt","M-d-yyyy h:m:s tt","MMM-d-yyyy h:m:s tt","MMMM-d-yyyy h:m:s tt","d-M-y h:m:s tt","d-MMM-y h:m:s tt","d-MMMM-y h:m:s tt","d-M-yyyy h:m:s tt","d-MMM-yyyy h:m:s tt","d-MMMM-yyyy h:m:s tt","yyyy-M-d h:m:s tt","M/d/yyyy H:m:s","M-d-yyyy H:m:s","M/d/yyyy h:m:s tt","M-d-yyyy H:m:s tt"],["M/d H:m:s.FFF","MMM/d H:m:s.FFF","MMMM/d H:m:s.FFF","d/M H:m:s.FFF","d/MMM H:m:s.FFF","d/MMMM H:m:s.FFF","M/y H:m:s.FFF","MMM/y H:m:s.FFF","M/yyyy H:m:s.FFF","MMM/yyyy H:m:s.FFF","M/d/y H:m:s.FFF","MMM/d/y H:m:s.FFF","MMMM/d/y H:m:s.FFF","MMM/d/yyyy H:m:s.FFF","MMMM/d/yyyy H:m:s.FFF","d/M/y H:m:s.FFF","d/MMM/y H:m:s.FFF","d/MMMM/y H:m:s.FFF","d/M/yyyy H:m:s.FFF","d/MMM/yyyy H:m:s.FFF","d/MMMM/yyyy H:m:s.FFF","yyyy/M/d H:m:s.FFF","M-d H:m:s.FFF","MMM-d H:m:s.FFF","MMMM-d H:m:s.FFF","d-M H:m:s.FFF","d-MMM H:m:s.FFF","d-MMMM H:m:s.FFF","M-y H:m:s.FFF","MMM-y H:m:s.FFF","M-yyyy H:m:s.FFF","MMM-Yyyy H:m:s.FFF","M-d-y H:m:s.FFF","MMM-d-y H:m:s.FFF","MMMM-d-y H:m:s.FFF","MMM-d-yyyy H:m:s.FFF","MMMM-d-yyyy H:m:s.FFF","D-M-y H:m:s.FFF","d-MMM-y H:m:s.FFF","d-MMMM-y H:m:s.FFF","D-M-yyyy H:m:s.FFF","d-MMM-yyyy H:m:s.FFF","d-MMMM-yyyy H:m:s.FFF","yyyy-M-d H:m:s.FFF","M/d h:m:s.FFF tt","MMM/d h:m:s.FFF tt","MMMM/d h:m:s.FFF tt","d/M h:m:s.FFF tt","d/MMM h:m:s.FFF tt","d/MMMM h:m:s.FFF tt","M/y h:m:s.FFF tt","MMM/y h:m:s.FFF tt","M/yyyy h:m:s.FFF tt","MMM/yyyy h:m:s.FFF tt","M/d/y h:m:s.FFF tt","MMM/d/y h:m:s.FFF tt","MMMM/d/y h:m:s.FFF tt","MMM/d/yyyy h:m:s.FFF tt","MMMM/d/yyyy h:m:s.FFF tt","d/M/y h:m:s.FFF tt","d/MMM/y h:m:s.FFF tt","d/MMMM/y h:m:s.FFF tt","d/M/yyyy h:m:s.FFF tt","d/MMM/yyyy h:m:s.FFF tt","d/MMMM/yyyy h:m:s.FFF tt","yyyy/M/d h:m:s.FFF tt","M-d h:m:s.FFF tt","MMM-d h:m:s.FFF tt","MMMM-d h:m:s.FFF tt","d-M h:m:s.FFF tt","d-MMM h:m:s.FFF tt","d-MMMM h:m:s.FFF tt","M-y h:m:s.FFF tt","MMM-y h:m:s.FFF tt","M-yyyy h:m:s.FFF tt","MMM-Yyyy h:m:s.FFF tt","M-d-y h:m:s.FFF tt","MMM-d-y h:m:s.FFF tt","MMMM-d-y h:m:s.FFF tt","MMM-d-yyyy H:m:s.FFF tt","MMMM-d-yyyy h:m:s.FFF tt","d-M-y h:m:s.FFF tt","d-MMM-y h:m:s.FFF tt","d-MMMM-y h:m:s.FFF tt","d-M-yyyy h:m:s.FFF tt","d-MMM-yyyy h:m:s.FFF tt","d-MMMM-yyyy h:m:s.FFF tt","yyyy-M-d h:m:s.FFF tt"]],D=["#000000","#FFFFFF","#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#800000","#008000","#000080","#808000","#800080","#008080","#C0C0C0","#808080","#9999FF","#993366","#FFFFCC","#CCFFFF","#660066","#FF8080","#0066CC","#CCCCFF","#000080","#FF00FF","#FFFF00","#00FFFF","#800080","#800000","#008080","#0000FF","#00CCFF","#CCFFFF","#CCFFCC","#FFFF99","#99CCFF","#FF99CC","#CC99FF","#FFCC99","#3366FF","#33CCCC","#99CC00","#FFCC00","#FF9900","#FF6600","#666699","#969696","#003366","#339966","#003300","#333300","#993300","#993366","#333399","#333333"],x=RegExp("color\\s*(\\d+)","i"),C=s._Types._isType,T=s._Types._isArray,N=u._NumberHelper,E=N._generalNumberInt+"."+N._generalNumberDec,H=N._formatObjectToString,P=N._customCultureFormat,w=N._fixNumber,O=s._Types._isNullOrUndefined,k=isNaN,I=function(e){return l.CultureManager._getCultureInfo(e)},A=function(e){return I(e).DateTimeFormat},R=function(e){return I(e).NumberFormat},$=function(e){return e&&e.toLowerCase()},U=function(){throw Error(d().Exp_FormatIllegal)},B=function(){return l.CultureManager.booleanMapping},j={_Empty:"",_format:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(0===arguments.length)return p;for(var a=r[0],i=1;i<arguments.length;i++){var o=RegExp("\\{"+(i-1)+"\\}","gm");a=a.replace(o,arguments[i])}return a},_isNullOrEmpty:function(e){return!e||e===j._Empty}},L=function(e){var t=e.charCodeAt(0);return t>=48&&t<=57},G=function(e){var t=e.charCodeAt(0);return t>=9&&t<=13||32===t||133===t||160===t},Y=function(){function e(e,t){ye.call(this,t);this._content=e;var r=this._content,n=ue(r[0],"$",!1),a=r.indexOf("-");if(!(n&&a>-1))throw Error(d().Exp_TokenIllegal);this._currencySymbol=ee(r,1,a-1),(r=i._StringHelper._remove(r,0,a+1)).length>0&&(this._locateID=parseInt(r,16))}return e.prototype.cultureInfo=function(){return this._cultureInfo||(this._cultureInfo=I(this._locateID)),this._cultureInfo},e.prototype.currencySymbol=function(){return this._currencySymbol?i._StringHelper._replace(this._currencySymbol,"\\.",'"."'):j._Empty},e.prototype.allowScience=function(){if(this._cultureInfo)return!this._cultureInfo.isJCKCulture},e.prototype.toString=function(){return this._content?ne(this._content):j._Empty},e.Name="LocaleIDFormatPart",e}(),z=function(){function e(e,t){this.formatCached=e,this.cultureName=t,this.typeName=""}return e.prototype.format=function(e,t){return p},e.prototype.parse=function(e){return p},e.prototype.formatString=function(e){return this.formatCached},e.prototype.toJSON=function(){var e={};for(var t in this)this.hasOwnProperty(t)&&(e[t]=this[t]);return e},e.prototype.fromJSON=function(e){if(e)for(var t in e)void 0!==e[t]&&(this[t]=e[t])},e}();t.FormatterBase=z;var K=function(){function e(e,t){ye.call(this,t);for(var r,n,a,o=this,s=["<=","<>",">=",">","<","="],u=0,l=s.length;u<l;u++)if(r=s[u],i._StringHelper._startsWith(e,r,!0)){n=i._StringHelper._remove(e,0,r.length);var c=parseFloat(n);k(c)||(a=c);break}if(a===p&&void 0===a)throw Error(d().Exp_TokenIllegal);o.value=a,o._compareOperator=r,o.isMeetCondition=function(e){var t=o._compareOperator,r=o.value;switch(t){case"<=":return e<=r;case"<>":return e!==r;case">=":return e>=r;case">":return e>r;case"<":return e<r;case"=":return e===r}}}return e.prototype.toString=function(){return ne(this._compareOperator+this.value.toString())},e}(),W=function(){function e(e,t){ye.call(this,t);if(this.token=e,this.type=parseInt(i._StringHelper._remove(e,0,5),10),this.type<0||this.type>4)throw Error(d().Exp_TokenIllegal)}return e.prototype._replaceNumberString=function(t,r,n){if(!t||t===j._Empty)return t;for(var a,o,s=t,u=t,l=-1,c=-1,m=!1,y=t.length-1;y>=0;y--){var h=u[y];!k(h)&&!ue(h," ",!1)||ue(h,".",!1)&&!m?(ue(h,".",!1)&&(m=!0),-1===l&&(l=y),c=y):c>-1&&l>-1&&(a=ee(u,c,l-c+1),k(parseFloat(a))||(o=e.numberString(a,r,n),s=i._StringHelper._remove(s,c,l-c+1),s=i._StringHelper._insert(s,c,o)),l=-1,c=-1,m=!1)}return c>-1&&l>-1&&(a=ee(u,c,l-c+1),k(parseFloat(a))||(o=e.numberString(a,r,n),s=i._StringHelper._remove(s,c,l-c+1),s=i._StringHelper._insert(s,c,o))),s},e.prototype.toString=function(){if(this.type>-1)return ne("DBNum"+this.type);throw Error()},e.numberString=function(t,r,n){var a=e.formatNumberString,i=t.split(".");if(i){if(1===i.length)return a(i[0],r.numbers,n?r.letters:p);if(2===i.length)return a(i[0],r.numbers,n?r.letters:p)+"."+a(i[1],r.numbers)}throw Error(d().Exp_ValueIllegal)},e.formatNumberString=function(t,r,n){var a,i=t,o=0,s=0;if(2===arguments.length){for(var u="";o<i.length;o++)a=ee(i,o,1),u+=r[s=parseInt(a,10)];return u}if(3===arguments.length){if(!n)return e.formatNumberString(t,r);for(var l=0,c="",m=i.length,y=!1,h=[];o<m;o++){var f=n.length-1-o;f>-1?h.push(n[f].toString()):h.push(j._Empty)}for(var d=[],p=h.length-1;p>=0;p--)d[h.length-p-1]=h[p];h=d;var _=!1;for(p=0;p<m;p++){a=ee(i,p,1),s=parseInt(a,10);var g=void 0,M=j._Empty;m-p-16>0?(g=r[s],M="",_=!0):p!==m-1&&p!==m-5&&p!==m-9&&p!==m-13?"0"===a?(g="",M="",l+=1):"0"!==a&&0!==l?(g=r[0]+r[s],M=h[p],l=0):(g=r[s],M=h[p],l=0):"0"!==a&&0!==l?(g=r[0]+r[s],M=h[p],l=0):"0"!==a&&0===l||_?(g=r[s],M=h[p],l=0,_=!1):"0"===a&&l>=3?(g="",M="",l+=1):m>=11?(g="",l+=1):(g="",M=h[p],l+=1),g+M===j._Empty||(y=!1),p!==m-13||y||(M=h[p],y=!0),p!==m-9||y||(M=h[p],y=!0),p===m-1&&(M=h[p],y=!0),c=c+g+M}return 0===parseInt(t,10)?r[0]:c}},e}(),J=function(){function e(e,t,r,n,a,i){me.call(this,t,r,n,i);this._formatString=this._fixFormat(le(e)),this._absTimeParts=a,this._formatType=2,this._init()}return e.prototype._init=function(){var t={_value:this._formatString};if(e._evaluateFormat(t._value)){var r=this._processAMPM(t),n=A(this.cultureName).amDesignator&&A(this.cultureName).pmDesignator;if(this.hasJD=this._replace(t._value,g._monthJD,'"'+g._placeholderMonthJD+'"',!0,!1,t,!1),this._replace(t._value,g._monthUnabbreviated,"MMMM",!0,!1,t,!1),this._replace(t._value,g._monthAbbreviation,"MMM",!0,!1,t,!1),this._replaceMonth(t._value,t),this._replace(t._value,g._dayWeekDayAbbreviation,"ddd",!0,!0,t,!0),this._replace(t._value,g._dayWeekDayUnabbreviated,"dddd",!0,!0,t,!0),r&&n||(this._replace(t._value,g._hoursSingleDigit,"H",!0,!0,t,!1),this._replace(t._value,g._hoursTwoDigit,"HH",!0,!0,t,!1)),this._partDBNumberFormat&&(this._partLocaleID||I(this.cultureName).NumberFormat.dbNumber)&&(this._hasYearDelay=this._hasYearDelay||this._replace(t._value,g._yearFourDigit,'"@'+g._yearFourDigit+'"',!0,!1,t,!0),this._hasYearDelay=this._hasYearDelay||this._replace(t._value,g._yearTwoDigit,'"@'+g._yearTwoDigit+'"',!0,!1,t,!0)),this._absTimeParts)for(var a=0;a<this._absTimeParts.length;a++){var i=this._absTimeParts[a];this._replace(t._value,i._originalToken,"@"+i._originalToken,!0,!0,t,!0)}this._validDateTimeFormatString=t._value}else U()},e.prototype.formatString=function(){return this._formatString},e.prototype.format=function(e){var t=j._Empty,r=p;try{if((r=o._DateTimeHelper._DT(e))&&k(r.valueOf())&&(r=p),r?e=r:t=e.toString(),r){if(t=o._DateTimeHelper._customCultureFormat(r,this._validDateTimeFormatString,this._partLocaleID&&this._partLocaleID.cultureInfo()||I(this.cultureName),this._isShowEraFirstYear),this.hasJD){var n=I(this.cultureName).DateTimeFormat.monthNames[r.getMonth()];t=i._StringHelper._replace(t,g._placeholderMonthJD,ee(n,0,1))}if(this._absTimeParts)for(var a=24*(o._DateTimeHelper._toOADate(r)-o._DateTimeHelper._toOADate(g._defaultAbsoluteTime))*60*60*1e3,s=0;s<this._absTimeParts.length;s++){var u=this._absTimeParts[s],l=u._getTimeSpan(a);if(!O(l)){var c=u._originalToken.replace("[","\\[").replace("]","\\]"),m=u._originalToken.replace("[","").replace("]",""),y=i._StringHelper._padZeroLeft(l+"",m.length);t=i._StringHelper._replace(t,"@"+c,y)}}}}catch(r){t=te(e)}return function(e,t,r,n,a){var i=e;if(!O(n)&&t instanceof Date){var s=fe(r,n.type,a);if(!s)return e;i=n._replaceNumberString(i,s,!0),1===n.type&&(i=i.replace(RegExp("一十","g"),"十")),i=(i=i.replace("@"+g._yearFourDigit,o._DateTimeHelper._localeFormat(t,g._yearFourDigit))).replace("@"+g._yearTwoDigit,o._DateTimeHelper._localeFormat(t,g._yearTwoDigit)),i=n._replaceNumberString(i,s,!1)}return i}(t,e,this._partLocaleID,this._partDBNumberFormat,this.cultureName)},e.prototype.parse=function(e){if(!e||e===j._Empty)return p;var t=e,r=$(t);if("true"===r)return!0;if("false"===r)return!1;if(this._validDateTimeFormatString){var n=o._DateTimeHelper._parseExact(t,this._validDateTimeFormatString,I(this.cultureName));if(n)return n}try{var a=o._DateTimeHelper._DT(t);return a&&!k(a)?a:k((a=new Date(t)).valueOf())?t:a}catch(e){return t}},e.prototype._fixFormat=function(e){for(var t=e,r="",n=!1,a=0;a<t.length;a++){var i=t[a];if('"'===i)n=!n;else if(!n)if("Y"===i||"D"===i||"S"===i||"E"===i||"G"===i)i=$(i);else if("M"===i){var o=t[a-1];ue("A",o,!0)||ue("P",o,!0)||(i=$(i))}r+=i}return r},e.prototype._processAMPM=function(e){var t=A(this.cultureName).amDesignator,r=A(this.cultureName).pmDesignator,n=[g._aMPMTwoDigit];t&&r?n.push(t+"/"+r):n.push(g._aMPMTwoDigit),n.push(g._aMPMSingleDigit);for(var a=["tt","tt","t"],o=e._value,s=0;s<3;s++){if(i._StringHelper._contains(o,a[s]))return!0;if(i._StringHelper._contains(o,n[s],!0))return e._value=i._StringHelper._replace(o,n[s],a[s],!0),!0}return!1},e.prototype._replaceMonth=function(e,t){for(var r=function(e){for(var t=[],r=!1,n=!1,a="",i=function(e,t){return{type:e,content:t}},o=function(e){return!O(e)&&-1!=="yYdDhHmMsSeE".indexOf(e)},s=function(r,n){if(o(r)){for(var a=r,s=e[n+1];o(s)&&s.toLowerCase()===r.toLowerCase()&&(a+=s,n<e.length-1);)n++,s=e[n+1];t.push(i("symbolic",a))}else"a"===r&&"aaa"===e.slice(n,n+3).toLowerCase()?(t.push(i("symbolic",e.slice(n,n+3))),n+=2):t.push(i("text",r));return n},u=0;u<e.length;u++){var l=e[u];if(r)t.push(i("text","\\"+l)),r=!1;else if(n&&'"'!==l)a+=l;else switch(l){case"\\":r=!0;break;case'"':n&&(t.push(i("text",'"'+a+'"')),a=""),n=!n;break;default:u=s(l,u)}}return t}(e),n=-1,a=-1,i=0;i<r.length;i++){var o=r[i];"symbolic"===o.type?"m"===o.content[0].toLowerCase()?n>=0?(o.content=o.content.toLowerCase(),n=-1):(o.content=o.content.toUpperCase(),a=i):"s"===o.content[0].toLowerCase()?a>=0&&(r[a].content=r[a].content.toLowerCase(),a=-1):"h"===o.content[0].toLowerCase()?(n=i,a=-1):a=-1:a>=0&&i>0&&"0"===o.content&&"."===r[i-1].content&&i===a+2&&(r[a].content=r[a].content.toLowerCase())}t._value=r.map((function(e){return e.content})).join("")},e.prototype._replace=function(t,r,n,a,o,s,u){if(a||o){var l=[],c=!0;!e.hasDate(t)&&e.hasTime(t)&&(c=!1);for(var m=!1,y=0;y<t.length;y++){var h=t[y];if(e.hasTime(h)&&!m?c=!1:e.hasDate(h)&&!m&&(c=!0),a&&ue(h,r[0],u)&&c||o&&ue(h,r[0],u)&&!c){for(var f=!0,d=0;d<r.length;d++)if(d+y>=t.length||!ue(r[d],t[d+y],u)){f=!1;break}var p=y+r.length-1;if(f&&p+1<t.length){var _=t[p],g=-1;for(g=p+1;g<t.length&&ue(_,t[g],u);g++);g>p+1&&(y=g,f=!1)}f&&!m&&l.splice(0,0,y)}'"'===h&&(m=!m)}if(s._value=t,l.length>0){for(y=0;y<l.length;y++){var M=l[y];s._value=i._StringHelper._remove(s._value,M,r.length),s._value=i._StringHelper._insert(s._value,M,n)}return!0}return!1}return!1},e.hasTime=function(e){return i._StringHelper._indexOf(e,g._hoursSingleDigit[0],!0)>-1||i._StringHelper._indexOf(e,g._secondSingleDigit[0],!0)>-1},e.hasDate=function(e){return i._StringHelper._indexOf(e,g._yearTwoDigit[0],!0)>-1||i._StringHelper._indexOf(e,g._daySingleDigit[0],!0)>-1},e._evaluateFormat=function(e,t){return ce(e,t||M)},e}();t._NumberFormatDateTime=J;var X=function(){function e(e,t){ye.call(this,t);var r,n=$(e)[0];if("h"===n)r=3600;else if("m"===n)r=60;else{if("s"!==n)throw Error(d().Exp_TokenIllegal);r=1}this._getTimeSpan=function(e){var t=e/1e3/r;return Math.abs(t-Math.round(t))<1e-6?Math.round(t):Math.floor(t)}}return e.Name="ABSTimeFormatPart",e}(),V=function(){function e(e,t){ye.call(this,t);var r=x.exec(e);if(null!==r){var n=Number(r[1]);(n-=1)>=0&&n<D.length&&(e=D[n])}this.foreColor=e}return e.prototype.toString=function(){return ne(this.foreColor)},e.Name="ColorFormatPart",e}(),q=function(){function e(e,t,r,n){me.call(this,t,r,n);this._isGeneralNumber=!1,this._formatType=1,this._fullFormatString=ae(e);var a=le(e);if(t&&(a=oe(a,this._partLocaleID._originalToken,this._partLocaleID.currencySymbol())),(a=ae(a)).indexOf("/")>-1){var i=function(e,t){var r=[];if(e===p||""===e)return r;var n,a,i=!1,o=[],s=!1;for(n=0;n<e.length;n++)'"'!==(a=e[n])||i||(s=!s),i||s||a!==t?o.push(a):(r.push(o.join("")),o=[]),i="\\"===a&&!i;return r.push(o.join("")),r}(a,"/");if(i&&2===i.length){this._fractionDenominatorFormat=i[1];var o=i[0];if(o){var s=o.lastIndexOf(" ");s>-1?(this._fractionIntegerFormat=ee(o,0,s),this._fractionNumeratorFormat=ee(o,s+1,o.length-s-1)):this._fractionNumeratorFormat=o}}}this._numberFormatString=a}return e.prototype.formatString=function(){return this._fullFormatString},e.prototype.format=function(t){if(C(t,"boolean"))return t.toString().toUpperCase();var r=s._Types._toDouble(t);if(k(r)||!isFinite(r)||k(t))return"string"==typeof t?t:p;var n,a,i,o,u,l=I(this.cultureName);if(this._fractionNumeratorFormat&&this._fractionDenominatorFormat){var c={value:0},m={value:0},y={value:0},h=this._getDenominatorLength();if(e.getFraction(r,h,c,m,y)){var f=e.getGCD(m.value,y.value);if(f>1&&(m.value/=f,y.value/=f),this._fractionIntegerFormat){u="",1===y.value&&(c.value+=m.value,m.value=0,y.value=0);var d=H(P(c.value,this._fractionIntegerFormat,l));d&&"0"!==d&&(u+=d,u+=" "),0===c.value&&r<0&&(u+=l.NumberFormat.negativeSign),0===r&&(u+="0"),n=this._fractionDenominatorFormat,!k(a=parseFloat(n))&&a>0&&(0!==m.value&&0!==y.value&&(m.value*=a/y.value),y.value=a,n=n.replace(/^\d+/,e.toNumberPlaceholder(a)),o=(i=Math.ceil(m.value))-m.value,m.value=parseFloat(o<=.5&&o>=0?i.toString():""+(i-1)));var _=this._fractionNumeratorFormat,g=parseFloat(_);if(!k(g)&&0===g){var M=_.length,v=m.value.toString(),b=v.length;M>b?_=_.substr(0,M-(M-b)):M<b&&(v=v.substr(0,b-(b-M)),m.value=parseInt(v,10))}var F=this._getFormattedFractionString(m.value,y.value,_,n,l);return 0===m.value&&(F=F.replace(/./g," "),""===d)?"0 "+F:""===(u+=F)?"0":u}u="";var S=c.value*y.value+m.value;return n=this._fractionDenominatorFormat,(a=parseFloat(n))>0?(S*=a/y.value,y.value=a,u+=(S=parseFloat((o=(i=Math.ceil(S))-S)<=.5&&o>=0?i.toString():""+(i-1)))+"/"+y.value):u+=this._getFormattedFractionString(S,y.value,this._fractionNumeratorFormat,this._fractionDenominatorFormat,l),0===S?"0":u}return r.toString()}return function(e,t,r,n,a){if(!O(n)){var i=fe(r,n.type,a);if(!O(i)){for(var o=!1,s=void 0,u=I(a),l=void 0,c=0,m=e.length;c<m;c++)"decimalSeparator"===e[c].type&&(o=!0,e[c].value=n._replaceNumberString(e[c].value,i,t),s=e[c].value),"number"===e[c].type&&(e[c].value=o?n._replaceNumberString(s+e[c].value,i,t).slice(1):n._replaceNumberString(e[c].value,i,t),"ja-JP"===u.name()&&e[c].value.length>1&&("一千"!==(l=e[c].value.substr(0,2))&&"一百"!==l&&"一十"!==l||(e[c].value=e[c].value.substr(1))));return e}}return e}(P(r,this._numberFormatString,l),this._isGeneralNumber,this._partLocaleID,this._partDBNumberFormat,this.cultureName)},e.prototype.parse=function(e){if(!e||e===j._Empty)return p;var t=function(e){return e&&e.toUpperCase()}(e);if("TRUE"===t||t===B()&&B().boolean_true)return!0;if("FALSE"===t||t===B()&&B().boolean_false)return!1;var r="("===e.charAt(0)&&")"===e.charAt(e.length-1);r&&(e=e.substring(1,e.length-1));var n=this._fractionNumeratorFormat&&this._fractionDenominatorFormat,a=this._trimPercentSign(this._numberFormatString)._isPer;if(n||a){var o=0;if(n&&this._fractionIntegerFormat){var s=(e=e.trim()).lastIndexOf(" ");0<s&&s<e.length-1&&(o=parseInt(e.substr(0,s),10),e=e.substr(s+1))}var u=e.indexOf("/");if(0<u&&u<e.length-1){var l=e.substr(0,u),c=e.substr(u+1);if(!k(l)&&!k(c)){var m=parseInt(l,10),y=parseInt(c,10);if(!k(m)&&!k(y)&&0!==y)return o+m/y}}}e=this._trimSpecialSymbol(e),e=this._trimCurrencySymbol(e);var h=this._trimPercentSign(e),f=h._isPer,d=h._str;if(this._isValidNumberString(d)){d=i._StringHelper._replaceAllNoReg(d,R(this.cultureName).numberGroupSeparator,"",!1);var g=N._parseFloat(d,this.cultureName);if(!k(g)&&isFinite(g)){if(f&&(g=w(g/100,15)),r){if("-"===d.charAt(0)||"+"===d.charAt(0))return p;g=-1*_(g)}return g}}return p},e.prototype._getDenominatorLength=function(){var e=this._fractionDenominatorFormat,t=0;if(e)for(var r=e.length,n=0;n<r&&e[n].match(/[#?\d]/);n++)t++;return t},e.prototype._isValidNumberString=function(e){for(var t="",r=0,n=0,a=0,i=p,o=R(this.cultureName),s=e.length-1;s>-1;s--){if(e[s]===o.numberDecimalSeparator)r++,a>0&&(i=!1),t="";else if("e"===$(e[s])){if(n++,t="",s===e.length-1)return!1}else if(e[s]===o.numberGroupSeparator)i=3===t.length,a++,t="";else if("-"===e[s]||"+"===e[s]){if(s>0&&"e"!==$(e[s-1]))return!1}else{if(!L(e[s]))return!1;if(t+=e[s],0===s&&0===parseInt(t,10)&&i)return!1}if(r>1||n>1||!1===i)return!1}return!0},e.prototype._trimSpecialSymbol=function(e){for(var t=e,r=[],n=0;n<t.length;n++)L(t[n])&&r.push(n);for(var a=R(this.cultureName),o=[a.currencyDecimalSeparator,a.currencyGroupSeparator,a.currencySymbol,"$",a.nanSymbol,a.negativeInfinitySymbol,a.negativeSign,a.numberDecimalSeparator,a.numberGroupSeparator,a.percentDecimalSeparator,a.percentGroupSeparator,a.percentSymbol,a.perMilleSymbol,a.positiveInfinitySymbol,a.positiveSign],s=t.length-1;s>-1;s--){var u=t[s];if(G(u)&&o.indexOf(u.toString())<=-1)(s<r[0]||r[r.length-1]<s)&&(t=i._StringHelper._remove(t,s,1));else if("-"===u||"+"===u){var l=s>0?t[s-1].toString():p;if(["e","E","(",R(this.cultureName).currencySymbol,"$"].indexOf(l)<0)break}}return t},e.prototype._trimCurrencySymbol=function(e){if(i._StringHelper._startsWith(e,"$")){if((t=i._StringHelper._remove(e,0,1)).indexOf("$")<0)return t}else{var t,r=R(this.cultureName).currencySymbol;if("$"!==r&&i._StringHelper._startsWith(e,r)&&(t=i._StringHelper._remove(e,0,r.length)).indexOf(r)<0)return t}return e},e.prototype._trimPercentSign=function(e){var t=R(this.cultureName).percentSymbol,r=!0,n=e;return i._StringHelper._startsWith(e,t)?n=i._StringHelper._remove(e,0,t.length):i._StringHelper._endsWith(e,t)?n=i._StringHelper._remove(e,e.length-t.length,t.length):r=!1,i._StringHelper._contains(n,t)&&(r=!1),{_str:n,_isPer:r}},e.prototype._getFormattedFractionString=function(e,t,r,n,a){var i=H(P(e,r,a)),o=H(P("0."+t,"#."+n,a,!0)),s=a&&a.NumberFormat&&a.NumberFormat.numberDecimalSeparator||".",u=i+"/"+o.substr(o.indexOf(s)+1);return""===r&&(u=e+u),""===n&&(u+=t),u},e.getGCD=function(e,t){if(0===e)return _(t);if(0===t)return _(e);for(var r=Math.max(e,t),n=Math.min(e,t),a=r%n;0!==a;)a=(r=n)%(n=a);return _(n)},e.getFraction=function(e,t,r,n,a){var i=0,o=0,s=0,u=0,l=Math.ceil;e>0?1==(u=e-l(e)+1)?(u=0,i=e):i=l(e)-1:e<0&&(i=l(e),u=l(e)-e);var c=Math.pow(10,t-1),m=Math.pow(10,t)-1;c<2&&(c=2),m<2&&(m=2);for(var y=!1,h=0,f=c;f<=m;f++){var d=Math.round(f*u),p=d/f,g=_(p-u);if((!y||g<_(h-u))&&(y=!0,h=p,o=d,s=f,g<1e-6))break}return r.value=i,n.value=o,a.value=s,y},e.toNumberPlaceholder=function(e){return e.toString().replace(/\d/g,"?")},e}(),Q=function(){function e(t,r,n,a){me.call(this,r,n,a),arguments.length>0?(e._isValidNumberFormatString(t)||U(),this._fullFormatString=t):this._fullFormatString="General",this._formatType=0}return e._isValidNumberFormatString=function(e){for(var t="",r=!1,n=-1,a=e.length,i=0;i<a;i++){var o=e[i];'"'===o?n=(r=!r)?i:-1:r||(t+=o)}return n>0&&(t+=e.substring(n,a)),!(t.indexOf("0")>=0||t.indexOf("#")>=0||t.indexOf(".")>=0||t.indexOf("@")>=0)},e.prototype._getDigitalFormat=function(){if(!this._digitalFormat){var e=this._fullFormatString;e=oe(e,"General",E),this._digitalFormat=new q(e,this._partLocaleID,this._partDBNumberFormat,this.cultureName),this._digitalFormat._isGeneralNumber=!0}return this._digitalFormat},e.prototype._getExponentialDigitalFormat=function(){return this._exponentialDigitalFormat||(this._exponentialDigitalFormat=new q("0.#####E+00",this._partLocaleID,this._partDBNumberFormat,this.cultureName),this._exponentialDigitalFormat._isGeneralNumber=!0),this._exponentialDigitalFormat},e.prototype.formatString=function(){return i._StringHelper._replace(this._fullFormatString,"@NumberFormat","General")},e.prototype.format=function(e){if(s._Types._isNumber(e,this.cultureName)){var t=!this._partLocaleID||this._partLocaleID.allowScience(),r=s._Types._toDouble(e);if(void 0!==r&&r!==p)return _(r)>99999999999&&t||_(r)<1e-11&&0!==r?this._getExponentialDigitalFormat().format(e):this._getDigitalFormat().format(e)}else{if(C(e,"string")){var n=i._StringHelper._replace(this.formatString(),'"',"");return n=se(n),e}if(C(e,"boolean"))return e.toString().toUpperCase()}return""},e.prototype.parse=function(e){if(j._isNullOrEmpty(e))return p;if("number"==typeof e)return e;var t=!1,r=e.trim(),n=i._StringHelper._indexOf(r,"-",!1);n>0&&!ue(r.charAt(n-1),"E",!0)&&(t=!0);var a,s=I(this.cultureName),u=s.DateTimeFormat,c=u.dateSeparator,m=u.timeSeparator,y=u.monthNames,h=u.abbreviatedMonthNames,f=function(e,t){if(!t||0===t.length)return!1;for(var r=!1,n=0,a=t.length;n<a;n++)if(i._StringHelper._contains(e,t[n],!0)){r=!0;break}return r};if(t||i._StringHelper._contains(r,c,!1)||i._StringHelper._contains(r,m,!1)||i._StringHelper._contains(r,"/",!1)||i._StringHelper._contains(r,":",!1)||i._StringHelper._contains(r,"-",!1)||i._StringHelper._contains(r,"年",!1)||i._StringHelper._contains(r,"月",!1)||i._StringHelper._contains(r,"日",!1)||f(r,y)||f(r,h)||"ja-JP"===s.name()&&l._EraHelper._symbols.indexOf(r[0].toUpperCase())>=0&&i._StringHelper._contains(r,".",!1)){var d=o._DateTimeHelper._parseLocale(r);if(d)return d}var g,M="-"===r.charAt(0);if(M||"+"===r.charAt(0)){if("("===(r=i._StringHelper._remove(r,0,1)).charAt(0)&&")"===r.charAt(r.length-1))return e}else if("("===r.charAt(0)&&")"===r.charAt(r.length-1)&&(g=!0,"-"===(r=(r=r.substring(1,r.length-1)).trim()).charAt(0)||"+"===r.charAt(0)))return e;return(a=this._getDigitalFormat().parse(r))!==p&&void 0!==a?g&&C(a,"boolean")?e:(g||M)&&C(a,"number")?-1*_(a):a:e},e}(),Z=function(){function e(e,t,r,n){me.call(this,t,r,n);var a=le(e,!1);t&&(a=oe(a,this._partLocaleID._originalToken,this._partLocaleID.currencySymbol())),a=se(a=ae(a)),this._formatString=a,this._formatType=3}return e.prototype.format=function(e,t){try{var r;r=e instanceof Date?o._DateTimeHelper._toOADate(e).toString():te(e);var n=this._parseFormat(this._formatString);return this._toFormattedObject(r,n.formatTokens,e,n.hasAtPart,t)}catch(e){return""}},e.prototype.parse=function(e){return e||""},e.prototype.formatString=function(){return this._formatString},e.prototype._parseFormat=function(e){for(var t,r=[],n=!1,a="",i=!1,o=p,s=0;s<e.length;s++)t=e.charAt(s),i?('"'!==t?a+=t:(a+=t,r.push(a),a="",i=!1),o=t):"*"!==o&&"_"!==o&&"\\"!==o||""===a?"*"!==t&&"_"!==t&&"\\"!==t?"@"!==t?'"'!==t?(a+=t,o=t):(o=t,""!==a&&r.push(a),a=t,i=!0):(o=t,""!==a&&(r.push(a),a=""),r.push(t),n=!0):(o=t,""!==a&&(r.push(a),a=""),a+=t):(a+=t,r.push(a),a="");return""!==a&&r.push(a),{formatTokens:r,hasAtPart:n}},e.prototype._toFormattedObject=function(e,t,r,n,a){var i=[],o=!1;if("string"!=typeof r||n||a)for(var s=t.length-1;s>=0;s--){var u=t[s];"*"===u[0]?o||(o=!0,i.push({type:"fillingChar",value:u[1]})):"_"===u[0]?i.push({type:"placeholder",value:u[1]}):'"'===u[0]&&'"'===u[u.length-1]?u.length>=2&&i.push({type:"text",value:u.substr(1,u.length-2)}):"\\@"===u?i.push({type:"text",value:"@"}):"@"===u[0]?i.push({type:"text",value:e}):i.push({type:"text",value:u})}else i.push({type:"text",value:r});return i.reverse()},e}();function ee(e,t,r){return e.substr(t,r)}function te(e){return s._Types._isNullOrUndefined(e)?"":"boolean"==typeof e?e?"TRUE":"FALSE":"string"==typeof e?e:e.toString()}function re(e,t){if("\\"===e[t])throw Error(d().Exp_InvalidBackslash);if(t-1>0&&t-1<e.length&&"\\"===e[t-1]){if(t-2<0)return!0;if(t-2>0&&t-2<e.length)return"\\"!==e[t-2]}return!1}function ne(e){if(!e)throw Error(d().Exp_TokenIsNull);return"["+e+"]"}function ae(e){if(void 0===e||e===p||""===e)return e;for(var t="",r=0,n=!1,a=0;a<e.length;a++){var i=e[a];'"'===i?(n=!n,t+=i):n?t+=i:"["===i?r++:"]"===i?--r<0&&(r=0):0===r&&(t+=i)}return t.toString()}function ie(e){return e=oe(e,"[",""),oe(e,"]","")}function oe(e,t,r){return!e||e===j._Empty||ue(t,r,!0)?e:(t=t.replace(F,"\\$1"),e.replace(RegExp(t,"g"),r))}function se(e){for(var t=e.length,r=!1,n="",a=0;a<t;a++){var i=e.charAt(a);"\\"===i?(r=!r)&&"@"!==e.charAt(a+1)||(n+=i):(r=!1,n+=i)}return n}function ue(e,t,r){return r?$(e)===$(t):e===t}function le(e,t){1===arguments.length&&(t=!0);for(var r=!1,n="",a=0;a<e.length;a++){var i=e[a];if('"'===i)r=!r;else if(!r&&!t&&"/"===i&&!re(e,a))continue;n+=i}return n}function ce(e,t){if(!e||e===j._Empty)return!1;for(var r=function(e){for(var t="",r=!1,n=0,a=e.length;n<a;n++){var i=e[n];'"'===i&&(r=!r),"E"===i||r||(t+=$(i))}return t}(le(e)),n=0;n<t.length;n++){var a=r.indexOf(t[n]);if(0===a||a>0&&"_"!==r[a-1]&&"*"!==r[a-1])return!0}return!1}function me(e,t,r,n){this._partLocaleID=e,this._partDBNumberFormat=t,this.cultureName=r,this._isShowEraFirstYear=n}function ye(e){this._originalToken=e}function he(e){var t,r=ie(e);if(!r||r===j._Empty)return t;var n=r[0];return["<",">","="].indexOf(n)>-1?(t=K).Name="ConditionalFormatPart":i._StringHelper._startsWith(r,"DBNum",!0)?(t=W).Name="DBNumberFormatPart":ue(r[0],"$",!1)&&r.indexOf("-")>-1?(t=Y).Name="LocaleIDFormatPart":function(e){var t=$(e),r=t[0];if("h"!==r&&"m"!==r&&"s"!==r)return!1;for(var n=1;n<t.length;n++)if(r!==t[n])return!1;return!0}(r)?(t=X).Name="ABSTimeFormatPart":r.indexOf("$")<0&&r.length>=3&&((t=V).Name="ColorFormatPart"),t}function fe(e,t,r){var n;if(n=e?e.cultureInfo():I(r),t<4||4===t&&("ko-kr"===r||"ko-kr"===n.name())){var a=n.NumberFormat.dbNumber;if(a)return a[t]}return p}var de=function(){function e(e,t){0===arguments.length?(this.formatCached="General",this._numberFormat=new Q):this._init(e,t)}return e.prototype._init=function(t,r){t!==p&&void 0!==t||U();var n=t;this.formatCached=t;for(var a="",i="",o=!1,s=!1,u=!1,c=[],m=0;m<t.length;m++){var y=t[m];if('"'===y)s=!s,i+=y;else if(s)i+=y;else if("["===y)o&&U(),i&&(a||(a=""),a+=i),i=y.toString(),o=!0;else if("]"===y){if(o||U(),i){var h=(i+=y).toString(),f=he(i.toString());if(f)"ABSTimeFormatPart"===f.Name?(c.push(new f(e.preProcessPart(h),h)),a+=i):h===l._EraHelper.eraExcelFormatter?(this.addPart(f,l._EraHelper.eraInternalFormatter),u=!0):this.addPart(f,h);else{var d=e.partToNormalStr(h);a+=d,n=oe(t,h,d)}i=""}else U();o=!1}else i+=y}i?o?U():a+=i:a||(a=this._getDBNumberDefaultFormat()),this.localeIDFormatPart&&(r=this.localeIDFormatPart.cultureInfo().name());var _=function(e,t){var r,n=!1;return ce(e=e?e.toString():j._Empty,["general"])?r=Q:J._evaluateFormat(e)?r=J:ce(e,["E+","E-","#",".",",","%","0","/","?"])||t?(n=!0,r=q):(n=!0,r=Z),{_isDigitalOrText:n,_type:r}}(a,this.conditionalFormatPart),g=_._type,M=_._isDigitalOrText?n:a;g?this._numberFormat=new g(M,this.localeIDFormatPart,this.dbNumberFormatPart,r,c.length>0?c:p,u):U()},e.prototype._getDBNumberDefaultFormat=function(){var t=this,r="";return t.dbNumberFormatPart&&(e.proNames.some((function(e){return"dbNumberFormatPart"!==e&&t[e]}))||(r="General")),r},e.prototype.formatString=function(){for(var t="",r=0,n=e.proNames.length;r<n;r++){var a=e.proNames[r];this[a]&&(t+=this[a].toString())}return t+this._numberFormat.formatString()},e.prototype.addPart=function(t,r){for(var n=e.proNames,a=e.preProcessPart(r),i=0,o=n.length;i<o;i++){var s=n[i];if(ue(s,t.Name,!0)){if(this[s])throw Error(d().Exp_DuplicatedDescriptor);this[s]=new t(a,r)}}},e.prototype.format=function(e,t){return this._numberFormat.format(e,t)},e.prototype.parse=function(e){return this._numberFormat.parse(e)},e.checkFormatter=function(e){if(!e||e===j._Empty)throw Error(d().Exp_TokenIllegal)},e.preProcessPart=function(t){e.checkFormatter(t);var r=ie(t);return e.checkFormatter(r),r},e.partToNormalStr=function(t){var r=e.preProcessPart(t);return"$"===r[0]&&(r=r.slice(1)),'"'+r+'"'},e.proNames=["colorFormatPart","conditionalFormatPart","dbNumberFormatPart","localeIDFormatPart"],e}(),pe=function(e){function t(t,r){var n=e.call(this,t,r)||this,a=n;return a._isSingleFormatterInfo=!0,a.PropertyChanged=[],j._isNullOrEmpty(t)&&(t="General"),a.formatCached=t,a.cultureName=r,a.init(),n}return a(t,e),t.prototype.toJSON=function(){var e={formatCached:this.formatCached};return this.cultureName&&(e.customerCultureName=this.cultureName),"general"===$(this.formatCached)&&delete e.formatCached,e},t.prototype.hasFormattedColor=function(){for(var e in v)if(v.hasOwnProperty(e)){var t=this.getFormatter(v[e]);if(t&&t.colorFormatPart)return!0}return!1},t.prototype.formatString=function(e){if(0===arguments.length){for(var t=j._Empty,r=0,n=this.formatters.length;r<n;r++){t+=this.formatters[r].formatString(),r!==n-1&&(t+=";")}return t}if(!e)throw Error(d().Exp_ValueIsNull);return this.formatters=p,this.formatCached=e,this.init(),this._raisePropertyChanged("formatString"),this},t.prototype.getFormatter=function(e){return this.formatters&&this.formatters[e]},t.prototype.getPreferredEditingFormatter=function(e){var r,n=A(this.cultureName),a=R(this.cultureName),i=t.defFormatter;if(C(e,"TimeSpan"))return i(n.longTimePattern);if(C(e,"DateTime")){var o=0===e.getHours()&&0===e.getMinutes()&&0===e.getSeconds()&&0===e.getMilliseconds()?"":" h:mm:ss";return i(n.shortDatePattern+o)}if(s._Types._isNumber(e,this.cultureName)){var u=s._Types._toDouble(e);return i(u>=1e21||u<=1e-17&&u>0||u<=-1e21||u<0&&u>=-1e-17?null!==(r=a.scientificNotation)&&void 0!==r?r:"0.##############E+00":E)}return i("General")},t.prototype.getPreferredDisplayFormatter=function(e,r){var n=t.defFormatter;if(r||(r={value:p}),r.value=p,j._isNullOrEmpty(e))return new t;var a=e,u=r.value=this.parse(a);if(C(u,"DateTime")||C(u,"TimeSpan")){var l={pattern:S,formatter:["d-mmm","mmm-yy",A().shortDatePattern,"h:mm","h:mm:ss","h:mm:ss.0","h:mm:ss tt",A().shortDatePattern+" h:mm",A().shortDatePattern+" h:mm:ss",A().shortDatePattern+" h:mm:ss.0"]},c=l.pattern,m=l.formatter,y=I(this.cultureName),h=y.DateTimeFormat,f=h.preselectedFormatters;if(f.length>0&&(c=c.concat([f]),m=m.concat([f[0]])),"ja-JP"===y.name()){c=c.concat([h.eraFormatter]),m=m.concat(["ge.M.d"]);var d=y._eraFormatter.filter((function(e){return"ggge"===e.substr(0,4)}));c=c.concat([d]),m=m.concat(['ggge"年"M"月"d"日']);var _=y._eraFormatter.filter((function(e){return"gge"===e.substr(0,3)}));c=c.concat([_]),m=m.concat(['gge"年"M"月"d"日']);var g=y._eraFormatter.filter((function(e){return"ge"===e.substr(0,2)}));c=c.concat([g]),m=m.concat(['ge"年"M"月"d"日'])}for(var M=0;M<c.length;M++)for(var v=c[M],b=0;b<v.length;b++){var F=v[b],D=o._DateTimeHelper._parseLocale(e,F);if(D&&D-u==0)return new t(m[M])}}else if(s._Types._isNumber(u,this.cultureName)){var x=R(this.cultureName),T=x.currencySymbol,N=x.numberDecimalSeparator,E=x.percentSymbol,H=x.numberGroupSeparator,P=i._StringHelper._contains,w=P(a,N)?".00":"";if(a[0]===T)return n(j._format("{0}#,##0{1};[Red]({0}#,##0{1})",T,w));if(P(a,"E",!0))return n("0.00E+00");if(a[0].toString()===E||a[a.length-1].toString()===E)return n(j._format("0{0}%",w));if(P(a,H))return n(j._format("#,##0{0}",w))}return n("General")},t.prototype.format=function(e,t){if(C(e,"boolean"))return B()&&(e=e?B().boolean_true:B().boolean_false),e.toString().toUpperCase();var r,n=0,a=this._getFormatInfo(e);if(a){var i=a.colorFormatPart;t&&i&&(t.conditionalForeColor=t.value=i.foreColor),(r=s._Types._isNumber(e,this.cultureName))&&(n=s._Types._toDouble(e));var o=j._Empty;try{if(r&&a===this.getFormatter(v._negative)&&0!==this.expressionNumber)(o=a.format(a.considerNegSymbol?n:_(n)))===p&&C(e,"string")&&(o=e);else if(void 0===(o=a.value)){var u=!this._isSingleFormatterInfo&&a===this.getFormatter(v._text);o=a.format(e,r||u)}t&&(t.content=T(o)?o:[{type:"text",value:o}]),T(o)&&(o=N._formatObjectToString(o))}catch(t){C(e,"string")&&(o=e.toString())}return o}return r&&n<0?"-":C(e,"string")?e.toString():void 0===e||e===p?j._Empty:e.toString()},t.prototype.parse=function(e){return this.formatters&&this.formatters.length>0?this.formatters[0].parse(e):p},t.prototype.init=function(){var e=this.formatCached;j._isNullOrEmpty(e)&&U(),this.formatters=[];var t=function(e){for(var t=[],r=0,n=0,a=e.length,i=0;i<a;i++)"_"===e[i]?r++:(";"!==e[i]||0!==r&&r%2!=0||(t.push(e.substring(n,i)),n=i+1),r=0);return n<=a&&t.push(e.substring(n,a)),t}(e);this._isSingleFormatterInfo=1===t.length,(!t||t.length<1||t.length>4)&&U();for(var r=0;r<t.length;r++){-1!==t[r].indexOf("@")&&-1===t[r].indexOf("\\@")&&(r!==t.length-1?U():this.hasAt=!0);var n=new de(t[r],this.cultureName);this.formatters.push(n)}this.getFormatter(v._positive)||U(),this._refreshFormatPart()},t.prototype._refreshFormatPart=function(){this.expressionNumber=this.formatters.length-(this.hasAt?1:0);var e=(0===this.expressionNumber?1:this.expressionNumber)-1;v=s._Types._extend({},b[e]),this.hasAt&&0!==this.expressionNumber&&(v._text=this.formatters.length-1)},t.prototype._getFormatInfo=function(e){this._refreshFormatPart();var t=this.getFormatter(v._positive),r=t&&t.conditionalFormatPart,n=this.getFormatter(v._text);if(r&&(v._zero=2,this.hasAt||(v._text=3)),"string"==typeof e&&k(e))return n||(r?e:t);if(s._Types._isNumber(e,this.cultureName)||C(e,"boolean")){var a=this.getFormatter(v._negative),i=this.getFormatter(v._zero),o=s._Types._toDouble(e),u=r&&t.conditionalFormatPart.isMeetCondition(o),l=a&&a.conditionalFormatPart,c=l&&a.conditionalFormatPart.isMeetCondition(o),m=void 0;if(this._isSingleFormatterInfo||(r?u:o>0||0===o&&!i))m=t;else if(l?c:o<0)m=a;else if(i)m=i;else if(a){if(r&&l)return{value:o+""};m=a}return m&&(!r||l||m!==a||i||(m.considerNegSymbol=!0),r&&l&&m===a&&a.conditionalFormatPart&&a.conditionalFormatPart.isMeetCondition(1e-10)&&(m.considerNegSymbol=!0),this.expressionNumber<=1&&(m.considerNegSymbol=!0)),m}return p},t.prototype._raisePropertyChanged=function(e){if(this.PropertyChanged)for(var t=0;t<this.PropertyChanged.length;t++){var r=this.PropertyChanged[t];"function"==typeof r&&r(this,e)}},t.defFormatter=function(e){var r=t[e];return r||(r=new t(e),t[e]=r),r},t.test=function(e){var t=!0;try{var r=new y.Lexer(e);new h.Parser(r).parse()}catch(e){t=!1}return t},t}(z);t.GeneralFormatter=pe},826:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=t.BACKSLASH=t.UNDERLINE=t.ASTERISK=t.DOUBLE_QUOTE=t.SEMICOLON=void 0,t.SEMICOLON=";",t.DOUBLE_QUOTE='"',t.ASTERISK="*",t.UNDERLINE="_",t.BACKSLASH="\\";t.throwError=function(){throw Error("Invalid Number Format")}},810:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Lexer=void 0;var n=r(826),a=function(e){return!!["0","#","?",".","%",",","/",n.BACKSLASH,n.ASTERISK,n.UNDERLINE,"@"].find((function(t){return t===e}))},i=function(e){return[n.BACKSLASH,n.ASTERISK,n.UNDERLINE].find((function(t){return t===e}))},o=function(e,t){return{type:e,value:t}},s=function(){function e(e){this._tokens=[],this._input=e,this._tokenize()}return e.prototype._tokenize=function(){for(var e=0,t=this._input;e<t.length;e++){var r=t[e];if(a(r)){if(i(r)){this._tokens.push(o("symbol",r)),e<t.length-1&&(this._tokens.push(o("char",t[e+1])),e++);continue}this._tokens.push(o("symbol",r))}else if(r!==n.SEMICOLON){if(r===n.DOUBLE_QUOTE){var s=t.slice(e+1).search(n.DOUBLE_QUOTE);if(-1!==s){s=s+e+1,this._tokens.push(o("text",t.slice(e+1,s))),e=s;continue}(0,n.throwError)()}this._tokens.push(o("char",r))}else this._tokens.push(o("semicolon",r))}this._tokens.push(o("EOF",""))},e.prototype._nextToken=function(){return this._tokens.shift()},e}();t.Lexer=s},61:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var n=r(826),a=function(){function e(e){this._lexer=e,this._currentToken=e._nextToken()}return e.prototype._eat=function(e){this._currentToken.type===e?this._currentToken=this._lexer._nextToken():(0,n.throwError)()},e.prototype.parse=function(){for(var e=[];"EOF"!==this._currentToken.type;)e.push(this._parseFormatPart()),e.length>4&&(0,n.throwError)();return{type:"numberFormat",body:e}},e.prototype._parseFormatPart=function(){for(var e=[];"semicolon"!==this._currentToken.type&&"EOF"!==this._currentToken.type;){"symbol"===this._currentToken.type?e.push(this._parseSymbol()):e.push(this._parseCharOrString())}return"semicolon"===this._currentToken.type&&this._eat("semicolon"),{type:"formatPart",body:e}},e.prototype._parseSymbol=function(){var e,t=this._currentToken.value;return t===n.ASTERISK?(this._eat("symbol"),e={type:"asterisk",body:this._currentToken.value},this._eat("char")):t===n.BACKSLASH?(this._eat("symbol"),e={type:"char",body:this._currentToken.value},this._eat("char")):t===n.UNDERLINE?(this._eat("symbol"),e={type:"underline",body:this._currentToken.value},this._eat("char")):(e={type:"symbol",body:this._currentToken.value},this._eat("symbol")),e},e.prototype._parseCharOrString=function(){var e,t=this._currentToken.type;return"char"===t?(e={type:"char",body:this._currentToken.value},this._eat("char")):"text"===t&&(e={type:"text",body:this._currentToken.value},this._eat("text")),e},e}();t.Parser=a},736:function(e){e.exports=canvas}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var i=r[e]={exports:{}};return t[e].call(i.exports,i,i.exports,n),i.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}();var a={};!function(){var e=a;Object.defineProperty(e,"__esModule",{value:!0}),e.Formatter=e.Commands=e.Common=void 0;var t=n(38);e.Common=t;var r=n(814);e.Commands=r;var i=n(569);e.Formatter=i}(),(e=void 0===e?{}:e).Spread=a}()}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}var n={};return(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.Middleware=e.LoggerManager=e.Connection=e.Server=void 0,r(826),r(271);const t=r(692);Object.defineProperty(e,"Server",{enumerable:!0,get:function(){return t.Server}});const a=r(42);Object.defineProperty(e,"Connection",{enumerable:!0,get:function(){return a.Connection}});const i=r(884);Object.defineProperty(e,"LoggerManager",{enumerable:!0,get:function(){return i.LoggerManager}}),Object.defineProperty(e,"Middleware",{enumerable:!0,get:function(){return i.Middleware}}),r(729)})(),n})()));
12
+ !function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var e=r();for(var n in e)("object"==typeof exports?exports:t)[n]=e[n]}}(this,(()=>(()=>{var t={42:(t,r,e)=>{"use strict";Object.defineProperty(r,"t",{value:!0}),r.Connection=void 0,r.u=function(t){return t.o};const n=e(884),i=e(371),a=e(654);class u extends n.Observable{constructor(t,r={}){var e;super(),this.M=new Map,this.F=new Map,this._=null!==(e=r.maxDecompressedMessageSize)&&void 0!==e?e:i.DEFAULT_MAX_MESSAGE_SIZE;const a=t.handshake.query;this.k=a.roomId,this.N=a.id,this.C=a,this.O=t,this.O.o=this,this.O.on(n.SOCKET_IO_MESSAGE_EVENT,this.j.bind(this))}get id(){return this.N}get roomId(){return this.k}get query(){return this.C}get auth(){return this.O.handshake.auth}get tags(){return this.M}get innerTags(){return this.F}get socket(){return this.O}send(t,r){this.O.emit(n.SOCKET_IO_MESSAGE_EVENT,(0,i.encodeMessage)(t,r))}close(){this.O.disconnect()}broadcast(t,r,e=!1){const a=(0,i.encodeMessage)(t,r);e&&this.O.emit(n.SOCKET_IO_MESSAGE_EVENT,a),this.O.to(this.roomId).emit(n.SOCKET_IO_MESSAGE_EVENT,a)}async joinRoomChannel(t){this.O.join((0,a.roomChannelIdentifier)(this.roomId,t))}async leaveRoomChannel(t){await this.O.leave((0,a.roomChannelIdentifier)(this.roomId,t))}broadcastToRoomChannel(t,r,e){const u=(0,i.encodeMessage)(r,e);this.O.to((0,a.roomChannelIdentifier)(this.roomId,t)).emit(n.SOCKET_IO_MESSAGE_EVENT,u)}j(t){try{let r;const e=(0,i.decodeMessage)(t,this._,(t=>{r=t}));if(r)return void this.O.emit("message_error",r.message);this.emit("message",e)}catch(t){this.O.emit("message_error",t instanceof Error?t.message:String(t))}}static T(t){return t.handshake&&t.handshake.query?t.handshake.query.id?t.handshake.query.roomId?null:new Error("Invalid connect: missing roomId in query parameters."):new Error("Invalid connect: missing id in query parameters."):new Error("Invalid connect: missing handshake or query parameters.")}}r.Connection=u},654:(t,r)=>{"use strict";Object.defineProperty(r,"t",{value:!0}),r.roomChannelIdentifier=void 0;r.roomChannelIdentifier=(t,r)=>`room-channel--${t}-${r}`},271:(t,r)=>{"use strict";Object.defineProperty(r,"t",{value:!0})},826:(t,r)=>{"use strict";Object.defineProperty(r,"t",{value:!0})},863:function(t,r,e){"use strict";var n,i=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),a=this&&this.B||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r}),u=this&&this.I||(n=function(t){return n=Object.getOwnPropertyNames||function(t){var r=[];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[r.length]=e);return r},n(t)},function(t){if(t&&t.t)return t;var r={};if(null!=t)for(var e=n(t),u=0;u<e.length;u++)"default"!==e[u]&&i(r,t,e[u]);return a(r,t),r});Object.defineProperty(r,"t",{value:!0}),r.J=r.vl=void 0,r.hk=B,r.vsl=function(t,e){let n;(0,r.vl)(t,{pK:"l6/zrbWoSbcLFwEetFh38rH3ErBZE9H+Cqix3R+wTlfA1wD5B+lUcCQn+EJ60I4RGrm0x1sFjkiLWwB0jAn6BWZv0W4WbqAKriOdeoivxDp1Wmjs3qkEDhvbsjPtfvwx2BHil6o+/tDrdMJQSGs18WZm2PoQLQuL+9VhZ4FNRHUQU3Jtioke/OZEGHJOdYVwvCGalzBad6QFOiVbDBQPePpS3++GJzOxN8SN/7lyS5/IdKiy3WJRaVGkB370+HbN6hKraDfUgReLX26yxRaKC/5aWnGAJ2NnWLoGyAGRcwT9dVjo4bcAZNrrA0U9JVKQxaSskhdv2p49XzJkltXx5w==",aC:"B1"},(function(r){n=I(r,"JTPS",{U:t}),n.l=B(t),n.hl=!!t,e(n)}),(function(){n=I(),n[r.J]=!0,n.hl=!!t,e(n)}))},r.q=I,r.W=z,r.getNumber1=G,r.getNumber2=J,r.getNumber3=U,r.getNumber4=L,r.getNumber5=q,r.getNumber6=K,r.getNumber7=W,r.getNumber8=Y,r.getNumber9=function(){return 9},r.getNumber10=function(){return 10},r.vdt=function(t,r,e,n){var i;if(!t||!r||isNaN(+r))return Y;const a=X(t);if(!a)return Y;const u=z(a);if(u&&!n.hl)return G;if(!n.hl)return J;if(n.h)return U;if(null===(i=n.adr)||void 0===i?void 0:i.dsr)return W;if(!n.r)return n.i?q:W;if(n.e)return L;if(!n.c)return K;if(e===j(["tu","re"])&&!n.f&&n.w)return Y;if(!function(t){try{const r=new Date(t),e=new Date;if(isNaN(r.getTime()))return!1;return Math.abs(e.getTime()-r.getTime())/6e4<=6}catch(t){return!1}}(+r))return Y;const s=n.w;if(!s)return G;if(u)return G;const f=s.split(",").map((t=>t.trim().toLowerCase()));return function(t,r){if(function(t,r){for(let e=0,n=r.length;e<n;e++){let n=r[e],i=!1;if(n&&0===n.lastIndexOf("*.",0)&&(i=!0),n=i?n.slice(2):n,n===t)return!0;if(i){let r=t.indexOf("."+n);if(r>0&&r===t.length-n.length-1)return!0}}return!1}(t,r))return!0;if(function(t,r){const e=/^[0-9.]+$/;if(t&&4===t.split(".").length)for(let n=0,i=r.length;n<i;n++){let i=r[n];if(i){let r=i.length-2;if(r>0&&(i===t||".*"===i.substr(r)&&t.substr(0,r)===i.substr(0,r)&&e.test(t)))return!0}}return!1}(t,r))return!0;if(function(t,r){0===t.indexOf("[")&&t.lastIndexOf("]")===t.length-1&&(t=t.substring(1,t.length-1));t.indexOf("%")>-1&&(t=t.split("%")[0]);if(e(t)){let u=o.parse(t);for(let s=0;s<r.length;s++){let o=r[s];if(e(o)&&i(o,t))return!0;let f=n(o);if(f&&a(u,f))return!0}}return!1;function e(t){return o.IPv4.isValidFourPartDecimal(t)||o.IPv6.isValid(t)}function n(t){if(-1===t.indexOf("/"))return!1;let r=t.split("/");if(r[1].indexOf(":")>-1||r[1].indexOf(".")>-1){let e=o.parse(r[1]).prefixLengthFromSubnetMask();t=[r[0],e].join("/")}try{return o.parseCIDR(t)}catch(t){return!1}}function i(t,r){return o.parse(t).toString()===o.parse(r).toString()}function a(t,r){try{return t.match(r)}catch(t){return!1}}}(t,r))return!0;return!1}(a.toLowerCase(),f)?G:Y},r.Y=X,r.gls=Q,r.X=V,r.glr=function(t,r){let e=V(r,0,Q(t,r));const n=new Error;return n.data=e,n};const s=u(e(917)),o=u(e(218)),f=u(e(519)),y=e(233);r.vl=s.Z;const c=s.V,h="r",m="d",M="e";r.J="h";const d="p",l="w",v="c",b="i",F="es",g="m",p="f",_="adr",D="n",w=c("HUkJ"),H=c("T&g"),$=c("Q&w"),k=c("GRz1"),S=c("XRwh"),N=c("WQs5"),P=c("XRsZ"),C=c("WQpN");let O=["Ivldlcneky","nai ies e."],x="19.1.1";function j(t,r){let e,n,i,a="",u=0;for(e=0;e<t.length;e++)u=Math.max(u,t[e].length);for(e=0;e<u;e++){r&&(n="");for(let i=0;i<t.length;i++)r?e>=t[i].length?n+="00":n+=t[i].charAt(e)+t[i].charAt(e+1):e<t[i].length&&(a+=t[i].charAt(e));r&&(i=parseInt(n,16),a+=String.fromCharCode(i),e++)}return a}const E=j(["eauto","vlain"]),T=j(["pouto","rdcin"]),A=j(["ivld","nai"]),R=j(["n e","oky"]);function B(t){if(!t)return"";const r=e(113).createHash("sha256").update(t).digest("hex");return[r.substring(0,8),r.substring(8,12),r.substring(12,16),r.substring(16,20),r.substring(20,32)].join("-")}function I(t,e,n){var i,a;null!==(i=(n=n||{}).tt)&&void 0!==i||(n.tt=!0),null!==(a=n.rt)&&void 0!==a||(n.rt=["Sra Sv","pedJ ."]);let u,s,o,c,O,x,E,T,A,R,B={},I=!1,z=!1;return B.s=function(){var r,i;if(!t)return c=!0,!1;let a,h,m=t[w];if(!m||!m.length)return!1;const M=j(n.rt);for(let t=0,n=m.length;t<n;t++)if(a=m[t],a){if(h=a[$]===e,h){u=a[H];break}if((null===(r=a[H])||void 0===r?void 0:r.indexOf(M))>=0){const t=parseInt(a[H].replace(M,""),10);T=isNaN(t)?void 0:t}}if(t[N]&&(A=t[N],(null===(i=t[N].flg)||void 0===i?void 0:i.length)>0)){const r=t[N].flg;for(let t=0;t<r.length;t++)r[t]===j(f.et,!0)&&(I=!0)}if(!h)return!1;if(t[S]){x=t[S];let r=new Date,e=(d=t[S],new Date(parseInt(d.substr(0,4),10)||0,parseInt(d.substr(4,2),10)-1||0,parseInt(d.substr(6,2),10)||0));if(o=Math.ceil((e.getTime()-r.getTime())/864e5),s=o<=0,s)return O=e,!1}else o=void 0;var d;return(!n.tt||!0===I)&&(E=t[k],z=t[C],R=(0,y.nt)(n.U,E),!0)}(),B[g]=t?t[P]?-1:1:0,B[h]=u,B[M]=s,B[l]=E,B[r.J]=c,B[d]=O,B[v]=I,B[b]=T,B[F]=x,B[p]=z,B[_]=A,B[D]=R,s||(B[m]=o),B}function z(t){let r=c("4LJITMx8UMcA"),e=c("Zo9Wv2#M"),n=c("JYw3Gb4NOb6x");return!!t&&(t===r||t===e||t===n)}function G(){return 1}function J(){return Math.floor(2.5)}function U(){return 3}function L(){return Math.pow(2,2)}function q(){return Math.ceil(4.5)}function K(){return 6}function W(){return 7}function Y(){return 8}function X(t){try{t.match(/^https?:\/\//i)||t.match(/^file:\/\//i)||(t="http://"+t);return new URL(t).hostname}catch(t){return null}}function Z(t,r){var e;const n=j([t,"s"]);let i=function(t){let r,e=!0,n="";if(t)if("string"==typeof t)(t=t.trim())&&(r=[t]);else if(Array.isArray(t)){let e=!0;r=[];for(let i=0;i<t.length;i++)n=t[i].trim(),r.push(n),e&&n&&(e=!1);e&&(r=null)}return r||(e=!1,r=O),j(r,e)}(f[n]);return(null===(e=r.p)||void 0===e?void 0:e.toLocaleDateString)&&(i=i.replace("{0}",r.p.toLocaleDateString())),i=i.replace("{0}",(new Date).toLocaleDateString()),r.i&&(i=i.replace("{1}",r.i)),i=i.replace("{1}",j(["1","8"])),i=i.replace("{2}",""+parseInt(x,10)),i}function Q(t,r){switch(t()){case 2:return Z("l1",r);case 3:return Z("l2",r);case 4:return Z("l3",r);case 5:return Z("l4",r);case 6:return Z("l5",r);case 7:default:return Z("l6",r);case 8:return Z("l7",r);case 9:return Z("l8",r);case 10:return Z("l9",r)}}function V(t,r,e){var n;let i;1===t[g]?i=T:-1===t[g]&&(i=E),(!1===t.s||(null===(n=t.adr)||void 0===n?void 0:n.dsr))&&(i=A),t.hl||(i=R);const a={status:r,message:e};return t.iml?(a.serverKeyType=i,a.serverKeyExpiredDate=t[F]):(a.type=i,a.expiredDate=t[F]),a}},729:(t,r,e)=>{"use strict";Object.defineProperty(r,"t",{value:!0});const n=e(692),i=e(105),a=e(863);let u;function s(){return 8}e(849),e(372),e(653),e(138);const o=["li","ce","ns","eK","ey"];n.Server.prototype.it=function(t){u&&u.l===(0,a.hk)(this[o.join("")])||(0,a.vsl)(this[o.join("")],(t=>{u=t}));let r=t.query.serverId;if(!r)return(0,a.glr)(s,u);try{r=i.st.ut(r,"3bsNGkmSfvzQoQcO");const[t,e,n]=r.split(">"),s=(0,a.vdt)(t,e,n,u);if(1!==s())return(0,a.glr)(s,u)}catch(t){return(0,a.glr)(s,u)}},n.Server.prototype.ot=function(){return u&&u.l===(0,a.hk)(this[o.join("")])||(0,a.vsl)(this[o.join("")],(t=>{u=t})),{data:(0,a.X)(u,1)}}},233:(t,r)=>{"use strict";Object.defineProperty(r,"t",{value:!0}),r.nt=function(t,r){if(!t)return"";let e=r;e&&(e=e.replace(/,/g,"|"));const n=t.split(",");let i=0;"GrapeCity-Internal-Use-Only"===n[i]&&i++;if(n.length>=2+i)return e&&n[i]===e?"":n[i];return""}},105:(t,r)=>{"use strict";Object.defineProperty(r,"t",{value:!0}),r.st=void 0,r.st={ft:function(t,r){const e=this.ht.ct.yt(r);if(!this.Mt(e))return t;const n=this.ht.ct.yt(t),i=this.dt(),a=new this.vt.lt(i),u=new this.vt.Ft.bt(e,a).ft(n),s=i.concat(Array.from(u));return this.ht._t.gt(s)},ut:function(t,r){try{const e=this.ht.ct.yt(r);if(!this.Mt(e))return t;const n=this.ht._t.yt(t),i=n.slice(0,16),a=n.slice(16);if(16!==i.length)return t;const u=new this.vt.lt(i),s=new this.vt.Ft.bt(e,u).ut(a);return this.ht.ct.gt(s)}catch(r){return t}},Mt:function(t){return-1!==[16,24,32].indexOf(t.length)},dt:function(){const t=[];for(let r=0;r<16;r++)t.push(Math.floor(256*Math.random()));return t},ht:{ct:{yt:function(t){let r=[];for(let e=0;e<t.length;e++){let n=t.charCodeAt(e);n<128?r.push(n):n<2048?r.push(192|n>>6,128|63&n):n<55296||n>=57344?r.push(224|n>>12,128|n>>6&63,128|63&n):(e++,n=65536+((1023&n)<<10|1023&t.charCodeAt(e)),r.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return r},gt:function(t){let r="",e=0;for(;e<t.length;){let n=t[e++];if(n<128)r+=String.fromCharCode(n);else if(192==(224&n))r+=String.fromCharCode((31&n)<<6|63&t[e++]);else if(224==(240&n))r+=String.fromCharCode((15&n)<<12|(63&t[e++])<<6|63&t[e++]);else if(240==(248&n)){let i=(7&n)<<18|(63&t[e++])<<12|(63&t[e++])<<6|63&t[e++];i-=65536,r+=String.fromCharCode(i>>10|55296,1023&i|56320)}}return r}},_t:{Dt:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",gt:function(t){let r="",e=0,n=t.length;for(;e<n;e++){let n=t[e++],i=t[e++],a=t[e],u=n>>2,s=(3&n)<<4|i>>4,o=(15&i)<<2|a>>6,f=63&a;isNaN(i)?o=f=64:isNaN(a)&&(f=64),r+=this.Dt.charAt(u)+this.Dt.charAt(s)+this.Dt.charAt(o)+this.Dt.charAt(f)}return r},yt:function(t){let r=[],e=0;for(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");e<t.length;){let n=this.Dt.indexOf(t.charAt(e++)),i=this.Dt.indexOf(t.charAt(e++)),a=this.Dt.indexOf(t.charAt(e++)),u=this.Dt.indexOf(t.charAt(e++)),s=n<<2|i>>4,o=(15&i)<<4|a>>2,f=(3&a)<<6|u;r.push(s),64!==a&&r.push(o),64!==u&&r.push(f)}return r}}},vt:function(){const t=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],r=[[0,0,0,0],[1,0,0,0],[2,0,0,0],[4,0,0,0],[8,0,0,0],[16,0,0,0],[32,0,0,0],[64,0,0,0],[128,0,0,0],[27,0,0,0],[54,0,0,0]];class e{constructor(t){this.wt=t,this.Ht=[],this.$t=[],this.kt(this.wt,this.Ht,this.$t)}St(r){return[t[r[0]],t[r[1]],t[r[2]],t[r[3]]]}Nt(t){return[t[1],t[2],t[3],t[0]]}kt(t,e,n){let i,a=t.length/4,u=a+6,s=[];for(let r=0;r<a;r++)s.push([t[4*r],t[4*r+1],t[4*r+2],t[4*r+3]]);for(let t=a;t<4*(u+1);t++){if(i=s[t-1],t%a==0){i=this.Nt(i),i=this.St(i);for(let e=0;e<4;e++)i[e]^=r[t/a][e]}else a>6&&t%a==4&&(i=this.St(i));s.push([]);for(let r=0;r<4;r++)s[t][r]=s[t-a][r]^i[r]}for(let t=0;t<=u;t++){e.push([]);for(let r=0;r<4;r++)for(let n=0;n<4;n++)e[t][4*r+n]=s[4*t+r][n]}}Pt(t,r){let e=r.length-1,n=[[],[],[],[]];for(let r=0;r<4;r++)for(let e=0;e<4;e++)n[r][e]=t[r+4*e];n=this.Ct(n,r[0]);for(let t=1;t<e;t++)n=this.Ot(n),n=this.xt(n),n=this.jt(n),n=this.Ct(n,r[t]);n=this.Ot(n),n=this.xt(n),n=this.Ct(n,r[e]);let i=new Array(16);for(let t=0;t<4;t++)for(let r=0;r<4;r++)i[t+4*r]=n[t][r];return i}Ct(t,r){for(let e=0;e<4;e++)for(let n=0;n<4;n++)t[e][n]^=r[e+4*n];return t}Ot(r){for(let e=0;e<4;e++)for(let n=0;n<4;n++)r[e][n]=t[r[e][n]];return r}xt(t){let r;for(let e=1;e<4;e++)r=t[e].slice(0,e),t[e]=t[e].slice(e).concat(r);return t}Et(t){return t<<1^27*(t>>7&1)}jt(t){for(let r=0;r<4;r++){let e=t.map((t=>t[r]));t[0][r]=this.Et(e[0])^this.Et(e[1])^e[1]^e[2]^e[3],t[1][r]=e[0]^this.Et(e[1])^this.Et(e[2])^e[2]^e[3],t[2][r]=e[0]^e[1]^this.Et(e[2])^this.Et(e[3])^e[3],t[3][r]=this.Et(e[0])^e[0]^e[1]^e[2]^this.Et(e[3])}return t}}class n{constructor(t){this.vt=new e(t)}}return n.bt=class{constructor(t,r){this.ut=this.ft,this.wt=t,this.Tt=r,this.vt=new e(t),this.At=[]}ft(t){const r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)0===this.At.length&&(this.At=this.vt.Pt(this.Tt.Tt,this.vt.Ht),this.Tt.Rt()),r[e]=this.At.shift()^t[e];return r}},{Bt:e,lt:class{constructor(t){this.Tt=t.slice(0)}Rt(){for(let t=15;t>=0;t--){if(255!==this.Tt[t]){this.Tt[t]++;break}this.Tt[t]=0}}},Ft:n}}()}},611:(t,r)=>{"use strict";Object.defineProperty(r,"t",{value:!0}),r.ls7=r.ls6=r.ls5=r.ls4=r.ls3=r.ls2=r.ls1=void 0,r.ls1=["","4c6963656e7365204e6f7420466f756e640d0a596f75206e65656420612076616c6964206c6963656e7365206b657920746f2072756e205370726561644a532e0d0a54656d706f72617279206b6579732061726520617661696c61626c6520666f72206576616c756174696f6e2e0d0a496620796f75207075726368617365642061206c6963656e73652c20796f7572206b657920697320696e20796f757220707572636861736520636f6e6669726d6174696f6e20656d61696c2e0d0a"],r.ls2=["","496e76616c6964206c6963656e7365206b65792e0d0a546865726520697320616e2069737375652072656164696e6720746865206c6963656e7365206b65792e0d0a4d616b65207375726520746f20636f70792074686520656e74697265206c6963656e7365206b657920737472696e6720696e746f20796f7572206170706c69636174696f6e2e0d0a"],r.ls3=["","506f7765726564206279204d455343495553205370726561644a532e0d0a596f75722074656d706f72617279206465706c6f796d656e74206b6579206861732065787069726564206f6e207b307d2e0d0a"],r.ls4=["","496e76616c6964206c6963656e7365206b65792e0d0a546865206c6963656e7365206b657920697320666f722076657273696f6e20567b317d2e2042757420746869732076657273696f6e20697320567b327d2e0d0a"],r.ls5=["","496e76616c6964206c6963656e7365206b65792e0d0a54686520436f6c6c61626f726174696f6e204164646f6e2069732044697361626c65642e"],r.ls6=["","496e76616c6964206c6963656e7365206b65792e"],r.ls7=["","496e76616c6964206c6963656e7365206b65792e0d0a54686973206c6963656e7365206b657920697320666f72206120646966666572656e7420686f73746e616d652e"]},519:(t,r,e)=>{"use strict";Object.defineProperty(r,"t",{value:!0}),r.et=void 0,r.et=["436f6c6c61626f726174696f6e"];const n=e(611);for(let t in n)n.hasOwnProperty(t)&&(r[t]=n[t])},371:function(t,r,e){"use strict";var n,i=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),a=this&&this.B||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r}),u=this&&this.I||(n=function(t){return n=Object.getOwnPropertyNames||function(t){var r=[];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[r.length]=e);return r},n(t)},function(t){if(t&&t.t)return t;var r={};if(null!=t)for(var e=n(t),u=0;u<e.length;u++)"default"!==e[u]&&i(r,t,e[u]);return a(r,t),r});Object.defineProperty(r,"t",{value:!0}),r.DEFAULT_MAX_MESSAGE_SIZE=void 0,r.encodeMessage=function(t,r=null){try{const e=JSON.stringify(t),n=(new TextEncoder).encode(e);if(n.byteLength<f.COMPRESSION_THRESHOLD)return[r,t,!1];const i=Buffer.from(n),a=o.gzipSync(i);if(a.byteLength<n.byteLength){return[r,a.toString("base64"),!0]}return[r,t,!1]}catch(e){return[r,t,!1]}},r.decodeMessage=function(t,e=r.DEFAULT_MAX_MESSAGE_SIZE,n){const i=t[0],a=t[1];if(!t[2])return[a,i];if("string"!=typeof a)return[a,i];try{const t=Buffer.from(a,"base64"),r=o.gunzipSync(t,{maxOutputLength:e}),n=(new TextDecoder).decode(r);return[JSON.parse(n),i]}catch(t){return function(t){return"object"==typeof t&&null!==t&&"code"in t&&"ERR_BUFFER_TOO_LARGE"===t.code}(t)&&(null==n||n(function(t,r){if("object"==typeof t&&null!==t&&"code"in t&&"ERR_BUFFER_TOO_LARGE"===t.code)return new Error(`Compressed message exceeds the configured limit of ${r} bytes after decompression.`);if(t instanceof Error)return new Error(`Failed to decode compressed message: ${t.message}`);return new Error("Failed to decode compressed message.")}(t,e))),[a,i]}};const s=e(871),o=u(e(796)),f=e(884);r.DEFAULT_MAX_MESSAGE_SIZE=function(){const t=null===s.constants||void 0===s.constants?void 0:s.constants.MAX_STRING_LENGTH;return"number"==typeof t&&Number.isFinite(t)&&t>0?t:536870912}()},692:function(t,r,e){"use strict";var n,i=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),a=this&&this.B||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r}),u=this&&this.I||(n=function(t){return n=Object.getOwnPropertyNames||function(t){var r=[];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[r.length]=e);return r},n(t)},function(t){if(t&&t.t)return t;var r={};if(null!=t)for(var e=n(t),u=0;u<e.length;u++)"default"!==e[u]&&i(r,t,e[u]);return a(r,t),r});Object.defineProperty(r,"t",{value:!0}),r.Server=void 0;const s=u(e(952)),o=e(884),f=e(42),y=e(654),c=e(371);class h extends o.Middleware{constructor(t){var r,e,n,i,a,u,y;super(),this.It=new Set,this.licenseKey="",this.serverLicenseKey="";const h=null!==(r=(t=null!=t?t:{port:3e3}).maxHttpBufferSize)&&void 0!==r?r:536870912,m=null!==(e=t.maxDecompressedMessageSize)&&void 0!==e?e:c.DEFAULT_MAX_MESSAGE_SIZE;Object.defineProperty(this,"licenseKey",{writable:!0,configurable:!1}),Object.defineProperty(this,"serverLicenseKey",{writable:!0,configurable:!1}),this.zt=new s.Server(t.httpServer||t.port,{serveClient:!1,perMessageDeflate:!1,transports:["websocket"],path:null!==(n=t.path)&&void 0!==n?n:o.DEFAULT_REQUEST_PATH,adapter:t.socketIoAdapter,allowRequest:t.allowRequest,cors:t.cors,connectTimeout:null!==(i=t.connectTimeout)&&void 0!==i?i:45e3,pingInterval:null!==(a=t.pingInterval)&&void 0!==a?a:25e3,pingTimeout:null!==(u=t.pingTimeout)&&void 0!==u?u:2e4,upgradeTimeout:null!==(y=t.upgradeTimeout)&&void 0!==y?y:1e4,maxHttpBufferSize:h}),this.zt.use(((t,r)=>{const e=f.Connection.T(t);if(e)return r(e);const n=new f.Connection(t,{maxDecompressedMessageSize:m}),i={connection:n,roomId:n.roomId},a=this.it(n);if(a)return r(a);this.trigger("connect",i,(async t=>{return t?r((e=t)instanceof Error?e:new Error(e)):r();var e}))}));const M=this.zt.of("/").adapter;this.zt.on("connection",(t=>{const r=(0,f.u)(t);this.emit("connect",{connection:r,roomId:r.roomId}),t.emit("eauto",this.ot()),this.It.add(r.roomId),r.socket.join(r.roomId),r.on("message",((t,e)=>{this.trigger("message",{connection:r,data:t,type:e,roomId:r.roomId},(async n=>{n?r.socket.emit("message_error",n instanceof Error?n.message:n):await this.emit("message",{connection:r,data:t,type:e,roomId:r.roomId})}))})),r.socket.on("disconnect",(()=>{this.emit("disconnect",{connection:r,roomId:r.roomId})}))})),M.on("create-room",(t=>{this.It.has(t)&&this.emit("createRoom",{roomId:t})})),M.on("join-room",((t,r)=>{if(!this.It.has(t))return;const e=this.zt.sockets.sockets.get(r);this.emit("enterRoom",{roomId:t,connection:(0,f.u)(e)})})),M.on("leave-room",((t,r)=>{if(!this.It.has(t))return;const e=this.zt.sockets.sockets.get(r);this.emit("leaveRoom",{roomId:t,connection:(0,f.u)(e)})})),M.on("delete-room",(t=>{this.It.has(t)&&(this.It.delete(t),this.emit("destroyRoom",{roomId:t}))}))}it(t){}ot(){}use(t,r){if("string"==typeof t){const e=t;super.use(e,r)}else{const r=t;r.connect&&super.use("connect",r.connect),r.message&&super.use("message",r.message)}}on(t,r){if("string"==typeof t){const e=t;super.on(e,r)}else{const r=t;r.connect&&super.on("connect",r.connect),r.createRoom&&super.on("createRoom",r.createRoom),r.enterRoom&&super.on("enterRoom",r.enterRoom),r.message&&super.on("message",r.message),r.disconnect&&super.on("disconnect",r.disconnect),r.leaveRoom&&super.on("leaveRoom",r.leaveRoom),r.destroyRoom&&super.on("destroyRoom",r.destroyRoom)}}useFeature(t){t.middlewares&&this.use(t.middlewares),t.hooks&&this.on(t.hooks),t.onUseFeature&&t.onUseFeature(this)}broadcastToRoomChannel(t,r,e,n){const i=(0,c.encodeMessage)(e,n);this.zt.to((0,y.roomChannelIdentifier)(t,r)).emit(o.SOCKET_IO_MESSAGE_EVENT,i)}}r.Server=h},871:t=>{"use strict";t.exports=require("buffer")},952:t=>{"use strict";t.exports=require("socket.io")},113:t=>{"use strict";t.exports=require("crypto")},796:t=>{"use strict";t.exports=require("zlib")},884:function(t,r,e){"use strict";var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),r.DEFAULT_REQUEST_PATH=void 0,i(e(589),r),i(e(735),r),i(e(31),r),i(e(76),r),i(e(959),r),r.DEFAULT_REQUEST_PATH="/collaboration/"},31:(t,r)=>{"use strict";var e;Object.defineProperty(r,"t",{value:!0}),r.LoggerManager=r.LogLevel=void 0,function(t){t[t.DEBUG=0]="DEBUG",t[t.INFO=1]="INFO",t[t.WARN=2]="WARN",t[t.ERROR=3]="ERROR"}(e||(r.LogLevel=e={}));class n{debug(...t){}info(...t){}warn(...t){}error(...t){}}class i{constructor(t){this.namespace=t}debug(...t){this.isEnabled&&a.getLogLevel()<=e.DEBUG&&this.logger.debug(`[${this.namespace}]`,...t)}info(...t){this.isEnabled&&a.getLogLevel()<=e.INFO&&this.logger.info(`[${this.namespace}]`,...t)}warn(...t){this.isEnabled&&a.getLogLevel()<=e.WARN&&this.logger.warn(`[${this.namespace}]`,...t)}error(...t){this.isEnabled&&a.getLogLevel()<=e.ERROR&&this.logger.error(`[${this.namespace}]`,...t)}get isEnabled(){return a.Jt(this.namespace)}get logger(){return a.getInstance()}}class a{static getInstance(){return a.Ut||(a.Ut=new n),a.Ut}static createLogger(t){return new i(t)}static setLogger(t){a.Ut=t}static setLogLevel(t){a.Lt=t}static getLogLevel(){return a.Lt}static enableNamespace(t){a.qt.push(...t)}static disableNamespace(t){a.qt=a.qt.filter((r=>!t.includes(r)))}static Jt(t){return!!a.qt.includes("*")||a.qt.some((r=>{if(r===t)return!0;if(r.endsWith(".*")){const e=r.slice(0,-2);return t===e||t.startsWith(e+".")}return!1}))}}r.LoggerManager=a,a.qt=[],a.Lt=e.INFO},735:(t,r)=>{"use strict";Object.defineProperty(r,"t",{value:!0}),r.SOCKET_IO_MESSAGE_EVENT=r.COMPRESSION_THRESHOLD=void 0,r.COMPRESSION_THRESHOLD=128,r.SOCKET_IO_MESSAGE_EVENT="m"},589:(t,r)=>{"use strict";Object.defineProperty(r,"t",{value:!0}),r.Middleware=void 0;r.Middleware=class{constructor(){this.middlewares=new Map,this.hooks=new Map}use(t,r){this.middlewares.has(t)||this.middlewares.set(t,[]),this.middlewares.get(t).push(r)}on(t,r){this.hooks.has(t)||this.hooks.set(t,[]),this.hooks.get(t).push(r)}async trigger(t,r,e){let n=this.middlewares.get(t);if(!n||0===n.length)return e();n=n.slice();const i=async t=>{if(t)return await e(t);const a=n.shift();if(!a)return await e();await a(r,i)};await i()}async emit(t,r){const e=this.hooks.get(t);if(e)for(const t of e)await t(r)}}},959:(t,r)=>{"use strict";Object.defineProperty(r,"t",{value:!0}),r.Observable=void 0;r.Observable=class{constructor(){this.Kt=new Map}on(t,r){return e(this.Kt,t,(()=>new Set)).add(r),r}once(t,r){const e=(...n)=>{this.off(t,e),r(...n)};this.on(t,e)}off(t,r){const e=this.Kt.get(t);void 0!==e&&(e.delete(r),0===e.size&&this.Kt.delete(t))}emit(t,r){return Array.from((this.Kt.get(t)||new Map).values()).forEach((t=>t(...r)))}destroy(){this.Kt=new Map}};const e=(t,r,e)=>{let n=t.get(r);return void 0===n&&(n=e(),t.set(r,n)),n}},76:(t,r)=>{"use strict";Object.defineProperty(r,"t",{value:!0}),r.isNullOrUndefined=function(t){return null==t},r.isEqual=function t(r,e,n=new WeakMap){if(r===e)return!0;if(Number.isNaN(r)&&Number.isNaN(e))return!0;if(null===r||null===e||"object"!=typeof r||"object"!=typeof e)return!1;if(n.has(r)&&n.get(r)===e)return!0;n.set(r,e);const i=Object.prototype.toString.call(r),a=Object.prototype.toString.call(e);if(i!==a)return!1;if(r instanceof Date||e instanceof Date)return r.getTime()===e.getTime();if(r instanceof RegExp||e instanceof RegExp)return r.toString()===e.toString();if(r instanceof Map||e instanceof Map)return r.size===e.size&&Array.from(r.entries()).every((([r,i])=>e.has(r)&&t(i,e.get(r),n)));if(r instanceof Set||e instanceof Set)return Array.from(r).every(((r,i)=>t(r,Array.from(e)[i],n)));if(Array.isArray(r)&&Array.isArray(e))return r.length===e.length&&r.every(((r,i)=>t(r,e[i],n)));const u=Object.keys(r),s=Object.keys(e);if(u.length!==s.length)return!1;return u.every((i=>Object.prototype.hasOwnProperty.call(e,i)&&t(r[i],e[i],n)))},r.uuid=function(t=8){let r="";for(let i=0;i<t;i++){const t=~~(Math.random()*n);r+=e[t]}return r};const e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",n=e.length},218:t=>{"use strict";!function(){var r="(0?\\d+|0x[a-f0-9]+)",e={fourOctet:new RegExp("^".concat(r,"\\.").concat(r,"\\.").concat(r,"\\.").concat(r,"$"),"i"),threeOctet:new RegExp("^".concat(r,"\\.").concat(r,"\\.").concat(r,"$"),"i"),twoOctet:new RegExp("^".concat(r,"\\.").concat(r,"$"),"i"),longValue:new RegExp("^".concat(r,"$"),"i")},n=new RegExp("^0[0-7]+$","i"),i=new RegExp("^0x[a-f0-9]+$","i"),a="%[0-9a-z]{1,}",u="(?:[0-9a-f]+::?)+",s={zoneIndex:new RegExp(a,"i"),native:new RegExp("^(::)?(".concat(u,")?([0-9a-f]+)?(::)?(").concat(a,")?$"),"i"),deprecatedTransitional:new RegExp("^(?:::)(".concat(r,"\\.").concat(r,"\\.").concat(r,"\\.").concat(r,"(").concat(a,")?)$"),"i"),transitional:new RegExp("^((?:".concat(u,")|(?:::)(?:").concat(u,")?)").concat(r,"\\.").concat(r,"\\.").concat(r,"\\.").concat(r,"(").concat(a,")?$"),"i")};function o(t,r){if(t.indexOf("::")!==t.lastIndexOf("::"))return null;var e,n,i=0,a=-1,u=(t.match(s.zoneIndex)||[])[0];for(u&&(u=u.substring(1),t=t.replace(/%.+$/,""));(a=t.indexOf(":",a+1))>=0;)i++;if("::"===t.substr(0,2)&&i--,"::"===t.substr(-2,2)&&i--,i>r)return null;for(n=r-i,e=":";n--;)e+="0:";return":"===(t=t.replace("::",e))[0]&&(t=t.slice(1)),":"===t[t.length-1]&&(t=t.slice(0,-1)),{parts:r=function(){for(var r=t.split(":"),e=[],n=0;n<r.length;n++)e.push(parseInt(r[n],16));return e}(),zoneId:u}}function f(t,r,e,n){if(t.length!==r.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(var i,a=0;n>0;){if((i=e-n)<0&&(i=0),t[a]>>i!=r[a]>>i)return!1;n-=e,a+=1}return!0}function y(t){if(i.test(t))return parseInt(t,16);if("0"===t[0]&&!isNaN(parseInt(t[1],10))){if(n.test(t))return parseInt(t,8);throw new Error("ipaddr: cannot parse ".concat(t," as octal"))}return parseInt(t,10)}function c(t,r){for(;t.length<r;)t="0".concat(t);return t}var h={};h.IPv4=function(){function t(t){if(4!==t.length)throw new Error("ipaddr: ipv4 octet count should be 4");var r,e;for(r=0;r<t.length;r++)if(!(0<=(e=t[r])&&e<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=t}return t.prototype.SpecialRanges={unspecified:[[new t([0,0,0,0]),8]],broadcast:[[new t([255,255,255,255]),32]],multicast:[[new t([224,0,0,0]),4]],linkLocal:[[new t([169,254,0,0]),16]],loopback:[[new t([127,0,0,0]),8]],carrierGradeNat:[[new t([100,64,0,0]),10]],private:[[new t([10,0,0,0]),8],[new t([172,16,0,0]),12],[new t([192,168,0,0]),16]],reserved:[[new t([192,0,0,0]),24],[new t([192,0,2,0]),24],[new t([192,88,99,0]),24],[new t([198,51,100,0]),24],[new t([203,0,113,0]),24],[new t([240,0,0,0]),4]]},t.prototype.kind=function(){return"ipv4"},t.prototype.match=function(t,r){var e;if(void 0===r&&(t=(e=t)[0],r=e[1]),"ipv4"!==t.kind())throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return f(this.octets,t.octets,8,r)},t.prototype.prefixLengthFromSubnetMask=function(){var t,r,e,n=0,i=!1,a={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};for(t=3;t>=0;t-=1){if(!((r=this.octets[t])in a))return null;if(e=a[r],i&&0!==e)return null;8!==e&&(i=!0),n+=e}return 32-n},t.prototype.range=function(){return h.subnetMatch(this,this.SpecialRanges)},t.prototype.toByteArray=function(){return this.octets.slice(0)},t.prototype.toIPv4MappedAddress=function(){return h.IPv6.parse("::ffff:".concat(this.toString()))},t.prototype.toNormalizedString=function(){return this.toString()},t.prototype.toString=function(){return this.octets.join(".")},t}(),h.IPv4.broadcastAddressFromCIDR=function(t){try{for(var r=this.parseCIDR(t),e=r[0].toByteArray(),n=this.subnetMaskFromPrefixLength(r[1]).toByteArray(),i=[],a=0;a<4;)i.push(parseInt(e[a],10)|255^parseInt(n[a],10)),a++;return new this(i)}catch(t){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},h.IPv4.isIPv4=function(t){return null!==this.parser(t)},h.IPv4.isValid=function(t){try{return new this(this.parser(t)),!0}catch(t){return!1}},h.IPv4.isValidFourPartDecimal=function(t){return!(!h.IPv4.isValid(t)||!t.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},h.IPv4.networkAddressFromCIDR=function(t){var r,e,n,i,a;try{for(n=(r=this.parseCIDR(t))[0].toByteArray(),a=this.subnetMaskFromPrefixLength(r[1]).toByteArray(),i=[],e=0;e<4;)i.push(parseInt(n[e],10)&parseInt(a[e],10)),e++;return new this(i)}catch(t){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},h.IPv4.parse=function(t){var r=this.parser(t);if(null===r)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(r)},h.IPv4.parseCIDR=function(t){var r;if(r=t.match(/^(.+)\/(\d+)$/)){var e=parseInt(r[2]);if(e>=0&&e<=32){var n=[this.parse(r[1]),e];return Object.defineProperty(n,"toString",{value:function(){return this.join("/")}}),n}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},h.IPv4.parser=function(t){var r,n,i;if(r=t.match(e.fourOctet))return function(){for(var t=r.slice(1,6),e=[],i=0;i<t.length;i++)n=t[i],e.push(y(n));return e}();if(r=t.match(e.longValue)){if((i=y(r[1]))>4294967295||i<0)throw new Error("ipaddr: address outside defined range");return function(){var t,r=[];for(t=0;t<=24;t+=8)r.push(i>>t&255);return r}().reverse()}return(r=t.match(e.twoOctet))?function(){var t=r.slice(1,4),e=[];if((i=y(t[1]))>16777215||i<0)throw new Error("ipaddr: address outside defined range");return e.push(y(t[0])),e.push(i>>16&255),e.push(i>>8&255),e.push(255&i),e}():(r=t.match(e.threeOctet))?function(){var t=r.slice(1,5),e=[];if((i=y(t[2]))>65535||i<0)throw new Error("ipaddr: address outside defined range");return e.push(y(t[0])),e.push(y(t[1])),e.push(i>>8&255),e.push(255&i),e}():null},h.IPv4.subnetMaskFromPrefixLength=function(t){if((t=parseInt(t))<0||t>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(var r=[0,0,0,0],e=0,n=Math.floor(t/8);e<n;)r[e]=255,e++;return n<4&&(r[n]=Math.pow(2,t%8)-1<<8-t%8),new this(r)},h.IPv6=function(){function t(t,r){var e,n;if(16===t.length)for(this.parts=[],e=0;e<=14;e+=2)this.parts.push(t[e]<<8|t[e+1]);else{if(8!==t.length)throw new Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=t}for(e=0;e<this.parts.length;e++)if(!(0<=(n=this.parts[e])&&n<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");r&&(this.zoneId=r)}return t.prototype.SpecialRanges={unspecified:[new t([0,0,0,0,0,0,0,0]),128],linkLocal:[new t([65152,0,0,0,0,0,0,0]),10],multicast:[new t([65280,0,0,0,0,0,0,0]),8],loopback:[new t([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new t([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new t([0,0,0,0,0,65535,0,0]),96],rfc6145:[new t([0,0,0,0,65535,0,0,0]),96],rfc6052:[new t([100,65435,0,0,0,0,0,0]),96],"6to4":[new t([8194,0,0,0,0,0,0,0]),16],teredo:[new t([8193,0,0,0,0,0,0,0]),32],reserved:[[new t([8193,3512,0,0,0,0,0,0]),32]]},t.prototype.isIPv4MappedAddress=function(){return"ipv4Mapped"===this.range()},t.prototype.kind=function(){return"ipv6"},t.prototype.match=function(t,r){var e;if(void 0===r&&(t=(e=t)[0],r=e[1]),"ipv6"!==t.kind())throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return f(this.parts,t.parts,16,r)},t.prototype.prefixLengthFromSubnetMask=function(){for(var t,r,e=0,n=!1,i={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},a=7;a>=0;a-=1){if(!((t=this.parts[a])in i))return null;if(r=i[t],n&&0!==r)return null;16!==r&&(n=!0),e+=r}return 128-e},t.prototype.range=function(){return h.subnetMatch(this,this.SpecialRanges)},t.prototype.toByteArray=function(){for(var t,r=[],e=this.parts,n=0;n<e.length;n++)t=e[n],r.push(t>>8),r.push(255&t);return r},t.prototype.toFixedLengthString=function(){var t=function(){for(var t=[],r=0;r<this.parts.length;r++)t.push(c(this.parts[r].toString(16),4));return t}.call(this).join(":"),r="";return this.zoneId&&(r="%".concat(this.zoneId)),t+r},t.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");var t=this.parts.slice(-2),r=t[0],e=t[1];return new h.IPv4([r>>8,255&r,e>>8,255&e])},t.prototype.toNormalizedString=function(){var t=function(){for(var t=[],r=0;r<this.parts.length;r++)t.push(this.parts[r].toString(16));return t}.call(this).join(":"),r="";return this.zoneId&&(r="%".concat(this.zoneId)),t+r},t.prototype.toRFC5952String=function(){for(var t,r=/((^|:)(0(:|$)){2,})/g,e=this.toNormalizedString(),n=0,i=-1;t=r.exec(e);)t[0].length>i&&(n=t.index,i=t[0].length);return i<0?e:"".concat(e.substring(0,n),"::").concat(e.substring(n+i))},t.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},t}(),h.IPv6.broadcastAddressFromCIDR=function(t){try{for(var r=this.parseCIDR(t),e=r[0].toByteArray(),n=this.subnetMaskFromPrefixLength(r[1]).toByteArray(),i=[],a=0;a<16;)i.push(parseInt(e[a],10)|255^parseInt(n[a],10)),a++;return new this(i)}catch(t){throw new Error("ipaddr: the address does not have IPv6 CIDR format (".concat(t,")"))}},h.IPv6.isIPv6=function(t){return null!==this.parser(t)},h.IPv6.isValid=function(t){if("string"==typeof t&&-1===t.indexOf(":"))return!1;try{var r=this.parser(t);return new this(r.parts,r.zoneId),!0}catch(t){return!1}},h.IPv6.networkAddressFromCIDR=function(t){var r,e,n,i,a;try{for(n=(r=this.parseCIDR(t))[0].toByteArray(),a=this.subnetMaskFromPrefixLength(r[1]).toByteArray(),i=[],e=0;e<16;)i.push(parseInt(n[e],10)&parseInt(a[e],10)),e++;return new this(i)}catch(t){throw new Error("ipaddr: the address does not have IPv6 CIDR format (".concat(t,")"))}},h.IPv6.parse=function(t){var r=this.parser(t);if(null===r.parts)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(r.parts,r.zoneId)},h.IPv6.parseCIDR=function(t){var r,e,n;if((e=t.match(/^(.+)\/(\d+)$/))&&(r=parseInt(e[2]))>=0&&r<=128)return n=[this.parse(e[1]),r],Object.defineProperty(n,"toString",{value:function(){return this.join("/")}}),n;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},h.IPv6.parser=function(t){var r,e,n,i,a,u;if(n=t.match(s.deprecatedTransitional))return this.parser("::ffff:".concat(n[1]));if(s.native.test(t))return o(t,8);if((n=t.match(s.transitional))&&(u=n[6]||"",(r=o(n[1].slice(0,-1)+u,6)).parts)){for(a=[parseInt(n[2]),parseInt(n[3]),parseInt(n[4]),parseInt(n[5])],e=0;e<a.length;e++)if(!(0<=(i=a[e])&&i<=255))return null;return r.parts.push(a[0]<<8|a[1]),r.parts.push(a[2]<<8|a[3]),{parts:r.parts,zoneId:r.zoneId}}return null},h.IPv6.subnetMaskFromPrefixLength=function(t){if((t=parseInt(t))<0||t>128)throw new Error("ipaddr: invalid IPv6 prefix length");for(var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0,n=Math.floor(t/8);e<n;)r[e]=255,e++;return n<16&&(r[n]=Math.pow(2,t%8)-1<<8-t%8),new this(r)},h.fromByteArray=function(t){var r=t.length;if(4===r)return new h.IPv4(t);if(16===r)return new h.IPv6(t);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},h.isValid=function(t){return h.IPv6.isValid(t)||h.IPv4.isValid(t)},h.parse=function(t){if(h.IPv6.isValid(t))return h.IPv6.parse(t);if(h.IPv4.isValid(t))return h.IPv4.parse(t);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},h.parseCIDR=function(t){try{return h.IPv6.parseCIDR(t)}catch(r){try{return h.IPv4.parseCIDR(t)}catch(t){throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},h.process=function(t){var r=this.parse(t);return"ipv6"===r.kind()&&r.isIPv4MappedAddress()?r.toIPv4Address():r},h.subnetMatch=function(t,r,e){var n,i,a,u;for(i in null==e&&(e="unicast"),r)if(Object.prototype.hasOwnProperty.call(r,i))for(!(a=r[i])[0]||a[0]instanceof Array||(a=[a]),n=0;n<a.length;n++)if(u=a[n],t.kind()===u[0].kind()&&t.match.apply(t,u))return i;return e},t.exports?t.exports=h:(void 0).ipaddr=h}()},917:t=>{var r=function(t){var r={};function e(n){if(r[n])return r[n].exports;var i=r[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}return e.m=t,e.c=r,e.p="dist",e(0)}([function(t,r){(function(t){"use strict";Object.defineProperty(r,"t",{value:!0});var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n="undefined"!=typeof window,i=String.fromCharCode,a=n&&window.Uint8Array||function(t){var r;if("number"==typeof t){r=new Array(t);for(var n=0;n<t;++n)r[n]=0}else r=t.slice(0);r.buffer=r,r.byteLength=r.length,"object"===(void 0===t?"undefined":e(t))&&t.buffer&&(r.buffer=t.buffer);return r},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="object"==(void 0===t?"undefined":e(t))&&t&&t.Object===Object&&t,o="object"==("undefined"==typeof self?"undefined":e(self))&&self&&self.Object===Object&&self,f=s||o;function y(t,r,e,n){return 1==t.length||t.splice(e,1,n(t.splice(r,1,n(t[e]))[0])),t}function c(t){for(var r=t.split(""),e=function(t){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,e=t.charCodeAt(0);return e>=65&&e<=90?t.toLowerCase():e>=97&&e<=122?t.toUpperCase():e>=48&&e<=57?i(48+(e-48+10+r)%10):t}(t,-1)},n=r.length-5;n>=0;n--)y(r,n+1,n+3,e),y(r,n,n+2,e);return r.join("")}function h(t){var r,e,n,i,a,s,o,f,y=[],c="",h=u;if((s=(o=t).length%3)>0)for(;s++<3;)c+="=",o+="\0";for(s=0;s<o.length;s+=3)e=(r=o.charCodeAt(s)<<16|o.charCodeAt(s+1)<<8|o.charCodeAt(s+2))>>18&63,n=r>>12&63,i=r>>6&63,a=63&r,y[s/3]=h.charAt(e)+h.charAt(n)+h.charAt(i)+h.charAt(a);return f=(f=y.join("")).slice(0,f.length-c.length)+c}function m(t){var r,e,n,a,s,o,f,y=[],c=u;f=t;for(var h=0;h<f.length;h+=4)r=(o=c.indexOf(f.charAt(h))<<18|c.indexOf(f.charAt(h+1))<<12|(a=c.indexOf(f.charAt(h+2)))<<6|(s=c.indexOf(f.charAt(h+3))))>>>16&255,e=o>>>8&255,n=255&o,y[h/4]=i(r,e,n),64==s&&(y[h/4]=i(r,e)),64==a&&(y[h/4]=i(r));return y.join("")}function M(t){return(n&&window.atob||m)(t)}function d(t){return(n&&window.btoa||h)(t)}function l(t){if(!t)return"";var r=c(t);r=r.split("").reverse().join("");var e=Math.ceil(r.length/2);return function(t){return decodeURIComponent(Array.prototype.map.call(M(t),(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))}(r=(r=(r=r.substr(e)+r.substr(0,e)).replace("#","=")).replace("&","=="))}r.iDe=l;function v(t){for(var r=M(t),e=r.length,n=new a(e),i=0;i<e;i++)n[i]=r.charCodeAt(i);return n.buffer}function b(t){for(var r=new ArrayBuffer(t.length),e=new a(r),n=0,i=t.length;n<i;n++)e[n]=t.charCodeAt(n);return r}function F(t){return"oncomplete"in t&&(t.then=function(r,e){t.resolve=r,t.reject=e},t.oncomplete=function(r){t.resolve(t.result)},t.onerror=function(){t.reject()}),t}r.attorn=function(t,r,e,u){var s=n?window.msCrypto?window.msCrypto:window.crypto:void 0,o=function(t,r){try{r="#"+r;var e=t.indexOf(r);if(e>-1)return{prefix:t.substring(0,e),licData:JSON.parse(l(t.substr(e+r.length)))}}catch(t){}return!1}(t,r.aC);if(!o)return u();var y,c,h=o.licData,m=o.prefix+"#"+r.aC,M=(y=v((c=m+JSON.stringify(h.D),d(encodeURIComponent(c).replace(/%([0-9A-F]{2})/g,(function(t,r){return i(parseInt(r,16))}))))),i.apply(null,new a(y)));function g(){return function(t){for(var r=0,e=5381,n=0,i=t.length-1;i>=0;i--){var a=t.charCodeAt(i);r=a+(r<<6)+(r<<16)-r,e=a+((e<<5)+e),n=a+((n<<5)-n),n|=0}var u=r^e^n;return u<0&&(u=~u),u.toString(16).toUpperCase()}(m+JSON.stringify(h.D))===h.H?e(h.D):u()}var p=l("JYx3Gb#8Pb5R"),_=l("VdgJHc#wJb59");if(f[p]&&f[p][_]&&!location.protocol.match(/^https/i))return g();if(!s||!s.subtle)return g();var D={alg:"PS256",e:"AQAB",kty:"RSA",n:(w=r.pK,w.replace(/\+/g,"-").replace(/\//g,"_").replace(/\=+$/,""))};D=window.msCrypto?b(JSON.stringify(D)):D;var w,H={name:"RSA-PSS",saltLength:32,hash:{name:"SHA-256"}};F(s.subtle.importKey("jwk",D,H,!1,["verify"])).then((function(t){F(s.subtle.verify(H,t,v(h.S),b(M))).then((function(t){return t?e(h.D):u()}))}),(function(){return g()}))}}).call(r,function(){return this}())}]);t.exports={Z:r.attorn,V:r.iDe}},849:()=>{var t;!function(){"use strict";var r={38:function(t,r,e){var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),r.UserManagerEvent=r.UserManager=r.UUIDGenerator=r.Wt=r.rbush=r.CultureManager=r.CultureInfo=r.Yt=r.Xt=r.Zt=r.Qt=r.Vt=r.tr=r.rr=void 0;var a=e(395);Object.defineProperty(r,"rr",{enumerable:!0,get:function(){return a.rr}});var u=e(534);Object.defineProperty(r,"tr",{enumerable:!0,get:function(){return u.tr}});var s=e(305);Object.defineProperty(r,"Vt",{enumerable:!0,get:function(){return s.Vt}});var o=e(97);Object.defineProperty(r,"Qt",{enumerable:!0,get:function(){return o.Qt}}),Object.defineProperty(r,"Wt",{enumerable:!0,get:function(){return o.getSR}});var f=e(844);Object.defineProperty(r,"Zt",{enumerable:!0,get:function(){return f.Zt}});var y=e(576);Object.defineProperty(r,"Xt",{enumerable:!0,get:function(){return y.Xt}});var c=e(480);Object.defineProperty(r,"Yt",{enumerable:!0,get:function(){return c.Yt}});var h=e(674);Object.defineProperty(r,"rbush",{enumerable:!0,get:function(){return h.rbush}});var m=e(818),M=e(479);Object.defineProperty(r,"UUIDGenerator",{enumerable:!0,get:function(){return M.UUIDGenerator}}),Object.defineProperty(r,"HandleExcelSpecialDate",{set:function(t){m.HandleExcelSpecialDate=t},get:function(){return m.HandleExcelSpecialDate}}),i(e(818),r);var d=e(286);Object.defineProperty(r,"CultureInfo",{enumerable:!0,get:function(){return d.CultureInfo}}),Object.defineProperty(r,"CultureManager",{enumerable:!0,get:function(){return d.CultureManager}}),i(e(646),r);var l=e(561);Object.defineProperty(r,"UserManager",{enumerable:!0,get:function(){return l.UserManager}}),Object.defineProperty(r,"UserManagerEvent",{enumerable:!0,get:function(){return l.UserManagerEvent}})},286:function(t,r,e){var n,i=this&&this.er||(n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])},n(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+r+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)});Object.defineProperty(r,"t",{value:!0}),r.CultureManager=r.nr=r.CultureInfo=r.TimelineDateOrder=void 0;var a,u=e(534),s=e(818),o=e(305),f=e(576),y="undefined"!=typeof window?window:e.g,c=u.tr.ir,h=u.tr.ar,m=(new Date).getFullYear(),M=["MM/dd/yyyy","MM/d/yyyy","M/dd/yyyy","M/d/yyyy","yy/MM/dd","yy/MM/d","yy/M/dd","yy/M/d","yyyy/MM/dd","yyyy/MM/d","yyyy/M/dd","yyyy/M/d"],d=["hh:mm:ss","hh:mm:s","hh:m:ss","hh:m:s","h:mm:ss","h:mm:s","h:m:ss","h:m:s","hh:mm:ss tt","hh:mm:s tt","hh:m:ss tt","hh:m:s tt","h:mm:ss tt","h:mm:s tt","h:m:ss tt","h:m:s tt","hh:mm","hh:m","h:mm","h:m","hh:mm tt","hh:m tt","h:mm tt","h:m tt"],l=["MM-dd-yyyy","MM-d-yyyy","M-dd-yyyy","M-d-yyyy","yy-MM-dd","yy-MM-d","yy-M-dd","yy-M-d","yyyy-MM-dd","yyyy-MM-d","yyyy-M-dd","yyyy-M-d","dd-MMMM-yy","dd-MMM-yy"],v=M.concat(d);function b(t){return t.split(" ").join(" ").toUpperCase()}function F(t){for(var r=[],e=0,n=t.length;e<n;e++)r[e]=b(t[e]);return r}function g(t,r,e){var n=b(t),i=r.indexOf(n);return-1===i&&(i=e.indexOf(n)),i}function p(t){if(t){var r=t.charCodeAt(0);if(r>=11904&&r<12032||r>=8208&&r<8252||r>=12288&&r<40960||r>=43360&&r<43392||r>=44032&&r<55215||r>=63744&&r<64256||r>=65280&&r<65535)return!0}return!1}function _(t,r,e){if(" "===t||e&&" "===t)return 0;var n=e&&e(t);return r.lineBreakingForbidStart&&-1!==r.lineBreakingForbidStart.indexOf(t)?!e||n?7:6:r.lineBreakingForbidEnd&&-1!==r.lineBreakingForbidEnd.indexOf(t)?!e||n?5:4:n?2:r.lineBreakingChar&&-1!==r.lineBreakingChar.indexOf(t)?3:1}c(M,(function(t,r){c(d,(function(t,e){t<d.length-4&&v.push(r+" "+e)}))})),v=v.concat(l),c(l,(function(t,r){c(d,(function(t,e){t<d.length-4&&v.push(r+" "+e)}))})),function(t){t[t.year=1]="year",t[t.quarterOrMonth=2]="quarterOrMonth",t[t.date=3]="date"}(a=r.TimelineDateOrder||(r.TimelineDateOrder={}));var D={"00":1,"01":1,"02":1,"03":1,"04":1,"05":1,"06":1,"07":1,12:1,15:1,21:1,22:1,23:1,24:1,25:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,62:1,65:1,71:1,72:1,73:1,74:1,75:1};function w(t,r,e){if(!t)return[];for(var n=[t[0]],i=0,a=_(t[0],r,e),u=1;u<t.length;u++){var s=_(t[u],r,e);D[a+""+s]&&void 0===n[++i]&&(n[i]=""),n[i]+=t[u],a=s}return n}var H=function(){function t(){this.NumberFormat={currencyDecimalDigits:2,currencyDecimalSeparator:".",currencyGroupSeparator:",",currencyGroupSizes:[3],currencyNegativePattern:0,currencyPositivePattern:0,currencySymbol:"¤",digitSubstitution:1,isReadOnly:!0,numberGroupSizes:[3],nanSymbol:"NaN",nativeDigits:["0","1","2","3","4","5","6","7","8","9"],numberNegativePattern:1,negativeInfinitySymbol:"-Infinity",negativeSign:"-",numberDecimalDigits:2,numberDecimalSeparator:".",numberGroupSeparator:",",positiveInfinitySymbol:"Infinity",positiveSign:"+",percentDecimalDigits:2,percentDecimalSeparator:".",percentGroupSeparator:",",percentGroupSizes:[3],percentNegativePattern:0,percentPositivePattern:0,percentSymbol:"%",perMilleSymbol:"‰",listSeparator:",",arrayListSeparator:",",arrayGroupSeparator:";",dbNumber:{},standardDictionaryNumbers:{Hundreds:"Hundreds",Thousands:"Thousands",Millions:"Millions",Billions:"Billions",Trillions:"Trillions"},scientificNotation:"0.##############E+00"},this.DateTimeFormat={abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],abbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],amDesignator:"AM",calendarIsReadOnly:!0,calendarWeekRule:0,Calendar:{MinSupportedDateTime:"@-62135568000000@",MaxSupportedDateTime:"@253402300799999@",AlgorithmType:1,CalendarType:1,Eras:[1],TwoDigitYearMax:2029,isReadOnly:!0},dateSeparator:"/",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],defaultDatePattern:"MM/dd/yyyy H:mm:ss",firstDayOfWeek:0,fullDateTimePattern:"dddd, dd MMMM yyyy HH:mm:ss",longDatePattern:"dddd, dd MMMM yyyy",longTimePattern:"HH:mm:ss",monthDayPattern:"MMMM dd",monthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],nativeCalendarName:"Gregorian Calendar",pmDesignator:"PM",rfc1123Pattern:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",shortDatePattern:"MM/dd/yyyy",shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],shortTimePattern:"HH:mm",sortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",timeSeparator:":",universalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",yearMonthPattern:"yyyy MMMM",filterDialogDateFormatter:"yyyy/mmmm/dd",preselectedFormatters:[],eraFormatter:["ge/M/d","ge-M-d","ge.M.d","gee/MM/dd"]},this.name=function(){return""},this.id=-1,this.LocalNumberFormat={},this.displayName="",this.fontScriptCode=void 0,this.predefinedFormats={},this.TimelineDateOrder=[a.quarterOrMonth,a.date,a.year],this.TimelineDateSuffix={year:"",quarter:"",month:"",date:""},this.TextFormat={lineBreakingChar:[" ","-"]},this.equalCharacters=void 0}return t.prototype.ur=function(){return[" "]},t.prototype.sr=function(t){var r={lineBreakingChar:this.ur()};return this.TextFormat&&this.TextFormat.lineBreakingStrategy?this.TextFormat.lineBreakingStrategy(t,r):w(t,r)},t.prototype.yr=function(t){if(this.TextFormat&&this.TextFormat.lineBreakingStrategy){var r={lineBreakingChar:this.TextFormat.lineBreakingChar,lineBreakingForbidEnd:this.TextFormat.lineBreakingForbidEnd,lineBreakingForbidStart:this.TextFormat.lineBreakingForbidStart};return this.TextFormat.lineBreakingStrategy(t,r)}return w(t,this.TextFormat||{lineBreakingChar:[" ","-"]})},t.prototype.cr=function(){if(!this.hr){var t=this.DateTimeFormat,r=t.shortDatePattern.replace(/m/g,"M"),e=[r,r+" h:mm",r+" h:mm:ss",r+" h:mm:ss.0","MMMdd","MMMd","MMM dd","MMM d"];if(e=e.concat(v),1041===this.id){var n=t.eraFormatter;e=(e=e.concat(this.mr)).concat(n)}e=e.concat(t.preselectedFormatters),this.hr=e}return this.hr},t.prototype.Mr=function(t){return this.dr||(this.dr=F(this.DateTimeFormat.monthNames),this.lr=F(this.DateTimeFormat.monthGenitiveNames)),g(t,this.dr,this.lr)},t.prototype.vr=function(t){return this.br||(this.br=F(this.DateTimeFormat.abbreviatedMonthNames),this.Fr=F(this.DateTimeFormat.abbreviatedMonthGenitiveNames)),g(t,this.br,this.Fr)},t.prototype.gr=function(t){return this.pr||(this.pr=F(this.DateTimeFormat.dayNames)),this.pr.indexOf(b(t))},t.prototype._r=function(t){return this.Dr||(this.Dr=F(this.DateTimeFormat.abbreviatedDayNames)),this.Dr.indexOf(b(t))},t}();r.CultureInfo=H;var $=function(){function t(){}return t.wr=function(r){return r>=t.Hr()&&r<=t.$r()},t.Sr=function(){var t=H.eras;if(void 0!==t){for(var r=[],e=0;e<t.length;e++)r[e]=new Date(t[e].startDate.replace(/-/g,"/"));return r}return this.Nr},t.Pr=function(r){var e,n;switch(r){case"g":e="symbol",n=t.Cr;break;case"gg":e="abbreviation",n=t.Or;break;case"ggg":e="name",n=t.jr;break;default:return[]}var i=H.eras,a=[];if(void 0!==i){for(var u=0;u<i.length;u++)a[u]=i[u][e];return a}return n},t.$r=function(){var t=H.eras;if(void 0!==t&&t.length>0){var r=new Date(t[t.length-1].startDate.replace(/-/g,"/"));return r.setFullYear(r.getFullYear()+99),r}return this.Er},t.Hr=function(){var t=H.eras;return void 0!==t&&t.length>0?new Date(t[0].startDate.replace(/-/g,"/")):this.Tr},t.Rr=function(){var t=H.eras;return void 0!==t?t.length:this.Ir},t.zr=function(){var t=H.eras;if(void 0!==t){for(var r=[],e=1;e<t.length;e++){var n=new Date(t[e-1].startDate.replace(/-/g,"/")),i=new Date(t[e].startDate.replace(/-/g,"/"));r[e-1]=i.getFullYear()-n.getFullYear()+1}return r[e-1]=99,r}return this.Gr},t.Jr=function(r){var e={Ur:-1,Lr:-1};if(!t.wr(r)){if(!(r>t.$r()))return e;r=t.$r()}for(var n=0;n<t.Rr();n++){if(r<(n+1!==t.Rr()?t.Sr()[n+1]:t.qr(t.$r(),1))){e.Ur=n,e.Lr=r.getFullYear()-t.Sr()[n].getFullYear()+1;break}}return e},t.qr=function(t,r){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds());return e.setMilliseconds(e.getMilliseconds()+r),new Date(e.valueOf())},t.Kr=function(r,e){return t.Sr()[r].getFullYear()+e-1},t.Wr=function(r,e){e=e.toUpperCase();for(var n=t.Pr(r),i=0;i<n.length;i++)if(n[i]===e)return i;return-1},t.Yr=function(r,e,n){var i=t,a=i.Jr(e),u=a.Ur;if(u>=0){var s=i.Pr(r);if(s.length>0)return s[u]}var o=a.Lr;if(o>=0){var f=o.toString();if("1"===f&&n)return"元";if("ee"===r)return 1===f.length&&(f="0"+f),f;if("e"===r)return f}return""},t.Nr=[new Date(1868,8,8),new Date(1912,6,30),new Date(1926,11,25),new Date(1989,0,8),new Date(2019,4,1)],t.Ir=5,t.Gr=[45,15,64,31,99],t.Er=new Date(2117,11,31,23,59,59),t.Tr=new Date(1868,8,8),t.Xr=["1,m","2,t","3,s","4,h","5,r"],t.Zr=[0,1,2,3,0,1,2,3],t.jr=["明治","大正","昭和","平成","令和"],t.Cr=["M","T","S","H","R"],t.Or=["明","大","昭","平","令"],t.Qr=99,t.eraExcelFormatter="[$-ja-JP-x-gannen]",t.eraInternalFormatter="[$-411]",t}();r.nr=$;var k=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencySymbol","isReadOnly"],["$",!1]);return O.call(r,"DateTimeFormat",["fullDateTimePattern","longDatePattern","longTimePattern","shortDatePattern","shortTimePattern","yearMonthPattern","calendarIsReadOnly","preselectedFormatters"],["dddd, MMMM dd, yyyy h:mm:ss tt","dddd, MMMM dd, yyyy","h:mm:ss tt","M/d/yyyy","h:mm tt","MMMM, yyyy",!1,["MMM yyyy","MMMM yyyy"]]),r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" H:mm:ss",r.name=function(){return"en-US"},r.displayName="English (United States)",r.id=1033,r.predefinedFormats={Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',Currency:["[$$-409]#,##0","[$$-409]#,##0;[Red][$$-409]#,##0","[$$-409]#,##0_);([$$-409]#,##0)","[$$-409]#,##0_);[Red]([$$-409]#,##0)"],Date:["m/d/yyyy","[$-409]dddd, mmmm dd, yyyy","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmm d, yyyy;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@","m/d/yyyy;@","[$-409]d-mmm-yyyy;@"],Time:["[$-409]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","mm:ss.0;@","[h]:mm:ss;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@"],Special:{"Zip Code":"00000","Zip Code + 4":"00000-0000","Phone Number":"[<=9999999]###-####;(###) ###-####","Social Security Number":"000-00-0000"},shortcut:{Number:"0.00",Currency:"[$$-409]#,##0.00",Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',ShortDate:"m/d/yyyy",LongDate:"[$-409]dddd, mmmm dd, yyyy",Time:"[$-409]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)'}},r}return i(r,t),r}(H),S=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[0,1,"¥",!1,"NaN (非数値)","-∞",1,1,"+∞",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["〇","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["〇","壱","弐","参","四","伍","六","七","八","九"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十億",Trillions:"兆"}]);var e=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""];return O.call(r,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters","EraFilterDialogDateFormatter"],[["日","月","火","水","木","金","土"],e,e,"午前",!1,["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"西暦 (日本語)","午後","yyyy/MM/dd",["日","月","火","水","木","金","土"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月d日","yyyy年M月dd日","yyyy年MM月d日","yyyy年MM月dd日"],"ggge/mmmm/d日"]),r.DateTimeFormat.eras=!0,r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" "+r.DateTimeFormat.longTimePattern,r.mr=['gggee"年"MM"月"dd"日','gggee"年"M"月"d"日','ge"年"M"月"d"日','ggge"年"M"月"d"日','ggee"年"M"月"d"日','gge"年"M"月"d"日'],r.name=function(){return"ja-JP"},r.id=1041,r.displayName="Japanese (Japan)",r.isJCKCulture=!0,r.predefinedFormats={Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$¥-411]#,##0_);[Red]([$¥-411]#,##0)","[$¥-411]#,##0_);([$¥-411]#,##0)","[$¥-411]#,##0;[Red][$¥-411]#,##0","[$¥-411]#,##0;-[$¥-411]#,##0","[$¥-411]#,##0;[Red]-[$¥-411]#,##0"],Date:["yyyy/mm/dd","[$-411]dddd, mmmm dd, yyyy",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"yyyy/m/d;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@"],Time:["[$-411]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@",'h"時"mm"分";@','h"時"mm"分"ss"秒";@'],Special:{郵便番号:"[<=999]000;[<=9999]000-00;000-0000","電話番号(東京)":"[<=99999999]####-####;(00) ####-####","正負記号 (+ = △; - = ▲)":'"△" #,##0;"▲" #,##0',"漢数字(十二万三千四百)":"[DBNum1][$-411]General","大字 (壱拾弐萬参阡四百)":"[DBNum2][$-411]General","全角 (12345)":"[DBNum3][$-411]0","全角 桁区切り(12,345)":"[DBNum3][$-411]#,##0"},shortcut:{Number:"0.00",Currency:"[$¥-411]#,##0.00",Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',ShortDate:"yyyy/mm/dd",LongDate:"[$-411]dddd, mmmm dd, yyyy",Time:"[$-411]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},r.TimelineDateOrder=[a.year,a.quarterOrMonth,a.date],r.TimelineDateSuffix={year:"年",quarter:"",month:"月",date:"日"},r.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}","」","。","、","ー"],lineBreakingForbidEnd:["(","[","{","(","[","{","「","$","$","\\","¥"],lineBreakingStrategy:function(t,r){return w(t,r,p)}},r.equalCharacters=["―ゝゞ゠ヽヾー","㆐㆑㇤㇥","‸⁊",".․","&⁋","%⁏","$⁒","#⁗",'"⁍',"‹⁓"],r}return i(r,t),r}(H),N=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[2,"¥",!1,"非数字","负无穷大",1,1,"正无穷大",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["○","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","仟","佰","拾","亿","仟","佰","拾","万","仟","佰","拾",""],numbers:["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十亿",Trillions:"兆"}]);var e=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""];return O.call(r,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters"],[["周日","周一","周二","周三","周四","周五","周六"],e,e,"上午",!1,["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],1,"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"公历","下午","yyyy/M/d",["日","一","二","三","四","五","六"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月","M月d日","yyyy年M月d日","h时mm分","h时mm分ss秒"]]),r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" "+r.DateTimeFormat.longTimePattern,r.name=function(){return"zh-cn"},r.id=2052,r.displayName="Chinese (China)",r.isJCKCulture=!0,r.localeCompare=function(t,r){var e=t.localeCompare(r,"zh");return e<0&&t>="一"&&r<"一"||e>0&&r>="一"&&t<"一"?-e:e},r.predefinedFormats={Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ ',Currency:["[$¥-804]#,##0","[$¥-804]#,##0;[Red][$¥-804]#,##0","[$¥-804]#,##0;[$¥-804]-#,##0","[$¥-804]#,##0;[Red][$¥-804]-#,##0"],Date:["yyyy/m/d","[$-804]dddd, mmmm dd, yyyy","yyyy-mm-dd;@",'[DBNum1][$-804]yyyy"年"m"月"d"日";@','[DBNum1][$-804]yyyy"年"m"月";@','[DBNum1][$-804]m"月"d"日";@',"[$-409]yyyy/m/d h:mm AM/PM;@",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"mm/dd/yy;@","m/d/yy;@","yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-804]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@",'h"时"mm"分";@','h"时"mm"分"ss"秒";@','[$-804]上午/下午h"时"mm"分";@','[$-804]上午/下午h"时"mm"分"ss"秒";@','[DBNum1][$-804]h"时"mm"分";@','[DBNum1][$-804]上午/下午h"时"mm"分";@'],Special:{邮政编码:"000000",中文小写字母:"[DBNum1][$-804]General",中文大写字母:"[DBNum2][$-804]General"},shortcut:{Number:"0.00",Currency:"[$¥-804]#,##0.00",Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',ShortDate:"yyyy/m/d",LongDate:"[$-804]dddd, mmmm dd, yyyy",Time:"[$-804]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ '}},r.TimelineDateOrder=[a.year,a.quarterOrMonth,a.date],r.TimelineDateSuffix={year:"年",quarter:"",month:"",date:"日"},r.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}"],lineBreakingForbidEnd:["(","[","{","(","[","{"],lineBreakingStrategy:function(t,r){return w(t,r,p)}},r.normalizeDateTimeString=function(t){var r;if(f.Xt.Vr("^([0-9]{1,2}|[0-9]{4})年[0-9]{1,2}月$").test(t))return(r=t.split("年"))[1].replace("月","")+"/1/"+r[0];if(f.Xt.Vr("^[0-9]{1,2}月[0-9]{1,2}日$").test(t))return(r=t.split("月"))[0]+"/"+r[1].replace("日","")+"/"+m;if(f.Xt.Vr("^(上午|下午)?[0-9]{1,2}时[0-9]{1,2}分([0-9]{1,2}秒)?$").test(t)){var e=t.replace("时",":").replace("分",":").replace("秒","");return(e=e.endsWith(":")?e+"00":e).startsWith("上午")&&(e=e.replace("上午","")+" AM"),e.startsWith("下午")&&(e=e.replace("下午","")+" PM"),e}return t.includes("上午")||t.includes("下午")?t.replace("上午","am").replace("下午","pm"):null},r}return i(r,t),r.prototype.ur=function(){return[" "," "]},r}(H),P=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","dbNumber","standardDictionaryNumbers"],[0,1,"₩",!1,{1:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["零","壹","貳","參","四","伍","六","七","八","九"]},3:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","1","2","3","4","5","6","7","8","9"]},4:{letters:["조","천","백","십","억","천","백","십","만","천","백","십",""],numbers:["○","일","이","삼","사","오","육","칠","팔","구"]}},{Hundreds:"백",Thousands:"천",Millions:"백만",Billions:"10억",Trillions:"조"}]);var e=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""];return O.call(r,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter"],[["일","월","화","수","목","금","토"],e,e,"오전",!1,["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],1,"yyyy'년' M'월' d'일' dddd h:mm:ss","yyyy'년' M'월' d'일' dddd","h:mm:ss","M'월' d'일'",n,n,"서기","오후","yyyy-MM-dd",["일","월","화","수","목","금","토"],"tt h:mm","yyyy'년' M'월'","yyyy년/mmmm/d일"]),r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" "+r.DateTimeFormat.longTimePattern,r.name=function(){return"ko-kr"},r.id=1042,r.displayName="Korean (Korea)",r.isJCKCulture=!0,r.predefinedFormats={Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$₩-412]#,##0","[$₩-412]#,##0;[Red][$₩-412]#,##0","[$₩-412]#,##0;-[$₩-412]#,##0","[$₩-412]#,##0;[Red]-[$₩-412]#,##0"],Date:["yyyy-mm-dd",'yyyy"년" m"월" d"일" dddd',"yyyy-mm-dd;@",'yyyy"년" m"월" d"일";@','yy"年" m"月" d"日";@','yyyy"년" m"월";@','m"월" d"일";@',"yy-m-d;@","yy-m-d h:mm;@",'m"月"d"日";@',"[$-412]yy-m-d AM/PM h:mm;@","yy/m/d;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-412]h:mm:ss AM/PM","h:mm;@","h:mm:ss;@","[$-412]AM/PM h:mm;@","[$-412]AM/PM h:mm:ss;@","[$-409]h:mm AM/PM;@","[$-409]h:mm:ss AM/PM;@",'yyyy"-"m"-"d h:mm;@','[$-412]yyyy"-"m"-"d AM/PM h:mm;@','[$-409]yyyy"-"m"-"d h:mm AM/PM;@','h"시" mm"분";@','h"시" mm"분" ss"초";@','[$-412]AM/PM h"시" mm"분";@','[$-412]AM/PM h"시" mm"분" ss"초";@'],Special:{"우편 번호":"000-000","전화 번호 (국번 4자리)":"[<=999999]####-####;(0##) ####-####","전화 번호 (국번 3자리)":"[<=9999999]###-####;(0##) ###-####",주민등록번호:"000000-0000000","숫자(한자)":"[DBNum1][$-412]General","숫자(한자-갖은자)":"[DBNum2][$-412]General","숫자(한글)":"[DBNum4][$-412]General"},shortcut:{Number:"0.00",Currency:"[$₩-412]#,##0.00",Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',ShortDate:"yyyy-mm-dd",LongDate:'yyyy"년" m"월" d"일" dddd',Time:"[$-412]h:mm:ss AM/PM",Percentage:"0%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},r.TimelineDateOrder=[a.year,a.quarterOrMonth,a.date],r.TimelineDateSuffix={year:"년",quarter:"",month:"월",date:"일"},r}return i(r,t),r}(H),C={invariant:new H,"en-us":new k,"ja-jp":new S,"zh-cn":new N,"ko-kr":new P};function O(t,r,e){for(var n,i=0,a=r.length;i<a;i++)n=r[i],this[t][n]=e[i]}var x={},j=["lsru","lsde","ls1","ls2","ls3","ls4","ls5","ls6","ls7","ls8","ls9","ls10","ls11"],E=["wmk1","wmk2"],T=function(){function t(){this.te=1,this.re={}}return t.instance=function(){return this.Ut||(this.Ut=new this)},t.prototype.culture=function(r){if(0===arguments.length)return t.ee;var e,n,i;r&&t.ee!==r&&(t.ee=r.toLowerCase(),this.te++,e=t.ee,n=t.Ut.getCultureInfo(),"object"==typeof document&&("function"!=typeof CustomEvent?(i=document.createEvent("CustomEvent")).initCustomEvent("cultureChanged",!1,!1,void 0):i=new CustomEvent("cultureChanged",{}),i.cultureInfo=e,y.gcCultureInfo=e,y.gcCultureObj=n,document.dispatchEvent(i)))},t.prototype.addCultureInfo=function(t,r,e){if(r&&r instanceof H){var n=r.NumberFormat&&r.NumberFormat.numberDecimalSeparator,i=r.NumberFormat.arrayListSeparator,a=r.NumberFormat.arrayGroupSeparator;if(n===r.NumberFormat.listSeparator||a===i)throw new s.ResourceManager(s.SR).getResource().Exp_Separator;C[t.toLowerCase()]=r}if(e&&"object"==typeof e){var u=t.toLowerCase();x[u]=h(!0,{},e),this.te++}},t.prototype.getCultureInfoDict=function(){return C},t.prototype.getCultureInfo=function(r){if(0===arguments.length)return C[t.ee];"string"==typeof r&&(r=r.toLowerCase());var e=C,n=null;for(var i in e)if(i===r||void 0!==e[i].id&&e[i].id===r){n=e[i];break}return n},t.prototype.getLanguage=function(t){if("string"==typeof t){var r=t.toLowerCase();return x[r]}return null},t.prototype.getResources=function(t){var r=this.culture().toLowerCase();if(null==t&&(t=r),"string"==typeof t){var e=t.toLowerCase();if(this.re[e])return this.ne(this.re[e])}return null},t.prototype.ne=function(t){var r="PivotTables",e="ReportSheet",n="GanttSheet",i="DataChart",a="Sheets",u=h(!0,{},t);u[r]&&this.ie(u[r],E),u[e]&&this.ie(u[e],E),u[n]&&this.ie(u[n],E),u[i]&&this.ie(u[i],E),u[a]&&this.ie(u[a],j);var s=u.CalcEngine;return s&&(u.Functions=s.ae,u.TableFunctions=s.ue,delete s.ae,delete s.ue),u},t.prototype.ie=function(t,r){for(var e=0,n=r;e<n.length;e++){delete t[n[e]]}},t.prototype.se=function(t,r,e){var n=x[t.toLowerCase()];for(var i in r)if(!o.Vt.oe(j,i)){var a=this.fe(n,i,e);(null!==a&&"string"==typeof a&&"string"==typeof r[i]||null!==a&&"object"==typeof a&&!Array.isArray(a))&&(r[i]=a)}r.ae&&n.Functions&&this.ye(n.Functions,r.ae),r.ue&&n.TableFunctions&&h(!0,r.ue,n.TableFunctions)},t.prototype.fe=function(t,r,e){if(t.hasOwnProperty(r))return t[r];if(e&&(i=t[e])&&"object"==typeof i&&i.hasOwnProperty(r))return i[r];for(var n in t){var i;if((i=t[n])&&"object"==typeof i&&i.hasOwnProperty(r))return i[r]}return null},t.prototype.ye=function(t,r){for(var e in r)if(t.hasOwnProperty(e)){var n=r[e],i=t[e],a=n.parameters,u=i.parameters;for(var s in n.description=i.description,a)if(u.hasOwnProperty(s)){var o=u[s];"string"==typeof o&&(a[s].name=o)}}return{}},t.prototype.ce=function(r){var e=this.getCultureInfo(r);return e||(e=C[t.ee])||(e=new H),e},t.prototype.he=function(t,r){var e=(this.getCultureInfo(t)||this.getCultureInfo("en-US")).DateTimeFormat,n=e.filterDialogDateFormatter;return(r.indexOf("g")>=0||r.indexOf("e")>=0)&&(n=e.EraFilterDialogDateFormatter||n),n},t.ee="en-us",t}();r.CultureManager=T.instance()},561:function(t,r,e){var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),i(e(895),r)},566:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Error_InvalidRemoteConfigurationForUserFetching=r.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter=r.Error_FailedToFetchUsers=r.Error_RemoteConfigurationForUserFetchingNotProvided=r.GUEST_USER=void 0,r.GUEST_USER="Guest",r.Error_RemoteConfigurationForUserFetchingNotProvided="Remote configuration for user fetching is not provided.",r.Error_FailedToFetchUsers="Failed to fetch users: ",r.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter="GraphQL schema must be provided for graphql adapter.",r.Error_InvalidRemoteConfigurationForUserFetching="Invalid remote configuration for user fetching."},895:function(t,r,e){var n=this&&this.me||function(t,r,e,n){return new(e||(e=Promise))((function(i,a){function u(t){try{o(n.next(t))}catch(t){a(t)}}function s(t){try{o(n.throw(t))}catch(t){a(t)}}function o(t){var r;t.done?i(t.value):(r=t.value,r instanceof e?r:new e((function(t){t(r)}))).then(u,s)}o((n=n.apply(t,r||[])).next())}))},i=this&&this.Me||function(t,r){var e,n,i,a,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(o){return function(s){if(e)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(u=0)),u;)try{if(e=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,n=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(!((i=(i=u.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){u=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){u.label=s[1];break}if(6===s[0]&&u.label<i[1]){u.label=i[1],i=s;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(s);break}i[2]&&u.ops.pop(),u.trys.pop();continue}s=r.call(t,u)}catch(t){s=[6,t],n=0}finally{e=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,o])}}};Object.defineProperty(r,"t",{value:!0}),r.UserManager=r.UserManagerEvent=void 0;var a=e(566),u=e(818),s=e(479),o=e(534),f=e(305);o.tr.ar(u.SR.en,a);var y,c=new u.ResourceManager(u.SR),h=c.getResource.bind(c),m=o.tr.de,M=f.Vt.le,d=o.tr.ve,l=["#3B82F6","#10B981","#8B5CF6","#F59E0B","#EF4444","#06B6D4","#EC4899","#84CC16","#6366F1","#14B8A6","#F97316","#A855F7","#22C55E","#EAB308","#F43F5E","#0EA5E9","#D946EF","#65A30D","#DC2626","#7C3AED"];!function(t){t.CurrentUserChanged="CurrentUserChanged"}(y=r.UserManagerEvent||(r.UserManagerEvent={}));var v=function(){function t(t){var r={id:s.UUIDGenerator.secureUpperCaseUUID(),name:h().GUEST_USER,color:"#26A69A",be:!0};this.Fe=[r],this.ge=r.id,this.options=t,this.pe=0,this._e=new Map([[y.CurrentUserChanged,[]]])}return t.instance=function(){return this.Ut||(this.Ut=new this)},t.prototype.configure=function(t){this.options=t},t.prototype.De=function(t){for(var r=this.Fe,e=0;e<r.length;e++)if(r[e].id===t)return d(r[e])},t.prototype.we=function(t){var r;return n(this,void 0,void 0,(function(){var e;return i(this,(function(n){switch(n.label){case 0:return(null===(r=this.options)||void 0===r?void 0:r.get)?[4,this.options.get(t)]:[3,2];case 1:return(e=n.sent())&&this.He(e),[2,e];case 2:return[2]}}))}))},t.prototype.$e=function(t){t||(t=s.UUIDGenerator.secureUpperCaseUUID());var r=this.De(t);return r||(r={id:t,name:h().GUEST_USER}),this.He(r),r},t.prototype.ke=function(t){var r=this;Array.isArray(t)&&t.forEach((function(t){t&&!t.color&&(t.color=r.Se(t.id))}))},t.prototype.Ne=function(t){var r;return n(this,void 0,void 0,(function(){var e,n;return i(this,(function(i){switch(i.label){case 0:return(null===(r=(e=this).options)||void 0===r?void 0:r.search)?[4,e.options.search(t)]:[3,2];case 1:return n=i.sent(),e.ke(n),[2,n];case 2:return[2,[]]}}))}))},t.prototype.bind=function(t,r){this._e.has(t)||this._e.set(t,[]);var e=this._e.get(t);Array.isArray(e)&&e.push(r)},t.prototype.current=function(t){var r=this;if(m(t))return r.ge;if(r.ge!==t){var e=r.ge;r.ge=t,Promise.all([r.we(e),r.we(t)]).then((function(n){var i=n[0],a=n[1];i||(i=r.De(e))&&i.be&&(r.Fe=r.Fe.filter((function(t){return!t.be}))),r.Pe(i,a,e,t)})).catch((function(n){r.Pe(void 0,void 0,e,t)}))}return r.ge},t.prototype.Pe=function(t,r,e,n){t||(t=this.De(e)),r||(r=this.De(n)),this.Ce(y.CurrentUserChanged,{oldCurrentUser:t,newCurrentUser:r})},t.prototype.Oe=function(){return M(this.Fe)},t.prototype.unbind=function(t,r){if(this._e.has(t)){var e=this._e.get(t);if(!Array.isArray(e))return;r?e.splice(e.indexOf(r),1):e.splice(0)}},t.prototype.Ce=function(t,r){if(this._e.has(t)){var e=this._e.get(t);if(!Array.isArray(e))return;e.forEach((function(e){e(t,r)}))}},t.prototype.xe=function(t){t&&(this.ke(t),this.Fe=t||[])},t.prototype.je=function(){return M(this.Fe)},t.prototype.Ee=function(){var t,r=this.pe,e=(null===(t=this.options)||void 0===t?void 0:t.colorScheme)?this.options.colorScheme.length:l.length;return this.pe=(r+1)%e,r},t.prototype.Te=function(t){var r=0;if(!t||0===t.length)return r;for(var e=0;e<t.length;e++){r=(r<<5)-r+t.charCodeAt(e),r|=0}return Math.abs(r)},t.prototype.Ae=function(t){var r,e=(null===(r=this.options)||void 0===r?void 0:r.colorScheme)?this.options.colorScheme.length:l.length;return this.Te(t)%e},t.prototype.Se=function(t){var r,e=(null===(r=this.options)||void 0===r?void 0:r.colorScheme)||l;return t?e[this.Ae(t)]:e[this.Ee()]},t.prototype.He=function(t){for(var r=this.Fe,e=0;e<r.length;e++)if(r[e].id===t.id)return r[e]=t,void(t.color||(t.color=this.Se(t.id)));t.color||(t.color=this.Se(t.id)),r.push(t)},t.prototype.Re=function(t,r){var e={id:t||s.UUIDGenerator.secureUpperCaseUUID(),name:r||h().GUEST_USER};return this.He(e),e},t.prototype.Be=function(t){this.Fe=this.Fe.filter((function(r){return r.id!==t}))},t.prototype.Ie=function(){this._e.clear(),this.Fe=[],this.ge=""},t}();r.UserManager=v.instance()},305:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Vt=void 0;function e(t,r){for(var n in r)if(r.hasOwnProperty(n)){var i=r[n];Array.isArray(i)?(t[n]=[],e(t[n],r[n])):null!==i&&"object"==typeof i?(t[n]={},e(t[n],r[n])):t[n]=r[n]}}var n=function(){function t(){}return t.ze=function(t,r,e){t.splice(r,0,e)},t.He=function(t,r){t.push(r)},t.oe=function(t,r){return t.indexOf(r)>-1},t.Be=function(t,r){var e=t.indexOf(r);e>-1&&t.splice(e,1)},t.Ge=function(t,r){return t.slice(0,r).concat(t.slice(r+1))},t.Je=function(t,r,e){return t.indexOf(r,e)},t.Ue=function(t,r,e){if(!(r<0))for(var n=0;n<e&&r+n<t.length;n++)t[r+n]=null},t.qe=function(t,r){r<0&&(r=-1);for(var e=r+1;e<t.length;e++)if(void 0!==t[e]&&null!==t[e])return e;return-1},t.Ke=function(t){return t&&t.length},t.le=function(t){var r=[];return e(r,t),r},t}();r.Vt=n},395:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.rr=void 0;var n=e(844).Zt.We,i=Math.min,a=Math.max,u=Math.abs,s=parseInt;function o(t,r,e){return e<0&&(e+=240),e>240&&(e-=240),e<40?t+((r-t)*e+20)/40:e<120?r:e<160?t+((r-t)*(160-e)+20)/40:t}function f(t,r,e){var n,i,a;if(0===e)n=i=a=s(255*r/240+"",10);else{var u,o;n=y(u=2*r-(o=r<=120?s((r*(240+e)+120)/240+""):r+e-s((r*e+120)/240+"")),o,t+80),i=y(u,o,t),a=y(u,o,t-80)}return{a:255,r:n,g:i,b:a}}function y(t,r,e){return i(s((255*o(t,r,e)+120)/240+""),255)}var c={aliceblue:[240,248,255,255],antiquewhite:[250,235,215,255],aqua:[0,255,255,255],aquamarine:[127,255,212,255],azure:[240,255,255,255],beige:[245,245,220,255],bisque:[255,228,196,255],black:[0,0,0,255],blanchedalmond:[255,235,205,255],blue:[0,0,255,255],blueviolet:[138,43,226,255],brown:[165,42,42,255],burlywood:[222,184,135,255],cadetblue:[95,158,160,255],chartreuse:[127,255,0,255],chocolate:[210,105,30,255],coral:[255,127,80,255],cornflowerblue:[100,149,237,255],cornsilk:[255,248,220,255],crimson:[220,20,60,255],cyan:[0,255,255,255],darkblue:[0,0,139,255],darkcyan:[0,139,139,255],darkgoldenrod:[184,134,11,255],darkgray:[169,169,169,255],darkgreen:[0,100,0,255],darkgrey:[169,169,169,255],darkkhaki:[189,183,107,255],darkmagenta:[139,0,139,255],darkolivegreen:[85,107,47,255],darkorange:[255,140,0,255],darkorchid:[153,50,204,255],darkred:[139,0,0,255],darksalmon:[233,150,122,255],darkseagreen:[143,188,143,255],darkslateblue:[72,61,139,255],darkslategray:[47,79,79,255],darkslategrey:[47,79,79,255],darkturquoise:[0,206,209,255],darkviolet:[148,0,211,255],deeppink:[255,20,147,255],deepskyblue:[0,191,255,255],dimgray:[105,105,105,255],dimgrey:[105,105,105,255],dodgerblue:[30,144,255,255],firebrick:[178,34,34,255],floralwhite:[255,250,240,255],forestgreen:[34,139,34,255],fuchsia:[255,0,255,255],gainsboro:[220,220,220,255],ghostwhite:[248,248,255,255],gold:[255,215,0,255],goldenrod:[218,165,32,255],gray:[128,128,128,255],green:[0,128,0,255],greenyellow:[173,255,47,255],grey:[128,128,128,255],honeydew:[240,255,240,255],hotpink:[255,105,180,255],indianred:[205,92,92,255],indigo:[75,0,130,255],ivory:[255,255,240,255],khaki:[240,230,140,255],lavender:[230,230,250,255],lavenderblush:[255,240,245,255],lawngreen:[124,252,0,255],lemonchiffon:[255,250,205,255],lightblue:[173,216,230,255],lightcoral:[240,128,128,255],lightcyan:[224,255,255,255],lightgoldenrodyellow:[250,250,210,255],lightgray:[211,211,211,255],lightgreen:[144,238,144,255],lightgrey:[211,211,211,255],lightpink:[255,182,193,255],lightsalmon:[255,160,122,255],lightseagreen:[32,178,170,255],lightskyblue:[135,206,250,255],lightslategray:[119,136,153,255],lightslategrey:[119,136,153,255],lightsteelblue:[176,196,222,255],lightyellow:[255,255,224,255],lime:[0,255,0,255],limegreen:[50,205,50,255],linen:[250,240,230,255],magenta:[255,0,255,255],maroon:[128,0,0,255],mediumaquamarine:[102,205,170,255],mediumblue:[0,0,205,255],mediumorchid:[186,85,211,255],mediumpurple:[147,112,219,255],mediumseagreen:[60,179,113,255],mediumslateblue:[123,104,238,255],mediumspringgreen:[0,250,154,255],mediumturquoise:[72,209,204,255],mediumvioletred:[199,21,133,255],midnightblue:[25,25,112,255],mintcream:[245,255,250,255],mistyrose:[255,228,225,255],moccasin:[255,228,181,255],navajowhite:[255,222,173,255],navy:[0,0,128,255],oldlace:[253,245,230,255],olive:[128,128,0,255],olivedrab:[107,142,35,255],orange:[255,165,0,255],orangered:[255,69,0,255],orchid:[218,112,214,255],palegoldenrod:[238,232,170,255],palegreen:[152,251,152,255],paleturquoise:[175,238,238,255],palevioletred:[219,112,147,255],papayawhip:[255,239,213,255],peachpuff:[255,218,185,255],peru:[205,133,63,255],pink:[255,192,203,255],plum:[221,160,221,255],powderblue:[176,224,230,255],purple:[128,0,128,255],rebeccapurple:[102,51,153,255],red:[255,0,0,255],rosybrown:[188,143,143,255],royalblue:[65,105,225,255],saddlebrown:[139,69,19,255],salmon:[250,128,114,255],sandybrown:[244,164,96,255],seagreen:[46,139,87,255],seashell:[255,245,238,255],sienna:[160,82,45,255],silver:[192,192,192,255],skyblue:[135,206,235,255],slateblue:[106,90,205,255],slategray:[112,128,144,255],slategrey:[112,128,144,255],snow:[255,250,250,255],springgreen:[0,255,127,255],steelblue:[70,130,180,255],tan:[210,180,140,255],teal:[0,128,128,255],thistle:[216,191,216,255],tomato:[255,99,71,255],turquoise:[64,224,208,255],violet:[238,130,238,255],wheat:[245,222,179,255],white:[255,255,255,255],whitesmoke:[245,245,245,255],yellow:[255,255,0,255],yellowgreen:[154,205,50,255]},h=function(){function t(t){var r=t.r,e=t.g,n=t.b,u=a(a(r,e),n),o=i(i(r,e),n),f=u+o;this.Ye=s((240*f+255)/510+"",10);var y=u-o;if(0===y)this.Xe=0,this.Ze=160;else{this.Ye<=120?this.Xe=s((240*y+f/2)/f+"",10):this.Xe=s((240*y+(510-f)/2)/(510-f)+"",10);var c=(40*(u-r)+y/2)/y,h=(40*(u-e)+y/2)/y,m=(40*(u-n)+y/2)/y;this.Ze=s(r===u?m-h+"":e===u?80+c-m+"":160+h-c+"",10),this.Ze<0&&(this.Ze+=240),this.Ze>240&&(this.Ze-=240)}}return t.prototype.Qe=function(t){var r=this.Ye,e=this.Ve(this.Ye,500,!0);return f(this.Ze,r+(e-r)*t,this.Xe)},t.prototype.Ve=function(t,r,e){return 0===r?t:e?r>0?(t*(1e3-r)+241*r)/1e3:t*(r+1e3)/1e3:((t+=240*r/1e3)<0&&(t=0),t>240&&(t=240),t)},t}(),m=/rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})(?:,\s*(\.\d+|\d(?:\.\d+)?))?\)/;function M(t){if(/^#[A-Fa-f0-9]+$/.test(t)){var r=t.replace(/^#/,""),e=r.length,n="",i="";if(6===e||8===e)n=r.substr(0,6),8===e&&(i=r.substr(6,2));else if(3===e||4===e){var a=r.split(3===e?/(.)/:/(..)/);n=a.filter(Boolean).map((function(t){return parseInt(3===e?t+t:t,16)})).map((function(t){return t.toString(16).padStart(2,"0")})).join(""),4===e&&(i=a[3]+a[3])}return[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16),s=i?parseInt(i,16):255]}if(t.toLowerCase()in c)return c[t.toLowerCase()];var u=m.exec(t);if(null!==u){var s=void 0===u[4]?255:255*+u[4];return[u[1],u[2],u[3],s]}return null}var d=function(){function t(){}return t.tn=function(t){var r=t.a,e=t.r,i=t.g,a=t.b;return 3===arguments.length&&(r=255,e=arguments[0],i=arguments[1],a=arguments[2]),4===arguments.length&&(r=arguments[0],e=arguments[1],i=arguments[2],a=arguments[3]),255===r?"#"+n(e,!0,2)+n(i,!0,2)+n(a,!0,2):"rgba("+e+","+i+","+a+","+r+")"},t.rn=function(t,r){return t.stops||t.type?JSON.stringify(t)===JSON.stringify(r):t.a===r.a&&t.r===r.r&&t.g===r.g&&t.b===r.b},t.nn=function(t){return(299*t.r+587*t.g+114*t.b)/1e3},t.an=function(t,r){var e=255-u(t.r-r.r),n=255-u(t.g-r.g),i=255-u(t.b-r.b),a=u(t.a-r.a);return!!(((e/=255)+(n/=255)+(i/=255))/3>=.9&&a<=.05)},t.un=function(r){var e=255^r.r,n=255^r.g,i=255^r.b;return t.tn(r.a,e,n,i)},t.sn=function(r){if("object"!=typeof document)return M(r);var n=t.fn;if(n||(a=document.createElement("canvas"))&&a.getContext&&(n=t.fn=a.getContext("2d",{willReadFrequently:!0})),!n){var i=e(736);if(i&&i.createCanvas){var a=i.createCanvas(2,2);n=t.fn=a.getContext("2d")}if(!n)return M(r)}n.clearRect(1,1,1,1),n.fillStyle=r,n.fillRect(1,1,1,1);var u=n.getImageData(1,1,1,1);return u?u.data:null},t.yn=function(r){if(r instanceof t)return r;if(null!==r&&"object"==typeof r)return r;var e=0,n=0,i=0,a=0;if(r){var u=t.sn(r);u&&(n=u[0],i=u[1],a=u[2],e=u[3])}return{a:e,r:n,g:i,b:a}},t.cn=function(r,e){if(0===e)return r;var n=new h(r),i=s((e>0?(240-n.Ye)*e:n.Ye*e)+"",10);return t.hn(n.Ze,n.Ye+i,n.Xe)},t.Qe=function(r,e){var n=t.yn(r),i=new h(n).Qe(e);return t.tn(i)},t.mn=o,t.hn=f,t}();r.rr=d},818:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Mn=r.dn=r.ln=r.vn=r.bn=r.Fn=r.ResourceManager=r.SR=void 0;var n=e(286),i=e(612),a=e(534);r.SR={en:i};var u=a.tr.ar,s=function(){function t(t,r){this.res=t,this.gn=r,this.re=n.CultureManager.re,this.cachedResource=this.pn(t,!0),this._n(this.cachedResource,r),this.te=0}return t.prototype.getResource=function(){var t=this.pn(this.res,!this.cachedResource);return t&&(this.cachedResource=t),this._n(this.cachedResource,this.gn),this.cachedResource},t.prototype._n=function(t,r){if(r){var e=n.CultureManager.culture().toLowerCase();this.re[e]=this.re[e]||{},this.re[e][r]=t,n.CultureManager.re=this.re}},t.prototype.pn=function(t,r){var e=n.CultureManager.culture();if(t&&e){var i=n.CultureManager.te;if(this.te===i&&!r)return;if(this.te=i,n.CultureManager.getLanguage(e)){var a=u(!0,{},t.en);return n.CultureManager.se(e,a,this.gn),a}var s=e.substr(0,2).toLowerCase();return t.hasOwnProperty(s)?t[s]:t.en}return{}},t}();r.ResourceManager=s,r.Fn=function(t,r,e,n){if(t&&0<=e&&e<r){var i,a=[],u=void 0;for(u=e;u<r;u++)void 0!==t[u]&&a.push(u);for(i=a.length,u=0;u<i;u++){var s=a[i-u-1],o=t[s];t[s]=null,t[Math.floor(s)+n]=o}}},r.bn=function(t,r,e,n){if(t&&0<=r){for(var i,a=[],u=void 0,s=0,o=Array.from(t.keys());s<o.length;s++){(f=o[s])>=r&&a.push(f)}for(a.sort((function(t,r){return t-r})),i=a.length,u=0;u<i;u++){var f=a[i-u-1],y=t.get(f);t.delete(f);var c=f+e;t.set(c,y),n&&n(y,c)}}},r.vn=function(t,r,e,n){if(t&&0<=e&&e<r){var i,a=[],u=e+n,s=void 0;for(s=e;s<r;s++)void 0!==t[s]&&(e<=s&&s<u?t[s]=null:s>=u&&a.push(s));for(i=a.length,s=0;s<i;s++){var o=a[s],f=t[o];t[o]=null,t[Math.floor(o)-n]=f}}},r.ln=function(t,r,e,n){if(t&&0<=r){for(var i,a=[],u=r+e,s=void 0,o=0,f=Array.from(t.keys());o<f.length;o++){var y=f[o];t.has(y)&&(r<=y&&y<u?(n&&n(t.get(y),-1),t.delete(y)):y>=u&&a.push(y))}for(a.sort((function(t,r){return t-r})),i=a.length,s=0;s<i;s++){y=a[s];var c=t.get(y);t.delete(y);var h=y-e;t.set(h,c),n&&n(c,h)}}},r.dn=function(t,r){return t.hasOwnProperty(r)},r.Mn=function(t,r){return t instanceof r}},97:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Qt=r.getSR=void 0;var n=e(818),i=e(480),a=e(305),u=e(286),s=e(534).tr.de,o=i.Yt.Dn,f=parseInt,y=!1,c=Math.floor,h=Math.abs,m=new n.ResourceManager(n.SR,"Common");r.getSR=m.getResource.bind(m);var M={};function d(t,e,i,a){var s=i.DateTimeFormat,f=s.Calendar.convert;if(!e||!e.length)return i&&i.name.length?f?d(t,s.fullDateTimePattern,i):t.toLocaleString():t.toString();var y,m,M,v=s.eras,b="",F=/([^d]|^)(d|dd)([^d]|$)/g;function g(){return m||M||(m=F.test(e),M=!0),m}var p,_=0,D=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;function w(t,r){return p?p[r]:function(t,r){if(n.HandleExcelSpecialDate)return n.HandleExcelSpecialDate.call(null,t,r);switch(r){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();default:return}}(t,r)}"s"!==e&&f&&(p=f.fromGregorian(t));for(var H=-2,$=-2,k={wn:""},S=0;;S++){var N=D.lastIndex,P=D.exec(e),C=e.slice(N,P?P.index:e.length);if(k.wn="",_+=l(C,k),b+=k.wn,!P)break;if(_%2!=1){var O=w(t,0),x=t.getDay(),j=t.getHours(),E=t.getMinutes(),T=t.getSeconds(),A=t.getMilliseconds(),R=t.getTimezoneOffset();switch(P[0]){case"dddd":b+=s.dayNames[x];break;case"ddd":b+=s.abbreviatedDayNames[x];break;case"dd":m=!0,b+=o(w(t,2),2);break;case"d":m=!0,b+=w(t,2);break;case"MMMM":b+=s.monthGenitiveNames&&g()?s.monthGenitiveNames[w(t,1)]:s.monthNames[w(t,1)];break;case"MMM":b+=s.abbreviatedMonthGenitiveNames&&g()?s.abbreviatedMonthGenitiveNames[w(t,1)]:s.abbreviatedMonthNames[w(t,1)];break;case"MM":b+=o(w(t,1)+1,2);break;case"M":b+=w(t,1)+1;break;case"yyyy":case"yyy":b+=H>=0?u.nr.Yr("ee",t,a):o(p?p[0]:O,4);break;case"yy":b+=H>=0?u.nr.Yr("ee",t,a):o((p?p[0]:O)%100,2);break;case"y":b+=H>=0?u.nr.Yr("e",t,a):""+(p?p[0]:O)%100;break;case"hh":0==(y=j%12)&&(y=12),b+=o(y,2);break;case"h":0==(y=j%12)&&(y=12),b+=y;break;case"HH":b+=o(j,2);break;case"H":b+=j.toString();break;case"mm":b+=o(E,2);break;case"m":b+=E.toString();break;case"ss":b+=o(T,2);break;case"s":b+=T.toString();break;case"tt":b+=j<12?s.amDesignator:s.pmDesignator;break;case"t":b+=(j<12?s.amDesignator:s.pmDesignator).charAt(0);break;case"f":case"0":b+=o(A,3).charAt(0);break;case"ff":case"00":b+=o(A,3).substr(0,2);break;case"fff":case"000":b+=o(A,3);break;case"z":b+=((y=R/60)<=0?"+":"-")+c(h(y));break;case"zz":b+=((y=R/60)<=0?"+":"-")+o(c(h(y)),2);break;case"zzz":b+=((y=R/60)<=0?"+":"-")+o(c(h(y)),2)+":"+o(h(R%60),2);break;case"g":case"gg":case"ggg":if(!v)break;if(H===S-1){H=S;break}b+=u.nr.Yr(P[0],t,a),H=S;break;case"e":case"ee":if(!v){b+=o(p?p[0]:O,4);break}if($===S-1){$=S;break}b+=u.nr.Yr(P[0],t,a),$=S;break;case"/":b+=s.dateSeparator;break;default:if(!/\[(H+|h+|m+|s+)\]/.test(P[0]))throw Error((0,r.getSR)().Exp_InvalidDateFormat);b+=P[0]}}else b+=P[0]}return b.toString()}function l(t,r){for(var e=0,n=y,i=0,a=t.length;i<a;i++){var u=t.charAt(i);switch(u){case'"':n?r.wn+="'":e++,n=y;break;case"\\":n&&(r.wn+="\\"),n=!n;break;default:r.wn+=u,n=y}}return e}function v(t,r){var e=new Date;if(t.DateTimeFormat.eras&&r<100){var n=u.nr.Jr(e).Lr;(r+=n-n%100)>t.DateTimeFormat.Calendar.TwoDigitYearMax&&(r-=100)}return r}function b(t){var r=t.getTimezoneOffset();return-485===r&&(r=-485-43/60),-321===r&&(r=-321-10/60),-507===r&&(r=-507-52/60),-402===r&&(r=-402-4/60),r}var F=function(){function t(){}return t.Hn=function(t,r,e,n){return e||(e=u.CultureManager.ce()),d(t,r,e,n)},t.$n=function(t,r,e){return d(t,r,e||u.CultureManager.ce())},t.Sn=function(r,e,n){var i,a,u,s,o,f=y;for((o=n).slice(1).forEach((function(t){t&&(f=!0)})),f||(o=o.concat(e.cr())),a=o.length,i=1;i<a;i++)if((s=o[i])&&(f=!0,u=t.Nn(r,s,e)))return u;return null},t.Pn=function(r,e,n){var i,a;return e||n||void 0===(a=M[r])?(i=e?[r,e]:[r],a=t.Sn(r,n||u.CultureManager.ce(),i),e||n||(M[r]=a),a?new Date(a):a):a?new Date(a):a},t.Cn=function(r,e){return t.Sn(r,u.CultureManager.ce("invariant"),[r,e])},t.Nn=function(t,e,n){t=t.trim();var s=n.DateTimeFormat,o=1041===n.id,c=function(t,e,n){if(t.On){if(t.On[e])return t.On[e]}else t.On={};var i=e;i=(i=i.replace("%M","M")).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1");for(var u,s="^",o={wn:""},f=[],y=0,c=0,h=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;null!==(u=h.exec(i));){o.wn="";var m=i.slice(y,u.index);if(y=h.lastIndex,c+=l(m,o),s+=o.wn,c%2!=1){switch(u[0]){case"dddd":case"ddd":case"MMMM":case"MMM":case"gggg":case"ggg":case"gg":case"g":s+="(\\D+)";break;case"tt":case"t":s+="(\\D*)";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":s+="(\\d\\d?\\d?)";break;case"eee":case"ee":case"e":s+=n?"(\\u5143|\\d\\d?)":"(\\d\\d?)";break;case"yyy":case"yyyy":s+="(\\d{2}|\\d{4})";break;case"fff":case"000":s+="(\\d{3})";break;case"ff":case"00":s+="(\\d{2})";break;case"f":case"0":s+="(\\d)";break;case"zzz":s+="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":s+="([+-]?\\d\\d?)";break;case"/":s+="/"===t.dateSeparator?"(\\/)":"([\\/\\"+t.dateSeparator+"])";break;default:throw Error((0,r.getSR)().Exp_InvalidDateFormat)}a.Vt.He(f,u[0])}else s+=u[0]}o.wn="",l(i.slice(y),o),s+=o.wn;var M=(s+="$").toString().replace(/\s+/g,"\\s+"),d={xn:M,jn:f,En:RegExp(M)};return t.On[e]=d,d}(s,e,o),h=c.En.exec(t);if(null===h)return null;for(var m,M=c.jn,d=null,b=null,F=null,g=null,p=null,_=0,D=0,w=0,H=0,$=null,k=y,S=y,N=0,P=M.length;N<P;N++){var C=h[N+1];if(C)switch(M[N]){case"dd":case"d":if((g=f(C,10))<1||g>31)return null;break;case"MMMM":if((F=n.Mr(C))<0||F>11)return null;break;case"MMM":if((F=n.vr(C))<0||F>11)return null;break;case"M":case"MM":case"%M":if((F=f(C,10)-1)<0||F>11)return null;break;case"e":case"ee":if((b=o&&"元"===C?1:v(n,f(C,10)))<0||b>9999)return null;break;case"y":case"yy":case"yyy":case"yyyy":if((b=f(C,10))<0||b>9999)return null;break;case"h":case"hh":case"H":case"HH":if((_=f(C,10))<0)return null;break;case"m":case"mm":if((D=f(C,10))<0||D>59)return null;break;case"s":case"ss":if((w=f(C,10))<0||w>59)return null;break;case"tt":case"t":var O=C.toUpperCase();if(k=O===s.pmDesignator.toUpperCase(),S=O===s.amDesignator.toUpperCase(),!k&&!S)return null;break;case"f":case"0":if((H=100*f(C,10))<0||H>999)return null;break;case"ff":case"00":if((H=10*f(C,10))<0||H>999)return null;break;case"fff":case"000":if((H=f(C,10))<0||H>999)return null;break;case"dddd":if((p=n.gr(C))<0||p>6)return null;break;case"ddd":if((p=n._r(C))<0||p>6)return null;break;case"zzz":var x=C.split(/:/);if(2!==x.length)return null;if((m=f(x[0],10))<-12||m>13)return null;var j=f(x[1],10);if(j<0||j>59)return null;$=60*m+(i.Yt.Tn(C,"-")?-j:j);break;case"z":case"zz":if((m=f(C,10))<-12||m>13)return null;$=60*m;break;case"g":case"gg":case"ggg":var E=C;if(!E||!s.eras)return null;if((d=u.nr.Wr(M[N],E))<0)return null}}var T,A=/^(\d|\d\d|\d\d\d):/.test(t),R=A?new Date(1899,11,30):new Date,B=s.Calendar.convert;if(B&&(T=B.fromGregorian(R)),B||(T=[R.getFullYear(),R.getMonth(),R.getDate()]),null===b?b=T[0]:b<100&&(s.eras&&null!==d?b=u.nr.Kr(d||0,b):b+=b>=30?1900:2e3),null===F&&(F=T[1]),null===g&&(g=A?T[2]:1),B){if(null===(R=B.toGregorian(b,F,g)))return null}else{if(R.setFullYear(b,F,g),R.getDate()!==g)return null;if(null!==p&&R.getDay()!==p)return null}if(k&&_<12?_+=12:S&&12===_&&(_=0),R.setHours(_,D,w,H),null!==$){var I=R.getMinutes()-($+R.getTimezoneOffset());R.setHours(R.getHours()+I/60,I%60)}return R},t.An=function(t){var r=b(new Date(864e5*(t-25569))),e=Math.round(864e5*(t-25569+r/1440)),n=new Date(e),i=r>=0?1:-1,a=b(new Date(e+36e5*i));if(h(r-a)>=60){var u=new Date(e+60*(a-r)*1e3);if(r>a){if(-1===i||a===b(n))return u}else if(r<a&&(1===i||a===b(n)))return u}return n},t.Rn=function(r){if("/OADate("===r.substr(0,8)){var e=parseFloat(r.substr(8,r.length-10));return t.An(e)}},t.Bn=function(r){return"/OADate("+t.In(r)+")/"},t.In=function(t){if(s(t))return 0;if("number"!=typeof t&&"string"!=typeof t||(t=new Date(t)),t instanceof Date){var r=b(t);return(1440*t.getTime()+3181192704e6-864e5*r)/124416e6}return 0},t.zn=function(e){var n=null,i=!0;if(s(e))n=t.An(0);else if(e instanceof Date)n=new Date(e.valueOf());else if("string"==typeof e){var a=t.Pn(e);if(!a)if(isNaN(e))if(t.Gn(e))i=y;else{isNaN((a=new Date(e)).valueOf())&&(i=y);var u=/^[-+=\s]*(\d+)\W+(\d+)\W+(\d+)$/.exec(e.replace(/ |\n/g,"").trim());u&&4===u.length&&(-1!==u.indexOf(a.getFullYear().toString())&&-1!==u.indexOf(""+(a.getMonth()+1))&&-1!==u.indexOf(a.getDate().toString())||(i=y))}else(a=t.An(parseFloat(e)))||(i=y);n=a}else"number"==typeof e?n=t.An(e):i=y;if(i)return n;throw(0,r.getSR)().Exp_InvalidCast},t.Gn=function(r){var e,n,i=u.CultureManager.ce().DateTimeFormat,a=t.Jn,s=function(t,r){var e=0;return r.forEach((function(r){r&&t.indexOf(r)>-1&&e++})),e>1};return s(r,i.monthNames)||s(r,i.abbreviatedMonthNames)||s(r,i.dayNames)||s(r,i.abbreviatedDayNames)||function(t,r){if(t&&t.indexOf(" ")>-1){var e=t.split(" "),n=e.length;return n>=2&&r.indexOf(e[n-2])<=-1&&!isNaN(e[n-1])}return!1}(r,i.monthNames.concat(i.abbreviatedMonthNames))||(e=r,n=!1,a.forEach((function(t){e.indexOf(t)>-1&&(n=!0)})),n)},t.Un=function(t){return t&&(t.constructor===Date||t.getUTCDate&&t.setFullYear)},t.Jn=["@","#","!","`","^","$","*","(",")","&"],t}();r.Qt=F},646:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Ln=r.qn=void 0;var n=e(844),i=isNaN,a="rowCount",u="colCount";function s(t){return t}function o(t,r,e,s,o,f,y,c,h,m,M){var d,l,v,b,F,g,p,_,D,w,H,$,k,S,N,P,C=e[a],O=e[u],x=r[a],j=r[u],E=s[a],T=s[u],A=1===O,R=1===j;if(x===C&&j===O){var B=0,I=0,z=0,G=0;for(p=C*O,d=0;d<C;d++)for(l=0;l<O;l++){if(b=f(e[d][l]),F=f(r[d][l]),t&&(i(b)||i(F)))return h;B+=b,I+=b*b,z+=F=m(F),G+=b*F}var J=p*G-B*z;_=o?(z*I-B*G)/(p*I-B*B):0;var U=(g=o?J/(p*I-B*B):G/I).toString();for((U.indexOf("000000000000")>1||U.indexOf("999999999999")>1)&&(g=n.Zt.Kn(g,12),_=n.Zt.Kn(_,12)),D=[],d=0;d<E;d++)for(D[d]=[],l=0;l<T;l++){if(b=f(s[d][l]),t&&i(b))return h;D[d][l]=0===J?r[0][0]:M(n.Zt.Wn(g*b,_))}return y?new y(D):D}if(R&&x===C||1===x&&j===O){for(b=[],F=[],N=O+1,P=O+2,d=0;d<C;d++){if(_=f(H=R?r[d][0]:r[0][d]),t&&i(_))return h;F[d]=A?m(_):_}for(d=0;d<C;d++)for(b[d]=[],l=0;l<O;l++){if(_=f(e[d][l]),t&&i(_))return h;b[d][l]=_}var L=[];for(g=0;g<N;g++)for(L[g]=[],p=0;p<P;p++)L[g][p]=0;for(v=0;v<C;v++)for(L[0][N]+=F[v],d=0;d<O;d++)for(H=d+1,L[0][H]+=b[v][d],L[H][0]=L[0][H],L[H][N]+=b[v][d]*F[v],l=d;l<O;l++)L[k=l+1][H]+=b[v][d]*b[v][l],L[H][k]=L[k][H];L[0][0]=C;var q=o?0:1;for(w=q;w<N;w++){if(t){if(0===L[w][w]){for(S=!1,l=w+1;!S&&l<N;l++)if(0!==L[l][w]){for(v=0;v<P;v++)k=L[w][v],L[w][v]=L[l][v],L[l][v]=k;S=!0}if(!S)return c}}else{for(d=w;d<N&&0===L[d][w];)d++;if(d>=N)return c;for($=q;$<P;$++)H=L[w][$],L[w][$]=L[d][$],L[d][$]=H}for(H=1/L[w][w],$=q;$<P;$++)L[w][$]*=H;for(d=q;d<N;d++)if(d!==w)for(H=-L[d][w],$=0;$<P;$++)L[d][$]+=H*L[w][$];o||(L[0][N]=0)}for(D=[],R||(D[0]=[]),d=0;d<E;d++){for(R&&(D[d]=[]),H=L[0][N],l=0;l<O;l++){if(_=f(R?s[d][l]:s[l][d]),t&&i(_))return h;H+=L[l+1][N]*_}R?D[d][0]=M(H):D[0][d]=M(H)}return y?new y(D):D}return c}r.qn=function(t,r,e,n,i,a,u,f){return o(!0,t,r,e,n,i,a,f,u,s,s)},r.Ln=function(t,r,e,n,i,f,y){var c,h;for(c=0;c<t[a];c++)for(h=0;h<t[u];h++)if(t[c][h]<=0)return f;return o(!1,t,r,e,n,s,i,y,null,Math.log,Math.exp)}},844:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Zt=void 0;var n=e(818),i=e(534),a=e(576),u=e(480),s=e(286),o=i.tr.de,f=u.Yt.Dn,y=u.Yt.Yn,c=null,h=void 0,m=parseInt,M=parseFloat,d=!1,l=!0,v=Math.floor,b=Math.abs,F=Math.pow,g=Math.min,p=Number.MAX_VALUE,_=function(t,r,e){return t.substr(r,e)},D=function(t){return a.Xt.Vr(t)},w=new n.ResourceManager(n.SR),H=w.getResource.bind(w),$="##################0",k="################",S={1:"+",0:"","-1":"-"},N=["0","#","?"],P={"¤":"¤",Br:"Br",Fdj:"Fdj",Nfk:"Nfk",R:"R",$:"$",FCFA:"FCFA","GH₵":"GH₵",ብር:"ብር","ر.س.‏":"ر.س.‏",XDR:"XDR","د.إ.‏":"د.إ.‏","د.ب.‏":"د.ب.‏","د.ج.‏":"د.ج.‏","ج.م.‏":"ج.م.‏","₪":"₪","د.ع.‏":"د.ع.‏","د.ا.‏":"د.ا.‏","ف.ج.ق.‏":"ف.ج.ق.‏","د.ك.‏":"د.ك.‏","ل.ل.‏":"ل.ل.‏","د.ل.‏":"د.ل.‏","د.م.‏":"د.م.‏","أ.م.‏":"أ.م.‏","ر.ع.‏":"ر.ع.‏","ر.ق.‏":"ر.ق.‏","ج.س.":"ج.س.",S:"S","£":"£","ل.س.‏":"ل.س.‏","د.ت.‏":"د.ت.‏","ر.ي.‏":"ر.ي.‏","₹":"₹",TSh:"TSh","€":"€","₼":"₼","₽":"₽",K:"K","лв.":"лв.","₦":"₦",CFA:"CFA","৳":"৳","¥":"¥",KM:"KM",КМ:"КМ",USh:"USh",Kč:"Kč","kr.":"kr.",Ksh:"Ksh",CHF:"CHF","ރ.":"ރ.","Nu.":"Nu.",EC$:"EC$",P:"P",US$:"US$",D:"D",Rp:"Rp",Ar:"Ar",MOP$:"MOP$",Rs:"Rs",MK:"MK",RM:"RM","₱":"₱",RF:"RF",SR:"SR",SDG:"SDG",Le:"Le","NAf.":"NAf.",E:"E",T$:"T$",VT:"VT",WS$:"WS$",Bs:"Bs","₡":"₡",Q:"Q",L:"L",C$:"C$","B/.":"B/.","S/.":"S/.","₲":"₲","Bs.":"Bs.",ريال:"ريال",FG:"FG",UM:"UM",kr:"kr",FBu:"FBu",FC:"FC",DA:"DA",G:"G",CF:"CF",DH:"DH",FCFP:"FCFP",LS:"LS",DT:"DT",kn:"kn",HUF:"HUF","֏":"֏",ISK:"ISK","₾":"₾","​":"​","₸":"₸","៛":"៛","₩":"₩",сом:"сом",Kz:"Kz","₭":"₭",MTn:"MTn",ден:"ден","₮":"₮",रु:"रु","Afl.":"Afl.","ߖߕ.":"ߖߕ.","руб.":"руб.",zł:"zł","؋":"؋",R$:"R$",Db:"Db",RON:"RON","₴":"₴",MAD:"MAD","රු.":"රු.",Lekë:"Lekë",den:"den",RSD:"RSD","дин.":"дин.","ܠ.ܣ.‏":"ܠ.ܣ.‏","Rs.":"Rs.",смн:"смн","฿":"฿","m.":"m.","₺":"₺",ⴷⵔ:"ⴷⵔ",soʻm:"soʻm",сўм:"сўм","₫":"₫",HK$:"HK$",MOP:"MOP",NT$:"NT$"};function C(t,r,e,n){return r&&0!==r.length&&"i"!==r?function(t,r,e,n){return I(t,j(r),e,n)}(t,r,e.NumberFormat,n):e&&e.name.length>0?t.toLocaleString():t.toString()}function O(t,r){for(var e=v(b(t)),n={Xn:1,Zn:0};e>=10&&Number.isFinite(e);)e/=10,n.Xn++;var i,a=t.toString(),u=a.search(/e/gi),s=a.indexOf(r);if(-1!==u){var o=_(a,0,u),f=_(a,u+1),y=0;-1!==s&&(y=_(o,s+1).length),(i=y-M(f))<0&&(i=0),n.Zn=i}else i=0,-1!==s&&(i=_(a,s+1).length),n.Zn=i;return n}function x(t){for(var r={Qn:t.charAt(0),Vn:0,En:0},e="",n=1;n<t.length;n++)if("+"===(e=t.charAt(n)))r.Vn=1;else{if("-"!==e){if("0"===e){r.En=t.length-n;break}throw Error(H().Exp_InvalidExponentFormat)}r.Vn=-1}return r}function j(t){for(var r,e={ti:c,ri:c,ei:d,ni:0,ii:0,ai:0,ui:c},n="",i=d,a=d,u=d,s=d,o=d,f=d,y=c,h=[],m=0;m<t.length;m++){if(r=t.charAt(m),i)n+=r,'"'===r&&(h.push(n),n="",i=d);else if(a){if("E"===y||"e"===y){if(!(["+","-","0"].indexOf(r)>=0)){a=d,m--;continue}n+=r}else if("+"===y||"-"===y){if("0"!==r){a=d,m--;continue}n+=r}else if("0"===y){if("0"!==r){a=d,o||(o=l,e.ui=x(n)),m--;continue}n+=r}}else if("*"!==y&&"_"!==y&&"\\"!==y||""===n)if("*"===r||"_"===r||"\\"===r)f=d,""!==n&&(h.push(n),n=""),n+=r;else if("'"===r)f=d,""!==n&&(h.push(n),n=""),h.push(r);else if('"'===r)f=d,i=l,""!==n&&(h.push(n),n=""),n+=r;else if(N.indexOf(r)>=0)f=l,N.indexOf(y)<0&&""!==n&&(h.push(n),n=""),n+=r;else if("."!==r||u)if("%"===r)f=d,e.ii++,""!==n&&(h.push(n),n=""),h.push(r);else if("‰"===r)f=d,e.ai++,""!==n&&(h.push(n),n=""),h.push(r);else if(","===r)if(f){var M=void 0;""!==n&&(h.push(n),n="");for(var v=l,b="",F=m+1;F<t.length;F++)if(M=t.charAt(F),'"'!==b)if("\\"!==b&&"_"!==b){if(N.indexOf(M)>=0){v=d;break}if("."===M||";"===M)break;b=M}else b="";else'"'===M&&(b="");v?e.ni++:u||(M=t.charAt(m+1))&&N.indexOf(M)>=0&&(s=l)}else n+=r;else"E"===r||"e"===r?(f=d,a=l,""!==n&&(h.push(n),n=""),n+=r):(f=d,N.indexOf(y)>=0&&""!==n&&(h.push(n),n=""),n+=r);else""!==n&&(h.push(n),n=""),e.ti=h,h=[],u=l,f=d;else n+=r,h.push(n),n="";y=r}return""!==n&&(a&&!o&&(e.ui=x(n)),h.push(n)),s&&(e.ei=l),u?e.ri=h:e.ti=h,e}function E(t,r,e,n,i,a){var u=function(t,r){if(r=+r,isNaN(t=+t)||r%1!=0)return NaN;var e=t<0;if(t=e?-t:t,typeof r===h||0===r)return t=Math.round(t),e?-t:t;var n=t.toString().split("e");return t=Math.round(+(n[0]+"e"+(n[1]?+n[1]-r:-r))),+((n=(t=e?-t:t).toString().split("e"))[0]+"e"+(n[1]?+n[1]+r:r))}(t,-r);isFinite(u)||(u=t);var s,o,c=(t=u).toString(),M=c.split(/e/i);return c=M[0],o=M.length>1?m(M[1],10):0,M=c.split("."),c=M[0],s=M.length>1?M[1]:"",o>0?(c+=(s=y(s,o)).slice(0,o),s=_(s,o)):o<0&&(o=-o,s=(c=t<0?a+f(c.replace(a,""),o+1):f(c,o+1)).slice(-o,c.length)+s,c=c.slice(0,-o)),c+(r>0?i+(s=s.length>r?s.slice(0,r):y(s,r)):"")}function T(t){var r=c;if(t){r="";for(var e=0;e<t.length;e++){var n=t[e];/^(0|#|\?)+/g.test(n)&&(r+=n)}}return r}var A=Math.pow(2,48);function R(t,r){return t===r||0!==t&&0!==r&&(b(t-r)<b(t)/A||(t=U(t,15),r=U(r,15),b(t-r)<b(t)/A))}function B(t,r,e,n,i,a,u,s){var o=s.numberGroupSizes,y=s.numberGroupSeparator,c=s.negativeSign,h=s.percentSymbol,m=s.perMilleSymbol,M=n.ui,v=_(r,0,1);v===c&&(r=_(r,1));var b=1===r.length&&"0"===r?0:r.length;r=0===b?"":r;for(var F=0,g="",p=t.length-1;p>=0;p--){var D="",w=t[p];if(/^(0|#|\?)+/g.test(w)){if(g!==e){for(var $=w.length,k=b-F-1;k>=0&&$>0;k--){D=r.charAt(k)+D,$--,F++}for(var N=$-1;N>=0;N--){var C=w[N];F++,"0"===C?D=C+D:"?"===C&&(""!==D&&(a.push({type:"number",value:D}),D=""),a.push({type:"numberPlaceholder",value:C}))}(g=w+g)===e&&F<b&&(D=r.substr(0,b-F)+D),""!==D&&a.push({type:"number",value:D})}}else if(n.ui&&!u.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(w)){u.replaceExponent=l;var O="";O+=M.Qn,O+=S[M.Vn],O+=f(i.toString(),M.En),a.push({type:"exponent",value:O})}else"_"===w[0]?a.push({type:"placeholder",value:w[1]}):"*"===w[0]?u.hasInfilling||(a.push({type:"fillingChar",value:w[1]}),u.hasInfilling=!0,u.infillIndex=a.length-1):"\\"===w[0]?2===w.length&&a.push({type:"text",value:w[1]}):'"'===w[0]&&'"'===w[w.length-1]?w.length>2&&a.push({type:"text",value:w.substr(1,w.length-2)}):w===h?a.push({type:"percent",value:w}):w===m?a.push({type:"permille",value:w}):P[w]?a.push({type:"currency",value:w}):a.push({type:"text",value:w})}v===c&&e&&a.push({type:"text",value:v}),n.ei===l&&function(t,r,e,n){for(var i=r[0],a=1,u=0,s=d,o=t.length,f=0;f<o;f++){var y=t[f].type;if("number"===y){for(var c="",h=t[f].value,m=h.length-1;m>=0;){if(!(1<=i&&i<=9||0===i&&a===r.length))throw Error(H().Exp_InvalidNumberGroupSize);/\d/gi.test(h[m])?(s&&(c&&t.push({type:"number",value:c}),t.push({type:"groupSeparator",value:e}),c="",s=d),u++):u=0,c=h[m]+c,u===i&&i>0&&(s=l,u=0,a<r.length&&(i=r[a],a++)),m--}c&&t.push({type:y,value:c})}else"fillingChar"===y&&(n.infillIndex=t.length-o),t.push({type:y,value:t[f].value})}t.splice(0,o)}(a,o,y,u),a.reverse(),u.infillIndex=a.length-1-u.infillIndex}function I(t,r,e,n){var i=[];t=function(t,r,e,n){var i=t;return r>0&&(i=U(i*F(100,r),15)),e>0&&(i=U(i*F(1e3,e),15)),n>0&&(i=U(i/F(1e3,n),15)),i}(t,r.ii,r.ai,r.ni);var a=r.ti,u=r.ri;if(!a&&!u)return i;var s,o=T(a),y=T(u);if(y||(y=""),r.ui){var c=function(t,r,e){var n={value:t,exponentValue:0},i=O(t,".").Xn,a=b(t),u=e?e.length:1;if(a>=1)i>u?(i-=u,n.value=t/F(10,i),n.exponentValue=i):n.exponentValue=0,-1===r.Vn&&(r.Vn=0);else if(a<1&&a>0){r.Vn=-1;for(var s=F(10,u);10*a<s&&!R(10*a,s);)a*=10,n.exponentValue++;var o=F(10,n.exponentValue);n.value*=o>p?0:o}return n}(t,r.ui,o);t=c.value,s=c.exponentValue}var h=O(t,".");b(t)>1&&h.Xn+h.Zn>15&&(t=U(t,15));e.numberGroupSizes,e.numberGroupSeparator;var m=e.numberDecimalSeparator,M=e.negativeSign,v=E(t,g(h.Zn,y.length),0,0,m,M);if(n||(v=function(t,r){var e=t;return-1!==t.indexOf(r)&&(e=t.replace(/0+$/,"")),e}(v,m)),""===v)return i.push({type:"text",value:(a?a.join(""):"")+(u?u.join(""):"")}),i;var _={hasInfilling:d,infillIndex:-1,replaceExponent:d},D=v.split(m)[0];return"10"!==D||isNaN(s)||(D="1",s+=r&&r.ui&&-1===r.ui.Vn?-1:1),a&&B(a,D,o,r,s,i,_,e),t===1/0||t===-1/0||("0"!==D&&""===o&&u&&i.push({type:"number",value:D}),u&&function(t,r,e,n,i,a,u,s,o){var y=o.numberDecimalSeparator,c=o.percentSymbol,h=o.perMilleSymbol,m=r.indexOf(y),M=i.ui;(m>0||n!==$||e!==k)&&u.push({type:"decimalSeparator",value:y});for(var d=-1!==m?r.substring(m+1):"",v=0,b="",F=0;F<t.length;F++){var g=t[F];if(/^(0|#|\?)+/g.test(g)){var p="";if(b!==e){for(var _=g.length,D=0,w=v;_>0&&d.length-v>0;)p+=d.charAt(w),_--,v++,D++,w++;for(var H=D;_>0;){var N=g[H];H++,v++,_--,"0"===N?p+=N:"?"===N&&(""!==p&&(u.push({type:"number",value:p}),p=""),u.push({type:"numberPlaceholder",value:N}))}""!==p&&u.push({type:"number",value:p}),b+=g}}else if(M&&!s.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(g)){s.replaceExponent=l;var C="";C+=M.Qn,C+=S[M.Vn],C+=f(a.toString(),M.En),u.push({type:"exponent",value:C})}else"_"===g[0]?u.push({type:"placeholder",value:g[1]}):"*"===g[0]?(u.push({type:"fillingChar",value:g[1]}),s.hasInfilling&&u.splice(s.infillIndex,1),s.hasInfilling=!0,s.infillIndex=u.length-1):"\\"===g[0]?2===g.length&&u.push({type:"text",value:g[1]}):'"'===g[0]&&'"'===g[g.length-1]?g.length>2&&u.push({type:"text",value:g.substr(1,g.length-2)}):g===c?u.push({type:"percent",value:g}):g===h?u.push({type:"permille",value:g}):P[g]?u.push({type:"currency",value:g}):u.push({type:"text",value:g})}}(u,v,y,o,r,s,i,_,e)),i}function z(t,r){if((t=o(t)?"":u.Yt.si(t,"")).match(/^[+-]?infinity$/i))return M(t);if(t.match(/^0x[a-f0-9]+$/i))return m(t,10);var e,n,i=r.NumberFormat,a=i.numberNegativePattern,s=G(t,i,a),f=s[0],y=s[1];""===f&&1!==a&&(f=(s=G(t,i,1))[0],y=s[1]),""===f&&(f="+"),y[0]===i.currencySymbol&&(y=_(y,1));var h=y.indexOf("e");h<0&&(h=y.indexOf("E")),h<0?(n=y,e=c):(n=_(y,0,h),e=_(y,h+1));var d,l,v=n.indexOf(".");v<0?(d=n,l=c):(d=_(n,0,v),l=_(n,v+1));var b=f+(d=d.split(",").join(""));if(l!==c&&(b+="."+l),b[b.length-1]===i.percentSymbol){b=_(b,0,b.length-1);var F=(b=u.Yt.si(b,"")).indexOf(".");-1===F&&(F=b.length);var g="";g+=_(b,0,F-2),g+=".",g+=_(b,F-2,2),b=g+=_(b,F+1)}if(e!==c){var p=G(e,i,1);""===p[0]&&(p[0]="+"),b+="e"+p[0]+p[1]}return b.match(/^[+-]?\d*\.?\d*(e[+-]?\d+)?$/)?M(b):NaN}function G(t,r,e){var n=r.negativeSign,i=r.positiveSign;if(4!==e&&2!==e||(n=" "+n,i=" "+i),4===e||3===e){if(u.Yt.oi(t,n))return["-",_(t,0,t.length-n.length)];if(u.Yt.oi(t,i))return["+",_(t,0,t.length-i.length)]}else if(2===e||1===e){if(u.Yt.Tn(t,n))return["-",_(t,n.length)];if(u.Yt.Tn(t,i))return["+",_(t,i.length)]}else{if(0!==e)throw Error("");if(u.Yt.Tn(t,"(")&&u.Yt.oi(t,")"))return["-",_(t,1,t.length-2)]}return["",t]}function J(t){var r=s.CultureManager.ce().NumberFormat;return"string"==typeof t&&(r=s.CultureManager.ce(t).NumberFormat),r}function U(t,r){return"number"==typeof t&&t.toString().length>=r&&(t=+t.toPrecision(r)),t}r.Zt={Pn:function(t){return z(t,s.CultureManager.ce())},Cn:function(t){return z(t,s.CultureManager.ce("invariant"))},Hn:function(t,r,e,n){return e||(e=s.CultureManager.ce()),C(t,r,e,n)},fi:function(t,r){if("string"!=typeof t)return t;var e=J(r),n=e.numberDecimalSeparator,i=e.numberGroupSeparator;return"."!==n&&(t=t.replace(D("[.]"),"#dot#")),","!==i&&(t=t.replace(D("[,]"),"#group#")),"."!==n&&(t=t.replace(D("#dot#"),n)),","!==i&&(t=t.replace(D("#group#"),i)),t},yi:function(t,r){if("string"!=typeof t)return t;var e=J(r),n=e.numberDecimalSeparator,i=e.numberGroupSeparator;return"."!==n&&(t=t.replace(D("["+n+"]"),"#dot#")),","!==i&&(t=t.replace(D("["+i+"]"),"#group#")),"."!==n&&(t=t.replace(D("#dot#"),".")),","!==i&&(t=t.replace(D("#group#"),",")),t},ci:function(t,r){if("string"==typeof t){var e=J(r),n=e.numberDecimalSeparator,i=e.numberGroupSeparator;if("."!==n&&"."!==i&&t.indexOf(".")>=0||","!==n&&","!==i&&t.indexOf(",")>=0)return!1}return!0},hi:function(t,r){return M(this.yi(t,r))},We:function(t,r,e){if(0!==b(v(t)-t))throw Error(H().Exp_BadFormatSpecifier);var n=t>=0?t.toString(16):(4294967295+t+1).toString(16);return n=r?n.toLowerCase():n.toUpperCase(),!o(e)&&n.length<e?f(n,e):n},mi:j,Mi:I,di:R,Wn:function(t,r){return R(t,-r)?0:t+r},li:function(t){var r="";if(Array.isArray(t)&&t.length>0)for(var e=0;e<t.length;e++){var n=t[e].type,i=t[e].value;if("placeholder"===n)r+=" ";else{if("fillingChar"===n)continue;r+="numberPlaceholder"===n?" ":i}}return r},bi:$,Fi:k,Kn:U}},674:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.rbush=void 0;var e=Math.max,n=Math.min,i=1/0;function a(t,r){this.gi=e(4,t||9),this.pi=e(2,Math.ceil(.4*this.gi)),r&&this._i(r),this.clear()}function u(t,r,e){if(!e)return r.indexOf(t);for(var n=0;n<r.length;n++)if(e(t,r[n]))return n;return-1}function s(t,r){o(t,0,t.children.length,r,t)}function o(t,r,e,n,a){a||(a=l(null)),a.minX=i,a.minY=i,a.maxX=-1/0,a.maxY=-1/0;for(var u=r,s=void 0;u<e;u++)s=t.children[u],f(a,t.leaf?n(s):s);return a}function f(t,r){return t.minX=n(t.minX,r.minX),t.minY=n(t.minY,r.minY),t.maxX=e(t.maxX,r.maxX),t.maxY=e(t.maxY,r.maxY),t}function y(t,r){return t.minX-r.minX}function c(t,r){return t.minY-r.minY}function h(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function m(t){return t.maxX-t.minX+(t.maxY-t.minY)}function M(t,r){return t.minX<=r.minX&&t.minY<=r.minY&&(r.maxX>=0&&r.maxX<=t.maxX||t.minX<0)&&(r.maxY>=0&&r.maxY<=t.maxY||t.minY<0)}function d(t,r){return(-1===t.minY||-1===r.minY||t.minY<=r.maxY&&r.minY<=t.maxY)&&(-1===t.minX||-1===r.minX||t.minX<=r.maxX&&r.minX<=t.maxX)}function l(t){return{children:t,height:1,leaf:!0,minX:i,minY:i,maxX:-1/0,maxY:-1/0}}r.rbush=a,a.prototype={all:function(){return this.Di(this.data,[])},search:function(t){var r=this.data,e=[],n=this.toBBox;if(!d(t,r))return e;for(var i,a,u,s,o=[];r;){for(i=0,a=r.children.length;i<a;i++)u=r.children[i],d(t,s=r.leaf?n(u):u)&&(r.leaf?e.push(u):M(t,s)?this.Di(u,e):o.push(u));r=o.pop()}return e},collides:function(t){var r=this.data,e=this.toBBox;if(!d(t,r))return!1;for(var n,i,a,u,s=[];r;){for(n=0,i=r.children.length;n<i;n++)if(a=r.children[n],d(t,u=r.leaf?e(a):a)){if(r.leaf||M(t,u))return!0;s.push(a)}r=s.pop()}return!1},insert:function(t){return t&&this.ze(t,this.data.height-1),this},clear:function(){return this.data=l([]),this},remove:function(t,r){if(!t)return this;for(var e,n,i,a,s=this.data,o=this.toBBox(t),f=[],y=[];s||f.length;){if(s||(s=f.pop(),n=f[f.length-1],e=y.pop(),a=!0),s.leaf&&-1!==(i=u(t,s.children,r)))return s.children.splice(i,1),f.push(s),this.wi(f),this;a||s.leaf||!M(s,o)?n?(e++,s=n.children[e],a=!1):s=null:(f.push(s),y.push(e),e=0,n=s,s=s.children[0])}return this},toBBox:function(t){return t},compareMinX:y,compareMinY:c,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},Di:function(t,r){for(var e=[];t;)t.leaf?r.push.apply(r,t.children):e.push.apply(e,t.children),t=e.pop();return r},Hi:function(t,r,a,u){for(var s,o,f,y,c,m,M,d;u.push(r),!r.leaf&&u.length-1!==a;){for(M=d=i,s=0,o=r.children.length;s<o;s++)c=h(f=r.children[s]),l=t,(m=(e((v=f).maxX,l.maxX)-n(v.minX,l.minX))*(e(v.maxY,l.maxY)-n(v.minY,l.minY))-c)<d?(d=m,M=c<M?c:M,y=f):m===d&&c<M&&(M=c,y=f);r=y||r.children[0]}var l,v;return r},ze:function(t,r,e){var n=this.toBBox,i=e?t:n(t),a=[],u=this.Hi(i,this.data,r,a);for(u.children.push(t),f(u,i);r>=0&&a[r].children.length>this.gi;)this.$i(a,r),r--;this.ki(i,a,r)},$i:function(t,r){var e=t[r],n=e.children.length,i=this.pi;this.Si(e,i,n);var a=this.Ni(e,i,n),u=l(e.children.splice(a,e.children.length-a));u.height=e.height,u.leaf=e.leaf,s(e,this.toBBox),s(u,this.toBBox),r?t[r-1].children.push(u):this.Pi(e,u)},Pi:function(t,r){this.data=l([t,r]),this.data.height=t.height+1,this.data.leaf=!1,s(this.data,this.toBBox)},Ni:function(t,r,a){var u,s,f,y,c,m,M,d,l,v,b,F,g,p;for(m=M=i,u=r;u<=a-r;u++)l=s=o(t,0,u,this.toBBox),v=f=o(t,u,a,this.toBBox),b=void 0,F=void 0,g=void 0,p=void 0,b=e(l.minX,v.minX),F=e(l.minY,v.minY),g=n(l.maxX,v.maxX),p=n(l.maxY,v.maxY),y=e(0,g-b)*e(0,p-F),c=h(s)+h(f),y<m?(m=y,d=u,M=c<M?c:M):y===m&&c<M&&(M=c,d=u);return d},Si:function(t,r,e){var n=t.leaf?this.compareMinX:y,i=t.leaf?this.compareMinY:c;this.Ci(t,r,e,n)<this.Ci(t,r,e,i)&&t.children.sort(n)},Ci:function(t,r,e,n){t.children.sort(n);var i,a,u=this.toBBox,s=o(t,0,r,u),y=o(t,e-r,e,u),c=m(s)+m(y);for(i=r;i<e-r;i++)a=t.children[i],f(s,t.leaf?u(a):a),c+=m(s);for(i=e-r-1;i>=r;i--)a=t.children[i],f(y,t.leaf?u(a):a),c+=m(y);return c},ki:function(t,r,e){for(var n=e;n>=0;n--)f(r[n],t)},wi:function(t){for(var r=t.length-1,e=void 0;r>=0;r--)0===t[r].children.length?r>0?(e=t[r-1].children).splice(e.indexOf(t[r]),1):this.clear():s(t[r],this.toBBox)},_i:function(t){var r=["return a"," - b",";"];this.compareMinX=Function("a","b",r.join(t[0])),this.compareMinY=Function("a","b",r.join(t[1])),this.toBBox=Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}},576:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Xt=void 0;var n=e(480),i=function(){function t(){}return t.Oi=function(r,e){var n;if(e&&t.xi[e]&&t.xi[e][r])n=t.xi[e][r];else try{null==e?(n=RegExp(r),e="empty"):n=RegExp(r,e),t.xi[e]||(t.xi[e]={}),t.xi[e][r]=n}catch(t){return null}return n.lastIndex=0,n},t.Vr=function(r){var e=t.ji[r];return e||(e=t.ji[r]=RegExp(r,"g")),e.lastIndex=0,e},t.Ei=function(r){var e=t.Ti[r];return e||(e=t.Ti[r]=RegExp(r,"gi")),e.lastIndex=0,e},t.Ai=function(r,e,n){if(t.Ri[r])return t.Bi[r];var i=e?"[?*]+":"[~?*]+";if(t.Vr(i).test(r)){for(var a=[],u=r.split(""),s=void 0,o={".":!0,"+":!0,$:!0,"^":!0,"[":!0,"]":!0,"(":!0,")":!0,"{":!0,"}":!0,"|":!0,"/":!0,"\\":!0},f=0;f<u.length;f++)if("~"===(s=u[f])){if(!(f<u.length-1))break;"*"!==(s=u[++f])&&"?"!==s||a.push("\\"),a.push(s)}else"?"===s?a.push("."):"*"===s?(a.push("[\\s\\S]"),n?a.push("+"):a.push("*")):o[s]?(a.push("\\"),a.push(s)):a.push(s);return a.join("")}return null},t.Ii=function(r,e,n){var i=t.Ai(r,e,n);return i&&(i="^"+i+"$"),i},t.zi=function(t,r){for(var e="#"+t+"0#",i=1;r.indexOf(e)>0;)e=n.Yt.Gi(e,"#"+t+(i-1)+"#","#"+t+i+"#"),i++;return e},t.Ji=function(t){return t.replace(/([\~\!\@\#\$\%\^\&\*\(\)\-\_\+\=\[\]\{\}\|\\\;\:\'\"\,\.\/\<\>\?])/,"\\$1")},t.ji={},t.Ti={},t.xi={},t.Ri={},t.Bi={},t}();r.Xt=i},480:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Yt=void 0;var n=e(576);function i(t,r,e){return t.substr(r,e)}function a(t){return null==t}function u(t,r,e,n){if(a(r))throw Error();if(""===r)return!0;if(r.length>t.length)return!1;var i=t,u=r;return e&&(i=i.toLowerCase(),u=u.toLowerCase()),n(i,u)}r.Yt={oe:function(t,r,e){return e&&(t=t.toLowerCase(),r=r.toLowerCase()),""===r||t.indexOf(r)>=0},Je:function(t,r,e){if(e){var n=t.toLowerCase(),i=r.toLowerCase();return n.indexOf(i)}return t.indexOf(r)},Ui:function(t,r){if(!r)return t;for(var e=t;i(e,0,r.length)===r;)e=i(e,r.length);return e},si:function(t,r){if(!r)return t;for(var e=t;i(e,e.length-r.length,r.length)===r;)e=i(e,0,e.length-r.length);return e},ze:function(t,r,e){if(r<0||r>t.length||a(e))throw Error();return i(t,0,r)+e+i(t,r,t.length-r)},Be:function(t,r,e){if(a(e)&&(e=t.length-r),r<0||e<0||r+e>t.length)throw Error();return i(t,0,r)+i(t,r+e,t.length-r-e)},Tn:function(t,r,e){return void 0===e&&(e=!1),u(t,r,e,(function(t,r){return t.slice(0,r.length)===r}))},oi:function(t,r,e){return void 0===e&&(e=!1),u(t,r,e,(function(t,r){return t.slice(-r.length)===r}))},Li:function(t,r,e,n){if(!r)throw Error();return e=(""+e).replace(/\$/g,"$$$$"),t.replace(RegExp(r,"g"+(n?"i":"")),e)},qi:function(t,e,i,a){return e=n.Xt.Ji(e),r.Yt.Li(t,e,i,a)},Ki:function(t,r){var e=t.indexOf(r);return e<0||e>=t.length?t:i(t,0,e)},Wi:function(t,r){for(var e=0,n=t.indexOf(r);n>=0;)e+=1,n=t.indexOf(r,n+1);return e},Gi:function(t,r,e){return t.split(r).join(e)},Yi:function(t,r){for(var e=t,n=0;n<r.length;n++){var i=RegExp("\\{"+n+"\\}","g");e=e.replace(i,r[n])}return e},Xi:function(t,r,e){for(var n=t.toString(),i=n.length;i<r;i++)n=e?"0"+n:n+"0";return n},Dn:function(t,e){return r.Yt.Xi(t,e,!0)},Yn:function(t,e){return r.Yt.Xi(t,e,!1)},Zi:function(t,r){return t===r||!t&&!r||t&&r&&t.toLowerCase()===r.toLowerCase()},Qi:function(t){return t.toUpperCase()},Vi:function(t){var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},e=n.Xt.Vr("(?:&|<|>|\"|'|`)");return e.test(t)?t.replace(e,(function(t){return r[t]})):t},ta:function(t){var r={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"},e=n.Xt.Vr("(?:&amp;|&lt;|&gt;|&quot;|&#x27;|&#x60;)");return e.test(t)?t.replace(e,(function(t){return r[t]})):t},ra:function(t){for(var r=t,e=/javascript:/gi;r.match(e);)r=r.replace(e,"");return r}}},534:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.tr=void 0;var e="undefined"!=typeof window?window.File:null,n="undefined"!=typeof window?window.Blob:null;r.tr={ea:null,ir:function(t,e){if(r.tr.na(t))for(var n=0,i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(var a in t)if(t.hasOwnProperty(a)&&!1===e.call(t[a],a,t[a]))break;return t},ia:function(t){return!t||"object"==typeof t&&0===Object.keys(t).length},aa:function(t){return"function"===r.tr.ua(t)},sa:function(t){return Array.isArray?Array.isArray(t):"array"===r.tr.ua(t)},oa:function(t){return r.tr.fa(t)&&(t=parseFloat(t)),!isNaN(t)&&isFinite(t)},fa:function(t){return"string"==typeof t},ua:function(t){if(null===t)return"null";var e=r.tr.ea;if(!e){e=r.tr.ea={};for(var n=["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"],i=0,a=n.length;i<a;i++)e["[object "+n[i]+"]"]=n[i].toLowerCase()}var u=e.toString,s=typeof t;return"object"===s||"function"===s?e[u.call(t)]||"object":s},ya:function(t,e,n){var i;if(e){var a=[].indexOf;if(a)return a.call(e,t,n);for(i=e.length,r.tr.de(n)&&(n=0),n=n<0?Math.max(0,i+n):n;n<i;n++)if(n in e&&e[n]===t)return n}return-1},ca:function(t,r){var e=r.length,n=t.length,i=0;if("number"==typeof e)for(;i<e;i++)t[n]=r[i],n++;else for(;void 0!==r[i];)t[n]=r[i],n++,i++;return t.length=n,t},ha:function(t,e,n){var i,a=[];if(r.tr.na(t))for(var u=0,s=t.length;u<s;u++)null!==(i=e(t[u],u,n))&&(a[a.length]=i);else{var o=void 0;for(o in t)t.hasOwnProperty(o)&&null!==(i=e(t[o],o,n))&&(a[a.length]=i)}return a.concat([])},ar:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n,i,a,u,s,o,f=t[0]||{},y=1,c=t.length,h=!1;for("boolean"==typeof f&&(h=f,f=t[1]||{},y=2),"object"==typeof f||r.tr.aa(f)||(f={}),c===y&&(f=this,--y);y<c;y++)if(s=t[y],!r.tr.de(s))for(u in s)n=f[u],f!==(a=s[u])&&(i=r.tr.sa(a),h&&a&&(r.tr.ma(a)||i)?(o=i?n&&r.tr.sa(n)?n:[]:n&&r.tr.ma(n)?n:{},f[u]=r.tr.ar(h,o,a)):void 0!==a&&(f[u]=a));return f},Ma:function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e]);function n(){this.constructor=t}n.prototype=r.prototype,t.prototype=new n},da:function(t){return null!==t&&t===t.window},ma:function(t){if(!t||"object"!==r.tr.ua(t)||t.nodeType||r.tr.da(t))return!1;var e,n={}.hasOwnProperty;try{if(t.constructor&&!n.call(t,"constructor")&&!n.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||n.call(t,e)},na:function(t){if(r.tr.de(t))return!1;var e=t.length,n=r.tr.ua(t);return!r.tr.da(t)&&(!(1!==t.nodeType||!e)||"array"===n||"function"!==n&&(0===e||"number"==typeof e&&e>0&&e-1 in t))},la:function(t,e){var n=e||[];return null!==t&&(r.tr.na(Object(t))?r.tr.ca(n,"string"==typeof t?[t]:t):[].push.call(n,t)),n},va:null,de:function(t){return null==t},ba:null,Fa:null,ve:function(t){if(!t)return t;if("number"==typeof t||"string"==typeof t||"boolean"==typeof t||r.tr.de(t))return t;if(t.clone)return t.clone();if(t instanceof Date)return new Date(t.valueOf());var i,a,u;if(e&&t instanceof e)return new e([t],t.name,{type:t.type,lastModified:t.lastModified});if(n&&t instanceof n)return new n([t],{type:t.type});for(a in i=t instanceof Object?new t.constructor:new t.constructor(t.valueOf()),t)t.hasOwnProperty(a)&&(u=t[a],t.hasOwnProperty(a)&&i[a]!==u&&(i[a]="object"==typeof u?r.tr.ve(u):u));return i}}},612:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Exp_Separator=r.Exp_InvalidCast=r.Exp_InvalidNumberFormat=r.Exp_BadFormatSpecifier=r.Exp_InvalidNumberGroupSize=r.Exp_InvalidSemicolons=r.Exp_InvalidExponentFormat=r.Exp_InvalidDateFormat=void 0,r.Exp_InvalidDateFormat="Invalid date format pattern",r.Exp_InvalidExponentFormat="invalid exponent format",r.Exp_InvalidSemicolons="invalid format : too many semicolons",r.Exp_InvalidNumberGroupSize="NumberGroupSize must be between 1 and 9, except for the last element, which can be zero.",r.Exp_BadFormatSpecifier="Bad Format Specifier",r.Exp_InvalidNumberFormat="Invalid number format pattern",r.Exp_InvalidCast="InvalidCastException",r.Exp_Separator="numberDecimalSeparator, listSeparator and arrayListSeparator should be different in culture info."},479:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.UUIDGenerator=void 0;var e=function(){function t(){}return t.wrap=function(t){return"{".concat(t.toUpperCase(),"}")},t.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var r=16*Math.random()|0;return("x"===t?r:3&r|8).toString(16)}))},t.secureUUID=function(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():this.uuidv4()},t.secureUpperCaseUUID=function(){return this.wrap(this.secureUUID())},t.isValidUpperCaseUUID=function(t){return/^\{[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\}$/i.test(t)},t}();r.UUIDGenerator=e},814:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.UndoManager=r.CommandManager=r.Key=void 0;var n=e(536);Object.defineProperty(r,"Key",{enumerable:!0,get:function(){return n.Key}}),Object.defineProperty(r,"CommandManager",{enumerable:!0,get:function(){return n.CommandManager}});var i=e(748);Object.defineProperty(r,"UndoManager",{enumerable:!0,get:function(){return i.UndoManager}})},536:function(t,r){var e;Object.defineProperty(r,"t",{value:!0}),r.CommandManager=r.Key=void 0,function(t){t[t.left=37]="left",t[t.right=39]="right",t[t.up=38]="up",t[t.down=40]="down",t[t.tab=9]="tab",t[t.enter=13]="enter",t[t.shift=16]="shift",t[t.ctrl=17]="ctrl",t[t.space=32]="space",t[t.altkey=18]="altkey",t[t.home=36]="home",t[t.end=35]="end",t[t.pup=33]="pup",t[t.pdn=34]="pdn",t[t.backspace=8]="backspace",t[t.del=46]="del",t[t.esc=27]="esc",t[t.a=65]="a",t[t.c=67]="c",t[t.v=86]="v",t[t.x=88]="x",t[t.z=90]="z",t[t.y=89]="y"}(e=r.Key||(r.Key={}));var n=function(){function t(t,r,e){this.ga=t,this.pa=r,this._a=e;var n,i=this;Object.defineProperty(i,"shortcutKey",{get:function(){return i.Da},set:function(t){var r=i.Da;if(r!==t){var e=(n=i.ga.wa)[r];if(e){var a=e.indexOf(i);a>=0&&e.splice(a,1)}i.Da=t,t&&((e=n[t])||(n[t]=e=[]),e.splice(0,0,i))}}})}return t.prototype.canUndo=function(){return this.pa.canUndo},t.prototype.execute=function(t,r,e){var n,i,a=!0,u=!0;if(this.pa&&r){var s={command:r,result:i,Ha:e,actionType:e,metaData:null===(n=this.pa)||void 0===n?void 0:n.metaData,r:null,isBefore:!0};this.ga.$a(s),s.r&&(u=!1,i=!1)}if(u){try{a=!1!==(i=(this.pa.execute||this.pa)(t,r,1===e))}catch(t){a=!1}r&&a&&this.ga.ka({command:this.Sa(r),result:i,Ha:e,actionType:e})}if(this.ga&&r){var o={command:r,result:i,Ha:e,actionType:e,isBefore:!1};this.ga.$a(o)}return i},t.prototype.Sa=function(t){return t&&!t.cmd&&(t.cmd=this._a),t},t}(),i=function(){function t(t){this.Na=t,this._e={},this.Pa={},this.Ca={},this.wa={}}return t.prototype.register=function(t,r,e,i,a,u,s){var o=new n(this,r,t);this[t]=o,e&&(o.shortcutKey=this.getShortcutKey(e,i,a,u,s))},t.prototype.getCommand=function(t){return this[t]},t.prototype.execute=function(t){var r=this[t.cmd];if(r)return r.execute(this.Na,t,0)},t.prototype.setShortcutKey=function(t,r,e,n,i,a){if(t){var u=this[t];u&&(u.shortcutKey=this.getShortcutKey(r,e,n,i,a))}else{var s=this.getShortcutKey(r,e,n,i,a),o=this.getCommands(s);if(o)for(var f=o.length-1;f>=0;f--)o[f].shortcutKey=void 0}},t.prototype.getShortcutKey=function(t,r,n,i,a){if(t){var u=65<=t&&t<=90?String.fromCharCode(t):e[t];return u||(u=t),u+(r?"+ctrl":"")+(n?"+shift":"")+(i?"+alt":"")+(a?"+window":"")}},t.prototype.getCommands=function(t){return this.wa[t]},t.prototype.addListener=function(t,r){this._e[t]=r},t.prototype.removeListener=function(t){delete this._e[t]},t.prototype.ka=function(t){var r=this._e;for(var e in r)r.hasOwnProperty(e)&&r[e](t)},t.prototype.Oa=function(t,r){this.Pa[t]=r},t.prototype.xa=function(t){delete this.Pa[t]},t.prototype.$a=function(t){var r=this.Pa;for(var e in r)r.hasOwnProperty(e)&&r[e](t)},t.prototype.Ie=function(){this.Na=null},t}();r.CommandManager=i},748:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.UndoManager=void 0;var e=function(){function t(t,r,e){this.Na=t,r<0&&(r=2147483647),this.ja=r,this.Ea=e,this.Ta=[],this.Aa=[],this.Ra=!1}return t.prototype.Ba=function(t,r){if(t){if(1===r)this.Aa.push(t);else{var e=this.ja,n=this.Ta.length;if(e>0&&n>=e)for(var i=0;i<n-e+1;i++)this.Ta.shift();this.Ta.push(t),0===r&&(this.Aa=[])}this.Ra=!0}},t.prototype.canUndo=function(){return this.Ta.length>0},t.prototype.undo=function(){var t=this.Ta,r=!0;if(this.Ea&&this.canUndo()){var e=t[t.length-1];try{var n=this.Na.commandManager()[e.cmd];n&&(e.Ia=!0,r=n.execute(this.Na,e,1))}catch(t){r=!1}delete e.Ia,!1!==r&&(t.pop(),this.Ra=!0,this.Aa.push(e))}return r},t.prototype.canRedo=function(){return this.Aa.length>0},t.prototype.redo=function(){var t=this.Aa,r=!0;if(this.Ea&&this.canRedo()){var e=t[t.length-1];try{var n=this.Na.commandManager()[e.cmd];n&&(e.Ia=!0,r=n.execute(this.Na,e,2))}catch(t){r=!1}delete e.Ia,!1!==r&&(t.pop(),this.Ra=!0,this.Ta.push(e))}return r},t.prototype.getRedoStack=function(){return this.Aa.slice()},t.prototype.getUndoStack=function(){return this.Ta.slice()},t.prototype.maxSize=function(t){return arguments.length<1?this.ja:(t>=0&&(this.ja=t),this)},t.prototype.clear=function(){this.Ta=[],this.Aa=[]},t.prototype.za=function(t){this.Ta=this.Ta.filter(t),this.Aa=this.Aa.filter(t)},t.prototype.Ie=function(){this.Na=null},t.prototype.setNewChangeStatus=function(t){this.Ra=t},t.prototype.getNewChangeStatus=function(){return this.Ra},t}();r.UndoManager=e},569:function(t,r,e){var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),i(e(2),r)},498:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Exp_InvalidCast=r.Exp_ValueIllegal=r.Exp_TokenIllegal=r.Exp_DuplicatedDescriptor=r.Exp_ValueIsNull=r.Exp_FormatIllegal=r.Exp_InvalidBackslash=r.Exp_TokenIsNull=void 0,r.Exp_TokenIsNull="token is null",r.Exp_InvalidBackslash="the '\\' cannot be evaluated",r.Exp_FormatIllegal="format is illegal.",r.Exp_ValueIsNull="value is null",r.Exp_DuplicatedDescriptor="The type of descriptor was added.",r.Exp_TokenIllegal="token is illegal.",r.Exp_ValueIllegal="value is illegal.",r.Exp_InvalidCast="InvalidCastException"},2:function(t,r,e){var n,i=this&&this.er||(n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])},n(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+r+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)});Object.defineProperty(r,"t",{value:!0}),r.GeneralFormatter=r.Ga=r.FormatterBase=void 0;var a=e(480),u=e(97),s=e(534),o=e(844),f=e(286),y=e(818),c=e(498),h=e(810),m=e(61);s.tr.ar(y.SR.en,c);var M=new y.ResourceManager(y.SR),d=M.getResource.bind(M);s.tr.va=function(t,r){if(s.tr.de(t))return"null"===r;if(!r)return!1;if(r instanceof Function&&t instanceof r)return!0;if(typeof t===r)return!0;if("function"===r&&/^\s*\bfunction\b/.test(""+t))return!0;if(Object.prototype.toString.call(t).slice(8,-1).toLowerCase()===r.toLowerCase())return!0;if("DateTime"===r)return t instanceof Date;if("TimeSpan"===r){if(t instanceof Date){var e=u.Qt.In(t);return e>=0&&e<1}return!1}return!1},s.tr.ba=function(t,r){return!!o.Zt.ci(t,r)&&("string"!=typeof t||-1===t.search(/[\r\n\t]/g))&&(t=o.Zt.yi(t,r),s.tr.va(t,"number")||s.tr.va(t,"DateTime")||s.tr.va(t,"TimeSpan")||t&&!s.tr.va(t,"boolean")&&!isNaN(t)&&!isNaN(parseFloat(t))&&!(t.length>=2&&"0"===t[0]&&"x"===t[1]))},s.tr.Fa=function(t){return s.tr.de(t)||""===t?0:s.tr.va(t,"number")?t:s.tr.va(t,"string")&&!isNaN(t)?o.Zt.Pn(t):s.tr.va(t,"boolean")?t?1:0:s.tr.va(t,"DateTime")?u.Qt.In(t):s.tr.va(t,"TimeSpan")?Math.floor(u.Qt.In(t)):parseFloat(t)};var l=null,v=Math.abs,b={Ja:"yy",Ua:"y",La:"yyyy",qa:"m",Ka:"mm",Wa:"mmm",Ya:"mmmm",Xa:"mmmmm",Za:"d",Qa:"dd",Va:"aaa",tu:"aaaa",ru:"h",eu:"hh",nu:"m",iu:"mm",au:"s",uu:"ss",Lr:"e",su:"AM/PM",ou:"A/P",fu:"@mmmmm",yu:new Date(1899,11,30,0,0,0,0)},F=[b.Ua,b.Ja,b.La,b.qa,b.Ka,b.Wa,b.Ya,b.Xa,b.Za,b.Qa,b.Va,b.tu,b.ru,b.eu,b.nu,b.iu,b.au,b.uu,"ggg","gg","g","ee","e"],g={cu:0,hu:1,mu:2,Mu:3},p=[{cu:0,hu:0,mu:0,Mu:0},{cu:0,hu:1,mu:0,Mu:0},{cu:0,hu:1,mu:2,Mu:0},{cu:0,hu:1,mu:2,Mu:3}],_=RegExp("([.+?*$^\\[\\](){}|/])","g"),D=[["M/d","MMM/d","MMMM/d","d/M","d/MMM","d/MMMM","M-d","MMM-d","MMMM-d","d-M","d-MMM","d-MMMM"],["M/y","MMM/y","M/yyyy","MMM/yyyy","M-y","MMM-y","M-yyyy","MMM-yyyy"],["M/d/y","MMM/d/y","MMMM/d/y","M/d/yyyy","MMM/d/yyyy","MMMM/d/yyyy","d/M/y","d/MMM/y","d/MMMM/y","d/M/yyyy","d/MMM/yyyy","d/MMMM/yyyy","yyyy/M/d","M-d-y","MMM-d-y","MMMM-d-y","M-d-yyyy","MMM-d-yyyy","MMMM-d-yyyy","d-M-y","d-MMM-y","d-MMMM-y","d-M-yyyy","d-MMM-yyyy","d-MMMM-yyyy","yyyy-M-d"],["H:m","h:m tt"],["H:m:s","H:m:s"],["H:m:s.FFF","h:m:s.FFF tt"],["h:m:s tt","h:mm:ss tt"],["M/d H:m","MMM/d H:m","MMMM/d H:m","d/M H:m","d/MMM H:m","d/MMMM H:m","M/y H:m","MMM/y H:m","M/yyyy H:m","MMM/yyyy H:m","M/d/y H:m","MMM/d/y H:m","MMMM/d/y H:m","M/d/yyyy H:m","MMM/d/yyyy H:m","MMMM/d/yyyy H:m","M-d H:m","MMM-d H:m","MMMM-d H:m","d-M H:m","d-MMM H:m","d-MMMM H:m","M-y H:m","MMM-y H:m","M-yyyy H:m","MMM-yyyy H:m","M-d-y H:m","MMM-d-y H:m","MMMM-d-y H:m","M-d-yyyy H:m","MMM-d-yyyy H:m","MMMM-d-yyyy H:m","M/d h:m tt","MMM/d h:m tt","MMMM/d h:m tt","d/M h:m tt","d/MMM h:m tt","d/MMMM h:m tt","M/y h:m tt","MMM/y h:m tt","M/yyyy h:m tt","MMM/yyyy h:m tt","M/d/y h:m tt","MMM/d/y h:m tt","MMMM/d/y h:m tt","M/d/yyyy h:m tt","MMM/d/yyyy h:m tt","MMMM/d/yyyy h:m tt","M-d h:m tt","MMM-d h:m tt","MMMM-d h:m tt","d-M h:m tt","d-MMM h:m tt","d-MMMM h:m tt","M-y h:m tt","MMM-y h:m tt","M-yyyy h:m tt","MMM-yyyy h:m tt","M-d-y h:m tt","MMM-d-y h:m tt","MMMM-d-y h:m tt","M-d-yyyy h:m tt","MMM-d-yyyy h:m tt","MMMM-d-yyyy h:m tt","d/M/y H:m","d/MMM/y H:m","d/MMMM/y H:m","d/M/yyyy H:m","d/mmm/yyyy H:m","d/MMMM/yyyy H:m","yyyy/M/d H:m","d-M-y H:m","d-MMM-y H:m","d-MMMM-y H:m","d-M-yyyy H:m","d-MMM-yyyy H:m","d-MMMM-yyyy H:m","yyyy-M-d H:m","d/M/y h:m tt","d/MMM/y h:m tt","d/MMMM/y h:m tt","d/M/yyyy h:m tt","d/mmm/yyyy h:m tt","d/MMMM/yyyy h:m tt","yyyy/M/d h:m tt","d-M-y h:m tt","d-MMM-y h:m tt","d-MMMM-y h:m tt","d-M-yyyy h:m tt","d-MMM-yyyy h:m tt","d-MMMM-yyyy h:m tt","yyyy-M-d h:m tt"],["M/d H:m:s","MMM/d H:m:s","MMMM/d H:m:s","d/M H:m:s","d/MMM H:m:s","d/MMMM H:m:s","M/y H:m:s","MMM/y H:m:s","M/yyyy H:m:s","MMM/yyyy H:m:s","M/d/y H:m:s","MMM/d/y H:m:s","MMMM/d/y H:m:s","M/d/yyyy H:m:s","MMM/d/yyyy H:m:s","MMMM/d/yyyy H:m:s","d/M/y H:m:s","d/MMM/y H:m:s","d/MMMM/y H:m:s","d/M/yyyy H:m:s","d/MMM/yyyy H:m:s","d/MMMM/yyyy H:m:s","yyyy/M/d H:m:s","M-d H:m:s","MMM-d H:m:s","MMMM-d H:m:s","d-M H:m:s","d-MMM H:m:s","d-MMMM H:m:s","M-y H:m:s","MMM-y H:m:s","M-yyyy H:m:s","MMM-yyyy H:m:s","M-d-y H:m:s","MMM-d-y H:m:s","MMMM-d-y H:m:s","M-d-yyyy H:m:s","MMM-d-yyyy H:m:s","MMMM-d-yyyy H:m:s","d-M-y H:m:s","d-MMM-y H:m:s","d-MMMM-y H:m:s","d-M-yyyy H:m:s","d-MMM-yyyy H:m:s","d-MMMM-yyyy H:m:s","yyyy-M-d H:m:s","M/d h:m:s tt","MMM/d h:m:s tt","MMMM/d h:m:s tt","d/M h:m:s tt","d/MMM h:m:s tt","d/MMMM h:m:s tt","M/y h:m:s tt","MMM/y h:m:s tt","M/yyyy h:m:s tt","MMM/yyyy h:m:s tt","M/d/y h:m:s tt","MMM/d/y h:m:s tt","MMMM/d/y h:m:s tt","M/d/yyyy h:m:s tt","MMM/d/yyyy h:m:s tt","MMMM/d/yyyy h:m:s tt","d/M/y h:m:s tt","d/MMM/y h:m:s tt","d/MMMM/y h:m:s tt","d/M/yyyy h:m:s tt","d/MMM/yyyy h:m:s tt","d/MMMM/yyyy h:m:s tt","yyyy/M/d h:m:s tt","M/d/yyyy h:mm:ss tt","M-d h:m:s tt","MMM-d h:m:s tt","MMMM-d h:m:s tt","d-M h:m:s tt","d-MMM h:m:s tt","d-MMMM h:m:s tt","M-y h:m:s tt","MMM-y h:m:s tt","M-yyyy h:m:s tt","MMM-yyyy h:m:s tt","M-d-y h:m:s tt","MMM-d-y h:m:s tt","MMMM-d-y h:m:s tt","M-d-yyyy h:m:s tt","MMM-d-yyyy h:m:s tt","MMMM-d-yyyy h:m:s tt","d-M-y h:m:s tt","d-MMM-y h:m:s tt","d-MMMM-y h:m:s tt","d-M-yyyy h:m:s tt","d-MMM-yyyy h:m:s tt","d-MMMM-yyyy h:m:s tt","yyyy-M-d h:m:s tt","M/d/yyyy H:m:s","M-d-yyyy H:m:s","M/d/yyyy h:m:s tt","M-d-yyyy H:m:s tt"],["M/d H:m:s.FFF","MMM/d H:m:s.FFF","MMMM/d H:m:s.FFF","d/M H:m:s.FFF","d/MMM H:m:s.FFF","d/MMMM H:m:s.FFF","M/y H:m:s.FFF","MMM/y H:m:s.FFF","M/yyyy H:m:s.FFF","MMM/yyyy H:m:s.FFF","M/d/y H:m:s.FFF","MMM/d/y H:m:s.FFF","MMMM/d/y H:m:s.FFF","MMM/d/yyyy H:m:s.FFF","MMMM/d/yyyy H:m:s.FFF","d/M/y H:m:s.FFF","d/MMM/y H:m:s.FFF","d/MMMM/y H:m:s.FFF","d/M/yyyy H:m:s.FFF","d/MMM/yyyy H:m:s.FFF","d/MMMM/yyyy H:m:s.FFF","yyyy/M/d H:m:s.FFF","M-d H:m:s.FFF","MMM-d H:m:s.FFF","MMMM-d H:m:s.FFF","d-M H:m:s.FFF","d-MMM H:m:s.FFF","d-MMMM H:m:s.FFF","M-y H:m:s.FFF","MMM-y H:m:s.FFF","M-yyyy H:m:s.FFF","MMM-Yyyy H:m:s.FFF","M-d-y H:m:s.FFF","MMM-d-y H:m:s.FFF","MMMM-d-y H:m:s.FFF","MMM-d-yyyy H:m:s.FFF","MMMM-d-yyyy H:m:s.FFF","D-M-y H:m:s.FFF","d-MMM-y H:m:s.FFF","d-MMMM-y H:m:s.FFF","D-M-yyyy H:m:s.FFF","d-MMM-yyyy H:m:s.FFF","d-MMMM-yyyy H:m:s.FFF","yyyy-M-d H:m:s.FFF","M/d h:m:s.FFF tt","MMM/d h:m:s.FFF tt","MMMM/d h:m:s.FFF tt","d/M h:m:s.FFF tt","d/MMM h:m:s.FFF tt","d/MMMM h:m:s.FFF tt","M/y h:m:s.FFF tt","MMM/y h:m:s.FFF tt","M/yyyy h:m:s.FFF tt","MMM/yyyy h:m:s.FFF tt","M/d/y h:m:s.FFF tt","MMM/d/y h:m:s.FFF tt","MMMM/d/y h:m:s.FFF tt","MMM/d/yyyy h:m:s.FFF tt","MMMM/d/yyyy h:m:s.FFF tt","d/M/y h:m:s.FFF tt","d/MMM/y h:m:s.FFF tt","d/MMMM/y h:m:s.FFF tt","d/M/yyyy h:m:s.FFF tt","d/MMM/yyyy h:m:s.FFF tt","d/MMMM/yyyy h:m:s.FFF tt","yyyy/M/d h:m:s.FFF tt","M-d h:m:s.FFF tt","MMM-d h:m:s.FFF tt","MMMM-d h:m:s.FFF tt","d-M h:m:s.FFF tt","d-MMM h:m:s.FFF tt","d-MMMM h:m:s.FFF tt","M-y h:m:s.FFF tt","MMM-y h:m:s.FFF tt","M-yyyy h:m:s.FFF tt","MMM-Yyyy h:m:s.FFF tt","M-d-y h:m:s.FFF tt","MMM-d-y h:m:s.FFF tt","MMMM-d-y h:m:s.FFF tt","MMM-d-yyyy H:m:s.FFF tt","MMMM-d-yyyy h:m:s.FFF tt","d-M-y h:m:s.FFF tt","d-MMM-y h:m:s.FFF tt","d-MMMM-y h:m:s.FFF tt","d-M-yyyy h:m:s.FFF tt","d-MMM-yyyy h:m:s.FFF tt","d-MMMM-yyyy h:m:s.FFF tt","yyyy-M-d h:m:s.FFF tt"]],w=["#000000","#FFFFFF","#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#800000","#008000","#000080","#808000","#800080","#008080","#C0C0C0","#808080","#9999FF","#993366","#FFFFCC","#CCFFFF","#660066","#FF8080","#0066CC","#CCCCFF","#000080","#FF00FF","#FFFF00","#00FFFF","#800080","#800000","#008080","#0000FF","#00CCFF","#CCFFFF","#CCFFCC","#FFFF99","#99CCFF","#FF99CC","#CC99FF","#FFCC99","#3366FF","#33CCCC","#99CC00","#FFCC00","#FF9900","#FF6600","#666699","#969696","#003366","#339966","#003300","#333300","#993300","#993366","#333399","#333333"],H=RegExp("color\\s*(\\d+)","i"),$=s.tr.va,k=s.tr.sa,S=o.Zt,N=S.bi+"."+S.Fi,P=S.li,C=S.Hn,O=S.Kn,x=s.tr.de,j=isNaN,E=function(t){return f.CultureManager.ce(t)},T=function(t){return E(t).DateTimeFormat},A=function(t){return E(t).NumberFormat},R=function(t){return t&&t.toLowerCase()},B=function(){throw Error(d().Exp_FormatIllegal)},I=function(){return f.CultureManager.booleanMapping},z={du:"",Yi:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(0===arguments.length)return l;for(var i=e[0],a=1;a<arguments.length;a++){var u=RegExp("\\{"+(a-1)+"\\}","gm");i=i.replace(u,arguments[a])}return i},lu:function(t){return!t||t===z.du}},G=function(t){var r=t.charCodeAt(0);return r>=48&&r<=57},J=function(t){var r=t.charCodeAt(0);return r>=9&&r<=13||32===r||133===r||160===r},U=function(){function t(t,r){ht.call(this,r);this.vu=t;var e=this.vu,n=ot(e[0],"$",!1),i=e.indexOf("-");if(!(n&&i>-1))throw Error(d().Exp_TokenIllegal);this.bu=tt(e,1,i-1),(e=a.Yt.Be(e,0,i+1)).length>0&&(this.Fu=parseInt(e,16))}return t.prototype.cultureInfo=function(){return this.gu||(this.gu=E(this.Fu)),this.gu},t.prototype.currencySymbol=function(){return this.bu?a.Yt.Li(this.bu,"\\.",'"."'):z.du},t.prototype.allowScience=function(){if(this.gu)return!this.gu.isJCKCulture},t.prototype.toString=function(){return this.vu?nt(this.vu):z.du},t.Name="LocaleIDFormatPart",t}(),L=function(){function t(t,r){this.formatCached=t,this.cultureName=r,this.typeName=""}return t.prototype.format=function(t,r){return l},t.prototype.parse=function(t){return l},t.prototype.formatString=function(t){return this.formatCached},t.prototype.toJSON=function(){var t={};for(var r in this)this.hasOwnProperty(r)&&(t[r]=this[r]);return t},t.prototype.fromJSON=function(t){if(t)for(var r in t)void 0!==t[r]&&(this[r]=t[r])},t}();r.FormatterBase=L;var q=function(){function t(t,r){ht.call(this,r);for(var e,n,i,u=this,s=["<=","<>",">=",">","<","="],o=0,f=s.length;o<f;o++)if(e=s[o],a.Yt.Tn(t,e,!0)){n=a.Yt.Be(t,0,e.length);var y=parseFloat(n);j(y)||(i=y);break}if(i===l&&void 0===i)throw Error(d().Exp_TokenIllegal);u.value=i,u.pu=e,u.isMeetCondition=function(t){var r=u.pu,e=u.value;switch(r){case"<=":return t<=e;case"<>":return t!==e;case">=":return t>=e;case">":return t>e;case"<":return t<e;case"=":return t===e}}}return t.prototype.toString=function(){return nt(this.pu+this.value.toString())},t}(),K=function(){function t(t,r){ht.call(this,r);if(this.token=t,this.type=parseInt(a.Yt.Be(t,0,5),10),this.type<0||this.type>4)throw Error(d().Exp_TokenIllegal)}return t.prototype._u=function(r,e,n){if(!r||r===z.du)return r;for(var i,u,s=r,o=r,f=-1,y=-1,c=!1,h=r.length-1;h>=0;h--){var m=o[h];!j(m)&&!ot(m," ",!1)||ot(m,".",!1)&&!c?(ot(m,".",!1)&&(c=!0),-1===f&&(f=h),y=h):y>-1&&f>-1&&(i=tt(o,y,f-y+1),j(parseFloat(i))||(u=t.numberString(i,e,n),s=a.Yt.Be(s,y,f-y+1),s=a.Yt.ze(s,y,u)),f=-1,y=-1,c=!1)}return y>-1&&f>-1&&(i=tt(o,y,f-y+1),j(parseFloat(i))||(u=t.numberString(i,e,n),s=a.Yt.Be(s,y,f-y+1),s=a.Yt.ze(s,y,u))),s},t.prototype.toString=function(){if(this.type>-1)return nt("DBNum"+this.type);throw Error()},t.numberString=function(r,e,n){var i=t.formatNumberString,a=r.split(".");if(a){if(1===a.length)return i(a[0],e.numbers,n?e.letters:l);if(2===a.length)return i(a[0],e.numbers,n?e.letters:l)+"."+i(a[1],e.numbers)}throw Error(d().Exp_ValueIllegal)},t.formatNumberString=function(r,e,n){var i,a=r,u=0,s=0;if(2===arguments.length){for(var o="";u<a.length;u++)i=tt(a,u,1),o+=e[s=parseInt(i,10)];return o}if(3===arguments.length){if(!n)return t.formatNumberString(r,e);for(var f=0,y="",c=a.length,h=!1,m=[];u<c;u++){var M=n.length-1-u;M>-1?m.push(n[M].toString()):m.push(z.du)}for(var d=[],l=m.length-1;l>=0;l--)d[m.length-l-1]=m[l];m=d;var v=!1;for(l=0;l<c;l++){i=tt(a,l,1),s=parseInt(i,10);var b=void 0,F=z.du;c-l-16>0?(b=e[s],F="",v=!0):l!==c-1&&l!==c-5&&l!==c-9&&l!==c-13?"0"===i?(b="",F="",f+=1):"0"!==i&&0!==f?(b=e[0]+e[s],F=m[l],f=0):(b=e[s],F=m[l],f=0):"0"!==i&&0!==f?(b=e[0]+e[s],F=m[l],f=0):"0"!==i&&0===f||v?(b=e[s],F=m[l],f=0,v=!1):"0"===i&&f>=3?(b="",F="",f+=1):c>=11?(b="",f+=1):(b="",F=m[l],f+=1),b+F===z.du||(h=!1),l!==c-13||h||(F=m[l],h=!0),l!==c-9||h||(F=m[l],h=!0),l===c-1&&(F=m[l],h=!0),y=y+b+F}return 0===parseInt(r,10)?e[0]:y}},t}(),W=function(){function t(t,r,e,n,i,a){ct.call(this,r,e,n,a);this.Du=this.wu(ft(t)),this.Hu=i,this.$u=2,this.ku()}return t.prototype.ku=function(){var r={wn:this.Du};if(t.Su(r.wn)){var e=this.Nu(r),n=T(this.cultureName).amDesignator&&T(this.cultureName).pmDesignator;if(this.hasJD=this.Li(r.wn,b.Xa,'"'+b.fu+'"',!0,!1,r,!1),this.Li(r.wn,b.Ya,"MMMM",!0,!1,r,!1),this.Li(r.wn,b.Wa,"MMM",!0,!1,r,!1),this.Pu(r.wn,r),this.Li(r.wn,b.Va,"ddd",!0,!0,r,!0),this.Li(r.wn,b.tu,"dddd",!0,!0,r,!0),e&&n||(this.Li(r.wn,b.ru,"H",!0,!0,r,!1),this.Li(r.wn,b.eu,"HH",!0,!0,r,!1)),this.Cu&&(this.Ou||E(this.cultureName).NumberFormat.dbNumber)&&(this.xu=this.xu||this.Li(r.wn,b.La,'"@'+b.La+'"',!0,!1,r,!0),this.xu=this.xu||this.Li(r.wn,b.Ja,'"@'+b.Ja+'"',!0,!1,r,!0)),this.Hu)for(var i=0;i<this.Hu.length;i++){var a=this.Hu[i];this.Li(r.wn,a.ju,"@"+a.ju,!0,!0,r,!0)}this.Eu=r.wn}else B()},t.prototype.formatString=function(){return this.Du},t.prototype.format=function(t){var r=z.du,e=l;try{if((e=u.Qt.zn(t))&&j(e.valueOf())&&(e=l),e?t=e:r=t.toString(),e){if(r=u.Qt.Hn(e,this.Eu,this.Ou&&this.Ou.cultureInfo()||E(this.cultureName),this.Tu),this.hasJD){var n=E(this.cultureName).DateTimeFormat.monthNames[e.getMonth()];r=a.Yt.Li(r,b.fu,tt(n,0,1))}if(this.Hu)for(var i=24*(u.Qt.In(e)-u.Qt.In(b.yu))*60*60*1e3,s=0;s<this.Hu.length;s++){var o=this.Hu[s],f=o.Au(i);if(!x(f)){var y=o.ju.replace("[","\\[").replace("]","\\]"),c=o.ju.replace("[","").replace("]",""),h=a.Yt.Dn(f+"",c.length);r=a.Yt.Li(r,"@"+y,h)}}}}catch(e){r=rt(t)}return function(t,r,e,n,i){var a=t;if(!x(n)&&r instanceof Date){var s=Mt(e,n.type,i);if(!s)return t;a=n._u(a,s,!0),1===n.type&&(a=a.replace(RegExp("一十","g"),"十")),a=(a=a.replace("@"+b.La,u.Qt.$n(r,b.La))).replace("@"+b.Ja,u.Qt.$n(r,b.Ja)),a=n._u(a,s,!1)}return a}(r,t,this.Ou,this.Cu,this.cultureName)},t.prototype.parse=function(t){if(!t||t===z.du)return l;var r=t,e=R(r);if("true"===e)return!0;if("false"===e)return!1;if(this.Eu){var n=u.Qt.Nn(r,this.Eu,E(this.cultureName));if(n)return n}try{var i=u.Qt.zn(r);return i&&!j(i)?i:j((i=new Date(r)).valueOf())?r:i}catch(t){return r}},t.prototype.wu=function(t){for(var r=t,e="",n=!1,i=0;i<r.length;i++){var a=r[i];if('"'===a)n=!n;else if(!n)if("Y"===a||"D"===a||"S"===a||"E"===a||"G"===a)a=R(a);else if("M"===a){var u=r[i-1];ot("A",u,!0)||ot("P",u,!0)||(a=R(a))}e+=a}return e},t.prototype.Nu=function(t){var r=T(this.cultureName).amDesignator,e=T(this.cultureName).pmDesignator,n=[b.su];r&&e?n.push(r+"/"+e):n.push(b.su),n.push(b.ou);for(var i=["tt","tt","t"],u=t.wn,s=0;s<3;s++){if(a.Yt.oe(u,i[s]))return!0;if(a.Yt.oe(u,n[s],!0))return t.wn=a.Yt.Li(u,n[s],i[s],!0),!0}return!1},t.prototype.Pu=function(t,r){for(var e=function(t){for(var r=[],e=!1,n=!1,i="",a=function(t,r){return{type:t,content:r}},u=function(t){return!x(t)&&-1!=="yYdDhHmMsSeE".indexOf(t)},s=function(e,n){if(u(e)){for(var i=e,s=t[n+1];u(s)&&s.toLowerCase()===e.toLowerCase()&&(i+=s,n<t.length-1);)n++,s=t[n+1];r.push(a("symbolic",i))}else"a"===e&&"aaa"===t.slice(n,n+3).toLowerCase()?(r.push(a("symbolic",t.slice(n,n+3))),n+=2):r.push(a("text",e));return n},o=0;o<t.length;o++){var f=t[o];if(e)r.push(a("text","\\"+f)),e=!1;else if(n&&'"'!==f)i+=f;else switch(f){case"\\":e=!0;break;case'"':n&&(r.push(a("text",'"'+i+'"')),i=""),n=!n;break;default:o=s(f,o)}}return r}(t),n=-1,i=-1,a=0;a<e.length;a++){var u=e[a];"symbolic"===u.type?"m"===u.content[0].toLowerCase()?n>=0?(u.content=u.content.toLowerCase(),n=-1):(u.content=u.content.toUpperCase(),i=a):"s"===u.content[0].toLowerCase()?i>=0&&(e[i].content=e[i].content.toLowerCase(),i=-1):"h"===u.content[0].toLowerCase()?(n=a,i=-1):i=-1:i>=0&&a>0&&"0"===u.content&&"."===e[a-1].content&&a===i+2&&(e[i].content=e[i].content.toLowerCase())}r.wn=e.map((function(t){return t.content})).join("")},t.prototype.Li=function(r,e,n,i,u,s,o){if(i||u){var f=[],y=!0;!t.hasDate(r)&&t.hasTime(r)&&(y=!1);for(var c=!1,h=0;h<r.length;h++){var m=r[h];if(t.hasTime(m)&&!c?y=!1:t.hasDate(m)&&!c&&(y=!0),i&&ot(m,e[0],o)&&y||u&&ot(m,e[0],o)&&!y){for(var M=!0,d=0;d<e.length;d++)if(d+h>=r.length||!ot(e[d],r[d+h],o)){M=!1;break}var l=h+e.length-1;if(M&&l+1<r.length){var v=r[l],b=-1;for(b=l+1;b<r.length&&ot(v,r[b],o);b++);b>l+1&&(h=b,M=!1)}M&&!c&&f.splice(0,0,h)}'"'===m&&(c=!c)}if(s.wn=r,f.length>0){for(h=0;h<f.length;h++){var F=f[h];s.wn=a.Yt.Be(s.wn,F,e.length),s.wn=a.Yt.ze(s.wn,F,n)}return!0}return!1}return!1},t.hasTime=function(t){return a.Yt.Je(t,b.ru[0],!0)>-1||a.Yt.Je(t,b.au[0],!0)>-1},t.hasDate=function(t){return a.Yt.Je(t,b.Ja[0],!0)>-1||a.Yt.Je(t,b.Za[0],!0)>-1},t.Su=function(t,r){return yt(t,r||F)},t}();r.Ga=W;var Y=function(){function t(t,r){ht.call(this,r);var e,n=R(t)[0];if("h"===n)e=3600;else if("m"===n)e=60;else{if("s"!==n)throw Error(d().Exp_TokenIllegal);e=1}this.Au=function(t){var r=t/1e3/e;return Math.abs(r-Math.round(r))<1e-6?Math.round(r):Math.floor(r)}}return t.Name="ABSTimeFormatPart",t}(),X=function(){function t(t,r){ht.call(this,r);var e=H.exec(t);if(null!==e){var n=Number(e[1]);(n-=1)>=0&&n<w.length&&(t=w[n])}this.foreColor=t}return t.prototype.toString=function(){return nt(this.foreColor)},t.Name="ColorFormatPart",t}(),Z=function(){function t(t,r,e,n){ct.call(this,r,e,n);this.Ru=!1,this.$u=1,this.Bu=it(t);var i=ft(t);if(r&&(i=ut(i,this.Ou.ju,this.Ou.currencySymbol())),(i=it(i)).indexOf("/")>-1){var a=function(t,r){var e=[];if(t===l||""===t)return e;var n,i,a=!1,u=[],s=!1;for(n=0;n<t.length;n++)'"'!==(i=t[n])||a||(s=!s),a||s||i!==r?u.push(i):(e.push(u.join("")),u=[]),a="\\"===i&&!a;return e.push(u.join("")),e}(i,"/");if(a&&2===a.length){this.Iu=a[1];var u=a[0];if(u){var s=u.lastIndexOf(" ");s>-1?(this.zu=tt(u,0,s),this.Gu=tt(u,s+1,u.length-s-1)):this.Gu=u}}}this.Ju=i}return t.prototype.formatString=function(){return this.Bu},t.prototype.format=function(r){if($(r,"boolean"))return r.toString().toUpperCase();var e=s.tr.Fa(r);if(j(e)||!isFinite(e)||j(r))return"string"==typeof r?r:l;var n,i,a,u,o,f=E(this.cultureName);if(this.Gu&&this.Iu){var y={value:0},c={value:0},h={value:0},m=this.Uu();if(t.getFraction(e,m,y,c,h)){var M=t.getGCD(c.value,h.value);if(M>1&&(c.value/=M,h.value/=M),this.zu){o="",1===h.value&&(y.value+=c.value,c.value=0,h.value=0);var d=P(C(y.value,this.zu,f));d&&"0"!==d&&(o+=d,o+=" "),0===y.value&&e<0&&(o+=f.NumberFormat.negativeSign),0===e&&(o+="0"),n=this.Iu,!j(i=parseFloat(n))&&i>0&&(0!==c.value&&0!==h.value&&(c.value*=i/h.value),h.value=i,n=n.replace(/^\d+/,t.toNumberPlaceholder(i)),u=(a=Math.ceil(c.value))-c.value,c.value=parseFloat(u<=.5&&u>=0?a.toString():""+(a-1)));var v=this.Gu,b=parseFloat(v);if(!j(b)&&0===b){var F=v.length,g=c.value.toString(),p=g.length;F>p?v=v.substr(0,F-(F-p)):F<p&&(g=g.substr(0,p-(p-F)),c.value=parseInt(g,10))}var _=this.Lu(c.value,h.value,v,n,f);return 0===c.value&&(_=_.replace(/./g," "),""===d)?"0 "+_:""===(o+=_)?"0":o}o="";var D=y.value*h.value+c.value;return n=this.Iu,(i=parseFloat(n))>0?(D*=i/h.value,h.value=i,o+=(D=parseFloat((u=(a=Math.ceil(D))-D)<=.5&&u>=0?a.toString():""+(a-1)))+"/"+h.value):o+=this.Lu(D,h.value,this.Gu,this.Iu,f),0===D?"0":o}return e.toString()}return function(t,r,e,n,i){if(!x(n)){var a=Mt(e,n.type,i);if(!x(a)){for(var u=!1,s=void 0,o=E(i),f=void 0,y=0,c=t.length;y<c;y++)"decimalSeparator"===t[y].type&&(u=!0,t[y].value=n._u(t[y].value,a,r),s=t[y].value),"number"===t[y].type&&(t[y].value=u?n._u(s+t[y].value,a,r).slice(1):n._u(t[y].value,a,r),"ja-JP"===o.name()&&t[y].value.length>1&&("一千"!==(f=t[y].value.substr(0,2))&&"一百"!==f&&"一十"!==f||(t[y].value=t[y].value.substr(1))));return t}}return t}(C(e,this.Ju,f),this.Ru,this.Ou,this.Cu,this.cultureName)},t.prototype.parse=function(t){if(!t||t===z.du)return l;var r=function(t){return t&&t.toUpperCase()}(t);if("TRUE"===r||r===I()&&I().boolean_true)return!0;if("FALSE"===r||r===I()&&I().boolean_false)return!1;var e="("===t.charAt(0)&&")"===t.charAt(t.length-1);e&&(t=t.substring(1,t.length-1));var n=this.Gu&&this.Iu,i=this.Ku(this.Ju).qu;if(n||i){var u=0;if(n&&this.zu){var s=(t=t.trim()).lastIndexOf(" ");0<s&&s<t.length-1&&(u=parseInt(t.substr(0,s),10),t=t.substr(s+1))}var o=t.indexOf("/");if(0<o&&o<t.length-1){var f=t.substr(0,o),y=t.substr(o+1);if(!j(f)&&!j(y)){var c=parseInt(f,10),h=parseInt(y,10);if(!j(c)&&!j(h)&&0!==h)return u+c/h}}}t=this.Wu(t),t=this.Yu(t);var m=this.Ku(t),M=m.qu,d=m.Xu;if(this.Zu(d)){d=a.Yt.qi(d,A(this.cultureName).numberGroupSeparator,"",!1);var b=S.hi(d,this.cultureName);if(!j(b)&&isFinite(b)){if(M&&(b=O(b/100,15)),e){if("-"===d.charAt(0)||"+"===d.charAt(0))return l;b=-1*v(b)}return b}}return l},t.prototype.Uu=function(){var t=this.Iu,r=0;if(t)for(var e=t.length,n=0;n<e&&t[n].match(/[#?\d]/);n++)r++;return r},t.prototype.Zu=function(t){for(var r="",e=0,n=0,i=0,a=l,u=A(this.cultureName),s=t.length-1;s>-1;s--){if(t[s]===u.numberDecimalSeparator)e++,i>0&&(a=!1),r="";else if("e"===R(t[s])){if(n++,r="",s===t.length-1)return!1}else if(t[s]===u.numberGroupSeparator)a=3===r.length,i++,r="";else if("-"===t[s]||"+"===t[s]){if(s>0&&"e"!==R(t[s-1]))return!1}else{if(!G(t[s]))return!1;if(r+=t[s],0===s&&0===parseInt(r,10)&&a)return!1}if(e>1||n>1||!1===a)return!1}return!0},t.prototype.Wu=function(t){for(var r=t,e=[],n=0;n<r.length;n++)G(r[n])&&e.push(n);for(var i=A(this.cultureName),u=[i.currencyDecimalSeparator,i.currencyGroupSeparator,i.currencySymbol,"$",i.nanSymbol,i.negativeInfinitySymbol,i.negativeSign,i.numberDecimalSeparator,i.numberGroupSeparator,i.percentDecimalSeparator,i.percentGroupSeparator,i.percentSymbol,i.perMilleSymbol,i.positiveInfinitySymbol,i.positiveSign],s=r.length-1;s>-1;s--){var o=r[s];if(J(o)&&u.indexOf(o.toString())<=-1)(s<e[0]||e[e.length-1]<s)&&(r=a.Yt.Be(r,s,1));else if("-"===o||"+"===o){var f=s>0?r[s-1].toString():l;if(["e","E","(",A(this.cultureName).currencySymbol,"$"].indexOf(f)<0)break}}return r},t.prototype.Yu=function(t){if(a.Yt.Tn(t,"$")){if((r=a.Yt.Be(t,0,1)).indexOf("$")<0)return r}else{var r,e=A(this.cultureName).currencySymbol;if("$"!==e&&a.Yt.Tn(t,e)&&(r=a.Yt.Be(t,0,e.length)).indexOf(e)<0)return r}return t},t.prototype.Ku=function(t){var r=A(this.cultureName).percentSymbol,e=!0,n=t;return a.Yt.Tn(t,r)?n=a.Yt.Be(t,0,r.length):a.Yt.oi(t,r)?n=a.Yt.Be(t,t.length-r.length,r.length):e=!1,a.Yt.oe(n,r)&&(e=!1),{Xu:n,qu:e}},t.prototype.Lu=function(t,r,e,n,i){var a=P(C(t,e,i)),u=P(C("0."+r,"#."+n,i,!0)),s=i&&i.NumberFormat&&i.NumberFormat.numberDecimalSeparator||".",o=a+"/"+u.substr(u.indexOf(s)+1);return""===e&&(o=t+o),""===n&&(o+=r),o},t.getGCD=function(t,r){if(0===t)return v(r);if(0===r)return v(t);for(var e=Math.max(t,r),n=Math.min(t,r),i=e%n;0!==i;)i=(e=n)%(n=i);return v(n)},t.getFraction=function(t,r,e,n,i){var a=0,u=0,s=0,o=0,f=Math.ceil;t>0?1==(o=t-f(t)+1)?(o=0,a=t):a=f(t)-1:t<0&&(a=f(t),o=f(t)-t);var y=Math.pow(10,r-1),c=Math.pow(10,r)-1;y<2&&(y=2),c<2&&(c=2);for(var h=!1,m=0,M=y;M<=c;M++){var d=Math.round(M*o),l=d/M,b=v(l-o);if((!h||b<v(m-o))&&(h=!0,m=l,u=d,s=M,b<1e-6))break}return e.value=a,n.value=u,i.value=s,h},t.toNumberPlaceholder=function(t){return t.toString().replace(/\d/g,"?")},t}(),Q=function(){function t(r,e,n,i){ct.call(this,e,n,i),arguments.length>0?(t.Qu(r)||B(),this.Bu=r):this.Bu="General",this.$u=0}return t.Qu=function(t){for(var r="",e=!1,n=-1,i=t.length,a=0;a<i;a++){var u=t[a];'"'===u?n=(e=!e)?a:-1:e||(r+=u)}return n>0&&(r+=t.substring(n,i)),!(r.indexOf("0")>=0||r.indexOf("#")>=0||r.indexOf(".")>=0||r.indexOf("@")>=0)},t.prototype.Vu=function(){if(!this.ts){var t=this.Bu;t=ut(t,"General",N),this.ts=new Z(t,this.Ou,this.Cu,this.cultureName),this.ts.Ru=!0}return this.ts},t.prototype.rs=function(){return this.es||(this.es=new Z("0.#####E+00",this.Ou,this.Cu,this.cultureName),this.es.Ru=!0),this.es},t.prototype.formatString=function(){return a.Yt.Li(this.Bu,"@NumberFormat","General")},t.prototype.format=function(t){if(s.tr.ba(t,this.cultureName)){var r=!this.Ou||this.Ou.allowScience(),e=s.tr.Fa(t);if(void 0!==e&&e!==l)return v(e)>99999999999&&r||v(e)<1e-11&&0!==e?this.rs().format(t):this.Vu().format(t)}else{if($(t,"string")){var n=a.Yt.Li(this.formatString(),'"',"");return n=st(n),t}if($(t,"boolean"))return t.toString().toUpperCase()}return""},t.prototype.parse=function(t){if(z.lu(t))return l;if("number"==typeof t)return t;var r=!1,e=t.trim(),n=a.Yt.Je(e,"-",!1);n>0&&!ot(e.charAt(n-1),"E",!0)&&(r=!0);var i,s=E(this.cultureName),o=s.DateTimeFormat,y=o.dateSeparator,c=o.timeSeparator,h=o.monthNames,m=o.abbreviatedMonthNames,M=function(t,r){if(!r||0===r.length)return!1;for(var e=!1,n=0,i=r.length;n<i;n++)if(a.Yt.oe(t,r[n],!0)){e=!0;break}return e};if(r||a.Yt.oe(e,y,!1)||a.Yt.oe(e,c,!1)||a.Yt.oe(e,"/",!1)||a.Yt.oe(e,":",!1)||a.Yt.oe(e,"-",!1)||a.Yt.oe(e,"年",!1)||a.Yt.oe(e,"月",!1)||a.Yt.oe(e,"日",!1)||M(e,h)||M(e,m)||"ja-JP"===s.name()&&f.nr.Cr.indexOf(e[0].toUpperCase())>=0&&a.Yt.oe(e,".",!1)){var d=u.Qt.Pn(e);if(d)return d}var b,F="-"===e.charAt(0);if(F||"+"===e.charAt(0)){if("("===(e=a.Yt.Be(e,0,1)).charAt(0)&&")"===e.charAt(e.length-1))return t}else if("("===e.charAt(0)&&")"===e.charAt(e.length-1)&&(b=!0,"-"===(e=(e=e.substring(1,e.length-1)).trim()).charAt(0)||"+"===e.charAt(0)))return t;return(i=this.Vu().parse(e))!==l&&void 0!==i?b&&$(i,"boolean")?t:(b||F)&&$(i,"number")?-1*v(i):i:t},t}(),V=function(){function t(t,r,e,n){ct.call(this,r,e,n);var i=ft(t,!1);r&&(i=ut(i,this.Ou.ju,this.Ou.currencySymbol())),i=st(i=it(i)),this.Du=i,this.$u=3}return t.prototype.format=function(t,r){try{var e;e=t instanceof Date?u.Qt.In(t).toString():rt(t);var n=this.ns(this.Du);return this.us(e,n.formatTokens,t,n.hasAtPart,r)}catch(t){return""}},t.prototype.parse=function(t){return t||""},t.prototype.formatString=function(){return this.Du},t.prototype.ns=function(t){for(var r,e=[],n=!1,i="",a=!1,u=l,s=0;s<t.length;s++)r=t.charAt(s),a?('"'!==r?i+=r:(i+=r,e.push(i),i="",a=!1),u=r):"*"!==u&&"_"!==u&&"\\"!==u||""===i?"*"!==r&&"_"!==r&&"\\"!==r?"@"!==r?'"'!==r?(i+=r,u=r):(u=r,""!==i&&e.push(i),i=r,a=!0):(u=r,""!==i&&(e.push(i),i=""),e.push(r),n=!0):(u=r,""!==i&&(e.push(i),i=""),i+=r):(i+=r,e.push(i),i="");return""!==i&&e.push(i),{formatTokens:e,hasAtPart:n}},t.prototype.us=function(t,r,e,n,i){var a=[],u=!1;if("string"!=typeof e||n||i)for(var s=r.length-1;s>=0;s--){var o=r[s];"*"===o[0]?u||(u=!0,a.push({type:"fillingChar",value:o[1]})):"_"===o[0]?a.push({type:"placeholder",value:o[1]}):'"'===o[0]&&'"'===o[o.length-1]?o.length>=2&&a.push({type:"text",value:o.substr(1,o.length-2)}):"\\@"===o?a.push({type:"text",value:"@"}):"@"===o[0]?a.push({type:"text",value:t}):a.push({type:"text",value:o})}else a.push({type:"text",value:e});return a.reverse()},t}();function tt(t,r,e){return t.substr(r,e)}function rt(t){return s.tr.de(t)?"":"boolean"==typeof t?t?"TRUE":"FALSE":"string"==typeof t?t:t.toString()}function et(t,r){if("\\"===t[r])throw Error(d().Exp_InvalidBackslash);if(r-1>0&&r-1<t.length&&"\\"===t[r-1]){if(r-2<0)return!0;if(r-2>0&&r-2<t.length)return"\\"!==t[r-2]}return!1}function nt(t){if(!t)throw Error(d().Exp_TokenIsNull);return"["+t+"]"}function it(t){if(void 0===t||t===l||""===t)return t;for(var r="",e=0,n=!1,i=0;i<t.length;i++){var a=t[i];'"'===a?(n=!n,r+=a):n?r+=a:"["===a?e++:"]"===a?--e<0&&(e=0):0===e&&(r+=a)}return r.toString()}function at(t){return t=ut(t,"[",""),ut(t,"]","")}function ut(t,r,e){return!t||t===z.du||ot(r,e,!0)?t:(r=r.replace(_,"\\$1"),t.replace(RegExp(r,"g"),e))}function st(t){for(var r=t.length,e=!1,n="",i=0;i<r;i++){var a=t.charAt(i);"\\"===a?(e=!e)&&"@"!==t.charAt(i+1)||(n+=a):(e=!1,n+=a)}return n}function ot(t,r,e){return e?R(t)===R(r):t===r}function ft(t,r){1===arguments.length&&(r=!0);for(var e=!1,n="",i=0;i<t.length;i++){var a=t[i];if('"'===a)e=!e;else if(!e&&!r&&"/"===a&&!et(t,i))continue;n+=a}return n}function yt(t,r){if(!t||t===z.du)return!1;for(var e=function(t){for(var r="",e=!1,n=0,i=t.length;n<i;n++){var a=t[n];'"'===a&&(e=!e),"E"===a||e||(r+=R(a))}return r}(ft(t)),n=0;n<r.length;n++){var i=e.indexOf(r[n]);if(0===i||i>0&&"_"!==e[i-1]&&"*"!==e[i-1])return!0}return!1}function ct(t,r,e,n){this.Ou=t,this.Cu=r,this.cultureName=e,this.Tu=n}function ht(t){this.ju=t}function mt(t){var r,e=at(t);if(!e||e===z.du)return r;var n=e[0];return["<",">","="].indexOf(n)>-1?(r=q).Name="ConditionalFormatPart":a.Yt.Tn(e,"DBNum",!0)?(r=K).Name="DBNumberFormatPart":ot(e[0],"$",!1)&&e.indexOf("-")>-1?(r=U).Name="LocaleIDFormatPart":function(t){var r=R(t),e=r[0];if("h"!==e&&"m"!==e&&"s"!==e)return!1;for(var n=1;n<r.length;n++)if(e!==r[n])return!1;return!0}(e)?(r=Y).Name="ABSTimeFormatPart":e.indexOf("$")<0&&e.length>=3&&((r=X).Name="ColorFormatPart"),r}function Mt(t,r,e){var n;if(n=t?t.cultureInfo():E(e),r<4||4===r&&("ko-kr"===e||"ko-kr"===n.name())){var i=n.NumberFormat.dbNumber;if(i)return i[r]}return l}var dt=function(){function t(t,r){0===arguments.length?(this.formatCached="General",this.ss=new Q):this.ku(t,r)}return t.prototype.ku=function(r,e){r!==l&&void 0!==r||B();var n=r;this.formatCached=r;for(var i="",a="",u=!1,s=!1,o=!1,y=[],c=0;c<r.length;c++){var h=r[c];if('"'===h)s=!s,a+=h;else if(s)a+=h;else if("["===h)u&&B(),a&&(i||(i=""),i+=a),a=h.toString(),u=!0;else if("]"===h){if(u||B(),a){var m=(a+=h).toString(),M=mt(a.toString());if(M)"ABSTimeFormatPart"===M.Name?(y.push(new M(t.preProcessPart(m),m)),i+=a):m===f.nr.eraExcelFormatter?(this.addPart(M,f.nr.eraInternalFormatter),o=!0):this.addPart(M,m);else{var d=t.partToNormalStr(m);i+=d,n=ut(r,m,d)}a=""}else B();u=!1}else a+=h}a?u?B():i+=a:i||(i=this.os()),this.localeIDFormatPart&&(e=this.localeIDFormatPart.cultureInfo().name());var v=function(t,r){var e,n=!1;return yt(t=t?t.toString():z.du,["general"])?e=Q:W.Su(t)?e=W:yt(t,["E+","E-","#",".",",","%","0","/","?"])||r?(n=!0,e=Z):(n=!0,e=V),{fs:n,ys:e}}(i,this.conditionalFormatPart),b=v.ys,F=v.fs?n:i;b?this.ss=new b(F,this.localeIDFormatPart,this.dbNumberFormatPart,e,y.length>0?y:l,o):B()},t.prototype.os=function(){var r=this,e="";return r.dbNumberFormatPart&&(t.proNames.some((function(t){return"dbNumberFormatPart"!==t&&r[t]}))||(e="General")),e},t.prototype.formatString=function(){for(var r="",e=0,n=t.proNames.length;e<n;e++){var i=t.proNames[e];this[i]&&(r+=this[i].toString())}return r+this.ss.formatString()},t.prototype.addPart=function(r,e){for(var n=t.proNames,i=t.preProcessPart(e),a=0,u=n.length;a<u;a++){var s=n[a];if(ot(s,r.Name,!0)){if(this[s])throw Error(d().Exp_DuplicatedDescriptor);this[s]=new r(i,e)}}},t.prototype.format=function(t,r){return this.ss.format(t,r)},t.prototype.parse=function(t){return this.ss.parse(t)},t.checkFormatter=function(t){if(!t||t===z.du)throw Error(d().Exp_TokenIllegal)},t.preProcessPart=function(r){t.checkFormatter(r);var e=at(r);return t.checkFormatter(e),e},t.partToNormalStr=function(r){var e=t.preProcessPart(r);return"$"===e[0]&&(e=e.slice(1)),'"'+e+'"'},t.proNames=["colorFormatPart","conditionalFormatPart","dbNumberFormatPart","localeIDFormatPart"],t}(),lt=function(t){function r(r,e){var n=t.call(this,r,e)||this,i=n;return i.cs=!0,i.PropertyChanged=[],z.lu(r)&&(r="General"),i.formatCached=r,i.cultureName=e,i.init(),n}return i(r,t),r.prototype.toJSON=function(){var t={formatCached:this.formatCached};return this.cultureName&&(t.customerCultureName=this.cultureName),"general"===R(this.formatCached)&&delete t.formatCached,t},r.prototype.hasFormattedColor=function(){for(var t in g)if(g.hasOwnProperty(t)){var r=this.getFormatter(g[t]);if(r&&r.colorFormatPart)return!0}return!1},r.prototype.formatString=function(t){if(0===arguments.length){for(var r=z.du,e=0,n=this.formatters.length;e<n;e++){r+=this.formatters[e].formatString(),e!==n-1&&(r+=";")}return r}if(!t)throw Error(d().Exp_ValueIsNull);return this.formatters=l,this.formatCached=t,this.init(),this.hs("formatString"),this},r.prototype.getFormatter=function(t){return this.formatters&&this.formatters[t]},r.prototype.getPreferredEditingFormatter=function(t){var e,n=T(this.cultureName),i=A(this.cultureName),a=r.defFormatter;if($(t,"TimeSpan"))return a(n.longTimePattern);if($(t,"DateTime")){var u=0===t.getHours()&&0===t.getMinutes()&&0===t.getSeconds()&&0===t.getMilliseconds()?"":" h:mm:ss";return a(n.shortDatePattern+u)}if(s.tr.ba(t,this.cultureName)){var o=s.tr.Fa(t);return a(o>=1e21||o<=1e-17&&o>0||o<=-1e21||o<0&&o>=-1e-17?null!==(e=i.scientificNotation)&&void 0!==e?e:"0.##############E+00":N)}return a("General")},r.prototype.getPreferredDisplayFormatter=function(t,e){var n=r.defFormatter;if(e||(e={value:l}),e.value=l,z.lu(t))return new r;var i=t,o=e.value=this.parse(i);if($(o,"DateTime")||$(o,"TimeSpan")){var f={pattern:D,formatter:["d-mmm","mmm-yy",T().shortDatePattern,"h:mm","h:mm:ss","h:mm:ss.0","h:mm:ss tt",T().shortDatePattern+" h:mm",T().shortDatePattern+" h:mm:ss",T().shortDatePattern+" h:mm:ss.0"]},y=f.pattern,c=f.formatter,h=E(this.cultureName),m=h.DateTimeFormat,M=m.preselectedFormatters;if(M.length>0&&(y=y.concat([M]),c=c.concat([M[0]])),"ja-JP"===h.name()){y=y.concat([m.eraFormatter]),c=c.concat(["ge.M.d"]);var d=h.mr.filter((function(t){return"ggge"===t.substr(0,4)}));y=y.concat([d]),c=c.concat(['ggge"年"M"月"d"日']);var v=h.mr.filter((function(t){return"gge"===t.substr(0,3)}));y=y.concat([v]),c=c.concat(['gge"年"M"月"d"日']);var b=h.mr.filter((function(t){return"ge"===t.substr(0,2)}));y=y.concat([b]),c=c.concat(['ge"年"M"月"d"日'])}for(var F=0;F<y.length;F++)for(var g=y[F],p=0;p<g.length;p++){var _=g[p],w=u.Qt.Pn(t,_);if(w&&w-o==0)return new r(c[F])}}else if(s.tr.ba(o,this.cultureName)){var H=A(this.cultureName),k=H.currencySymbol,S=H.numberDecimalSeparator,N=H.percentSymbol,P=H.numberGroupSeparator,C=a.Yt.oe,O=C(i,S)?".00":"";if(i[0]===k)return n(z.Yi("{0}#,##0{1};[Red]({0}#,##0{1})",k,O));if(C(i,"E",!0))return n("0.00E+00");if(i[0].toString()===N||i[i.length-1].toString()===N)return n(z.Yi("0{0}%",O));if(C(i,P))return n(z.Yi("#,##0{0}",O))}return n("General")},r.prototype.format=function(t,r){if($(t,"boolean"))return I()&&(t=t?I().boolean_true:I().boolean_false),t.toString().toUpperCase();var e,n=0,i=this.Ms(t);if(i){var a=i.colorFormatPart;r&&a&&(r.conditionalForeColor=r.value=a.foreColor),(e=s.tr.ba(t,this.cultureName))&&(n=s.tr.Fa(t));var u=z.du;try{if(e&&i===this.getFormatter(g.hu)&&0!==this.expressionNumber)(u=i.format(i.considerNegSymbol?n:v(n)))===l&&$(t,"string")&&(u=t);else if(void 0===(u=i.value)){var o=!this.cs&&i===this.getFormatter(g.Mu);u=i.format(t,e||o)}r&&(r.content=k(u)?u:[{type:"text",value:u}]),k(u)&&(u=S.li(u))}catch(r){$(t,"string")&&(u=t.toString())}return u}return e&&n<0?"-":$(t,"string")?t.toString():void 0===t||t===l?z.du:t.toString()},r.prototype.parse=function(t){return this.formatters&&this.formatters.length>0?this.formatters[0].parse(t):l},r.prototype.init=function(){var t=this.formatCached;z.lu(t)&&B(),this.formatters=[];var r=function(t){for(var r=[],e=0,n=0,i=t.length,a=0;a<i;a++)"_"===t[a]?e++:(";"!==t[a]||0!==e&&e%2!=0||(r.push(t.substring(n,a)),n=a+1),e=0);return n<=i&&r.push(t.substring(n,i)),r}(t);this.cs=1===r.length,(!r||r.length<1||r.length>4)&&B();for(var e=0;e<r.length;e++){-1!==r[e].indexOf("@")&&-1===r[e].indexOf("\\@")&&(e!==r.length-1?B():this.hasAt=!0);var n=new dt(r[e],this.cultureName);this.formatters.push(n)}this.getFormatter(g.cu)||B(),this.ds()},r.prototype.ds=function(){this.expressionNumber=this.formatters.length-(this.hasAt?1:0);var t=(0===this.expressionNumber?1:this.expressionNumber)-1;g=s.tr.ar({},p[t]),this.hasAt&&0!==this.expressionNumber&&(g.Mu=this.formatters.length-1)},r.prototype.Ms=function(t){this.ds();var r=this.getFormatter(g.cu),e=r&&r.conditionalFormatPart,n=this.getFormatter(g.Mu);if(e&&(g.mu=2,this.hasAt||(g.Mu=3)),"string"==typeof t&&j(t))return n||(e?t:r);if(s.tr.ba(t,this.cultureName)||$(t,"boolean")){var i=this.getFormatter(g.hu),a=this.getFormatter(g.mu),u=s.tr.Fa(t),o=e&&r.conditionalFormatPart.isMeetCondition(u),f=i&&i.conditionalFormatPart,y=f&&i.conditionalFormatPart.isMeetCondition(u),c=void 0;if(this.cs||(e?o:u>0||0===u&&!a))c=r;else if(f?y:u<0)c=i;else if(a)c=a;else if(i){if(e&&f)return{value:u+""};c=i}return c&&(!e||f||c!==i||a||(c.considerNegSymbol=!0),e&&f&&c===i&&i.conditionalFormatPart&&i.conditionalFormatPart.isMeetCondition(1e-10)&&(c.considerNegSymbol=!0),this.expressionNumber<=1&&(c.considerNegSymbol=!0)),c}return l},r.prototype.hs=function(t){if(this.PropertyChanged)for(var r=0;r<this.PropertyChanged.length;r++){var e=this.PropertyChanged[r];"function"==typeof e&&e(this,t)}},r.defFormatter=function(t){var e=r[t];return e||(e=new r(t),r[t]=e),e},r.test=function(t){var r=!0;try{var e=new h.Lexer(t);new m.Parser(e).parse()}catch(t){r=!1}return r},r}(L);r.GeneralFormatter=lt},826:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.throwError=r.BACKSLASH=r.UNDERLINE=r.ASTERISK=r.DOUBLE_QUOTE=r.SEMICOLON=void 0,r.SEMICOLON=";",r.DOUBLE_QUOTE='"',r.ASTERISK="*",r.UNDERLINE="_",r.BACKSLASH="\\";r.throwError=function(){throw Error("Invalid Number Format")}},810:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Lexer=void 0;var n=e(826),i=function(t){return!!["0","#","?",".","%",",","/",n.BACKSLASH,n.ASTERISK,n.UNDERLINE,"@"].find((function(r){return r===t}))},a=function(t){return[n.BACKSLASH,n.ASTERISK,n.UNDERLINE].find((function(r){return r===t}))},u=function(t,r){return{type:t,value:r}},s=function(){function t(t){this.ls=[],this.vs=t,this.bs()}return t.prototype.bs=function(){for(var t=0,r=this.vs;t<r.length;t++){var e=r[t];if(i(e)){if(a(e)){this.ls.push(u("symbol",e)),t<r.length-1&&(this.ls.push(u("char",r[t+1])),t++);continue}this.ls.push(u("symbol",e))}else if(e!==n.SEMICOLON){if(e===n.DOUBLE_QUOTE){var s=r.slice(t+1).search(n.DOUBLE_QUOTE);if(-1!==s){s=s+t+1,this.ls.push(u("text",r.slice(t+1,s))),t=s;continue}(0,n.throwError)()}this.ls.push(u("char",e))}else this.ls.push(u("semicolon",e))}this.ls.push(u("EOF",""))},t.prototype.Fs=function(){return this.ls.shift()},t}();r.Lexer=s},61:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Parser=void 0;var n=e(826),i=function(){function t(t){this.gs=t,this.ps=t.Fs()}return t.prototype._s=function(t){this.ps.type===t?this.ps=this.gs.Fs():(0,n.throwError)()},t.prototype.parse=function(){for(var t=[];"EOF"!==this.ps.type;)t.push(this.Ds()),t.length>4&&(0,n.throwError)();return{type:"numberFormat",body:t}},t.prototype.Ds=function(){for(var t=[];"semicolon"!==this.ps.type&&"EOF"!==this.ps.type;){"symbol"===this.ps.type?t.push(this.ws()):t.push(this.Hs())}return"semicolon"===this.ps.type&&this._s("semicolon"),{type:"formatPart",body:t}},t.prototype.ws=function(){var t,r=this.ps.value;return r===n.ASTERISK?(this._s("symbol"),t={type:"asterisk",body:this.ps.value},this._s("char")):r===n.BACKSLASH?(this._s("symbol"),t={type:"char",body:this.ps.value},this._s("char")):r===n.UNDERLINE?(this._s("symbol"),t={type:"underline",body:this.ps.value},this._s("char")):(t={type:"symbol",body:this.ps.value},this._s("symbol")),t},t.prototype.Hs=function(){var t,r=this.ps.type;return"char"===r?(t={type:"char",body:this.ps.value},this._s("char")):"text"===r&&(t={type:"text",body:this.ps.value},this._s("text")),t},t}();r.Parser=i},736:function(t){t.exports=canvas}},e={};function n(t){var i=e[t];if(void 0!==i)return i.exports;var a=e[t]={exports:{}};return r[t].call(a.exports,a,a.exports,n),a.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}();var i={};!function(){var t=i;Object.defineProperty(t,"t",{value:!0}),t.Formatter=t.Commands=t.Common=void 0;var r=n(38);t.Common=r;var e=n(814);t.Commands=e;var a=n(569);t.Formatter=a}(),(t=void 0===t?{}:t).Spread=i}()},372:()=>{var t;!function(){"use strict";var r={38:function(t,r,e){var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),r.UserManagerEvent=r.UserManager=r.UUIDGenerator=r.Wt=r.rbush=r.CultureManager=r.CultureInfo=r.Yt=r.Xt=r.Zt=r.Qt=r.Vt=r.tr=r.rr=void 0;var a=e(395);Object.defineProperty(r,"rr",{enumerable:!0,get:function(){return a.rr}});var u=e(534);Object.defineProperty(r,"tr",{enumerable:!0,get:function(){return u.tr}});var s=e(305);Object.defineProperty(r,"Vt",{enumerable:!0,get:function(){return s.Vt}});var o=e(97);Object.defineProperty(r,"Qt",{enumerable:!0,get:function(){return o.Qt}}),Object.defineProperty(r,"Wt",{enumerable:!0,get:function(){return o.getSR}});var f=e(844);Object.defineProperty(r,"Zt",{enumerable:!0,get:function(){return f.Zt}});var y=e(576);Object.defineProperty(r,"Xt",{enumerable:!0,get:function(){return y.Xt}});var c=e(480);Object.defineProperty(r,"Yt",{enumerable:!0,get:function(){return c.Yt}});var h=e(674);Object.defineProperty(r,"rbush",{enumerable:!0,get:function(){return h.rbush}});var m=e(818),M=e(479);Object.defineProperty(r,"UUIDGenerator",{enumerable:!0,get:function(){return M.UUIDGenerator}}),Object.defineProperty(r,"HandleExcelSpecialDate",{set:function(t){m.HandleExcelSpecialDate=t},get:function(){return m.HandleExcelSpecialDate}}),i(e(818),r);var d=e(286);Object.defineProperty(r,"CultureInfo",{enumerable:!0,get:function(){return d.CultureInfo}}),Object.defineProperty(r,"CultureManager",{enumerable:!0,get:function(){return d.CultureManager}}),i(e(646),r);var l=e(561);Object.defineProperty(r,"UserManager",{enumerable:!0,get:function(){return l.UserManager}}),Object.defineProperty(r,"UserManagerEvent",{enumerable:!0,get:function(){return l.UserManagerEvent}})},286:function(t,r,e){var n,i=this&&this.er||(n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])},n(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+r+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)});Object.defineProperty(r,"t",{value:!0}),r.CultureManager=r.nr=r.CultureInfo=r.TimelineDateOrder=void 0;var a,u=e(534),s=e(818),o=e(305),f=e(576),y="undefined"!=typeof window?window:e.g,c=u.tr.ir,h=u.tr.ar,m=(new Date).getFullYear(),M=["MM/dd/yyyy","MM/d/yyyy","M/dd/yyyy","M/d/yyyy","yy/MM/dd","yy/MM/d","yy/M/dd","yy/M/d","yyyy/MM/dd","yyyy/MM/d","yyyy/M/dd","yyyy/M/d"],d=["hh:mm:ss","hh:mm:s","hh:m:ss","hh:m:s","h:mm:ss","h:mm:s","h:m:ss","h:m:s","hh:mm:ss tt","hh:mm:s tt","hh:m:ss tt","hh:m:s tt","h:mm:ss tt","h:mm:s tt","h:m:ss tt","h:m:s tt","hh:mm","hh:m","h:mm","h:m","hh:mm tt","hh:m tt","h:mm tt","h:m tt"],l=["MM-dd-yyyy","MM-d-yyyy","M-dd-yyyy","M-d-yyyy","yy-MM-dd","yy-MM-d","yy-M-dd","yy-M-d","yyyy-MM-dd","yyyy-MM-d","yyyy-M-dd","yyyy-M-d","dd-MMMM-yy","dd-MMM-yy"],v=M.concat(d);function b(t){return t.split(" ").join(" ").toUpperCase()}function F(t){for(var r=[],e=0,n=t.length;e<n;e++)r[e]=b(t[e]);return r}function g(t,r,e){var n=b(t),i=r.indexOf(n);return-1===i&&(i=e.indexOf(n)),i}function p(t){if(t){var r=t.charCodeAt(0);if(r>=11904&&r<12032||r>=8208&&r<8252||r>=12288&&r<40960||r>=43360&&r<43392||r>=44032&&r<55215||r>=63744&&r<64256||r>=65280&&r<65535)return!0}return!1}function _(t,r,e){if(" "===t||e&&" "===t)return 0;var n=e&&e(t);return r.lineBreakingForbidStart&&-1!==r.lineBreakingForbidStart.indexOf(t)?!e||n?7:6:r.lineBreakingForbidEnd&&-1!==r.lineBreakingForbidEnd.indexOf(t)?!e||n?5:4:n?2:r.lineBreakingChar&&-1!==r.lineBreakingChar.indexOf(t)?3:1}c(M,(function(t,r){c(d,(function(t,e){t<d.length-4&&v.push(r+" "+e)}))})),v=v.concat(l),c(l,(function(t,r){c(d,(function(t,e){t<d.length-4&&v.push(r+" "+e)}))})),function(t){t[t.year=1]="year",t[t.quarterOrMonth=2]="quarterOrMonth",t[t.date=3]="date"}(a=r.TimelineDateOrder||(r.TimelineDateOrder={}));var D={"00":1,"01":1,"02":1,"03":1,"04":1,"05":1,"06":1,"07":1,12:1,15:1,21:1,22:1,23:1,24:1,25:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,62:1,65:1,71:1,72:1,73:1,74:1,75:1};function w(t,r,e){if(!t)return[];for(var n=[t[0]],i=0,a=_(t[0],r,e),u=1;u<t.length;u++){var s=_(t[u],r,e);D[a+""+s]&&void 0===n[++i]&&(n[i]=""),n[i]+=t[u],a=s}return n}var H=function(){function t(){this.NumberFormat={currencyDecimalDigits:2,currencyDecimalSeparator:".",currencyGroupSeparator:",",currencyGroupSizes:[3],currencyNegativePattern:0,currencyPositivePattern:0,currencySymbol:"¤",digitSubstitution:1,isReadOnly:!0,numberGroupSizes:[3],nanSymbol:"NaN",nativeDigits:["0","1","2","3","4","5","6","7","8","9"],numberNegativePattern:1,negativeInfinitySymbol:"-Infinity",negativeSign:"-",numberDecimalDigits:2,numberDecimalSeparator:".",numberGroupSeparator:",",positiveInfinitySymbol:"Infinity",positiveSign:"+",percentDecimalDigits:2,percentDecimalSeparator:".",percentGroupSeparator:",",percentGroupSizes:[3],percentNegativePattern:0,percentPositivePattern:0,percentSymbol:"%",perMilleSymbol:"‰",listSeparator:",",arrayListSeparator:",",arrayGroupSeparator:";",dbNumber:{},standardDictionaryNumbers:{Hundreds:"Hundreds",Thousands:"Thousands",Millions:"Millions",Billions:"Billions",Trillions:"Trillions"},scientificNotation:"0.##############E+00"},this.DateTimeFormat={abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],abbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],amDesignator:"AM",calendarIsReadOnly:!0,calendarWeekRule:0,Calendar:{MinSupportedDateTime:"@-62135568000000@",MaxSupportedDateTime:"@253402300799999@",AlgorithmType:1,CalendarType:1,Eras:[1],TwoDigitYearMax:2029,isReadOnly:!0},dateSeparator:"/",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],defaultDatePattern:"MM/dd/yyyy H:mm:ss",firstDayOfWeek:0,fullDateTimePattern:"dddd, dd MMMM yyyy HH:mm:ss",longDatePattern:"dddd, dd MMMM yyyy",longTimePattern:"HH:mm:ss",monthDayPattern:"MMMM dd",monthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],nativeCalendarName:"Gregorian Calendar",pmDesignator:"PM",rfc1123Pattern:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",shortDatePattern:"MM/dd/yyyy",shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],shortTimePattern:"HH:mm",sortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",timeSeparator:":",universalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",yearMonthPattern:"yyyy MMMM",filterDialogDateFormatter:"yyyy/mmmm/dd",preselectedFormatters:[],eraFormatter:["ge/M/d","ge-M-d","ge.M.d","gee/MM/dd"]},this.name=function(){return""},this.id=-1,this.LocalNumberFormat={},this.displayName="",this.fontScriptCode=void 0,this.predefinedFormats={},this.TimelineDateOrder=[a.quarterOrMonth,a.date,a.year],this.TimelineDateSuffix={year:"",quarter:"",month:"",date:""},this.TextFormat={lineBreakingChar:[" ","-"]},this.equalCharacters=void 0}return t.prototype.ur=function(){return[" "]},t.prototype.sr=function(t){var r={lineBreakingChar:this.ur()};return this.TextFormat&&this.TextFormat.lineBreakingStrategy?this.TextFormat.lineBreakingStrategy(t,r):w(t,r)},t.prototype.yr=function(t){if(this.TextFormat&&this.TextFormat.lineBreakingStrategy){var r={lineBreakingChar:this.TextFormat.lineBreakingChar,lineBreakingForbidEnd:this.TextFormat.lineBreakingForbidEnd,lineBreakingForbidStart:this.TextFormat.lineBreakingForbidStart};return this.TextFormat.lineBreakingStrategy(t,r)}return w(t,this.TextFormat||{lineBreakingChar:[" ","-"]})},t.prototype.cr=function(){if(!this.hr){var t=this.DateTimeFormat,r=t.shortDatePattern.replace(/m/g,"M"),e=[r,r+" h:mm",r+" h:mm:ss",r+" h:mm:ss.0","MMMdd","MMMd","MMM dd","MMM d"];if(e=e.concat(v),1041===this.id){var n=t.eraFormatter;e=(e=e.concat(this.mr)).concat(n)}e=e.concat(t.preselectedFormatters),this.hr=e}return this.hr},t.prototype.Mr=function(t){return this.dr||(this.dr=F(this.DateTimeFormat.monthNames),this.lr=F(this.DateTimeFormat.monthGenitiveNames)),g(t,this.dr,this.lr)},t.prototype.vr=function(t){return this.br||(this.br=F(this.DateTimeFormat.abbreviatedMonthNames),this.Fr=F(this.DateTimeFormat.abbreviatedMonthGenitiveNames)),g(t,this.br,this.Fr)},t.prototype.gr=function(t){return this.pr||(this.pr=F(this.DateTimeFormat.dayNames)),this.pr.indexOf(b(t))},t.prototype._r=function(t){return this.Dr||(this.Dr=F(this.DateTimeFormat.abbreviatedDayNames)),this.Dr.indexOf(b(t))},t}();r.CultureInfo=H;var $=function(){function t(){}return t.wr=function(r){return r>=t.Hr()&&r<=t.$r()},t.Sr=function(){var t=H.eras;if(void 0!==t){for(var r=[],e=0;e<t.length;e++)r[e]=new Date(t[e].startDate.replace(/-/g,"/"));return r}return this.Nr},t.Pr=function(r){var e,n;switch(r){case"g":e="symbol",n=t.Cr;break;case"gg":e="abbreviation",n=t.Or;break;case"ggg":e="name",n=t.jr;break;default:return[]}var i=H.eras,a=[];if(void 0!==i){for(var u=0;u<i.length;u++)a[u]=i[u][e];return a}return n},t.$r=function(){var t=H.eras;if(void 0!==t&&t.length>0){var r=new Date(t[t.length-1].startDate.replace(/-/g,"/"));return r.setFullYear(r.getFullYear()+99),r}return this.Er},t.Hr=function(){var t=H.eras;return void 0!==t&&t.length>0?new Date(t[0].startDate.replace(/-/g,"/")):this.Tr},t.Rr=function(){var t=H.eras;return void 0!==t?t.length:this.Ir},t.zr=function(){var t=H.eras;if(void 0!==t){for(var r=[],e=1;e<t.length;e++){var n=new Date(t[e-1].startDate.replace(/-/g,"/")),i=new Date(t[e].startDate.replace(/-/g,"/"));r[e-1]=i.getFullYear()-n.getFullYear()+1}return r[e-1]=99,r}return this.Gr},t.Jr=function(r){var e={Ur:-1,Lr:-1};if(!t.wr(r)){if(!(r>t.$r()))return e;r=t.$r()}for(var n=0;n<t.Rr();n++){if(r<(n+1!==t.Rr()?t.Sr()[n+1]:t.qr(t.$r(),1))){e.Ur=n,e.Lr=r.getFullYear()-t.Sr()[n].getFullYear()+1;break}}return e},t.qr=function(t,r){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds());return e.setMilliseconds(e.getMilliseconds()+r),new Date(e.valueOf())},t.Kr=function(r,e){return t.Sr()[r].getFullYear()+e-1},t.Wr=function(r,e){e=e.toUpperCase();for(var n=t.Pr(r),i=0;i<n.length;i++)if(n[i]===e)return i;return-1},t.Yr=function(r,e,n){var i=t,a=i.Jr(e),u=a.Ur;if(u>=0){var s=i.Pr(r);if(s.length>0)return s[u]}var o=a.Lr;if(o>=0){var f=o.toString();if("1"===f&&n)return"元";if("ee"===r)return 1===f.length&&(f="0"+f),f;if("e"===r)return f}return""},t.Nr=[new Date(1868,8,8),new Date(1912,6,30),new Date(1926,11,25),new Date(1989,0,8),new Date(2019,4,1)],t.Ir=5,t.Gr=[45,15,64,31,99],t.Er=new Date(2117,11,31,23,59,59),t.Tr=new Date(1868,8,8),t.Xr=["1,m","2,t","3,s","4,h","5,r"],t.Zr=[0,1,2,3,0,1,2,3],t.jr=["明治","大正","昭和","平成","令和"],t.Cr=["M","T","S","H","R"],t.Or=["明","大","昭","平","令"],t.Qr=99,t.eraExcelFormatter="[$-ja-JP-x-gannen]",t.eraInternalFormatter="[$-411]",t}();r.nr=$;var k=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencySymbol","isReadOnly"],["$",!1]);return O.call(r,"DateTimeFormat",["fullDateTimePattern","longDatePattern","longTimePattern","shortDatePattern","shortTimePattern","yearMonthPattern","calendarIsReadOnly","preselectedFormatters"],["dddd, MMMM dd, yyyy h:mm:ss tt","dddd, MMMM dd, yyyy","h:mm:ss tt","M/d/yyyy","h:mm tt","MMMM, yyyy",!1,["MMM yyyy","MMMM yyyy"]]),r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" H:mm:ss",r.name=function(){return"en-US"},r.displayName="English (United States)",r.id=1033,r.predefinedFormats={Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',Currency:["[$$-409]#,##0","[$$-409]#,##0;[Red][$$-409]#,##0","[$$-409]#,##0_);([$$-409]#,##0)","[$$-409]#,##0_);[Red]([$$-409]#,##0)"],Date:["m/d/yyyy","[$-409]dddd, mmmm dd, yyyy","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmm d, yyyy;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@","m/d/yyyy;@","[$-409]d-mmm-yyyy;@"],Time:["[$-409]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","mm:ss.0;@","[h]:mm:ss;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@"],Special:{"Zip Code":"00000","Zip Code + 4":"00000-0000","Phone Number":"[<=9999999]###-####;(###) ###-####","Social Security Number":"000-00-0000"},shortcut:{Number:"0.00",Currency:"[$$-409]#,##0.00",Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',ShortDate:"m/d/yyyy",LongDate:"[$-409]dddd, mmmm dd, yyyy",Time:"[$-409]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)'}},r}return i(r,t),r}(H),S=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[0,1,"¥",!1,"NaN (非数値)","-∞",1,1,"+∞",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["〇","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["〇","壱","弐","参","四","伍","六","七","八","九"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十億",Trillions:"兆"}]);var e=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""];return O.call(r,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters","EraFilterDialogDateFormatter"],[["日","月","火","水","木","金","土"],e,e,"午前",!1,["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"西暦 (日本語)","午後","yyyy/MM/dd",["日","月","火","水","木","金","土"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月d日","yyyy年M月dd日","yyyy年MM月d日","yyyy年MM月dd日"],"ggge/mmmm/d日"]),r.DateTimeFormat.eras=!0,r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" "+r.DateTimeFormat.longTimePattern,r.mr=['gggee"年"MM"月"dd"日','gggee"年"M"月"d"日','ge"年"M"月"d"日','ggge"年"M"月"d"日','ggee"年"M"月"d"日','gge"年"M"月"d"日'],r.name=function(){return"ja-JP"},r.id=1041,r.displayName="Japanese (Japan)",r.isJCKCulture=!0,r.predefinedFormats={Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$¥-411]#,##0_);[Red]([$¥-411]#,##0)","[$¥-411]#,##0_);([$¥-411]#,##0)","[$¥-411]#,##0;[Red][$¥-411]#,##0","[$¥-411]#,##0;-[$¥-411]#,##0","[$¥-411]#,##0;[Red]-[$¥-411]#,##0"],Date:["yyyy/mm/dd","[$-411]dddd, mmmm dd, yyyy",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"yyyy/m/d;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@"],Time:["[$-411]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@",'h"時"mm"分";@','h"時"mm"分"ss"秒";@'],Special:{郵便番号:"[<=999]000;[<=9999]000-00;000-0000","電話番号(東京)":"[<=99999999]####-####;(00) ####-####","正負記号 (+ = △; - = ▲)":'"△" #,##0;"▲" #,##0',"漢数字(十二万三千四百)":"[DBNum1][$-411]General","大字 (壱拾弐萬参阡四百)":"[DBNum2][$-411]General","全角 (12345)":"[DBNum3][$-411]0","全角 桁区切り(12,345)":"[DBNum3][$-411]#,##0"},shortcut:{Number:"0.00",Currency:"[$¥-411]#,##0.00",Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',ShortDate:"yyyy/mm/dd",LongDate:"[$-411]dddd, mmmm dd, yyyy",Time:"[$-411]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},r.TimelineDateOrder=[a.year,a.quarterOrMonth,a.date],r.TimelineDateSuffix={year:"年",quarter:"",month:"月",date:"日"},r.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}","」","。","、","ー"],lineBreakingForbidEnd:["(","[","{","(","[","{","「","$","$","\\","¥"],lineBreakingStrategy:function(t,r){return w(t,r,p)}},r.equalCharacters=["―ゝゞ゠ヽヾー","㆐㆑㇤㇥","‸⁊",".․","&⁋","%⁏","$⁒","#⁗",'"⁍',"‹⁓"],r}return i(r,t),r}(H),N=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[2,"¥",!1,"非数字","负无穷大",1,1,"正无穷大",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["○","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","仟","佰","拾","亿","仟","佰","拾","万","仟","佰","拾",""],numbers:["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十亿",Trillions:"兆"}]);var e=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""];return O.call(r,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters"],[["周日","周一","周二","周三","周四","周五","周六"],e,e,"上午",!1,["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],1,"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"公历","下午","yyyy/M/d",["日","一","二","三","四","五","六"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月","M月d日","yyyy年M月d日","h时mm分","h时mm分ss秒"]]),r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" "+r.DateTimeFormat.longTimePattern,r.name=function(){return"zh-cn"},r.id=2052,r.displayName="Chinese (China)",r.isJCKCulture=!0,r.localeCompare=function(t,r){var e=t.localeCompare(r,"zh");return e<0&&t>="一"&&r<"一"||e>0&&r>="一"&&t<"一"?-e:e},r.predefinedFormats={Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ ',Currency:["[$¥-804]#,##0","[$¥-804]#,##0;[Red][$¥-804]#,##0","[$¥-804]#,##0;[$¥-804]-#,##0","[$¥-804]#,##0;[Red][$¥-804]-#,##0"],Date:["yyyy/m/d","[$-804]dddd, mmmm dd, yyyy","yyyy-mm-dd;@",'[DBNum1][$-804]yyyy"年"m"月"d"日";@','[DBNum1][$-804]yyyy"年"m"月";@','[DBNum1][$-804]m"月"d"日";@',"[$-409]yyyy/m/d h:mm AM/PM;@",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"mm/dd/yy;@","m/d/yy;@","yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-804]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@",'h"时"mm"分";@','h"时"mm"分"ss"秒";@','[$-804]上午/下午h"时"mm"分";@','[$-804]上午/下午h"时"mm"分"ss"秒";@','[DBNum1][$-804]h"时"mm"分";@','[DBNum1][$-804]上午/下午h"时"mm"分";@'],Special:{邮政编码:"000000",中文小写字母:"[DBNum1][$-804]General",中文大写字母:"[DBNum2][$-804]General"},shortcut:{Number:"0.00",Currency:"[$¥-804]#,##0.00",Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',ShortDate:"yyyy/m/d",LongDate:"[$-804]dddd, mmmm dd, yyyy",Time:"[$-804]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ '}},r.TimelineDateOrder=[a.year,a.quarterOrMonth,a.date],r.TimelineDateSuffix={year:"年",quarter:"",month:"",date:"日"},r.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}"],lineBreakingForbidEnd:["(","[","{","(","[","{"],lineBreakingStrategy:function(t,r){return w(t,r,p)}},r.normalizeDateTimeString=function(t){var r;if(f.Xt.Vr("^([0-9]{1,2}|[0-9]{4})年[0-9]{1,2}月$").test(t))return(r=t.split("年"))[1].replace("月","")+"/1/"+r[0];if(f.Xt.Vr("^[0-9]{1,2}月[0-9]{1,2}日$").test(t))return(r=t.split("月"))[0]+"/"+r[1].replace("日","")+"/"+m;if(f.Xt.Vr("^(上午|下午)?[0-9]{1,2}时[0-9]{1,2}分([0-9]{1,2}秒)?$").test(t)){var e=t.replace("时",":").replace("分",":").replace("秒","");return(e=e.endsWith(":")?e+"00":e).startsWith("上午")&&(e=e.replace("上午","")+" AM"),e.startsWith("下午")&&(e=e.replace("下午","")+" PM"),e}return t.includes("上午")||t.includes("下午")?t.replace("上午","am").replace("下午","pm"):null},r}return i(r,t),r.prototype.ur=function(){return[" "," "]},r}(H),P=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","dbNumber","standardDictionaryNumbers"],[0,1,"₩",!1,{1:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["零","壹","貳","參","四","伍","六","七","八","九"]},3:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","1","2","3","4","5","6","7","8","9"]},4:{letters:["조","천","백","십","억","천","백","십","만","천","백","십",""],numbers:["○","일","이","삼","사","오","육","칠","팔","구"]}},{Hundreds:"백",Thousands:"천",Millions:"백만",Billions:"10억",Trillions:"조"}]);var e=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""];return O.call(r,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter"],[["일","월","화","수","목","금","토"],e,e,"오전",!1,["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],1,"yyyy'년' M'월' d'일' dddd h:mm:ss","yyyy'년' M'월' d'일' dddd","h:mm:ss","M'월' d'일'",n,n,"서기","오후","yyyy-MM-dd",["일","월","화","수","목","금","토"],"tt h:mm","yyyy'년' M'월'","yyyy년/mmmm/d일"]),r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" "+r.DateTimeFormat.longTimePattern,r.name=function(){return"ko-kr"},r.id=1042,r.displayName="Korean (Korea)",r.isJCKCulture=!0,r.predefinedFormats={Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$₩-412]#,##0","[$₩-412]#,##0;[Red][$₩-412]#,##0","[$₩-412]#,##0;-[$₩-412]#,##0","[$₩-412]#,##0;[Red]-[$₩-412]#,##0"],Date:["yyyy-mm-dd",'yyyy"년" m"월" d"일" dddd',"yyyy-mm-dd;@",'yyyy"년" m"월" d"일";@','yy"年" m"月" d"日";@','yyyy"년" m"월";@','m"월" d"일";@',"yy-m-d;@","yy-m-d h:mm;@",'m"月"d"日";@',"[$-412]yy-m-d AM/PM h:mm;@","yy/m/d;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-412]h:mm:ss AM/PM","h:mm;@","h:mm:ss;@","[$-412]AM/PM h:mm;@","[$-412]AM/PM h:mm:ss;@","[$-409]h:mm AM/PM;@","[$-409]h:mm:ss AM/PM;@",'yyyy"-"m"-"d h:mm;@','[$-412]yyyy"-"m"-"d AM/PM h:mm;@','[$-409]yyyy"-"m"-"d h:mm AM/PM;@','h"시" mm"분";@','h"시" mm"분" ss"초";@','[$-412]AM/PM h"시" mm"분";@','[$-412]AM/PM h"시" mm"분" ss"초";@'],Special:{"우편 번호":"000-000","전화 번호 (국번 4자리)":"[<=999999]####-####;(0##) ####-####","전화 번호 (국번 3자리)":"[<=9999999]###-####;(0##) ###-####",주민등록번호:"000000-0000000","숫자(한자)":"[DBNum1][$-412]General","숫자(한자-갖은자)":"[DBNum2][$-412]General","숫자(한글)":"[DBNum4][$-412]General"},shortcut:{Number:"0.00",Currency:"[$₩-412]#,##0.00",Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',ShortDate:"yyyy-mm-dd",LongDate:'yyyy"년" m"월" d"일" dddd',Time:"[$-412]h:mm:ss AM/PM",Percentage:"0%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},r.TimelineDateOrder=[a.year,a.quarterOrMonth,a.date],r.TimelineDateSuffix={year:"년",quarter:"",month:"월",date:"일"},r}return i(r,t),r}(H),C={invariant:new H,"en-us":new k,"ja-jp":new S,"zh-cn":new N,"ko-kr":new P};function O(t,r,e){for(var n,i=0,a=r.length;i<a;i++)n=r[i],this[t][n]=e[i]}var x={},j=["lsru","lsde","ls1","ls2","ls3","ls4","ls5","ls6","ls7","ls8","ls9","ls10","ls11"],E=["wmk1","wmk2"],T=function(){function t(){this.te=1,this.re={}}return t.instance=function(){return this.Ut||(this.Ut=new this)},t.prototype.culture=function(r){if(0===arguments.length)return t.ee;var e,n,i;r&&t.ee!==r&&(t.ee=r.toLowerCase(),this.te++,e=t.ee,n=t.Ut.getCultureInfo(),"object"==typeof document&&("function"!=typeof CustomEvent?(i=document.createEvent("CustomEvent")).initCustomEvent("cultureChanged",!1,!1,void 0):i=new CustomEvent("cultureChanged",{}),i.cultureInfo=e,y.gcCultureInfo=e,y.gcCultureObj=n,document.dispatchEvent(i)))},t.prototype.addCultureInfo=function(t,r,e){if(r&&r instanceof H){var n=r.NumberFormat&&r.NumberFormat.numberDecimalSeparator,i=r.NumberFormat.arrayListSeparator,a=r.NumberFormat.arrayGroupSeparator;if(n===r.NumberFormat.listSeparator||a===i)throw new s.ResourceManager(s.SR).getResource().Exp_Separator;C[t.toLowerCase()]=r}if(e&&"object"==typeof e){var u=t.toLowerCase();x[u]=h(!0,{},e),this.te++}},t.prototype.getCultureInfoDict=function(){return C},t.prototype.getCultureInfo=function(r){if(0===arguments.length)return C[t.ee];"string"==typeof r&&(r=r.toLowerCase());var e=C,n=null;for(var i in e)if(i===r||void 0!==e[i].id&&e[i].id===r){n=e[i];break}return n},t.prototype.getLanguage=function(t){if("string"==typeof t){var r=t.toLowerCase();return x[r]}return null},t.prototype.getResources=function(t){var r=this.culture().toLowerCase();if(null==t&&(t=r),"string"==typeof t){var e=t.toLowerCase();if(this.re[e])return this.ne(this.re[e])}return null},t.prototype.ne=function(t){var r="PivotTables",e="ReportSheet",n="GanttSheet",i="DataChart",a="Sheets",u=h(!0,{},t);u[r]&&this.ie(u[r],E),u[e]&&this.ie(u[e],E),u[n]&&this.ie(u[n],E),u[i]&&this.ie(u[i],E),u[a]&&this.ie(u[a],j);var s=u.CalcEngine;return s&&(u.Functions=s.ae,u.TableFunctions=s.ue,delete s.ae,delete s.ue),u},t.prototype.ie=function(t,r){for(var e=0,n=r;e<n.length;e++){delete t[n[e]]}},t.prototype.se=function(t,r,e){var n=x[t.toLowerCase()];for(var i in r)if(!o.Vt.oe(j,i)){var a=this.fe(n,i,e);(null!==a&&"string"==typeof a&&"string"==typeof r[i]||null!==a&&"object"==typeof a&&!Array.isArray(a))&&(r[i]=a)}r.ae&&n.Functions&&this.ye(n.Functions,r.ae),r.ue&&n.TableFunctions&&h(!0,r.ue,n.TableFunctions)},t.prototype.fe=function(t,r,e){if(t.hasOwnProperty(r))return t[r];if(e&&(i=t[e])&&"object"==typeof i&&i.hasOwnProperty(r))return i[r];for(var n in t){var i;if((i=t[n])&&"object"==typeof i&&i.hasOwnProperty(r))return i[r]}return null},t.prototype.ye=function(t,r){for(var e in r)if(t.hasOwnProperty(e)){var n=r[e],i=t[e],a=n.parameters,u=i.parameters;for(var s in n.description=i.description,a)if(u.hasOwnProperty(s)){var o=u[s];"string"==typeof o&&(a[s].name=o)}}return{}},t.prototype.ce=function(r){var e=this.getCultureInfo(r);return e||(e=C[t.ee])||(e=new H),e},t.prototype.he=function(t,r){var e=(this.getCultureInfo(t)||this.getCultureInfo("en-US")).DateTimeFormat,n=e.filterDialogDateFormatter;return(r.indexOf("g")>=0||r.indexOf("e")>=0)&&(n=e.EraFilterDialogDateFormatter||n),n},t.ee="en-us",t}();r.CultureManager=T.instance()},561:function(t,r,e){var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),i(e(895),r)},566:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Error_InvalidRemoteConfigurationForUserFetching=r.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter=r.Error_FailedToFetchUsers=r.Error_RemoteConfigurationForUserFetchingNotProvided=r.GUEST_USER=void 0,r.GUEST_USER="Guest",r.Error_RemoteConfigurationForUserFetchingNotProvided="Remote configuration for user fetching is not provided.",r.Error_FailedToFetchUsers="Failed to fetch users: ",r.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter="GraphQL schema must be provided for graphql adapter.",r.Error_InvalidRemoteConfigurationForUserFetching="Invalid remote configuration for user fetching."},895:function(t,r,e){var n=this&&this.me||function(t,r,e,n){return new(e||(e=Promise))((function(i,a){function u(t){try{o(n.next(t))}catch(t){a(t)}}function s(t){try{o(n.throw(t))}catch(t){a(t)}}function o(t){var r;t.done?i(t.value):(r=t.value,r instanceof e?r:new e((function(t){t(r)}))).then(u,s)}o((n=n.apply(t,r||[])).next())}))},i=this&&this.Me||function(t,r){var e,n,i,a,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(o){return function(s){if(e)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(u=0)),u;)try{if(e=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,n=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(!((i=(i=u.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){u=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){u.label=s[1];break}if(6===s[0]&&u.label<i[1]){u.label=i[1],i=s;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(s);break}i[2]&&u.ops.pop(),u.trys.pop();continue}s=r.call(t,u)}catch(t){s=[6,t],n=0}finally{e=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,o])}}};Object.defineProperty(r,"t",{value:!0}),r.UserManager=r.UserManagerEvent=void 0;var a=e(566),u=e(818),s=e(479),o=e(534),f=e(305);o.tr.ar(u.SR.en,a);var y,c=new u.ResourceManager(u.SR),h=c.getResource.bind(c),m=o.tr.de,M=f.Vt.le,d=o.tr.ve,l=["#3B82F6","#10B981","#8B5CF6","#F59E0B","#EF4444","#06B6D4","#EC4899","#84CC16","#6366F1","#14B8A6","#F97316","#A855F7","#22C55E","#EAB308","#F43F5E","#0EA5E9","#D946EF","#65A30D","#DC2626","#7C3AED"];!function(t){t.CurrentUserChanged="CurrentUserChanged"}(y=r.UserManagerEvent||(r.UserManagerEvent={}));var v=function(){function t(t){var r={id:s.UUIDGenerator.secureUpperCaseUUID(),name:h().GUEST_USER,color:"#26A69A",be:!0};this.Fe=[r],this.ge=r.id,this.options=t,this.pe=0,this._e=new Map([[y.CurrentUserChanged,[]]])}return t.instance=function(){return this.Ut||(this.Ut=new this)},t.prototype.configure=function(t){this.options=t},t.prototype.De=function(t){for(var r=this.Fe,e=0;e<r.length;e++)if(r[e].id===t)return d(r[e])},t.prototype.we=function(t){var r;return n(this,void 0,void 0,(function(){var e;return i(this,(function(n){switch(n.label){case 0:return(null===(r=this.options)||void 0===r?void 0:r.get)?[4,this.options.get(t)]:[3,2];case 1:return(e=n.sent())&&this.He(e),[2,e];case 2:return[2]}}))}))},t.prototype.$e=function(t){t||(t=s.UUIDGenerator.secureUpperCaseUUID());var r=this.De(t);return r||(r={id:t,name:h().GUEST_USER}),this.He(r),r},t.prototype.ke=function(t){var r=this;Array.isArray(t)&&t.forEach((function(t){t&&!t.color&&(t.color=r.Se(t.id))}))},t.prototype.Ne=function(t){var r;return n(this,void 0,void 0,(function(){var e,n;return i(this,(function(i){switch(i.label){case 0:return(null===(r=(e=this).options)||void 0===r?void 0:r.search)?[4,e.options.search(t)]:[3,2];case 1:return n=i.sent(),e.ke(n),[2,n];case 2:return[2,[]]}}))}))},t.prototype.bind=function(t,r){this._e.has(t)||this._e.set(t,[]);var e=this._e.get(t);Array.isArray(e)&&e.push(r)},t.prototype.current=function(t){var r=this;if(m(t))return r.ge;if(r.ge!==t){var e=r.ge;r.ge=t,Promise.all([r.we(e),r.we(t)]).then((function(n){var i=n[0],a=n[1];i||(i=r.De(e))&&i.be&&(r.Fe=r.Fe.filter((function(t){return!t.be}))),r.Pe(i,a,e,t)})).catch((function(n){r.Pe(void 0,void 0,e,t)}))}return r.ge},t.prototype.Pe=function(t,r,e,n){t||(t=this.De(e)),r||(r=this.De(n)),this.Ce(y.CurrentUserChanged,{oldCurrentUser:t,newCurrentUser:r})},t.prototype.Oe=function(){return M(this.Fe)},t.prototype.unbind=function(t,r){if(this._e.has(t)){var e=this._e.get(t);if(!Array.isArray(e))return;r?e.splice(e.indexOf(r),1):e.splice(0)}},t.prototype.Ce=function(t,r){if(this._e.has(t)){var e=this._e.get(t);if(!Array.isArray(e))return;e.forEach((function(e){e(t,r)}))}},t.prototype.xe=function(t){t&&(this.ke(t),this.Fe=t||[])},t.prototype.je=function(){return M(this.Fe)},t.prototype.Ee=function(){var t,r=this.pe,e=(null===(t=this.options)||void 0===t?void 0:t.colorScheme)?this.options.colorScheme.length:l.length;return this.pe=(r+1)%e,r},t.prototype.Te=function(t){var r=0;if(!t||0===t.length)return r;for(var e=0;e<t.length;e++){r=(r<<5)-r+t.charCodeAt(e),r|=0}return Math.abs(r)},t.prototype.Ae=function(t){var r,e=(null===(r=this.options)||void 0===r?void 0:r.colorScheme)?this.options.colorScheme.length:l.length;return this.Te(t)%e},t.prototype.Se=function(t){var r,e=(null===(r=this.options)||void 0===r?void 0:r.colorScheme)||l;return t?e[this.Ae(t)]:e[this.Ee()]},t.prototype.He=function(t){for(var r=this.Fe,e=0;e<r.length;e++)if(r[e].id===t.id)return r[e]=t,void(t.color||(t.color=this.Se(t.id)));t.color||(t.color=this.Se(t.id)),r.push(t)},t.prototype.Re=function(t,r){var e={id:t||s.UUIDGenerator.secureUpperCaseUUID(),name:r||h().GUEST_USER};return this.He(e),e},t.prototype.Be=function(t){this.Fe=this.Fe.filter((function(r){return r.id!==t}))},t.prototype.Ie=function(){this._e.clear(),this.Fe=[],this.ge=""},t}();r.UserManager=v.instance()},305:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Vt=void 0;function e(t,r){for(var n in r)if(r.hasOwnProperty(n)){var i=r[n];Array.isArray(i)?(t[n]=[],e(t[n],r[n])):null!==i&&"object"==typeof i?(t[n]={},e(t[n],r[n])):t[n]=r[n]}}var n=function(){function t(){}return t.ze=function(t,r,e){t.splice(r,0,e)},t.He=function(t,r){t.push(r)},t.oe=function(t,r){return t.indexOf(r)>-1},t.Be=function(t,r){var e=t.indexOf(r);e>-1&&t.splice(e,1)},t.Ge=function(t,r){return t.slice(0,r).concat(t.slice(r+1))},t.Je=function(t,r,e){return t.indexOf(r,e)},t.Ue=function(t,r,e){if(!(r<0))for(var n=0;n<e&&r+n<t.length;n++)t[r+n]=null},t.qe=function(t,r){r<0&&(r=-1);for(var e=r+1;e<t.length;e++)if(void 0!==t[e]&&null!==t[e])return e;return-1},t.Ke=function(t){return t&&t.length},t.le=function(t){var r=[];return e(r,t),r},t}();r.Vt=n},395:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.rr=void 0;var n=e(844).Zt.We,i=Math.min,a=Math.max,u=Math.abs,s=parseInt;function o(t,r,e){return e<0&&(e+=240),e>240&&(e-=240),e<40?t+((r-t)*e+20)/40:e<120?r:e<160?t+((r-t)*(160-e)+20)/40:t}function f(t,r,e){var n,i,a;if(0===e)n=i=a=s(255*r/240+"",10);else{var u,o;n=y(u=2*r-(o=r<=120?s((r*(240+e)+120)/240+""):r+e-s((r*e+120)/240+"")),o,t+80),i=y(u,o,t),a=y(u,o,t-80)}return{a:255,r:n,g:i,b:a}}function y(t,r,e){return i(s((255*o(t,r,e)+120)/240+""),255)}var c={aliceblue:[240,248,255,255],antiquewhite:[250,235,215,255],aqua:[0,255,255,255],aquamarine:[127,255,212,255],azure:[240,255,255,255],beige:[245,245,220,255],bisque:[255,228,196,255],black:[0,0,0,255],blanchedalmond:[255,235,205,255],blue:[0,0,255,255],blueviolet:[138,43,226,255],brown:[165,42,42,255],burlywood:[222,184,135,255],cadetblue:[95,158,160,255],chartreuse:[127,255,0,255],chocolate:[210,105,30,255],coral:[255,127,80,255],cornflowerblue:[100,149,237,255],cornsilk:[255,248,220,255],crimson:[220,20,60,255],cyan:[0,255,255,255],darkblue:[0,0,139,255],darkcyan:[0,139,139,255],darkgoldenrod:[184,134,11,255],darkgray:[169,169,169,255],darkgreen:[0,100,0,255],darkgrey:[169,169,169,255],darkkhaki:[189,183,107,255],darkmagenta:[139,0,139,255],darkolivegreen:[85,107,47,255],darkorange:[255,140,0,255],darkorchid:[153,50,204,255],darkred:[139,0,0,255],darksalmon:[233,150,122,255],darkseagreen:[143,188,143,255],darkslateblue:[72,61,139,255],darkslategray:[47,79,79,255],darkslategrey:[47,79,79,255],darkturquoise:[0,206,209,255],darkviolet:[148,0,211,255],deeppink:[255,20,147,255],deepskyblue:[0,191,255,255],dimgray:[105,105,105,255],dimgrey:[105,105,105,255],dodgerblue:[30,144,255,255],firebrick:[178,34,34,255],floralwhite:[255,250,240,255],forestgreen:[34,139,34,255],fuchsia:[255,0,255,255],gainsboro:[220,220,220,255],ghostwhite:[248,248,255,255],gold:[255,215,0,255],goldenrod:[218,165,32,255],gray:[128,128,128,255],green:[0,128,0,255],greenyellow:[173,255,47,255],grey:[128,128,128,255],honeydew:[240,255,240,255],hotpink:[255,105,180,255],indianred:[205,92,92,255],indigo:[75,0,130,255],ivory:[255,255,240,255],khaki:[240,230,140,255],lavender:[230,230,250,255],lavenderblush:[255,240,245,255],lawngreen:[124,252,0,255],lemonchiffon:[255,250,205,255],lightblue:[173,216,230,255],lightcoral:[240,128,128,255],lightcyan:[224,255,255,255],lightgoldenrodyellow:[250,250,210,255],lightgray:[211,211,211,255],lightgreen:[144,238,144,255],lightgrey:[211,211,211,255],lightpink:[255,182,193,255],lightsalmon:[255,160,122,255],lightseagreen:[32,178,170,255],lightskyblue:[135,206,250,255],lightslategray:[119,136,153,255],lightslategrey:[119,136,153,255],lightsteelblue:[176,196,222,255],lightyellow:[255,255,224,255],lime:[0,255,0,255],limegreen:[50,205,50,255],linen:[250,240,230,255],magenta:[255,0,255,255],maroon:[128,0,0,255],mediumaquamarine:[102,205,170,255],mediumblue:[0,0,205,255],mediumorchid:[186,85,211,255],mediumpurple:[147,112,219,255],mediumseagreen:[60,179,113,255],mediumslateblue:[123,104,238,255],mediumspringgreen:[0,250,154,255],mediumturquoise:[72,209,204,255],mediumvioletred:[199,21,133,255],midnightblue:[25,25,112,255],mintcream:[245,255,250,255],mistyrose:[255,228,225,255],moccasin:[255,228,181,255],navajowhite:[255,222,173,255],navy:[0,0,128,255],oldlace:[253,245,230,255],olive:[128,128,0,255],olivedrab:[107,142,35,255],orange:[255,165,0,255],orangered:[255,69,0,255],orchid:[218,112,214,255],palegoldenrod:[238,232,170,255],palegreen:[152,251,152,255],paleturquoise:[175,238,238,255],palevioletred:[219,112,147,255],papayawhip:[255,239,213,255],peachpuff:[255,218,185,255],peru:[205,133,63,255],pink:[255,192,203,255],plum:[221,160,221,255],powderblue:[176,224,230,255],purple:[128,0,128,255],rebeccapurple:[102,51,153,255],red:[255,0,0,255],rosybrown:[188,143,143,255],royalblue:[65,105,225,255],saddlebrown:[139,69,19,255],salmon:[250,128,114,255],sandybrown:[244,164,96,255],seagreen:[46,139,87,255],seashell:[255,245,238,255],sienna:[160,82,45,255],silver:[192,192,192,255],skyblue:[135,206,235,255],slateblue:[106,90,205,255],slategray:[112,128,144,255],slategrey:[112,128,144,255],snow:[255,250,250,255],springgreen:[0,255,127,255],steelblue:[70,130,180,255],tan:[210,180,140,255],teal:[0,128,128,255],thistle:[216,191,216,255],tomato:[255,99,71,255],turquoise:[64,224,208,255],violet:[238,130,238,255],wheat:[245,222,179,255],white:[255,255,255,255],whitesmoke:[245,245,245,255],yellow:[255,255,0,255],yellowgreen:[154,205,50,255]},h=function(){function t(t){var r=t.r,e=t.g,n=t.b,u=a(a(r,e),n),o=i(i(r,e),n),f=u+o;this.Ye=s((240*f+255)/510+"",10);var y=u-o;if(0===y)this.Xe=0,this.Ze=160;else{this.Ye<=120?this.Xe=s((240*y+f/2)/f+"",10):this.Xe=s((240*y+(510-f)/2)/(510-f)+"",10);var c=(40*(u-r)+y/2)/y,h=(40*(u-e)+y/2)/y,m=(40*(u-n)+y/2)/y;this.Ze=s(r===u?m-h+"":e===u?80+c-m+"":160+h-c+"",10),this.Ze<0&&(this.Ze+=240),this.Ze>240&&(this.Ze-=240)}}return t.prototype.Qe=function(t){var r=this.Ye,e=this.Ve(this.Ye,500,!0);return f(this.Ze,r+(e-r)*t,this.Xe)},t.prototype.Ve=function(t,r,e){return 0===r?t:e?r>0?(t*(1e3-r)+241*r)/1e3:t*(r+1e3)/1e3:((t+=240*r/1e3)<0&&(t=0),t>240&&(t=240),t)},t}(),m=/rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})(?:,\s*(\.\d+|\d(?:\.\d+)?))?\)/;function M(t){if(/^#[A-Fa-f0-9]+$/.test(t)){var r=t.replace(/^#/,""),e=r.length,n="",i="";if(6===e||8===e)n=r.substr(0,6),8===e&&(i=r.substr(6,2));else if(3===e||4===e){var a=r.split(3===e?/(.)/:/(..)/);n=a.filter(Boolean).map((function(t){return parseInt(3===e?t+t:t,16)})).map((function(t){return t.toString(16).padStart(2,"0")})).join(""),4===e&&(i=a[3]+a[3])}return[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16),s=i?parseInt(i,16):255]}if(t.toLowerCase()in c)return c[t.toLowerCase()];var u=m.exec(t);if(null!==u){var s=void 0===u[4]?255:255*+u[4];return[u[1],u[2],u[3],s]}return null}var d=function(){function t(){}return t.tn=function(t){var r=t.a,e=t.r,i=t.g,a=t.b;return 3===arguments.length&&(r=255,e=arguments[0],i=arguments[1],a=arguments[2]),4===arguments.length&&(r=arguments[0],e=arguments[1],i=arguments[2],a=arguments[3]),255===r?"#"+n(e,!0,2)+n(i,!0,2)+n(a,!0,2):"rgba("+e+","+i+","+a+","+r+")"},t.rn=function(t,r){return t.stops||t.type?JSON.stringify(t)===JSON.stringify(r):t.a===r.a&&t.r===r.r&&t.g===r.g&&t.b===r.b},t.nn=function(t){return(299*t.r+587*t.g+114*t.b)/1e3},t.an=function(t,r){var e=255-u(t.r-r.r),n=255-u(t.g-r.g),i=255-u(t.b-r.b),a=u(t.a-r.a);return!!(((e/=255)+(n/=255)+(i/=255))/3>=.9&&a<=.05)},t.un=function(r){var e=255^r.r,n=255^r.g,i=255^r.b;return t.tn(r.a,e,n,i)},t.sn=function(r){if("object"!=typeof document)return M(r);var n=t.fn;if(n||(a=document.createElement("canvas"))&&a.getContext&&(n=t.fn=a.getContext("2d",{willReadFrequently:!0})),!n){var i=e(736);if(i&&i.createCanvas){var a=i.createCanvas(2,2);n=t.fn=a.getContext("2d")}if(!n)return M(r)}n.clearRect(1,1,1,1),n.fillStyle=r,n.fillRect(1,1,1,1);var u=n.getImageData(1,1,1,1);return u?u.data:null},t.yn=function(r){if(r instanceof t)return r;if(null!==r&&"object"==typeof r)return r;var e=0,n=0,i=0,a=0;if(r){var u=t.sn(r);u&&(n=u[0],i=u[1],a=u[2],e=u[3])}return{a:e,r:n,g:i,b:a}},t.cn=function(r,e){if(0===e)return r;var n=new h(r),i=s((e>0?(240-n.Ye)*e:n.Ye*e)+"",10);return t.hn(n.Ze,n.Ye+i,n.Xe)},t.Qe=function(r,e){var n=t.yn(r),i=new h(n).Qe(e);return t.tn(i)},t.mn=o,t.hn=f,t}();r.rr=d},818:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Mn=r.dn=r.ln=r.vn=r.bn=r.Fn=r.ResourceManager=r.SR=void 0;var n=e(286),i=e(612),a=e(534);r.SR={en:i};var u=a.tr.ar,s=function(){function t(t,r){this.res=t,this.gn=r,this.re=n.CultureManager.re,this.cachedResource=this.pn(t,!0),this._n(this.cachedResource,r),this.te=0}return t.prototype.getResource=function(){var t=this.pn(this.res,!this.cachedResource);return t&&(this.cachedResource=t),this._n(this.cachedResource,this.gn),this.cachedResource},t.prototype._n=function(t,r){if(r){var e=n.CultureManager.culture().toLowerCase();this.re[e]=this.re[e]||{},this.re[e][r]=t,n.CultureManager.re=this.re}},t.prototype.pn=function(t,r){var e=n.CultureManager.culture();if(t&&e){var i=n.CultureManager.te;if(this.te===i&&!r)return;if(this.te=i,n.CultureManager.getLanguage(e)){var a=u(!0,{},t.en);return n.CultureManager.se(e,a,this.gn),a}var s=e.substr(0,2).toLowerCase();return t.hasOwnProperty(s)?t[s]:t.en}return{}},t}();r.ResourceManager=s,r.Fn=function(t,r,e,n){if(t&&0<=e&&e<r){var i,a=[],u=void 0;for(u=e;u<r;u++)void 0!==t[u]&&a.push(u);for(i=a.length,u=0;u<i;u++){var s=a[i-u-1],o=t[s];t[s]=null,t[Math.floor(s)+n]=o}}},r.bn=function(t,r,e,n){if(t&&0<=r){for(var i,a=[],u=void 0,s=0,o=Array.from(t.keys());s<o.length;s++){(f=o[s])>=r&&a.push(f)}for(a.sort((function(t,r){return t-r})),i=a.length,u=0;u<i;u++){var f=a[i-u-1],y=t.get(f);t.delete(f);var c=f+e;t.set(c,y),n&&n(y,c)}}},r.vn=function(t,r,e,n){if(t&&0<=e&&e<r){var i,a=[],u=e+n,s=void 0;for(s=e;s<r;s++)void 0!==t[s]&&(e<=s&&s<u?t[s]=null:s>=u&&a.push(s));for(i=a.length,s=0;s<i;s++){var o=a[s],f=t[o];t[o]=null,t[Math.floor(o)-n]=f}}},r.ln=function(t,r,e,n){if(t&&0<=r){for(var i,a=[],u=r+e,s=void 0,o=0,f=Array.from(t.keys());o<f.length;o++){var y=f[o];t.has(y)&&(r<=y&&y<u?(n&&n(t.get(y),-1),t.delete(y)):y>=u&&a.push(y))}for(a.sort((function(t,r){return t-r})),i=a.length,s=0;s<i;s++){y=a[s];var c=t.get(y);t.delete(y);var h=y-e;t.set(h,c),n&&n(c,h)}}},r.dn=function(t,r){return t.hasOwnProperty(r)},r.Mn=function(t,r){return t instanceof r}},97:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Qt=r.getSR=void 0;var n=e(818),i=e(480),a=e(305),u=e(286),s=e(534).tr.de,o=i.Yt.Dn,f=parseInt,y=!1,c=Math.floor,h=Math.abs,m=new n.ResourceManager(n.SR,"Common");r.getSR=m.getResource.bind(m);var M={};function d(t,e,i,a){var s=i.DateTimeFormat,f=s.Calendar.convert;if(!e||!e.length)return i&&i.name.length?f?d(t,s.fullDateTimePattern,i):t.toLocaleString():t.toString();var y,m,M,v=s.eras,b="",F=/([^d]|^)(d|dd)([^d]|$)/g;function g(){return m||M||(m=F.test(e),M=!0),m}var p,_=0,D=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;function w(t,r){return p?p[r]:function(t,r){if(n.HandleExcelSpecialDate)return n.HandleExcelSpecialDate.call(null,t,r);switch(r){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();default:return}}(t,r)}"s"!==e&&f&&(p=f.fromGregorian(t));for(var H=-2,$=-2,k={wn:""},S=0;;S++){var N=D.lastIndex,P=D.exec(e),C=e.slice(N,P?P.index:e.length);if(k.wn="",_+=l(C,k),b+=k.wn,!P)break;if(_%2!=1){var O=w(t,0),x=t.getDay(),j=t.getHours(),E=t.getMinutes(),T=t.getSeconds(),A=t.getMilliseconds(),R=t.getTimezoneOffset();switch(P[0]){case"dddd":b+=s.dayNames[x];break;case"ddd":b+=s.abbreviatedDayNames[x];break;case"dd":m=!0,b+=o(w(t,2),2);break;case"d":m=!0,b+=w(t,2);break;case"MMMM":b+=s.monthGenitiveNames&&g()?s.monthGenitiveNames[w(t,1)]:s.monthNames[w(t,1)];break;case"MMM":b+=s.abbreviatedMonthGenitiveNames&&g()?s.abbreviatedMonthGenitiveNames[w(t,1)]:s.abbreviatedMonthNames[w(t,1)];break;case"MM":b+=o(w(t,1)+1,2);break;case"M":b+=w(t,1)+1;break;case"yyyy":case"yyy":b+=H>=0?u.nr.Yr("ee",t,a):o(p?p[0]:O,4);break;case"yy":b+=H>=0?u.nr.Yr("ee",t,a):o((p?p[0]:O)%100,2);break;case"y":b+=H>=0?u.nr.Yr("e",t,a):""+(p?p[0]:O)%100;break;case"hh":0==(y=j%12)&&(y=12),b+=o(y,2);break;case"h":0==(y=j%12)&&(y=12),b+=y;break;case"HH":b+=o(j,2);break;case"H":b+=j.toString();break;case"mm":b+=o(E,2);break;case"m":b+=E.toString();break;case"ss":b+=o(T,2);break;case"s":b+=T.toString();break;case"tt":b+=j<12?s.amDesignator:s.pmDesignator;break;case"t":b+=(j<12?s.amDesignator:s.pmDesignator).charAt(0);break;case"f":case"0":b+=o(A,3).charAt(0);break;case"ff":case"00":b+=o(A,3).substr(0,2);break;case"fff":case"000":b+=o(A,3);break;case"z":b+=((y=R/60)<=0?"+":"-")+c(h(y));break;case"zz":b+=((y=R/60)<=0?"+":"-")+o(c(h(y)),2);break;case"zzz":b+=((y=R/60)<=0?"+":"-")+o(c(h(y)),2)+":"+o(h(R%60),2);break;case"g":case"gg":case"ggg":if(!v)break;if(H===S-1){H=S;break}b+=u.nr.Yr(P[0],t,a),H=S;break;case"e":case"ee":if(!v){b+=o(p?p[0]:O,4);break}if($===S-1){$=S;break}b+=u.nr.Yr(P[0],t,a),$=S;break;case"/":b+=s.dateSeparator;break;default:if(!/\[(H+|h+|m+|s+)\]/.test(P[0]))throw Error((0,r.getSR)().Exp_InvalidDateFormat);b+=P[0]}}else b+=P[0]}return b.toString()}function l(t,r){for(var e=0,n=y,i=0,a=t.length;i<a;i++){var u=t.charAt(i);switch(u){case'"':n?r.wn+="'":e++,n=y;break;case"\\":n&&(r.wn+="\\"),n=!n;break;default:r.wn+=u,n=y}}return e}function v(t,r){var e=new Date;if(t.DateTimeFormat.eras&&r<100){var n=u.nr.Jr(e).Lr;(r+=n-n%100)>t.DateTimeFormat.Calendar.TwoDigitYearMax&&(r-=100)}return r}function b(t){var r=t.getTimezoneOffset();return-485===r&&(r=-485-43/60),-321===r&&(r=-321-10/60),-507===r&&(r=-507-52/60),-402===r&&(r=-402-4/60),r}var F=function(){function t(){}return t.Hn=function(t,r,e,n){return e||(e=u.CultureManager.ce()),d(t,r,e,n)},t.$n=function(t,r,e){return d(t,r,e||u.CultureManager.ce())},t.Sn=function(r,e,n){var i,a,u,s,o,f=y;for((o=n).slice(1).forEach((function(t){t&&(f=!0)})),f||(o=o.concat(e.cr())),a=o.length,i=1;i<a;i++)if((s=o[i])&&(f=!0,u=t.Nn(r,s,e)))return u;return null},t.Pn=function(r,e,n){var i,a;return e||n||void 0===(a=M[r])?(i=e?[r,e]:[r],a=t.Sn(r,n||u.CultureManager.ce(),i),e||n||(M[r]=a),a?new Date(a):a):a?new Date(a):a},t.Cn=function(r,e){return t.Sn(r,u.CultureManager.ce("invariant"),[r,e])},t.Nn=function(t,e,n){t=t.trim();var s=n.DateTimeFormat,o=1041===n.id,c=function(t,e,n){if(t.On){if(t.On[e])return t.On[e]}else t.On={};var i=e;i=(i=i.replace("%M","M")).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1");for(var u,s="^",o={wn:""},f=[],y=0,c=0,h=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;null!==(u=h.exec(i));){o.wn="";var m=i.slice(y,u.index);if(y=h.lastIndex,c+=l(m,o),s+=o.wn,c%2!=1){switch(u[0]){case"dddd":case"ddd":case"MMMM":case"MMM":case"gggg":case"ggg":case"gg":case"g":s+="(\\D+)";break;case"tt":case"t":s+="(\\D*)";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":s+="(\\d\\d?\\d?)";break;case"eee":case"ee":case"e":s+=n?"(\\u5143|\\d\\d?)":"(\\d\\d?)";break;case"yyy":case"yyyy":s+="(\\d{2}|\\d{4})";break;case"fff":case"000":s+="(\\d{3})";break;case"ff":case"00":s+="(\\d{2})";break;case"f":case"0":s+="(\\d)";break;case"zzz":s+="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":s+="([+-]?\\d\\d?)";break;case"/":s+="/"===t.dateSeparator?"(\\/)":"([\\/\\"+t.dateSeparator+"])";break;default:throw Error((0,r.getSR)().Exp_InvalidDateFormat)}a.Vt.He(f,u[0])}else s+=u[0]}o.wn="",l(i.slice(y),o),s+=o.wn;var M=(s+="$").toString().replace(/\s+/g,"\\s+"),d={xn:M,jn:f,En:RegExp(M)};return t.On[e]=d,d}(s,e,o),h=c.En.exec(t);if(null===h)return null;for(var m,M=c.jn,d=null,b=null,F=null,g=null,p=null,_=0,D=0,w=0,H=0,$=null,k=y,S=y,N=0,P=M.length;N<P;N++){var C=h[N+1];if(C)switch(M[N]){case"dd":case"d":if((g=f(C,10))<1||g>31)return null;break;case"MMMM":if((F=n.Mr(C))<0||F>11)return null;break;case"MMM":if((F=n.vr(C))<0||F>11)return null;break;case"M":case"MM":case"%M":if((F=f(C,10)-1)<0||F>11)return null;break;case"e":case"ee":if((b=o&&"元"===C?1:v(n,f(C,10)))<0||b>9999)return null;break;case"y":case"yy":case"yyy":case"yyyy":if((b=f(C,10))<0||b>9999)return null;break;case"h":case"hh":case"H":case"HH":if((_=f(C,10))<0)return null;break;case"m":case"mm":if((D=f(C,10))<0||D>59)return null;break;case"s":case"ss":if((w=f(C,10))<0||w>59)return null;break;case"tt":case"t":var O=C.toUpperCase();if(k=O===s.pmDesignator.toUpperCase(),S=O===s.amDesignator.toUpperCase(),!k&&!S)return null;break;case"f":case"0":if((H=100*f(C,10))<0||H>999)return null;break;case"ff":case"00":if((H=10*f(C,10))<0||H>999)return null;break;case"fff":case"000":if((H=f(C,10))<0||H>999)return null;break;case"dddd":if((p=n.gr(C))<0||p>6)return null;break;case"ddd":if((p=n._r(C))<0||p>6)return null;break;case"zzz":var x=C.split(/:/);if(2!==x.length)return null;if((m=f(x[0],10))<-12||m>13)return null;var j=f(x[1],10);if(j<0||j>59)return null;$=60*m+(i.Yt.Tn(C,"-")?-j:j);break;case"z":case"zz":if((m=f(C,10))<-12||m>13)return null;$=60*m;break;case"g":case"gg":case"ggg":var E=C;if(!E||!s.eras)return null;if((d=u.nr.Wr(M[N],E))<0)return null}}var T,A=/^(\d|\d\d|\d\d\d):/.test(t),R=A?new Date(1899,11,30):new Date,B=s.Calendar.convert;if(B&&(T=B.fromGregorian(R)),B||(T=[R.getFullYear(),R.getMonth(),R.getDate()]),null===b?b=T[0]:b<100&&(s.eras&&null!==d?b=u.nr.Kr(d||0,b):b+=b>=30?1900:2e3),null===F&&(F=T[1]),null===g&&(g=A?T[2]:1),B){if(null===(R=B.toGregorian(b,F,g)))return null}else{if(R.setFullYear(b,F,g),R.getDate()!==g)return null;if(null!==p&&R.getDay()!==p)return null}if(k&&_<12?_+=12:S&&12===_&&(_=0),R.setHours(_,D,w,H),null!==$){var I=R.getMinutes()-($+R.getTimezoneOffset());R.setHours(R.getHours()+I/60,I%60)}return R},t.An=function(t){var r=b(new Date(864e5*(t-25569))),e=Math.round(864e5*(t-25569+r/1440)),n=new Date(e),i=r>=0?1:-1,a=b(new Date(e+36e5*i));if(h(r-a)>=60){var u=new Date(e+60*(a-r)*1e3);if(r>a){if(-1===i||a===b(n))return u}else if(r<a&&(1===i||a===b(n)))return u}return n},t.Rn=function(r){if("/OADate("===r.substr(0,8)){var e=parseFloat(r.substr(8,r.length-10));return t.An(e)}},t.Bn=function(r){return"/OADate("+t.In(r)+")/"},t.In=function(t){if(s(t))return 0;if("number"!=typeof t&&"string"!=typeof t||(t=new Date(t)),t instanceof Date){var r=b(t);return(1440*t.getTime()+3181192704e6-864e5*r)/124416e6}return 0},t.zn=function(e){var n=null,i=!0;if(s(e))n=t.An(0);else if(e instanceof Date)n=new Date(e.valueOf());else if("string"==typeof e){var a=t.Pn(e);if(!a)if(isNaN(e))if(t.Gn(e))i=y;else{isNaN((a=new Date(e)).valueOf())&&(i=y);var u=/^[-+=\s]*(\d+)\W+(\d+)\W+(\d+)$/.exec(e.replace(/ |\n/g,"").trim());u&&4===u.length&&(-1!==u.indexOf(a.getFullYear().toString())&&-1!==u.indexOf(""+(a.getMonth()+1))&&-1!==u.indexOf(a.getDate().toString())||(i=y))}else(a=t.An(parseFloat(e)))||(i=y);n=a}else"number"==typeof e?n=t.An(e):i=y;if(i)return n;throw(0,r.getSR)().Exp_InvalidCast},t.Gn=function(r){var e,n,i=u.CultureManager.ce().DateTimeFormat,a=t.Jn,s=function(t,r){var e=0;return r.forEach((function(r){r&&t.indexOf(r)>-1&&e++})),e>1};return s(r,i.monthNames)||s(r,i.abbreviatedMonthNames)||s(r,i.dayNames)||s(r,i.abbreviatedDayNames)||function(t,r){if(t&&t.indexOf(" ")>-1){var e=t.split(" "),n=e.length;return n>=2&&r.indexOf(e[n-2])<=-1&&!isNaN(e[n-1])}return!1}(r,i.monthNames.concat(i.abbreviatedMonthNames))||(e=r,n=!1,a.forEach((function(t){e.indexOf(t)>-1&&(n=!0)})),n)},t.Un=function(t){return t&&(t.constructor===Date||t.getUTCDate&&t.setFullYear)},t.Jn=["@","#","!","`","^","$","*","(",")","&"],t}();r.Qt=F},646:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Ln=r.qn=void 0;var n=e(844),i=isNaN,a="rowCount",u="colCount";function s(t){return t}function o(t,r,e,s,o,f,y,c,h,m,M){var d,l,v,b,F,g,p,_,D,w,H,$,k,S,N,P,C=e[a],O=e[u],x=r[a],j=r[u],E=s[a],T=s[u],A=1===O,R=1===j;if(x===C&&j===O){var B=0,I=0,z=0,G=0;for(p=C*O,d=0;d<C;d++)for(l=0;l<O;l++){if(b=f(e[d][l]),F=f(r[d][l]),t&&(i(b)||i(F)))return h;B+=b,I+=b*b,z+=F=m(F),G+=b*F}var J=p*G-B*z;_=o?(z*I-B*G)/(p*I-B*B):0;var U=(g=o?J/(p*I-B*B):G/I).toString();for((U.indexOf("000000000000")>1||U.indexOf("999999999999")>1)&&(g=n.Zt.Kn(g,12),_=n.Zt.Kn(_,12)),D=[],d=0;d<E;d++)for(D[d]=[],l=0;l<T;l++){if(b=f(s[d][l]),t&&i(b))return h;D[d][l]=0===J?r[0][0]:M(n.Zt.Wn(g*b,_))}return y?new y(D):D}if(R&&x===C||1===x&&j===O){for(b=[],F=[],N=O+1,P=O+2,d=0;d<C;d++){if(_=f(H=R?r[d][0]:r[0][d]),t&&i(_))return h;F[d]=A?m(_):_}for(d=0;d<C;d++)for(b[d]=[],l=0;l<O;l++){if(_=f(e[d][l]),t&&i(_))return h;b[d][l]=_}var L=[];for(g=0;g<N;g++)for(L[g]=[],p=0;p<P;p++)L[g][p]=0;for(v=0;v<C;v++)for(L[0][N]+=F[v],d=0;d<O;d++)for(H=d+1,L[0][H]+=b[v][d],L[H][0]=L[0][H],L[H][N]+=b[v][d]*F[v],l=d;l<O;l++)L[k=l+1][H]+=b[v][d]*b[v][l],L[H][k]=L[k][H];L[0][0]=C;var q=o?0:1;for(w=q;w<N;w++){if(t){if(0===L[w][w]){for(S=!1,l=w+1;!S&&l<N;l++)if(0!==L[l][w]){for(v=0;v<P;v++)k=L[w][v],L[w][v]=L[l][v],L[l][v]=k;S=!0}if(!S)return c}}else{for(d=w;d<N&&0===L[d][w];)d++;if(d>=N)return c;for($=q;$<P;$++)H=L[w][$],L[w][$]=L[d][$],L[d][$]=H}for(H=1/L[w][w],$=q;$<P;$++)L[w][$]*=H;for(d=q;d<N;d++)if(d!==w)for(H=-L[d][w],$=0;$<P;$++)L[d][$]+=H*L[w][$];o||(L[0][N]=0)}for(D=[],R||(D[0]=[]),d=0;d<E;d++){for(R&&(D[d]=[]),H=L[0][N],l=0;l<O;l++){if(_=f(R?s[d][l]:s[l][d]),t&&i(_))return h;H+=L[l+1][N]*_}R?D[d][0]=M(H):D[0][d]=M(H)}return y?new y(D):D}return c}r.qn=function(t,r,e,n,i,a,u,f){return o(!0,t,r,e,n,i,a,f,u,s,s)},r.Ln=function(t,r,e,n,i,f,y){var c,h;for(c=0;c<t[a];c++)for(h=0;h<t[u];h++)if(t[c][h]<=0)return f;return o(!1,t,r,e,n,s,i,y,null,Math.log,Math.exp)}},844:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Zt=void 0;var n=e(818),i=e(534),a=e(576),u=e(480),s=e(286),o=i.tr.de,f=u.Yt.Dn,y=u.Yt.Yn,c=null,h=void 0,m=parseInt,M=parseFloat,d=!1,l=!0,v=Math.floor,b=Math.abs,F=Math.pow,g=Math.min,p=Number.MAX_VALUE,_=function(t,r,e){return t.substr(r,e)},D=function(t){return a.Xt.Vr(t)},w=new n.ResourceManager(n.SR),H=w.getResource.bind(w),$="##################0",k="################",S={1:"+",0:"","-1":"-"},N=["0","#","?"],P={"¤":"¤",Br:"Br",Fdj:"Fdj",Nfk:"Nfk",R:"R",$:"$",FCFA:"FCFA","GH₵":"GH₵",ብር:"ብር","ر.س.‏":"ر.س.‏",XDR:"XDR","د.إ.‏":"د.إ.‏","د.ب.‏":"د.ب.‏","د.ج.‏":"د.ج.‏","ج.م.‏":"ج.م.‏","₪":"₪","د.ع.‏":"د.ع.‏","د.ا.‏":"د.ا.‏","ف.ج.ق.‏":"ف.ج.ق.‏","د.ك.‏":"د.ك.‏","ل.ل.‏":"ل.ل.‏","د.ل.‏":"د.ل.‏","د.م.‏":"د.م.‏","أ.م.‏":"أ.م.‏","ر.ع.‏":"ر.ع.‏","ر.ق.‏":"ر.ق.‏","ج.س.":"ج.س.",S:"S","£":"£","ل.س.‏":"ل.س.‏","د.ت.‏":"د.ت.‏","ر.ي.‏":"ر.ي.‏","₹":"₹",TSh:"TSh","€":"€","₼":"₼","₽":"₽",K:"K","лв.":"лв.","₦":"₦",CFA:"CFA","৳":"৳","¥":"¥",KM:"KM",КМ:"КМ",USh:"USh",Kč:"Kč","kr.":"kr.",Ksh:"Ksh",CHF:"CHF","ރ.":"ރ.","Nu.":"Nu.",EC$:"EC$",P:"P",US$:"US$",D:"D",Rp:"Rp",Ar:"Ar",MOP$:"MOP$",Rs:"Rs",MK:"MK",RM:"RM","₱":"₱",RF:"RF",SR:"SR",SDG:"SDG",Le:"Le","NAf.":"NAf.",E:"E",T$:"T$",VT:"VT",WS$:"WS$",Bs:"Bs","₡":"₡",Q:"Q",L:"L",C$:"C$","B/.":"B/.","S/.":"S/.","₲":"₲","Bs.":"Bs.",ريال:"ريال",FG:"FG",UM:"UM",kr:"kr",FBu:"FBu",FC:"FC",DA:"DA",G:"G",CF:"CF",DH:"DH",FCFP:"FCFP",LS:"LS",DT:"DT",kn:"kn",HUF:"HUF","֏":"֏",ISK:"ISK","₾":"₾","​":"​","₸":"₸","៛":"៛","₩":"₩",сом:"сом",Kz:"Kz","₭":"₭",MTn:"MTn",ден:"ден","₮":"₮",रु:"रु","Afl.":"Afl.","ߖߕ.":"ߖߕ.","руб.":"руб.",zł:"zł","؋":"؋",R$:"R$",Db:"Db",RON:"RON","₴":"₴",MAD:"MAD","රු.":"රු.",Lekë:"Lekë",den:"den",RSD:"RSD","дин.":"дин.","ܠ.ܣ.‏":"ܠ.ܣ.‏","Rs.":"Rs.",смн:"смн","฿":"฿","m.":"m.","₺":"₺",ⴷⵔ:"ⴷⵔ",soʻm:"soʻm",сўм:"сўм","₫":"₫",HK$:"HK$",MOP:"MOP",NT$:"NT$"};function C(t,r,e,n){return r&&0!==r.length&&"i"!==r?function(t,r,e,n){return I(t,j(r),e,n)}(t,r,e.NumberFormat,n):e&&e.name.length>0?t.toLocaleString():t.toString()}function O(t,r){for(var e=v(b(t)),n={Xn:1,Zn:0};e>=10&&Number.isFinite(e);)e/=10,n.Xn++;var i,a=t.toString(),u=a.search(/e/gi),s=a.indexOf(r);if(-1!==u){var o=_(a,0,u),f=_(a,u+1),y=0;-1!==s&&(y=_(o,s+1).length),(i=y-M(f))<0&&(i=0),n.Zn=i}else i=0,-1!==s&&(i=_(a,s+1).length),n.Zn=i;return n}function x(t){for(var r={Qn:t.charAt(0),Vn:0,En:0},e="",n=1;n<t.length;n++)if("+"===(e=t.charAt(n)))r.Vn=1;else{if("-"!==e){if("0"===e){r.En=t.length-n;break}throw Error(H().Exp_InvalidExponentFormat)}r.Vn=-1}return r}function j(t){for(var r,e={ti:c,ri:c,ei:d,ni:0,ii:0,ai:0,ui:c},n="",i=d,a=d,u=d,s=d,o=d,f=d,y=c,h=[],m=0;m<t.length;m++){if(r=t.charAt(m),i)n+=r,'"'===r&&(h.push(n),n="",i=d);else if(a){if("E"===y||"e"===y){if(!(["+","-","0"].indexOf(r)>=0)){a=d,m--;continue}n+=r}else if("+"===y||"-"===y){if("0"!==r){a=d,m--;continue}n+=r}else if("0"===y){if("0"!==r){a=d,o||(o=l,e.ui=x(n)),m--;continue}n+=r}}else if("*"!==y&&"_"!==y&&"\\"!==y||""===n)if("*"===r||"_"===r||"\\"===r)f=d,""!==n&&(h.push(n),n=""),n+=r;else if("'"===r)f=d,""!==n&&(h.push(n),n=""),h.push(r);else if('"'===r)f=d,i=l,""!==n&&(h.push(n),n=""),n+=r;else if(N.indexOf(r)>=0)f=l,N.indexOf(y)<0&&""!==n&&(h.push(n),n=""),n+=r;else if("."!==r||u)if("%"===r)f=d,e.ii++,""!==n&&(h.push(n),n=""),h.push(r);else if("‰"===r)f=d,e.ai++,""!==n&&(h.push(n),n=""),h.push(r);else if(","===r)if(f){var M=void 0;""!==n&&(h.push(n),n="");for(var v=l,b="",F=m+1;F<t.length;F++)if(M=t.charAt(F),'"'!==b)if("\\"!==b&&"_"!==b){if(N.indexOf(M)>=0){v=d;break}if("."===M||";"===M)break;b=M}else b="";else'"'===M&&(b="");v?e.ni++:u||(M=t.charAt(m+1))&&N.indexOf(M)>=0&&(s=l)}else n+=r;else"E"===r||"e"===r?(f=d,a=l,""!==n&&(h.push(n),n=""),n+=r):(f=d,N.indexOf(y)>=0&&""!==n&&(h.push(n),n=""),n+=r);else""!==n&&(h.push(n),n=""),e.ti=h,h=[],u=l,f=d;else n+=r,h.push(n),n="";y=r}return""!==n&&(a&&!o&&(e.ui=x(n)),h.push(n)),s&&(e.ei=l),u?e.ri=h:e.ti=h,e}function E(t,r,e,n,i,a){var u=function(t,r){if(r=+r,isNaN(t=+t)||r%1!=0)return NaN;var e=t<0;if(t=e?-t:t,typeof r===h||0===r)return t=Math.round(t),e?-t:t;var n=t.toString().split("e");return t=Math.round(+(n[0]+"e"+(n[1]?+n[1]-r:-r))),+((n=(t=e?-t:t).toString().split("e"))[0]+"e"+(n[1]?+n[1]+r:r))}(t,-r);isFinite(u)||(u=t);var s,o,c=(t=u).toString(),M=c.split(/e/i);return c=M[0],o=M.length>1?m(M[1],10):0,M=c.split("."),c=M[0],s=M.length>1?M[1]:"",o>0?(c+=(s=y(s,o)).slice(0,o),s=_(s,o)):o<0&&(o=-o,s=(c=t<0?a+f(c.replace(a,""),o+1):f(c,o+1)).slice(-o,c.length)+s,c=c.slice(0,-o)),c+(r>0?i+(s=s.length>r?s.slice(0,r):y(s,r)):"")}function T(t){var r=c;if(t){r="";for(var e=0;e<t.length;e++){var n=t[e];/^(0|#|\?)+/g.test(n)&&(r+=n)}}return r}var A=Math.pow(2,48);function R(t,r){return t===r||0!==t&&0!==r&&(b(t-r)<b(t)/A||(t=U(t,15),r=U(r,15),b(t-r)<b(t)/A))}function B(t,r,e,n,i,a,u,s){var o=s.numberGroupSizes,y=s.numberGroupSeparator,c=s.negativeSign,h=s.percentSymbol,m=s.perMilleSymbol,M=n.ui,v=_(r,0,1);v===c&&(r=_(r,1));var b=1===r.length&&"0"===r?0:r.length;r=0===b?"":r;for(var F=0,g="",p=t.length-1;p>=0;p--){var D="",w=t[p];if(/^(0|#|\?)+/g.test(w)){if(g!==e){for(var $=w.length,k=b-F-1;k>=0&&$>0;k--){D=r.charAt(k)+D,$--,F++}for(var N=$-1;N>=0;N--){var C=w[N];F++,"0"===C?D=C+D:"?"===C&&(""!==D&&(a.push({type:"number",value:D}),D=""),a.push({type:"numberPlaceholder",value:C}))}(g=w+g)===e&&F<b&&(D=r.substr(0,b-F)+D),""!==D&&a.push({type:"number",value:D})}}else if(n.ui&&!u.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(w)){u.replaceExponent=l;var O="";O+=M.Qn,O+=S[M.Vn],O+=f(i.toString(),M.En),a.push({type:"exponent",value:O})}else"_"===w[0]?a.push({type:"placeholder",value:w[1]}):"*"===w[0]?u.hasInfilling||(a.push({type:"fillingChar",value:w[1]}),u.hasInfilling=!0,u.infillIndex=a.length-1):"\\"===w[0]?2===w.length&&a.push({type:"text",value:w[1]}):'"'===w[0]&&'"'===w[w.length-1]?w.length>2&&a.push({type:"text",value:w.substr(1,w.length-2)}):w===h?a.push({type:"percent",value:w}):w===m?a.push({type:"permille",value:w}):P[w]?a.push({type:"currency",value:w}):a.push({type:"text",value:w})}v===c&&e&&a.push({type:"text",value:v}),n.ei===l&&function(t,r,e,n){for(var i=r[0],a=1,u=0,s=d,o=t.length,f=0;f<o;f++){var y=t[f].type;if("number"===y){for(var c="",h=t[f].value,m=h.length-1;m>=0;){if(!(1<=i&&i<=9||0===i&&a===r.length))throw Error(H().Exp_InvalidNumberGroupSize);/\d/gi.test(h[m])?(s&&(c&&t.push({type:"number",value:c}),t.push({type:"groupSeparator",value:e}),c="",s=d),u++):u=0,c=h[m]+c,u===i&&i>0&&(s=l,u=0,a<r.length&&(i=r[a],a++)),m--}c&&t.push({type:y,value:c})}else"fillingChar"===y&&(n.infillIndex=t.length-o),t.push({type:y,value:t[f].value})}t.splice(0,o)}(a,o,y,u),a.reverse(),u.infillIndex=a.length-1-u.infillIndex}function I(t,r,e,n){var i=[];t=function(t,r,e,n){var i=t;return r>0&&(i=U(i*F(100,r),15)),e>0&&(i=U(i*F(1e3,e),15)),n>0&&(i=U(i/F(1e3,n),15)),i}(t,r.ii,r.ai,r.ni);var a=r.ti,u=r.ri;if(!a&&!u)return i;var s,o=T(a),y=T(u);if(y||(y=""),r.ui){var c=function(t,r,e){var n={value:t,exponentValue:0},i=O(t,".").Xn,a=b(t),u=e?e.length:1;if(a>=1)i>u?(i-=u,n.value=t/F(10,i),n.exponentValue=i):n.exponentValue=0,-1===r.Vn&&(r.Vn=0);else if(a<1&&a>0){r.Vn=-1;for(var s=F(10,u);10*a<s&&!R(10*a,s);)a*=10,n.exponentValue++;var o=F(10,n.exponentValue);n.value*=o>p?0:o}return n}(t,r.ui,o);t=c.value,s=c.exponentValue}var h=O(t,".");b(t)>1&&h.Xn+h.Zn>15&&(t=U(t,15));e.numberGroupSizes,e.numberGroupSeparator;var m=e.numberDecimalSeparator,M=e.negativeSign,v=E(t,g(h.Zn,y.length),0,0,m,M);if(n||(v=function(t,r){var e=t;return-1!==t.indexOf(r)&&(e=t.replace(/0+$/,"")),e}(v,m)),""===v)return i.push({type:"text",value:(a?a.join(""):"")+(u?u.join(""):"")}),i;var _={hasInfilling:d,infillIndex:-1,replaceExponent:d},D=v.split(m)[0];return"10"!==D||isNaN(s)||(D="1",s+=r&&r.ui&&-1===r.ui.Vn?-1:1),a&&B(a,D,o,r,s,i,_,e),t===1/0||t===-1/0||("0"!==D&&""===o&&u&&i.push({type:"number",value:D}),u&&function(t,r,e,n,i,a,u,s,o){var y=o.numberDecimalSeparator,c=o.percentSymbol,h=o.perMilleSymbol,m=r.indexOf(y),M=i.ui;(m>0||n!==$||e!==k)&&u.push({type:"decimalSeparator",value:y});for(var d=-1!==m?r.substring(m+1):"",v=0,b="",F=0;F<t.length;F++){var g=t[F];if(/^(0|#|\?)+/g.test(g)){var p="";if(b!==e){for(var _=g.length,D=0,w=v;_>0&&d.length-v>0;)p+=d.charAt(w),_--,v++,D++,w++;for(var H=D;_>0;){var N=g[H];H++,v++,_--,"0"===N?p+=N:"?"===N&&(""!==p&&(u.push({type:"number",value:p}),p=""),u.push({type:"numberPlaceholder",value:N}))}""!==p&&u.push({type:"number",value:p}),b+=g}}else if(M&&!s.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(g)){s.replaceExponent=l;var C="";C+=M.Qn,C+=S[M.Vn],C+=f(a.toString(),M.En),u.push({type:"exponent",value:C})}else"_"===g[0]?u.push({type:"placeholder",value:g[1]}):"*"===g[0]?(u.push({type:"fillingChar",value:g[1]}),s.hasInfilling&&u.splice(s.infillIndex,1),s.hasInfilling=!0,s.infillIndex=u.length-1):"\\"===g[0]?2===g.length&&u.push({type:"text",value:g[1]}):'"'===g[0]&&'"'===g[g.length-1]?g.length>2&&u.push({type:"text",value:g.substr(1,g.length-2)}):g===c?u.push({type:"percent",value:g}):g===h?u.push({type:"permille",value:g}):P[g]?u.push({type:"currency",value:g}):u.push({type:"text",value:g})}}(u,v,y,o,r,s,i,_,e)),i}function z(t,r){if((t=o(t)?"":u.Yt.si(t,"")).match(/^[+-]?infinity$/i))return M(t);if(t.match(/^0x[a-f0-9]+$/i))return m(t,10);var e,n,i=r.NumberFormat,a=i.numberNegativePattern,s=G(t,i,a),f=s[0],y=s[1];""===f&&1!==a&&(f=(s=G(t,i,1))[0],y=s[1]),""===f&&(f="+"),y[0]===i.currencySymbol&&(y=_(y,1));var h=y.indexOf("e");h<0&&(h=y.indexOf("E")),h<0?(n=y,e=c):(n=_(y,0,h),e=_(y,h+1));var d,l,v=n.indexOf(".");v<0?(d=n,l=c):(d=_(n,0,v),l=_(n,v+1));var b=f+(d=d.split(",").join(""));if(l!==c&&(b+="."+l),b[b.length-1]===i.percentSymbol){b=_(b,0,b.length-1);var F=(b=u.Yt.si(b,"")).indexOf(".");-1===F&&(F=b.length);var g="";g+=_(b,0,F-2),g+=".",g+=_(b,F-2,2),b=g+=_(b,F+1)}if(e!==c){var p=G(e,i,1);""===p[0]&&(p[0]="+"),b+="e"+p[0]+p[1]}return b.match(/^[+-]?\d*\.?\d*(e[+-]?\d+)?$/)?M(b):NaN}function G(t,r,e){var n=r.negativeSign,i=r.positiveSign;if(4!==e&&2!==e||(n=" "+n,i=" "+i),4===e||3===e){if(u.Yt.oi(t,n))return["-",_(t,0,t.length-n.length)];if(u.Yt.oi(t,i))return["+",_(t,0,t.length-i.length)]}else if(2===e||1===e){if(u.Yt.Tn(t,n))return["-",_(t,n.length)];if(u.Yt.Tn(t,i))return["+",_(t,i.length)]}else{if(0!==e)throw Error("");if(u.Yt.Tn(t,"(")&&u.Yt.oi(t,")"))return["-",_(t,1,t.length-2)]}return["",t]}function J(t){var r=s.CultureManager.ce().NumberFormat;return"string"==typeof t&&(r=s.CultureManager.ce(t).NumberFormat),r}function U(t,r){return"number"==typeof t&&t.toString().length>=r&&(t=+t.toPrecision(r)),t}r.Zt={Pn:function(t){return z(t,s.CultureManager.ce())},Cn:function(t){return z(t,s.CultureManager.ce("invariant"))},Hn:function(t,r,e,n){return e||(e=s.CultureManager.ce()),C(t,r,e,n)},fi:function(t,r){if("string"!=typeof t)return t;var e=J(r),n=e.numberDecimalSeparator,i=e.numberGroupSeparator;return"."!==n&&(t=t.replace(D("[.]"),"#dot#")),","!==i&&(t=t.replace(D("[,]"),"#group#")),"."!==n&&(t=t.replace(D("#dot#"),n)),","!==i&&(t=t.replace(D("#group#"),i)),t},yi:function(t,r){if("string"!=typeof t)return t;var e=J(r),n=e.numberDecimalSeparator,i=e.numberGroupSeparator;return"."!==n&&(t=t.replace(D("["+n+"]"),"#dot#")),","!==i&&(t=t.replace(D("["+i+"]"),"#group#")),"."!==n&&(t=t.replace(D("#dot#"),".")),","!==i&&(t=t.replace(D("#group#"),",")),t},ci:function(t,r){if("string"==typeof t){var e=J(r),n=e.numberDecimalSeparator,i=e.numberGroupSeparator;if("."!==n&&"."!==i&&t.indexOf(".")>=0||","!==n&&","!==i&&t.indexOf(",")>=0)return!1}return!0},hi:function(t,r){return M(this.yi(t,r))},We:function(t,r,e){if(0!==b(v(t)-t))throw Error(H().Exp_BadFormatSpecifier);var n=t>=0?t.toString(16):(4294967295+t+1).toString(16);return n=r?n.toLowerCase():n.toUpperCase(),!o(e)&&n.length<e?f(n,e):n},mi:j,Mi:I,di:R,Wn:function(t,r){return R(t,-r)?0:t+r},li:function(t){var r="";if(Array.isArray(t)&&t.length>0)for(var e=0;e<t.length;e++){var n=t[e].type,i=t[e].value;if("placeholder"===n)r+=" ";else{if("fillingChar"===n)continue;r+="numberPlaceholder"===n?" ":i}}return r},bi:$,Fi:k,Kn:U}},674:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.rbush=void 0;var e=Math.max,n=Math.min,i=1/0;function a(t,r){this.gi=e(4,t||9),this.pi=e(2,Math.ceil(.4*this.gi)),r&&this._i(r),this.clear()}function u(t,r,e){if(!e)return r.indexOf(t);for(var n=0;n<r.length;n++)if(e(t,r[n]))return n;return-1}function s(t,r){o(t,0,t.children.length,r,t)}function o(t,r,e,n,a){a||(a=l(null)),a.minX=i,a.minY=i,a.maxX=-1/0,a.maxY=-1/0;for(var u=r,s=void 0;u<e;u++)s=t.children[u],f(a,t.leaf?n(s):s);return a}function f(t,r){return t.minX=n(t.minX,r.minX),t.minY=n(t.minY,r.minY),t.maxX=e(t.maxX,r.maxX),t.maxY=e(t.maxY,r.maxY),t}function y(t,r){return t.minX-r.minX}function c(t,r){return t.minY-r.minY}function h(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function m(t){return t.maxX-t.minX+(t.maxY-t.minY)}function M(t,r){return t.minX<=r.minX&&t.minY<=r.minY&&(r.maxX>=0&&r.maxX<=t.maxX||t.minX<0)&&(r.maxY>=0&&r.maxY<=t.maxY||t.minY<0)}function d(t,r){return(-1===t.minY||-1===r.minY||t.minY<=r.maxY&&r.minY<=t.maxY)&&(-1===t.minX||-1===r.minX||t.minX<=r.maxX&&r.minX<=t.maxX)}function l(t){return{children:t,height:1,leaf:!0,minX:i,minY:i,maxX:-1/0,maxY:-1/0}}r.rbush=a,a.prototype={all:function(){return this.Di(this.data,[])},search:function(t){var r=this.data,e=[],n=this.toBBox;if(!d(t,r))return e;for(var i,a,u,s,o=[];r;){for(i=0,a=r.children.length;i<a;i++)u=r.children[i],d(t,s=r.leaf?n(u):u)&&(r.leaf?e.push(u):M(t,s)?this.Di(u,e):o.push(u));r=o.pop()}return e},collides:function(t){var r=this.data,e=this.toBBox;if(!d(t,r))return!1;for(var n,i,a,u,s=[];r;){for(n=0,i=r.children.length;n<i;n++)if(a=r.children[n],d(t,u=r.leaf?e(a):a)){if(r.leaf||M(t,u))return!0;s.push(a)}r=s.pop()}return!1},insert:function(t){return t&&this.ze(t,this.data.height-1),this},clear:function(){return this.data=l([]),this},remove:function(t,r){if(!t)return this;for(var e,n,i,a,s=this.data,o=this.toBBox(t),f=[],y=[];s||f.length;){if(s||(s=f.pop(),n=f[f.length-1],e=y.pop(),a=!0),s.leaf&&-1!==(i=u(t,s.children,r)))return s.children.splice(i,1),f.push(s),this.wi(f),this;a||s.leaf||!M(s,o)?n?(e++,s=n.children[e],a=!1):s=null:(f.push(s),y.push(e),e=0,n=s,s=s.children[0])}return this},toBBox:function(t){return t},compareMinX:y,compareMinY:c,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},Di:function(t,r){for(var e=[];t;)t.leaf?r.push.apply(r,t.children):e.push.apply(e,t.children),t=e.pop();return r},Hi:function(t,r,a,u){for(var s,o,f,y,c,m,M,d;u.push(r),!r.leaf&&u.length-1!==a;){for(M=d=i,s=0,o=r.children.length;s<o;s++)c=h(f=r.children[s]),l=t,(m=(e((v=f).maxX,l.maxX)-n(v.minX,l.minX))*(e(v.maxY,l.maxY)-n(v.minY,l.minY))-c)<d?(d=m,M=c<M?c:M,y=f):m===d&&c<M&&(M=c,y=f);r=y||r.children[0]}var l,v;return r},ze:function(t,r,e){var n=this.toBBox,i=e?t:n(t),a=[],u=this.Hi(i,this.data,r,a);for(u.children.push(t),f(u,i);r>=0&&a[r].children.length>this.gi;)this.$i(a,r),r--;this.ki(i,a,r)},$i:function(t,r){var e=t[r],n=e.children.length,i=this.pi;this.Si(e,i,n);var a=this.Ni(e,i,n),u=l(e.children.splice(a,e.children.length-a));u.height=e.height,u.leaf=e.leaf,s(e,this.toBBox),s(u,this.toBBox),r?t[r-1].children.push(u):this.Pi(e,u)},Pi:function(t,r){this.data=l([t,r]),this.data.height=t.height+1,this.data.leaf=!1,s(this.data,this.toBBox)},Ni:function(t,r,a){var u,s,f,y,c,m,M,d,l,v,b,F,g,p;for(m=M=i,u=r;u<=a-r;u++)l=s=o(t,0,u,this.toBBox),v=f=o(t,u,a,this.toBBox),b=void 0,F=void 0,g=void 0,p=void 0,b=e(l.minX,v.minX),F=e(l.minY,v.minY),g=n(l.maxX,v.maxX),p=n(l.maxY,v.maxY),y=e(0,g-b)*e(0,p-F),c=h(s)+h(f),y<m?(m=y,d=u,M=c<M?c:M):y===m&&c<M&&(M=c,d=u);return d},Si:function(t,r,e){var n=t.leaf?this.compareMinX:y,i=t.leaf?this.compareMinY:c;this.Ci(t,r,e,n)<this.Ci(t,r,e,i)&&t.children.sort(n)},Ci:function(t,r,e,n){t.children.sort(n);var i,a,u=this.toBBox,s=o(t,0,r,u),y=o(t,e-r,e,u),c=m(s)+m(y);for(i=r;i<e-r;i++)a=t.children[i],f(s,t.leaf?u(a):a),c+=m(s);for(i=e-r-1;i>=r;i--)a=t.children[i],f(y,t.leaf?u(a):a),c+=m(y);return c},ki:function(t,r,e){for(var n=e;n>=0;n--)f(r[n],t)},wi:function(t){for(var r=t.length-1,e=void 0;r>=0;r--)0===t[r].children.length?r>0?(e=t[r-1].children).splice(e.indexOf(t[r]),1):this.clear():s(t[r],this.toBBox)},_i:function(t){var r=["return a"," - b",";"];this.compareMinX=Function("a","b",r.join(t[0])),this.compareMinY=Function("a","b",r.join(t[1])),this.toBBox=Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}},576:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Xt=void 0;var n=e(480),i=function(){function t(){}return t.Oi=function(r,e){var n;if(e&&t.xi[e]&&t.xi[e][r])n=t.xi[e][r];else try{null==e?(n=RegExp(r),e="empty"):n=RegExp(r,e),t.xi[e]||(t.xi[e]={}),t.xi[e][r]=n}catch(t){return null}return n.lastIndex=0,n},t.Vr=function(r){var e=t.ji[r];return e||(e=t.ji[r]=RegExp(r,"g")),e.lastIndex=0,e},t.Ei=function(r){var e=t.Ti[r];return e||(e=t.Ti[r]=RegExp(r,"gi")),e.lastIndex=0,e},t.Ai=function(r,e,n){if(t.Ri[r])return t.Bi[r];var i=e?"[?*]+":"[~?*]+";if(t.Vr(i).test(r)){for(var a=[],u=r.split(""),s=void 0,o={".":!0,"+":!0,$:!0,"^":!0,"[":!0,"]":!0,"(":!0,")":!0,"{":!0,"}":!0,"|":!0,"/":!0,"\\":!0},f=0;f<u.length;f++)if("~"===(s=u[f])){if(!(f<u.length-1))break;"*"!==(s=u[++f])&&"?"!==s||a.push("\\"),a.push(s)}else"?"===s?a.push("."):"*"===s?(a.push("[\\s\\S]"),n?a.push("+"):a.push("*")):o[s]?(a.push("\\"),a.push(s)):a.push(s);return a.join("")}return null},t.Ii=function(r,e,n){var i=t.Ai(r,e,n);return i&&(i="^"+i+"$"),i},t.zi=function(t,r){for(var e="#"+t+"0#",i=1;r.indexOf(e)>0;)e=n.Yt.Gi(e,"#"+t+(i-1)+"#","#"+t+i+"#"),i++;return e},t.Ji=function(t){return t.replace(/([\~\!\@\#\$\%\^\&\*\(\)\-\_\+\=\[\]\{\}\|\\\;\:\'\"\,\.\/\<\>\?])/,"\\$1")},t.ji={},t.Ti={},t.xi={},t.Ri={},t.Bi={},t}();r.Xt=i},480:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Yt=void 0;var n=e(576);function i(t,r,e){return t.substr(r,e)}function a(t){return null==t}function u(t,r,e,n){if(a(r))throw Error();if(""===r)return!0;if(r.length>t.length)return!1;var i=t,u=r;return e&&(i=i.toLowerCase(),u=u.toLowerCase()),n(i,u)}r.Yt={oe:function(t,r,e){return e&&(t=t.toLowerCase(),r=r.toLowerCase()),""===r||t.indexOf(r)>=0},Je:function(t,r,e){if(e){var n=t.toLowerCase(),i=r.toLowerCase();return n.indexOf(i)}return t.indexOf(r)},Ui:function(t,r){if(!r)return t;for(var e=t;i(e,0,r.length)===r;)e=i(e,r.length);return e},si:function(t,r){if(!r)return t;for(var e=t;i(e,e.length-r.length,r.length)===r;)e=i(e,0,e.length-r.length);return e},ze:function(t,r,e){if(r<0||r>t.length||a(e))throw Error();return i(t,0,r)+e+i(t,r,t.length-r)},Be:function(t,r,e){if(a(e)&&(e=t.length-r),r<0||e<0||r+e>t.length)throw Error();return i(t,0,r)+i(t,r+e,t.length-r-e)},Tn:function(t,r,e){return void 0===e&&(e=!1),u(t,r,e,(function(t,r){return t.slice(0,r.length)===r}))},oi:function(t,r,e){return void 0===e&&(e=!1),u(t,r,e,(function(t,r){return t.slice(-r.length)===r}))},Li:function(t,r,e,n){if(!r)throw Error();return e=(""+e).replace(/\$/g,"$$$$"),t.replace(RegExp(r,"g"+(n?"i":"")),e)},qi:function(t,e,i,a){return e=n.Xt.Ji(e),r.Yt.Li(t,e,i,a)},Ki:function(t,r){var e=t.indexOf(r);return e<0||e>=t.length?t:i(t,0,e)},Wi:function(t,r){for(var e=0,n=t.indexOf(r);n>=0;)e+=1,n=t.indexOf(r,n+1);return e},Gi:function(t,r,e){return t.split(r).join(e)},Yi:function(t,r){for(var e=t,n=0;n<r.length;n++){var i=RegExp("\\{"+n+"\\}","g");e=e.replace(i,r[n])}return e},Xi:function(t,r,e){for(var n=t.toString(),i=n.length;i<r;i++)n=e?"0"+n:n+"0";return n},Dn:function(t,e){return r.Yt.Xi(t,e,!0)},Yn:function(t,e){return r.Yt.Xi(t,e,!1)},Zi:function(t,r){return t===r||!t&&!r||t&&r&&t.toLowerCase()===r.toLowerCase()},Qi:function(t){return t.toUpperCase()},Vi:function(t){var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},e=n.Xt.Vr("(?:&|<|>|\"|'|`)");return e.test(t)?t.replace(e,(function(t){return r[t]})):t},ta:function(t){var r={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"},e=n.Xt.Vr("(?:&amp;|&lt;|&gt;|&quot;|&#x27;|&#x60;)");return e.test(t)?t.replace(e,(function(t){return r[t]})):t},ra:function(t){for(var r=t,e=/javascript:/gi;r.match(e);)r=r.replace(e,"");return r}}},534:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.tr=void 0;var e="undefined"!=typeof window?window.File:null,n="undefined"!=typeof window?window.Blob:null;r.tr={ea:null,ir:function(t,e){if(r.tr.na(t))for(var n=0,i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(var a in t)if(t.hasOwnProperty(a)&&!1===e.call(t[a],a,t[a]))break;return t},ia:function(t){return!t||"object"==typeof t&&0===Object.keys(t).length},aa:function(t){return"function"===r.tr.ua(t)},sa:function(t){return Array.isArray?Array.isArray(t):"array"===r.tr.ua(t)},oa:function(t){return r.tr.fa(t)&&(t=parseFloat(t)),!isNaN(t)&&isFinite(t)},fa:function(t){return"string"==typeof t},ua:function(t){if(null===t)return"null";var e=r.tr.ea;if(!e){e=r.tr.ea={};for(var n=["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"],i=0,a=n.length;i<a;i++)e["[object "+n[i]+"]"]=n[i].toLowerCase()}var u=e.toString,s=typeof t;return"object"===s||"function"===s?e[u.call(t)]||"object":s},ya:function(t,e,n){var i;if(e){var a=[].indexOf;if(a)return a.call(e,t,n);for(i=e.length,r.tr.de(n)&&(n=0),n=n<0?Math.max(0,i+n):n;n<i;n++)if(n in e&&e[n]===t)return n}return-1},ca:function(t,r){var e=r.length,n=t.length,i=0;if("number"==typeof e)for(;i<e;i++)t[n]=r[i],n++;else for(;void 0!==r[i];)t[n]=r[i],n++,i++;return t.length=n,t},ha:function(t,e,n){var i,a=[];if(r.tr.na(t))for(var u=0,s=t.length;u<s;u++)null!==(i=e(t[u],u,n))&&(a[a.length]=i);else{var o=void 0;for(o in t)t.hasOwnProperty(o)&&null!==(i=e(t[o],o,n))&&(a[a.length]=i)}return a.concat([])},ar:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n,i,a,u,s,o,f=t[0]||{},y=1,c=t.length,h=!1;for("boolean"==typeof f&&(h=f,f=t[1]||{},y=2),"object"==typeof f||r.tr.aa(f)||(f={}),c===y&&(f=this,--y);y<c;y++)if(s=t[y],!r.tr.de(s))for(u in s)n=f[u],f!==(a=s[u])&&(i=r.tr.sa(a),h&&a&&(r.tr.ma(a)||i)?(o=i?n&&r.tr.sa(n)?n:[]:n&&r.tr.ma(n)?n:{},f[u]=r.tr.ar(h,o,a)):void 0!==a&&(f[u]=a));return f},Ma:function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e]);function n(){this.constructor=t}n.prototype=r.prototype,t.prototype=new n},da:function(t){return null!==t&&t===t.window},ma:function(t){if(!t||"object"!==r.tr.ua(t)||t.nodeType||r.tr.da(t))return!1;var e,n={}.hasOwnProperty;try{if(t.constructor&&!n.call(t,"constructor")&&!n.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||n.call(t,e)},na:function(t){if(r.tr.de(t))return!1;var e=t.length,n=r.tr.ua(t);return!r.tr.da(t)&&(!(1!==t.nodeType||!e)||"array"===n||"function"!==n&&(0===e||"number"==typeof e&&e>0&&e-1 in t))},la:function(t,e){var n=e||[];return null!==t&&(r.tr.na(Object(t))?r.tr.ca(n,"string"==typeof t?[t]:t):[].push.call(n,t)),n},va:null,de:function(t){return null==t},ba:null,Fa:null,ve:function(t){if(!t)return t;if("number"==typeof t||"string"==typeof t||"boolean"==typeof t||r.tr.de(t))return t;if(t.clone)return t.clone();if(t instanceof Date)return new Date(t.valueOf());var i,a,u;if(e&&t instanceof e)return new e([t],t.name,{type:t.type,lastModified:t.lastModified});if(n&&t instanceof n)return new n([t],{type:t.type});for(a in i=t instanceof Object?new t.constructor:new t.constructor(t.valueOf()),t)t.hasOwnProperty(a)&&(u=t[a],t.hasOwnProperty(a)&&i[a]!==u&&(i[a]="object"==typeof u?r.tr.ve(u):u));return i}}},612:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Exp_Separator=r.Exp_InvalidCast=r.Exp_InvalidNumberFormat=r.Exp_BadFormatSpecifier=r.Exp_InvalidNumberGroupSize=r.Exp_InvalidSemicolons=r.Exp_InvalidExponentFormat=r.Exp_InvalidDateFormat=void 0,r.Exp_InvalidDateFormat="Invalid date format pattern",r.Exp_InvalidExponentFormat="invalid exponent format",r.Exp_InvalidSemicolons="invalid format : too many semicolons",r.Exp_InvalidNumberGroupSize="NumberGroupSize must be between 1 and 9, except for the last element, which can be zero.",r.Exp_BadFormatSpecifier="Bad Format Specifier",r.Exp_InvalidNumberFormat="Invalid number format pattern",r.Exp_InvalidCast="InvalidCastException",r.Exp_Separator="numberDecimalSeparator, listSeparator and arrayListSeparator should be different in culture info."},479:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.UUIDGenerator=void 0;var e=function(){function t(){}return t.wrap=function(t){return"{".concat(t.toUpperCase(),"}")},t.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var r=16*Math.random()|0;return("x"===t?r:3&r|8).toString(16)}))},t.secureUUID=function(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():this.uuidv4()},t.secureUpperCaseUUID=function(){return this.wrap(this.secureUUID())},t.isValidUpperCaseUUID=function(t){return/^\{[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\}$/i.test(t)},t}();r.UUIDGenerator=e},814:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.UndoManager=r.CommandManager=r.Key=void 0;var n=e(536);Object.defineProperty(r,"Key",{enumerable:!0,get:function(){return n.Key}}),Object.defineProperty(r,"CommandManager",{enumerable:!0,get:function(){return n.CommandManager}});var i=e(748);Object.defineProperty(r,"UndoManager",{enumerable:!0,get:function(){return i.UndoManager}})},536:function(t,r){var e;Object.defineProperty(r,"t",{value:!0}),r.CommandManager=r.Key=void 0,function(t){t[t.left=37]="left",t[t.right=39]="right",t[t.up=38]="up",t[t.down=40]="down",t[t.tab=9]="tab",t[t.enter=13]="enter",t[t.shift=16]="shift",t[t.ctrl=17]="ctrl",t[t.space=32]="space",t[t.altkey=18]="altkey",t[t.home=36]="home",t[t.end=35]="end",t[t.pup=33]="pup",t[t.pdn=34]="pdn",t[t.backspace=8]="backspace",t[t.del=46]="del",t[t.esc=27]="esc",t[t.a=65]="a",t[t.c=67]="c",t[t.v=86]="v",t[t.x=88]="x",t[t.z=90]="z",t[t.y=89]="y"}(e=r.Key||(r.Key={}));var n=function(){function t(t,r,e){this.ga=t,this.pa=r,this._a=e;var n,i=this;Object.defineProperty(i,"shortcutKey",{get:function(){return i.Da},set:function(t){var r=i.Da;if(r!==t){var e=(n=i.ga.wa)[r];if(e){var a=e.indexOf(i);a>=0&&e.splice(a,1)}i.Da=t,t&&((e=n[t])||(n[t]=e=[]),e.splice(0,0,i))}}})}return t.prototype.canUndo=function(){return this.pa.canUndo},t.prototype.execute=function(t,r,e){var n,i,a=!0,u=!0;if(this.pa&&r){var s={command:r,result:i,Ha:e,actionType:e,metaData:null===(n=this.pa)||void 0===n?void 0:n.metaData,r:null,isBefore:!0};this.ga.$a(s),s.r&&(u=!1,i=!1)}if(u){try{a=!1!==(i=(this.pa.execute||this.pa)(t,r,1===e))}catch(t){a=!1}r&&a&&this.ga.ka({command:this.Sa(r),result:i,Ha:e,actionType:e})}if(this.ga&&r){var o={command:r,result:i,Ha:e,actionType:e,isBefore:!1};this.ga.$a(o)}return i},t.prototype.Sa=function(t){return t&&!t.cmd&&(t.cmd=this._a),t},t}(),i=function(){function t(t){this.Na=t,this._e={},this.Pa={},this.Ca={},this.wa={}}return t.prototype.register=function(t,r,e,i,a,u,s){var o=new n(this,r,t);this[t]=o,e&&(o.shortcutKey=this.getShortcutKey(e,i,a,u,s))},t.prototype.getCommand=function(t){return this[t]},t.prototype.execute=function(t){var r=this[t.cmd];if(r)return r.execute(this.Na,t,0)},t.prototype.setShortcutKey=function(t,r,e,n,i,a){if(t){var u=this[t];u&&(u.shortcutKey=this.getShortcutKey(r,e,n,i,a))}else{var s=this.getShortcutKey(r,e,n,i,a),o=this.getCommands(s);if(o)for(var f=o.length-1;f>=0;f--)o[f].shortcutKey=void 0}},t.prototype.getShortcutKey=function(t,r,n,i,a){if(t){var u=65<=t&&t<=90?String.fromCharCode(t):e[t];return u||(u=t),u+(r?"+ctrl":"")+(n?"+shift":"")+(i?"+alt":"")+(a?"+window":"")}},t.prototype.getCommands=function(t){return this.wa[t]},t.prototype.addListener=function(t,r){this._e[t]=r},t.prototype.removeListener=function(t){delete this._e[t]},t.prototype.ka=function(t){var r=this._e;for(var e in r)r.hasOwnProperty(e)&&r[e](t)},t.prototype.Oa=function(t,r){this.Pa[t]=r},t.prototype.xa=function(t){delete this.Pa[t]},t.prototype.$a=function(t){var r=this.Pa;for(var e in r)r.hasOwnProperty(e)&&r[e](t)},t.prototype.Ie=function(){this.Na=null},t}();r.CommandManager=i},748:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.UndoManager=void 0;var e=function(){function t(t,r,e){this.Na=t,r<0&&(r=2147483647),this.ja=r,this.Ea=e,this.Ta=[],this.Aa=[],this.Ra=!1}return t.prototype.Ba=function(t,r){if(t){if(1===r)this.Aa.push(t);else{var e=this.ja,n=this.Ta.length;if(e>0&&n>=e)for(var i=0;i<n-e+1;i++)this.Ta.shift();this.Ta.push(t),0===r&&(this.Aa=[])}this.Ra=!0}},t.prototype.canUndo=function(){return this.Ta.length>0},t.prototype.undo=function(){var t=this.Ta,r=!0;if(this.Ea&&this.canUndo()){var e=t[t.length-1];try{var n=this.Na.commandManager()[e.cmd];n&&(e.Ia=!0,r=n.execute(this.Na,e,1))}catch(t){r=!1}delete e.Ia,!1!==r&&(t.pop(),this.Ra=!0,this.Aa.push(e))}return r},t.prototype.canRedo=function(){return this.Aa.length>0},t.prototype.redo=function(){var t=this.Aa,r=!0;if(this.Ea&&this.canRedo()){var e=t[t.length-1];try{var n=this.Na.commandManager()[e.cmd];n&&(e.Ia=!0,r=n.execute(this.Na,e,2))}catch(t){r=!1}delete e.Ia,!1!==r&&(t.pop(),this.Ra=!0,this.Ta.push(e))}return r},t.prototype.getRedoStack=function(){return this.Aa.slice()},t.prototype.getUndoStack=function(){return this.Ta.slice()},t.prototype.maxSize=function(t){return arguments.length<1?this.ja:(t>=0&&(this.ja=t),this)},t.prototype.clear=function(){this.Ta=[],this.Aa=[]},t.prototype.za=function(t){this.Ta=this.Ta.filter(t),this.Aa=this.Aa.filter(t)},t.prototype.Ie=function(){this.Na=null},t.prototype.setNewChangeStatus=function(t){this.Ra=t},t.prototype.getNewChangeStatus=function(){return this.Ra},t}();r.UndoManager=e},569:function(t,r,e){var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),i(e(2),r)},498:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Exp_InvalidCast=r.Exp_ValueIllegal=r.Exp_TokenIllegal=r.Exp_DuplicatedDescriptor=r.Exp_ValueIsNull=r.Exp_FormatIllegal=r.Exp_InvalidBackslash=r.Exp_TokenIsNull=void 0,r.Exp_TokenIsNull="token is null",r.Exp_InvalidBackslash="the '\\' cannot be evaluated",r.Exp_FormatIllegal="format is illegal.",r.Exp_ValueIsNull="value is null",r.Exp_DuplicatedDescriptor="The type of descriptor was added.",r.Exp_TokenIllegal="token is illegal.",r.Exp_ValueIllegal="value is illegal.",r.Exp_InvalidCast="InvalidCastException"},2:function(t,r,e){var n,i=this&&this.er||(n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])},n(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+r+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)});Object.defineProperty(r,"t",{value:!0}),r.GeneralFormatter=r.Ga=r.FormatterBase=void 0;var a=e(480),u=e(97),s=e(534),o=e(844),f=e(286),y=e(818),c=e(498),h=e(810),m=e(61);s.tr.ar(y.SR.en,c);var M=new y.ResourceManager(y.SR),d=M.getResource.bind(M);s.tr.va=function(t,r){if(s.tr.de(t))return"null"===r;if(!r)return!1;if(r instanceof Function&&t instanceof r)return!0;if(typeof t===r)return!0;if("function"===r&&/^\s*\bfunction\b/.test(""+t))return!0;if(Object.prototype.toString.call(t).slice(8,-1).toLowerCase()===r.toLowerCase())return!0;if("DateTime"===r)return t instanceof Date;if("TimeSpan"===r){if(t instanceof Date){var e=u.Qt.In(t);return e>=0&&e<1}return!1}return!1},s.tr.ba=function(t,r){return!!o.Zt.ci(t,r)&&("string"!=typeof t||-1===t.search(/[\r\n\t]/g))&&(t=o.Zt.yi(t,r),s.tr.va(t,"number")||s.tr.va(t,"DateTime")||s.tr.va(t,"TimeSpan")||t&&!s.tr.va(t,"boolean")&&!isNaN(t)&&!isNaN(parseFloat(t))&&!(t.length>=2&&"0"===t[0]&&"x"===t[1]))},s.tr.Fa=function(t){return s.tr.de(t)||""===t?0:s.tr.va(t,"number")?t:s.tr.va(t,"string")&&!isNaN(t)?o.Zt.Pn(t):s.tr.va(t,"boolean")?t?1:0:s.tr.va(t,"DateTime")?u.Qt.In(t):s.tr.va(t,"TimeSpan")?Math.floor(u.Qt.In(t)):parseFloat(t)};var l=null,v=Math.abs,b={Ja:"yy",Ua:"y",La:"yyyy",qa:"m",Ka:"mm",Wa:"mmm",Ya:"mmmm",Xa:"mmmmm",Za:"d",Qa:"dd",Va:"aaa",tu:"aaaa",ru:"h",eu:"hh",nu:"m",iu:"mm",au:"s",uu:"ss",Lr:"e",su:"AM/PM",ou:"A/P",fu:"@mmmmm",yu:new Date(1899,11,30,0,0,0,0)},F=[b.Ua,b.Ja,b.La,b.qa,b.Ka,b.Wa,b.Ya,b.Xa,b.Za,b.Qa,b.Va,b.tu,b.ru,b.eu,b.nu,b.iu,b.au,b.uu,"ggg","gg","g","ee","e"],g={cu:0,hu:1,mu:2,Mu:3},p=[{cu:0,hu:0,mu:0,Mu:0},{cu:0,hu:1,mu:0,Mu:0},{cu:0,hu:1,mu:2,Mu:0},{cu:0,hu:1,mu:2,Mu:3}],_=RegExp("([.+?*$^\\[\\](){}|/])","g"),D=[["M/d","MMM/d","MMMM/d","d/M","d/MMM","d/MMMM","M-d","MMM-d","MMMM-d","d-M","d-MMM","d-MMMM"],["M/y","MMM/y","M/yyyy","MMM/yyyy","M-y","MMM-y","M-yyyy","MMM-yyyy"],["M/d/y","MMM/d/y","MMMM/d/y","M/d/yyyy","MMM/d/yyyy","MMMM/d/yyyy","d/M/y","d/MMM/y","d/MMMM/y","d/M/yyyy","d/MMM/yyyy","d/MMMM/yyyy","yyyy/M/d","M-d-y","MMM-d-y","MMMM-d-y","M-d-yyyy","MMM-d-yyyy","MMMM-d-yyyy","d-M-y","d-MMM-y","d-MMMM-y","d-M-yyyy","d-MMM-yyyy","d-MMMM-yyyy","yyyy-M-d"],["H:m","h:m tt"],["H:m:s","H:m:s"],["H:m:s.FFF","h:m:s.FFF tt"],["h:m:s tt","h:mm:ss tt"],["M/d H:m","MMM/d H:m","MMMM/d H:m","d/M H:m","d/MMM H:m","d/MMMM H:m","M/y H:m","MMM/y H:m","M/yyyy H:m","MMM/yyyy H:m","M/d/y H:m","MMM/d/y H:m","MMMM/d/y H:m","M/d/yyyy H:m","MMM/d/yyyy H:m","MMMM/d/yyyy H:m","M-d H:m","MMM-d H:m","MMMM-d H:m","d-M H:m","d-MMM H:m","d-MMMM H:m","M-y H:m","MMM-y H:m","M-yyyy H:m","MMM-yyyy H:m","M-d-y H:m","MMM-d-y H:m","MMMM-d-y H:m","M-d-yyyy H:m","MMM-d-yyyy H:m","MMMM-d-yyyy H:m","M/d h:m tt","MMM/d h:m tt","MMMM/d h:m tt","d/M h:m tt","d/MMM h:m tt","d/MMMM h:m tt","M/y h:m tt","MMM/y h:m tt","M/yyyy h:m tt","MMM/yyyy h:m tt","M/d/y h:m tt","MMM/d/y h:m tt","MMMM/d/y h:m tt","M/d/yyyy h:m tt","MMM/d/yyyy h:m tt","MMMM/d/yyyy h:m tt","M-d h:m tt","MMM-d h:m tt","MMMM-d h:m tt","d-M h:m tt","d-MMM h:m tt","d-MMMM h:m tt","M-y h:m tt","MMM-y h:m tt","M-yyyy h:m tt","MMM-yyyy h:m tt","M-d-y h:m tt","MMM-d-y h:m tt","MMMM-d-y h:m tt","M-d-yyyy h:m tt","MMM-d-yyyy h:m tt","MMMM-d-yyyy h:m tt","d/M/y H:m","d/MMM/y H:m","d/MMMM/y H:m","d/M/yyyy H:m","d/mmm/yyyy H:m","d/MMMM/yyyy H:m","yyyy/M/d H:m","d-M-y H:m","d-MMM-y H:m","d-MMMM-y H:m","d-M-yyyy H:m","d-MMM-yyyy H:m","d-MMMM-yyyy H:m","yyyy-M-d H:m","d/M/y h:m tt","d/MMM/y h:m tt","d/MMMM/y h:m tt","d/M/yyyy h:m tt","d/mmm/yyyy h:m tt","d/MMMM/yyyy h:m tt","yyyy/M/d h:m tt","d-M-y h:m tt","d-MMM-y h:m tt","d-MMMM-y h:m tt","d-M-yyyy h:m tt","d-MMM-yyyy h:m tt","d-MMMM-yyyy h:m tt","yyyy-M-d h:m tt"],["M/d H:m:s","MMM/d H:m:s","MMMM/d H:m:s","d/M H:m:s","d/MMM H:m:s","d/MMMM H:m:s","M/y H:m:s","MMM/y H:m:s","M/yyyy H:m:s","MMM/yyyy H:m:s","M/d/y H:m:s","MMM/d/y H:m:s","MMMM/d/y H:m:s","M/d/yyyy H:m:s","MMM/d/yyyy H:m:s","MMMM/d/yyyy H:m:s","d/M/y H:m:s","d/MMM/y H:m:s","d/MMMM/y H:m:s","d/M/yyyy H:m:s","d/MMM/yyyy H:m:s","d/MMMM/yyyy H:m:s","yyyy/M/d H:m:s","M-d H:m:s","MMM-d H:m:s","MMMM-d H:m:s","d-M H:m:s","d-MMM H:m:s","d-MMMM H:m:s","M-y H:m:s","MMM-y H:m:s","M-yyyy H:m:s","MMM-yyyy H:m:s","M-d-y H:m:s","MMM-d-y H:m:s","MMMM-d-y H:m:s","M-d-yyyy H:m:s","MMM-d-yyyy H:m:s","MMMM-d-yyyy H:m:s","d-M-y H:m:s","d-MMM-y H:m:s","d-MMMM-y H:m:s","d-M-yyyy H:m:s","d-MMM-yyyy H:m:s","d-MMMM-yyyy H:m:s","yyyy-M-d H:m:s","M/d h:m:s tt","MMM/d h:m:s tt","MMMM/d h:m:s tt","d/M h:m:s tt","d/MMM h:m:s tt","d/MMMM h:m:s tt","M/y h:m:s tt","MMM/y h:m:s tt","M/yyyy h:m:s tt","MMM/yyyy h:m:s tt","M/d/y h:m:s tt","MMM/d/y h:m:s tt","MMMM/d/y h:m:s tt","M/d/yyyy h:m:s tt","MMM/d/yyyy h:m:s tt","MMMM/d/yyyy h:m:s tt","d/M/y h:m:s tt","d/MMM/y h:m:s tt","d/MMMM/y h:m:s tt","d/M/yyyy h:m:s tt","d/MMM/yyyy h:m:s tt","d/MMMM/yyyy h:m:s tt","yyyy/M/d h:m:s tt","M/d/yyyy h:mm:ss tt","M-d h:m:s tt","MMM-d h:m:s tt","MMMM-d h:m:s tt","d-M h:m:s tt","d-MMM h:m:s tt","d-MMMM h:m:s tt","M-y h:m:s tt","MMM-y h:m:s tt","M-yyyy h:m:s tt","MMM-yyyy h:m:s tt","M-d-y h:m:s tt","MMM-d-y h:m:s tt","MMMM-d-y h:m:s tt","M-d-yyyy h:m:s tt","MMM-d-yyyy h:m:s tt","MMMM-d-yyyy h:m:s tt","d-M-y h:m:s tt","d-MMM-y h:m:s tt","d-MMMM-y h:m:s tt","d-M-yyyy h:m:s tt","d-MMM-yyyy h:m:s tt","d-MMMM-yyyy h:m:s tt","yyyy-M-d h:m:s tt","M/d/yyyy H:m:s","M-d-yyyy H:m:s","M/d/yyyy h:m:s tt","M-d-yyyy H:m:s tt"],["M/d H:m:s.FFF","MMM/d H:m:s.FFF","MMMM/d H:m:s.FFF","d/M H:m:s.FFF","d/MMM H:m:s.FFF","d/MMMM H:m:s.FFF","M/y H:m:s.FFF","MMM/y H:m:s.FFF","M/yyyy H:m:s.FFF","MMM/yyyy H:m:s.FFF","M/d/y H:m:s.FFF","MMM/d/y H:m:s.FFF","MMMM/d/y H:m:s.FFF","MMM/d/yyyy H:m:s.FFF","MMMM/d/yyyy H:m:s.FFF","d/M/y H:m:s.FFF","d/MMM/y H:m:s.FFF","d/MMMM/y H:m:s.FFF","d/M/yyyy H:m:s.FFF","d/MMM/yyyy H:m:s.FFF","d/MMMM/yyyy H:m:s.FFF","yyyy/M/d H:m:s.FFF","M-d H:m:s.FFF","MMM-d H:m:s.FFF","MMMM-d H:m:s.FFF","d-M H:m:s.FFF","d-MMM H:m:s.FFF","d-MMMM H:m:s.FFF","M-y H:m:s.FFF","MMM-y H:m:s.FFF","M-yyyy H:m:s.FFF","MMM-Yyyy H:m:s.FFF","M-d-y H:m:s.FFF","MMM-d-y H:m:s.FFF","MMMM-d-y H:m:s.FFF","MMM-d-yyyy H:m:s.FFF","MMMM-d-yyyy H:m:s.FFF","D-M-y H:m:s.FFF","d-MMM-y H:m:s.FFF","d-MMMM-y H:m:s.FFF","D-M-yyyy H:m:s.FFF","d-MMM-yyyy H:m:s.FFF","d-MMMM-yyyy H:m:s.FFF","yyyy-M-d H:m:s.FFF","M/d h:m:s.FFF tt","MMM/d h:m:s.FFF tt","MMMM/d h:m:s.FFF tt","d/M h:m:s.FFF tt","d/MMM h:m:s.FFF tt","d/MMMM h:m:s.FFF tt","M/y h:m:s.FFF tt","MMM/y h:m:s.FFF tt","M/yyyy h:m:s.FFF tt","MMM/yyyy h:m:s.FFF tt","M/d/y h:m:s.FFF tt","MMM/d/y h:m:s.FFF tt","MMMM/d/y h:m:s.FFF tt","MMM/d/yyyy h:m:s.FFF tt","MMMM/d/yyyy h:m:s.FFF tt","d/M/y h:m:s.FFF tt","d/MMM/y h:m:s.FFF tt","d/MMMM/y h:m:s.FFF tt","d/M/yyyy h:m:s.FFF tt","d/MMM/yyyy h:m:s.FFF tt","d/MMMM/yyyy h:m:s.FFF tt","yyyy/M/d h:m:s.FFF tt","M-d h:m:s.FFF tt","MMM-d h:m:s.FFF tt","MMMM-d h:m:s.FFF tt","d-M h:m:s.FFF tt","d-MMM h:m:s.FFF tt","d-MMMM h:m:s.FFF tt","M-y h:m:s.FFF tt","MMM-y h:m:s.FFF tt","M-yyyy h:m:s.FFF tt","MMM-Yyyy h:m:s.FFF tt","M-d-y h:m:s.FFF tt","MMM-d-y h:m:s.FFF tt","MMMM-d-y h:m:s.FFF tt","MMM-d-yyyy H:m:s.FFF tt","MMMM-d-yyyy h:m:s.FFF tt","d-M-y h:m:s.FFF tt","d-MMM-y h:m:s.FFF tt","d-MMMM-y h:m:s.FFF tt","d-M-yyyy h:m:s.FFF tt","d-MMM-yyyy h:m:s.FFF tt","d-MMMM-yyyy h:m:s.FFF tt","yyyy-M-d h:m:s.FFF tt"]],w=["#000000","#FFFFFF","#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#800000","#008000","#000080","#808000","#800080","#008080","#C0C0C0","#808080","#9999FF","#993366","#FFFFCC","#CCFFFF","#660066","#FF8080","#0066CC","#CCCCFF","#000080","#FF00FF","#FFFF00","#00FFFF","#800080","#800000","#008080","#0000FF","#00CCFF","#CCFFFF","#CCFFCC","#FFFF99","#99CCFF","#FF99CC","#CC99FF","#FFCC99","#3366FF","#33CCCC","#99CC00","#FFCC00","#FF9900","#FF6600","#666699","#969696","#003366","#339966","#003300","#333300","#993300","#993366","#333399","#333333"],H=RegExp("color\\s*(\\d+)","i"),$=s.tr.va,k=s.tr.sa,S=o.Zt,N=S.bi+"."+S.Fi,P=S.li,C=S.Hn,O=S.Kn,x=s.tr.de,j=isNaN,E=function(t){return f.CultureManager.ce(t)},T=function(t){return E(t).DateTimeFormat},A=function(t){return E(t).NumberFormat},R=function(t){return t&&t.toLowerCase()},B=function(){throw Error(d().Exp_FormatIllegal)},I=function(){return f.CultureManager.booleanMapping},z={du:"",Yi:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(0===arguments.length)return l;for(var i=e[0],a=1;a<arguments.length;a++){var u=RegExp("\\{"+(a-1)+"\\}","gm");i=i.replace(u,arguments[a])}return i},lu:function(t){return!t||t===z.du}},G=function(t){var r=t.charCodeAt(0);return r>=48&&r<=57},J=function(t){var r=t.charCodeAt(0);return r>=9&&r<=13||32===r||133===r||160===r},U=function(){function t(t,r){ht.call(this,r);this.vu=t;var e=this.vu,n=ot(e[0],"$",!1),i=e.indexOf("-");if(!(n&&i>-1))throw Error(d().Exp_TokenIllegal);this.bu=tt(e,1,i-1),(e=a.Yt.Be(e,0,i+1)).length>0&&(this.Fu=parseInt(e,16))}return t.prototype.cultureInfo=function(){return this.gu||(this.gu=E(this.Fu)),this.gu},t.prototype.currencySymbol=function(){return this.bu?a.Yt.Li(this.bu,"\\.",'"."'):z.du},t.prototype.allowScience=function(){if(this.gu)return!this.gu.isJCKCulture},t.prototype.toString=function(){return this.vu?nt(this.vu):z.du},t.Name="LocaleIDFormatPart",t}(),L=function(){function t(t,r){this.formatCached=t,this.cultureName=r,this.typeName=""}return t.prototype.format=function(t,r){return l},t.prototype.parse=function(t){return l},t.prototype.formatString=function(t){return this.formatCached},t.prototype.toJSON=function(){var t={};for(var r in this)this.hasOwnProperty(r)&&(t[r]=this[r]);return t},t.prototype.fromJSON=function(t){if(t)for(var r in t)void 0!==t[r]&&(this[r]=t[r])},t}();r.FormatterBase=L;var q=function(){function t(t,r){ht.call(this,r);for(var e,n,i,u=this,s=["<=","<>",">=",">","<","="],o=0,f=s.length;o<f;o++)if(e=s[o],a.Yt.Tn(t,e,!0)){n=a.Yt.Be(t,0,e.length);var y=parseFloat(n);j(y)||(i=y);break}if(i===l&&void 0===i)throw Error(d().Exp_TokenIllegal);u.value=i,u.pu=e,u.isMeetCondition=function(t){var r=u.pu,e=u.value;switch(r){case"<=":return t<=e;case"<>":return t!==e;case">=":return t>=e;case">":return t>e;case"<":return t<e;case"=":return t===e}}}return t.prototype.toString=function(){return nt(this.pu+this.value.toString())},t}(),K=function(){function t(t,r){ht.call(this,r);if(this.token=t,this.type=parseInt(a.Yt.Be(t,0,5),10),this.type<0||this.type>4)throw Error(d().Exp_TokenIllegal)}return t.prototype._u=function(r,e,n){if(!r||r===z.du)return r;for(var i,u,s=r,o=r,f=-1,y=-1,c=!1,h=r.length-1;h>=0;h--){var m=o[h];!j(m)&&!ot(m," ",!1)||ot(m,".",!1)&&!c?(ot(m,".",!1)&&(c=!0),-1===f&&(f=h),y=h):y>-1&&f>-1&&(i=tt(o,y,f-y+1),j(parseFloat(i))||(u=t.numberString(i,e,n),s=a.Yt.Be(s,y,f-y+1),s=a.Yt.ze(s,y,u)),f=-1,y=-1,c=!1)}return y>-1&&f>-1&&(i=tt(o,y,f-y+1),j(parseFloat(i))||(u=t.numberString(i,e,n),s=a.Yt.Be(s,y,f-y+1),s=a.Yt.ze(s,y,u))),s},t.prototype.toString=function(){if(this.type>-1)return nt("DBNum"+this.type);throw Error()},t.numberString=function(r,e,n){var i=t.formatNumberString,a=r.split(".");if(a){if(1===a.length)return i(a[0],e.numbers,n?e.letters:l);if(2===a.length)return i(a[0],e.numbers,n?e.letters:l)+"."+i(a[1],e.numbers)}throw Error(d().Exp_ValueIllegal)},t.formatNumberString=function(r,e,n){var i,a=r,u=0,s=0;if(2===arguments.length){for(var o="";u<a.length;u++)i=tt(a,u,1),o+=e[s=parseInt(i,10)];return o}if(3===arguments.length){if(!n)return t.formatNumberString(r,e);for(var f=0,y="",c=a.length,h=!1,m=[];u<c;u++){var M=n.length-1-u;M>-1?m.push(n[M].toString()):m.push(z.du)}for(var d=[],l=m.length-1;l>=0;l--)d[m.length-l-1]=m[l];m=d;var v=!1;for(l=0;l<c;l++){i=tt(a,l,1),s=parseInt(i,10);var b=void 0,F=z.du;c-l-16>0?(b=e[s],F="",v=!0):l!==c-1&&l!==c-5&&l!==c-9&&l!==c-13?"0"===i?(b="",F="",f+=1):"0"!==i&&0!==f?(b=e[0]+e[s],F=m[l],f=0):(b=e[s],F=m[l],f=0):"0"!==i&&0!==f?(b=e[0]+e[s],F=m[l],f=0):"0"!==i&&0===f||v?(b=e[s],F=m[l],f=0,v=!1):"0"===i&&f>=3?(b="",F="",f+=1):c>=11?(b="",f+=1):(b="",F=m[l],f+=1),b+F===z.du||(h=!1),l!==c-13||h||(F=m[l],h=!0),l!==c-9||h||(F=m[l],h=!0),l===c-1&&(F=m[l],h=!0),y=y+b+F}return 0===parseInt(r,10)?e[0]:y}},t}(),W=function(){function t(t,r,e,n,i,a){ct.call(this,r,e,n,a);this.Du=this.wu(ft(t)),this.Hu=i,this.$u=2,this.ku()}return t.prototype.ku=function(){var r={wn:this.Du};if(t.Su(r.wn)){var e=this.Nu(r),n=T(this.cultureName).amDesignator&&T(this.cultureName).pmDesignator;if(this.hasJD=this.Li(r.wn,b.Xa,'"'+b.fu+'"',!0,!1,r,!1),this.Li(r.wn,b.Ya,"MMMM",!0,!1,r,!1),this.Li(r.wn,b.Wa,"MMM",!0,!1,r,!1),this.Pu(r.wn,r),this.Li(r.wn,b.Va,"ddd",!0,!0,r,!0),this.Li(r.wn,b.tu,"dddd",!0,!0,r,!0),e&&n||(this.Li(r.wn,b.ru,"H",!0,!0,r,!1),this.Li(r.wn,b.eu,"HH",!0,!0,r,!1)),this.Cu&&(this.Ou||E(this.cultureName).NumberFormat.dbNumber)&&(this.xu=this.xu||this.Li(r.wn,b.La,'"@'+b.La+'"',!0,!1,r,!0),this.xu=this.xu||this.Li(r.wn,b.Ja,'"@'+b.Ja+'"',!0,!1,r,!0)),this.Hu)for(var i=0;i<this.Hu.length;i++){var a=this.Hu[i];this.Li(r.wn,a.ju,"@"+a.ju,!0,!0,r,!0)}this.Eu=r.wn}else B()},t.prototype.formatString=function(){return this.Du},t.prototype.format=function(t){var r=z.du,e=l;try{if((e=u.Qt.zn(t))&&j(e.valueOf())&&(e=l),e?t=e:r=t.toString(),e){if(r=u.Qt.Hn(e,this.Eu,this.Ou&&this.Ou.cultureInfo()||E(this.cultureName),this.Tu),this.hasJD){var n=E(this.cultureName).DateTimeFormat.monthNames[e.getMonth()];r=a.Yt.Li(r,b.fu,tt(n,0,1))}if(this.Hu)for(var i=24*(u.Qt.In(e)-u.Qt.In(b.yu))*60*60*1e3,s=0;s<this.Hu.length;s++){var o=this.Hu[s],f=o.Au(i);if(!x(f)){var y=o.ju.replace("[","\\[").replace("]","\\]"),c=o.ju.replace("[","").replace("]",""),h=a.Yt.Dn(f+"",c.length);r=a.Yt.Li(r,"@"+y,h)}}}}catch(e){r=rt(t)}return function(t,r,e,n,i){var a=t;if(!x(n)&&r instanceof Date){var s=Mt(e,n.type,i);if(!s)return t;a=n._u(a,s,!0),1===n.type&&(a=a.replace(RegExp("一十","g"),"十")),a=(a=a.replace("@"+b.La,u.Qt.$n(r,b.La))).replace("@"+b.Ja,u.Qt.$n(r,b.Ja)),a=n._u(a,s,!1)}return a}(r,t,this.Ou,this.Cu,this.cultureName)},t.prototype.parse=function(t){if(!t||t===z.du)return l;var r=t,e=R(r);if("true"===e)return!0;if("false"===e)return!1;if(this.Eu){var n=u.Qt.Nn(r,this.Eu,E(this.cultureName));if(n)return n}try{var i=u.Qt.zn(r);return i&&!j(i)?i:j((i=new Date(r)).valueOf())?r:i}catch(t){return r}},t.prototype.wu=function(t){for(var r=t,e="",n=!1,i=0;i<r.length;i++){var a=r[i];if('"'===a)n=!n;else if(!n)if("Y"===a||"D"===a||"S"===a||"E"===a||"G"===a)a=R(a);else if("M"===a){var u=r[i-1];ot("A",u,!0)||ot("P",u,!0)||(a=R(a))}e+=a}return e},t.prototype.Nu=function(t){var r=T(this.cultureName).amDesignator,e=T(this.cultureName).pmDesignator,n=[b.su];r&&e?n.push(r+"/"+e):n.push(b.su),n.push(b.ou);for(var i=["tt","tt","t"],u=t.wn,s=0;s<3;s++){if(a.Yt.oe(u,i[s]))return!0;if(a.Yt.oe(u,n[s],!0))return t.wn=a.Yt.Li(u,n[s],i[s],!0),!0}return!1},t.prototype.Pu=function(t,r){for(var e=function(t){for(var r=[],e=!1,n=!1,i="",a=function(t,r){return{type:t,content:r}},u=function(t){return!x(t)&&-1!=="yYdDhHmMsSeE".indexOf(t)},s=function(e,n){if(u(e)){for(var i=e,s=t[n+1];u(s)&&s.toLowerCase()===e.toLowerCase()&&(i+=s,n<t.length-1);)n++,s=t[n+1];r.push(a("symbolic",i))}else"a"===e&&"aaa"===t.slice(n,n+3).toLowerCase()?(r.push(a("symbolic",t.slice(n,n+3))),n+=2):r.push(a("text",e));return n},o=0;o<t.length;o++){var f=t[o];if(e)r.push(a("text","\\"+f)),e=!1;else if(n&&'"'!==f)i+=f;else switch(f){case"\\":e=!0;break;case'"':n&&(r.push(a("text",'"'+i+'"')),i=""),n=!n;break;default:o=s(f,o)}}return r}(t),n=-1,i=-1,a=0;a<e.length;a++){var u=e[a];"symbolic"===u.type?"m"===u.content[0].toLowerCase()?n>=0?(u.content=u.content.toLowerCase(),n=-1):(u.content=u.content.toUpperCase(),i=a):"s"===u.content[0].toLowerCase()?i>=0&&(e[i].content=e[i].content.toLowerCase(),i=-1):"h"===u.content[0].toLowerCase()?(n=a,i=-1):i=-1:i>=0&&a>0&&"0"===u.content&&"."===e[a-1].content&&a===i+2&&(e[i].content=e[i].content.toLowerCase())}r.wn=e.map((function(t){return t.content})).join("")},t.prototype.Li=function(r,e,n,i,u,s,o){if(i||u){var f=[],y=!0;!t.hasDate(r)&&t.hasTime(r)&&(y=!1);for(var c=!1,h=0;h<r.length;h++){var m=r[h];if(t.hasTime(m)&&!c?y=!1:t.hasDate(m)&&!c&&(y=!0),i&&ot(m,e[0],o)&&y||u&&ot(m,e[0],o)&&!y){for(var M=!0,d=0;d<e.length;d++)if(d+h>=r.length||!ot(e[d],r[d+h],o)){M=!1;break}var l=h+e.length-1;if(M&&l+1<r.length){var v=r[l],b=-1;for(b=l+1;b<r.length&&ot(v,r[b],o);b++);b>l+1&&(h=b,M=!1)}M&&!c&&f.splice(0,0,h)}'"'===m&&(c=!c)}if(s.wn=r,f.length>0){for(h=0;h<f.length;h++){var F=f[h];s.wn=a.Yt.Be(s.wn,F,e.length),s.wn=a.Yt.ze(s.wn,F,n)}return!0}return!1}return!1},t.hasTime=function(t){return a.Yt.Je(t,b.ru[0],!0)>-1||a.Yt.Je(t,b.au[0],!0)>-1},t.hasDate=function(t){return a.Yt.Je(t,b.Ja[0],!0)>-1||a.Yt.Je(t,b.Za[0],!0)>-1},t.Su=function(t,r){return yt(t,r||F)},t}();r.Ga=W;var Y=function(){function t(t,r){ht.call(this,r);var e,n=R(t)[0];if("h"===n)e=3600;else if("m"===n)e=60;else{if("s"!==n)throw Error(d().Exp_TokenIllegal);e=1}this.Au=function(t){var r=t/1e3/e;return Math.abs(r-Math.round(r))<1e-6?Math.round(r):Math.floor(r)}}return t.Name="ABSTimeFormatPart",t}(),X=function(){function t(t,r){ht.call(this,r);var e=H.exec(t);if(null!==e){var n=Number(e[1]);(n-=1)>=0&&n<w.length&&(t=w[n])}this.foreColor=t}return t.prototype.toString=function(){return nt(this.foreColor)},t.Name="ColorFormatPart",t}(),Z=function(){function t(t,r,e,n){ct.call(this,r,e,n);this.Ru=!1,this.$u=1,this.Bu=it(t);var i=ft(t);if(r&&(i=ut(i,this.Ou.ju,this.Ou.currencySymbol())),(i=it(i)).indexOf("/")>-1){var a=function(t,r){var e=[];if(t===l||""===t)return e;var n,i,a=!1,u=[],s=!1;for(n=0;n<t.length;n++)'"'!==(i=t[n])||a||(s=!s),a||s||i!==r?u.push(i):(e.push(u.join("")),u=[]),a="\\"===i&&!a;return e.push(u.join("")),e}(i,"/");if(a&&2===a.length){this.Iu=a[1];var u=a[0];if(u){var s=u.lastIndexOf(" ");s>-1?(this.zu=tt(u,0,s),this.Gu=tt(u,s+1,u.length-s-1)):this.Gu=u}}}this.Ju=i}return t.prototype.formatString=function(){return this.Bu},t.prototype.format=function(r){if($(r,"boolean"))return r.toString().toUpperCase();var e=s.tr.Fa(r);if(j(e)||!isFinite(e)||j(r))return"string"==typeof r?r:l;var n,i,a,u,o,f=E(this.cultureName);if(this.Gu&&this.Iu){var y={value:0},c={value:0},h={value:0},m=this.Uu();if(t.getFraction(e,m,y,c,h)){var M=t.getGCD(c.value,h.value);if(M>1&&(c.value/=M,h.value/=M),this.zu){o="",1===h.value&&(y.value+=c.value,c.value=0,h.value=0);var d=P(C(y.value,this.zu,f));d&&"0"!==d&&(o+=d,o+=" "),0===y.value&&e<0&&(o+=f.NumberFormat.negativeSign),0===e&&(o+="0"),n=this.Iu,!j(i=parseFloat(n))&&i>0&&(0!==c.value&&0!==h.value&&(c.value*=i/h.value),h.value=i,n=n.replace(/^\d+/,t.toNumberPlaceholder(i)),u=(a=Math.ceil(c.value))-c.value,c.value=parseFloat(u<=.5&&u>=0?a.toString():""+(a-1)));var v=this.Gu,b=parseFloat(v);if(!j(b)&&0===b){var F=v.length,g=c.value.toString(),p=g.length;F>p?v=v.substr(0,F-(F-p)):F<p&&(g=g.substr(0,p-(p-F)),c.value=parseInt(g,10))}var _=this.Lu(c.value,h.value,v,n,f);return 0===c.value&&(_=_.replace(/./g," "),""===d)?"0 "+_:""===(o+=_)?"0":o}o="";var D=y.value*h.value+c.value;return n=this.Iu,(i=parseFloat(n))>0?(D*=i/h.value,h.value=i,o+=(D=parseFloat((u=(a=Math.ceil(D))-D)<=.5&&u>=0?a.toString():""+(a-1)))+"/"+h.value):o+=this.Lu(D,h.value,this.Gu,this.Iu,f),0===D?"0":o}return e.toString()}return function(t,r,e,n,i){if(!x(n)){var a=Mt(e,n.type,i);if(!x(a)){for(var u=!1,s=void 0,o=E(i),f=void 0,y=0,c=t.length;y<c;y++)"decimalSeparator"===t[y].type&&(u=!0,t[y].value=n._u(t[y].value,a,r),s=t[y].value),"number"===t[y].type&&(t[y].value=u?n._u(s+t[y].value,a,r).slice(1):n._u(t[y].value,a,r),"ja-JP"===o.name()&&t[y].value.length>1&&("一千"!==(f=t[y].value.substr(0,2))&&"一百"!==f&&"一十"!==f||(t[y].value=t[y].value.substr(1))));return t}}return t}(C(e,this.Ju,f),this.Ru,this.Ou,this.Cu,this.cultureName)},t.prototype.parse=function(t){if(!t||t===z.du)return l;var r=function(t){return t&&t.toUpperCase()}(t);if("TRUE"===r||r===I()&&I().boolean_true)return!0;if("FALSE"===r||r===I()&&I().boolean_false)return!1;var e="("===t.charAt(0)&&")"===t.charAt(t.length-1);e&&(t=t.substring(1,t.length-1));var n=this.Gu&&this.Iu,i=this.Ku(this.Ju).qu;if(n||i){var u=0;if(n&&this.zu){var s=(t=t.trim()).lastIndexOf(" ");0<s&&s<t.length-1&&(u=parseInt(t.substr(0,s),10),t=t.substr(s+1))}var o=t.indexOf("/");if(0<o&&o<t.length-1){var f=t.substr(0,o),y=t.substr(o+1);if(!j(f)&&!j(y)){var c=parseInt(f,10),h=parseInt(y,10);if(!j(c)&&!j(h)&&0!==h)return u+c/h}}}t=this.Wu(t),t=this.Yu(t);var m=this.Ku(t),M=m.qu,d=m.Xu;if(this.Zu(d)){d=a.Yt.qi(d,A(this.cultureName).numberGroupSeparator,"",!1);var b=S.hi(d,this.cultureName);if(!j(b)&&isFinite(b)){if(M&&(b=O(b/100,15)),e){if("-"===d.charAt(0)||"+"===d.charAt(0))return l;b=-1*v(b)}return b}}return l},t.prototype.Uu=function(){var t=this.Iu,r=0;if(t)for(var e=t.length,n=0;n<e&&t[n].match(/[#?\d]/);n++)r++;return r},t.prototype.Zu=function(t){for(var r="",e=0,n=0,i=0,a=l,u=A(this.cultureName),s=t.length-1;s>-1;s--){if(t[s]===u.numberDecimalSeparator)e++,i>0&&(a=!1),r="";else if("e"===R(t[s])){if(n++,r="",s===t.length-1)return!1}else if(t[s]===u.numberGroupSeparator)a=3===r.length,i++,r="";else if("-"===t[s]||"+"===t[s]){if(s>0&&"e"!==R(t[s-1]))return!1}else{if(!G(t[s]))return!1;if(r+=t[s],0===s&&0===parseInt(r,10)&&a)return!1}if(e>1||n>1||!1===a)return!1}return!0},t.prototype.Wu=function(t){for(var r=t,e=[],n=0;n<r.length;n++)G(r[n])&&e.push(n);for(var i=A(this.cultureName),u=[i.currencyDecimalSeparator,i.currencyGroupSeparator,i.currencySymbol,"$",i.nanSymbol,i.negativeInfinitySymbol,i.negativeSign,i.numberDecimalSeparator,i.numberGroupSeparator,i.percentDecimalSeparator,i.percentGroupSeparator,i.percentSymbol,i.perMilleSymbol,i.positiveInfinitySymbol,i.positiveSign],s=r.length-1;s>-1;s--){var o=r[s];if(J(o)&&u.indexOf(o.toString())<=-1)(s<e[0]||e[e.length-1]<s)&&(r=a.Yt.Be(r,s,1));else if("-"===o||"+"===o){var f=s>0?r[s-1].toString():l;if(["e","E","(",A(this.cultureName).currencySymbol,"$"].indexOf(f)<0)break}}return r},t.prototype.Yu=function(t){if(a.Yt.Tn(t,"$")){if((r=a.Yt.Be(t,0,1)).indexOf("$")<0)return r}else{var r,e=A(this.cultureName).currencySymbol;if("$"!==e&&a.Yt.Tn(t,e)&&(r=a.Yt.Be(t,0,e.length)).indexOf(e)<0)return r}return t},t.prototype.Ku=function(t){var r=A(this.cultureName).percentSymbol,e=!0,n=t;return a.Yt.Tn(t,r)?n=a.Yt.Be(t,0,r.length):a.Yt.oi(t,r)?n=a.Yt.Be(t,t.length-r.length,r.length):e=!1,a.Yt.oe(n,r)&&(e=!1),{Xu:n,qu:e}},t.prototype.Lu=function(t,r,e,n,i){var a=P(C(t,e,i)),u=P(C("0."+r,"#."+n,i,!0)),s=i&&i.NumberFormat&&i.NumberFormat.numberDecimalSeparator||".",o=a+"/"+u.substr(u.indexOf(s)+1);return""===e&&(o=t+o),""===n&&(o+=r),o},t.getGCD=function(t,r){if(0===t)return v(r);if(0===r)return v(t);for(var e=Math.max(t,r),n=Math.min(t,r),i=e%n;0!==i;)i=(e=n)%(n=i);return v(n)},t.getFraction=function(t,r,e,n,i){var a=0,u=0,s=0,o=0,f=Math.ceil;t>0?1==(o=t-f(t)+1)?(o=0,a=t):a=f(t)-1:t<0&&(a=f(t),o=f(t)-t);var y=Math.pow(10,r-1),c=Math.pow(10,r)-1;y<2&&(y=2),c<2&&(c=2);for(var h=!1,m=0,M=y;M<=c;M++){var d=Math.round(M*o),l=d/M,b=v(l-o);if((!h||b<v(m-o))&&(h=!0,m=l,u=d,s=M,b<1e-6))break}return e.value=a,n.value=u,i.value=s,h},t.toNumberPlaceholder=function(t){return t.toString().replace(/\d/g,"?")},t}(),Q=function(){function t(r,e,n,i){ct.call(this,e,n,i),arguments.length>0?(t.Qu(r)||B(),this.Bu=r):this.Bu="General",this.$u=0}return t.Qu=function(t){for(var r="",e=!1,n=-1,i=t.length,a=0;a<i;a++){var u=t[a];'"'===u?n=(e=!e)?a:-1:e||(r+=u)}return n>0&&(r+=t.substring(n,i)),!(r.indexOf("0")>=0||r.indexOf("#")>=0||r.indexOf(".")>=0||r.indexOf("@")>=0)},t.prototype.Vu=function(){if(!this.ts){var t=this.Bu;t=ut(t,"General",N),this.ts=new Z(t,this.Ou,this.Cu,this.cultureName),this.ts.Ru=!0}return this.ts},t.prototype.rs=function(){return this.es||(this.es=new Z("0.#####E+00",this.Ou,this.Cu,this.cultureName),this.es.Ru=!0),this.es},t.prototype.formatString=function(){return a.Yt.Li(this.Bu,"@NumberFormat","General")},t.prototype.format=function(t){if(s.tr.ba(t,this.cultureName)){var r=!this.Ou||this.Ou.allowScience(),e=s.tr.Fa(t);if(void 0!==e&&e!==l)return v(e)>99999999999&&r||v(e)<1e-11&&0!==e?this.rs().format(t):this.Vu().format(t)}else{if($(t,"string")){var n=a.Yt.Li(this.formatString(),'"',"");return n=st(n),t}if($(t,"boolean"))return t.toString().toUpperCase()}return""},t.prototype.parse=function(t){if(z.lu(t))return l;if("number"==typeof t)return t;var r=!1,e=t.trim(),n=a.Yt.Je(e,"-",!1);n>0&&!ot(e.charAt(n-1),"E",!0)&&(r=!0);var i,s=E(this.cultureName),o=s.DateTimeFormat,y=o.dateSeparator,c=o.timeSeparator,h=o.monthNames,m=o.abbreviatedMonthNames,M=function(t,r){if(!r||0===r.length)return!1;for(var e=!1,n=0,i=r.length;n<i;n++)if(a.Yt.oe(t,r[n],!0)){e=!0;break}return e};if(r||a.Yt.oe(e,y,!1)||a.Yt.oe(e,c,!1)||a.Yt.oe(e,"/",!1)||a.Yt.oe(e,":",!1)||a.Yt.oe(e,"-",!1)||a.Yt.oe(e,"年",!1)||a.Yt.oe(e,"月",!1)||a.Yt.oe(e,"日",!1)||M(e,h)||M(e,m)||"ja-JP"===s.name()&&f.nr.Cr.indexOf(e[0].toUpperCase())>=0&&a.Yt.oe(e,".",!1)){var d=u.Qt.Pn(e);if(d)return d}var b,F="-"===e.charAt(0);if(F||"+"===e.charAt(0)){if("("===(e=a.Yt.Be(e,0,1)).charAt(0)&&")"===e.charAt(e.length-1))return t}else if("("===e.charAt(0)&&")"===e.charAt(e.length-1)&&(b=!0,"-"===(e=(e=e.substring(1,e.length-1)).trim()).charAt(0)||"+"===e.charAt(0)))return t;return(i=this.Vu().parse(e))!==l&&void 0!==i?b&&$(i,"boolean")?t:(b||F)&&$(i,"number")?-1*v(i):i:t},t}(),V=function(){function t(t,r,e,n){ct.call(this,r,e,n);var i=ft(t,!1);r&&(i=ut(i,this.Ou.ju,this.Ou.currencySymbol())),i=st(i=it(i)),this.Du=i,this.$u=3}return t.prototype.format=function(t,r){try{var e;e=t instanceof Date?u.Qt.In(t).toString():rt(t);var n=this.ns(this.Du);return this.us(e,n.formatTokens,t,n.hasAtPart,r)}catch(t){return""}},t.prototype.parse=function(t){return t||""},t.prototype.formatString=function(){return this.Du},t.prototype.ns=function(t){for(var r,e=[],n=!1,i="",a=!1,u=l,s=0;s<t.length;s++)r=t.charAt(s),a?('"'!==r?i+=r:(i+=r,e.push(i),i="",a=!1),u=r):"*"!==u&&"_"!==u&&"\\"!==u||""===i?"*"!==r&&"_"!==r&&"\\"!==r?"@"!==r?'"'!==r?(i+=r,u=r):(u=r,""!==i&&e.push(i),i=r,a=!0):(u=r,""!==i&&(e.push(i),i=""),e.push(r),n=!0):(u=r,""!==i&&(e.push(i),i=""),i+=r):(i+=r,e.push(i),i="");return""!==i&&e.push(i),{formatTokens:e,hasAtPart:n}},t.prototype.us=function(t,r,e,n,i){var a=[],u=!1;if("string"!=typeof e||n||i)for(var s=r.length-1;s>=0;s--){var o=r[s];"*"===o[0]?u||(u=!0,a.push({type:"fillingChar",value:o[1]})):"_"===o[0]?a.push({type:"placeholder",value:o[1]}):'"'===o[0]&&'"'===o[o.length-1]?o.length>=2&&a.push({type:"text",value:o.substr(1,o.length-2)}):"\\@"===o?a.push({type:"text",value:"@"}):"@"===o[0]?a.push({type:"text",value:t}):a.push({type:"text",value:o})}else a.push({type:"text",value:e});return a.reverse()},t}();function tt(t,r,e){return t.substr(r,e)}function rt(t){return s.tr.de(t)?"":"boolean"==typeof t?t?"TRUE":"FALSE":"string"==typeof t?t:t.toString()}function et(t,r){if("\\"===t[r])throw Error(d().Exp_InvalidBackslash);if(r-1>0&&r-1<t.length&&"\\"===t[r-1]){if(r-2<0)return!0;if(r-2>0&&r-2<t.length)return"\\"!==t[r-2]}return!1}function nt(t){if(!t)throw Error(d().Exp_TokenIsNull);return"["+t+"]"}function it(t){if(void 0===t||t===l||""===t)return t;for(var r="",e=0,n=!1,i=0;i<t.length;i++){var a=t[i];'"'===a?(n=!n,r+=a):n?r+=a:"["===a?e++:"]"===a?--e<0&&(e=0):0===e&&(r+=a)}return r.toString()}function at(t){return t=ut(t,"[",""),ut(t,"]","")}function ut(t,r,e){return!t||t===z.du||ot(r,e,!0)?t:(r=r.replace(_,"\\$1"),t.replace(RegExp(r,"g"),e))}function st(t){for(var r=t.length,e=!1,n="",i=0;i<r;i++){var a=t.charAt(i);"\\"===a?(e=!e)&&"@"!==t.charAt(i+1)||(n+=a):(e=!1,n+=a)}return n}function ot(t,r,e){return e?R(t)===R(r):t===r}function ft(t,r){1===arguments.length&&(r=!0);for(var e=!1,n="",i=0;i<t.length;i++){var a=t[i];if('"'===a)e=!e;else if(!e&&!r&&"/"===a&&!et(t,i))continue;n+=a}return n}function yt(t,r){if(!t||t===z.du)return!1;for(var e=function(t){for(var r="",e=!1,n=0,i=t.length;n<i;n++){var a=t[n];'"'===a&&(e=!e),"E"===a||e||(r+=R(a))}return r}(ft(t)),n=0;n<r.length;n++){var i=e.indexOf(r[n]);if(0===i||i>0&&"_"!==e[i-1]&&"*"!==e[i-1])return!0}return!1}function ct(t,r,e,n){this.Ou=t,this.Cu=r,this.cultureName=e,this.Tu=n}function ht(t){this.ju=t}function mt(t){var r,e=at(t);if(!e||e===z.du)return r;var n=e[0];return["<",">","="].indexOf(n)>-1?(r=q).Name="ConditionalFormatPart":a.Yt.Tn(e,"DBNum",!0)?(r=K).Name="DBNumberFormatPart":ot(e[0],"$",!1)&&e.indexOf("-")>-1?(r=U).Name="LocaleIDFormatPart":function(t){var r=R(t),e=r[0];if("h"!==e&&"m"!==e&&"s"!==e)return!1;for(var n=1;n<r.length;n++)if(e!==r[n])return!1;return!0}(e)?(r=Y).Name="ABSTimeFormatPart":e.indexOf("$")<0&&e.length>=3&&((r=X).Name="ColorFormatPart"),r}function Mt(t,r,e){var n;if(n=t?t.cultureInfo():E(e),r<4||4===r&&("ko-kr"===e||"ko-kr"===n.name())){var i=n.NumberFormat.dbNumber;if(i)return i[r]}return l}var dt=function(){function t(t,r){0===arguments.length?(this.formatCached="General",this.ss=new Q):this.ku(t,r)}return t.prototype.ku=function(r,e){r!==l&&void 0!==r||B();var n=r;this.formatCached=r;for(var i="",a="",u=!1,s=!1,o=!1,y=[],c=0;c<r.length;c++){var h=r[c];if('"'===h)s=!s,a+=h;else if(s)a+=h;else if("["===h)u&&B(),a&&(i||(i=""),i+=a),a=h.toString(),u=!0;else if("]"===h){if(u||B(),a){var m=(a+=h).toString(),M=mt(a.toString());if(M)"ABSTimeFormatPart"===M.Name?(y.push(new M(t.preProcessPart(m),m)),i+=a):m===f.nr.eraExcelFormatter?(this.addPart(M,f.nr.eraInternalFormatter),o=!0):this.addPart(M,m);else{var d=t.partToNormalStr(m);i+=d,n=ut(r,m,d)}a=""}else B();u=!1}else a+=h}a?u?B():i+=a:i||(i=this.os()),this.localeIDFormatPart&&(e=this.localeIDFormatPart.cultureInfo().name());var v=function(t,r){var e,n=!1;return yt(t=t?t.toString():z.du,["general"])?e=Q:W.Su(t)?e=W:yt(t,["E+","E-","#",".",",","%","0","/","?"])||r?(n=!0,e=Z):(n=!0,e=V),{fs:n,ys:e}}(i,this.conditionalFormatPart),b=v.ys,F=v.fs?n:i;b?this.ss=new b(F,this.localeIDFormatPart,this.dbNumberFormatPart,e,y.length>0?y:l,o):B()},t.prototype.os=function(){var r=this,e="";return r.dbNumberFormatPart&&(t.proNames.some((function(t){return"dbNumberFormatPart"!==t&&r[t]}))||(e="General")),e},t.prototype.formatString=function(){for(var r="",e=0,n=t.proNames.length;e<n;e++){var i=t.proNames[e];this[i]&&(r+=this[i].toString())}return r+this.ss.formatString()},t.prototype.addPart=function(r,e){for(var n=t.proNames,i=t.preProcessPart(e),a=0,u=n.length;a<u;a++){var s=n[a];if(ot(s,r.Name,!0)){if(this[s])throw Error(d().Exp_DuplicatedDescriptor);this[s]=new r(i,e)}}},t.prototype.format=function(t,r){return this.ss.format(t,r)},t.prototype.parse=function(t){return this.ss.parse(t)},t.checkFormatter=function(t){if(!t||t===z.du)throw Error(d().Exp_TokenIllegal)},t.preProcessPart=function(r){t.checkFormatter(r);var e=at(r);return t.checkFormatter(e),e},t.partToNormalStr=function(r){var e=t.preProcessPart(r);return"$"===e[0]&&(e=e.slice(1)),'"'+e+'"'},t.proNames=["colorFormatPart","conditionalFormatPart","dbNumberFormatPart","localeIDFormatPart"],t}(),lt=function(t){function r(r,e){var n=t.call(this,r,e)||this,i=n;return i.cs=!0,i.PropertyChanged=[],z.lu(r)&&(r="General"),i.formatCached=r,i.cultureName=e,i.init(),n}return i(r,t),r.prototype.toJSON=function(){var t={formatCached:this.formatCached};return this.cultureName&&(t.customerCultureName=this.cultureName),"general"===R(this.formatCached)&&delete t.formatCached,t},r.prototype.hasFormattedColor=function(){for(var t in g)if(g.hasOwnProperty(t)){var r=this.getFormatter(g[t]);if(r&&r.colorFormatPart)return!0}return!1},r.prototype.formatString=function(t){if(0===arguments.length){for(var r=z.du,e=0,n=this.formatters.length;e<n;e++){r+=this.formatters[e].formatString(),e!==n-1&&(r+=";")}return r}if(!t)throw Error(d().Exp_ValueIsNull);return this.formatters=l,this.formatCached=t,this.init(),this.hs("formatString"),this},r.prototype.getFormatter=function(t){return this.formatters&&this.formatters[t]},r.prototype.getPreferredEditingFormatter=function(t){var e,n=T(this.cultureName),i=A(this.cultureName),a=r.defFormatter;if($(t,"TimeSpan"))return a(n.longTimePattern);if($(t,"DateTime")){var u=0===t.getHours()&&0===t.getMinutes()&&0===t.getSeconds()&&0===t.getMilliseconds()?"":" h:mm:ss";return a(n.shortDatePattern+u)}if(s.tr.ba(t,this.cultureName)){var o=s.tr.Fa(t);return a(o>=1e21||o<=1e-17&&o>0||o<=-1e21||o<0&&o>=-1e-17?null!==(e=i.scientificNotation)&&void 0!==e?e:"0.##############E+00":N)}return a("General")},r.prototype.getPreferredDisplayFormatter=function(t,e){var n=r.defFormatter;if(e||(e={value:l}),e.value=l,z.lu(t))return new r;var i=t,o=e.value=this.parse(i);if($(o,"DateTime")||$(o,"TimeSpan")){var f={pattern:D,formatter:["d-mmm","mmm-yy",T().shortDatePattern,"h:mm","h:mm:ss","h:mm:ss.0","h:mm:ss tt",T().shortDatePattern+" h:mm",T().shortDatePattern+" h:mm:ss",T().shortDatePattern+" h:mm:ss.0"]},y=f.pattern,c=f.formatter,h=E(this.cultureName),m=h.DateTimeFormat,M=m.preselectedFormatters;if(M.length>0&&(y=y.concat([M]),c=c.concat([M[0]])),"ja-JP"===h.name()){y=y.concat([m.eraFormatter]),c=c.concat(["ge.M.d"]);var d=h.mr.filter((function(t){return"ggge"===t.substr(0,4)}));y=y.concat([d]),c=c.concat(['ggge"年"M"月"d"日']);var v=h.mr.filter((function(t){return"gge"===t.substr(0,3)}));y=y.concat([v]),c=c.concat(['gge"年"M"月"d"日']);var b=h.mr.filter((function(t){return"ge"===t.substr(0,2)}));y=y.concat([b]),c=c.concat(['ge"年"M"月"d"日'])}for(var F=0;F<y.length;F++)for(var g=y[F],p=0;p<g.length;p++){var _=g[p],w=u.Qt.Pn(t,_);if(w&&w-o==0)return new r(c[F])}}else if(s.tr.ba(o,this.cultureName)){var H=A(this.cultureName),k=H.currencySymbol,S=H.numberDecimalSeparator,N=H.percentSymbol,P=H.numberGroupSeparator,C=a.Yt.oe,O=C(i,S)?".00":"";if(i[0]===k)return n(z.Yi("{0}#,##0{1};[Red]({0}#,##0{1})",k,O));if(C(i,"E",!0))return n("0.00E+00");if(i[0].toString()===N||i[i.length-1].toString()===N)return n(z.Yi("0{0}%",O));if(C(i,P))return n(z.Yi("#,##0{0}",O))}return n("General")},r.prototype.format=function(t,r){if($(t,"boolean"))return I()&&(t=t?I().boolean_true:I().boolean_false),t.toString().toUpperCase();var e,n=0,i=this.Ms(t);if(i){var a=i.colorFormatPart;r&&a&&(r.conditionalForeColor=r.value=a.foreColor),(e=s.tr.ba(t,this.cultureName))&&(n=s.tr.Fa(t));var u=z.du;try{if(e&&i===this.getFormatter(g.hu)&&0!==this.expressionNumber)(u=i.format(i.considerNegSymbol?n:v(n)))===l&&$(t,"string")&&(u=t);else if(void 0===(u=i.value)){var o=!this.cs&&i===this.getFormatter(g.Mu);u=i.format(t,e||o)}r&&(r.content=k(u)?u:[{type:"text",value:u}]),k(u)&&(u=S.li(u))}catch(r){$(t,"string")&&(u=t.toString())}return u}return e&&n<0?"-":$(t,"string")?t.toString():void 0===t||t===l?z.du:t.toString()},r.prototype.parse=function(t){return this.formatters&&this.formatters.length>0?this.formatters[0].parse(t):l},r.prototype.init=function(){var t=this.formatCached;z.lu(t)&&B(),this.formatters=[];var r=function(t){for(var r=[],e=0,n=0,i=t.length,a=0;a<i;a++)"_"===t[a]?e++:(";"!==t[a]||0!==e&&e%2!=0||(r.push(t.substring(n,a)),n=a+1),e=0);return n<=i&&r.push(t.substring(n,i)),r}(t);this.cs=1===r.length,(!r||r.length<1||r.length>4)&&B();for(var e=0;e<r.length;e++){-1!==r[e].indexOf("@")&&-1===r[e].indexOf("\\@")&&(e!==r.length-1?B():this.hasAt=!0);var n=new dt(r[e],this.cultureName);this.formatters.push(n)}this.getFormatter(g.cu)||B(),this.ds()},r.prototype.ds=function(){this.expressionNumber=this.formatters.length-(this.hasAt?1:0);var t=(0===this.expressionNumber?1:this.expressionNumber)-1;g=s.tr.ar({},p[t]),this.hasAt&&0!==this.expressionNumber&&(g.Mu=this.formatters.length-1)},r.prototype.Ms=function(t){this.ds();var r=this.getFormatter(g.cu),e=r&&r.conditionalFormatPart,n=this.getFormatter(g.Mu);if(e&&(g.mu=2,this.hasAt||(g.Mu=3)),"string"==typeof t&&j(t))return n||(e?t:r);if(s.tr.ba(t,this.cultureName)||$(t,"boolean")){var i=this.getFormatter(g.hu),a=this.getFormatter(g.mu),u=s.tr.Fa(t),o=e&&r.conditionalFormatPart.isMeetCondition(u),f=i&&i.conditionalFormatPart,y=f&&i.conditionalFormatPart.isMeetCondition(u),c=void 0;if(this.cs||(e?o:u>0||0===u&&!a))c=r;else if(f?y:u<0)c=i;else if(a)c=a;else if(i){if(e&&f)return{value:u+""};c=i}return c&&(!e||f||c!==i||a||(c.considerNegSymbol=!0),e&&f&&c===i&&i.conditionalFormatPart&&i.conditionalFormatPart.isMeetCondition(1e-10)&&(c.considerNegSymbol=!0),this.expressionNumber<=1&&(c.considerNegSymbol=!0)),c}return l},r.prototype.hs=function(t){if(this.PropertyChanged)for(var r=0;r<this.PropertyChanged.length;r++){var e=this.PropertyChanged[r];"function"==typeof e&&e(this,t)}},r.defFormatter=function(t){var e=r[t];return e||(e=new r(t),r[t]=e),e},r.test=function(t){var r=!0;try{var e=new h.Lexer(t);new m.Parser(e).parse()}catch(t){r=!1}return r},r}(L);r.GeneralFormatter=lt},826:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.throwError=r.BACKSLASH=r.UNDERLINE=r.ASTERISK=r.DOUBLE_QUOTE=r.SEMICOLON=void 0,r.SEMICOLON=";",r.DOUBLE_QUOTE='"',r.ASTERISK="*",r.UNDERLINE="_",r.BACKSLASH="\\";r.throwError=function(){throw Error("Invalid Number Format")}},810:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Lexer=void 0;var n=e(826),i=function(t){return!!["0","#","?",".","%",",","/",n.BACKSLASH,n.ASTERISK,n.UNDERLINE,"@"].find((function(r){return r===t}))},a=function(t){return[n.BACKSLASH,n.ASTERISK,n.UNDERLINE].find((function(r){return r===t}))},u=function(t,r){return{type:t,value:r}},s=function(){function t(t){this.ls=[],this.vs=t,this.bs()}return t.prototype.bs=function(){for(var t=0,r=this.vs;t<r.length;t++){var e=r[t];if(i(e)){if(a(e)){this.ls.push(u("symbol",e)),t<r.length-1&&(this.ls.push(u("char",r[t+1])),t++);continue}this.ls.push(u("symbol",e))}else if(e!==n.SEMICOLON){if(e===n.DOUBLE_QUOTE){var s=r.slice(t+1).search(n.DOUBLE_QUOTE);if(-1!==s){s=s+t+1,this.ls.push(u("text",r.slice(t+1,s))),t=s;continue}(0,n.throwError)()}this.ls.push(u("char",e))}else this.ls.push(u("semicolon",e))}this.ls.push(u("EOF",""))},t.prototype.Fs=function(){return this.ls.shift()},t}();r.Lexer=s},61:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Parser=void 0;var n=e(826),i=function(){function t(t){this.gs=t,this.ps=t.Fs()}return t.prototype._s=function(t){this.ps.type===t?this.ps=this.gs.Fs():(0,n.throwError)()},t.prototype.parse=function(){for(var t=[];"EOF"!==this.ps.type;)t.push(this.Ds()),t.length>4&&(0,n.throwError)();return{type:"numberFormat",body:t}},t.prototype.Ds=function(){for(var t=[];"semicolon"!==this.ps.type&&"EOF"!==this.ps.type;){"symbol"===this.ps.type?t.push(this.ws()):t.push(this.Hs())}return"semicolon"===this.ps.type&&this._s("semicolon"),{type:"formatPart",body:t}},t.prototype.ws=function(){var t,r=this.ps.value;return r===n.ASTERISK?(this._s("symbol"),t={type:"asterisk",body:this.ps.value},this._s("char")):r===n.BACKSLASH?(this._s("symbol"),t={type:"char",body:this.ps.value},this._s("char")):r===n.UNDERLINE?(this._s("symbol"),t={type:"underline",body:this.ps.value},this._s("char")):(t={type:"symbol",body:this.ps.value},this._s("symbol")),t},t.prototype.Hs=function(){var t,r=this.ps.type;return"char"===r?(t={type:"char",body:this.ps.value},this._s("char")):"text"===r&&(t={type:"text",body:this.ps.value},this._s("text")),t},t}();r.Parser=i},736:function(t){t.exports=canvas}},e={};function n(t){var i=e[t];if(void 0!==i)return i.exports;var a=e[t]={exports:{}};return r[t].call(a.exports,a,a.exports,n),a.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}();var i={};!function(){var t=i;Object.defineProperty(t,"t",{value:!0}),t.Formatter=t.Commands=t.Common=void 0;var r=n(38);t.Common=r;var e=n(814);t.Commands=e;var a=n(569);t.Formatter=a}(),(t=void 0===t?{}:t).Spread=i}()},653:()=>{var t;!function(){"use strict";var r={38:function(t,r,e){var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),r.UserManagerEvent=r.UserManager=r.UUIDGenerator=r.Wt=r.rbush=r.CultureManager=r.CultureInfo=r.Yt=r.Xt=r.Zt=r.Qt=r.Vt=r.tr=r.rr=void 0;var a=e(395);Object.defineProperty(r,"rr",{enumerable:!0,get:function(){return a.rr}});var u=e(534);Object.defineProperty(r,"tr",{enumerable:!0,get:function(){return u.tr}});var s=e(305);Object.defineProperty(r,"Vt",{enumerable:!0,get:function(){return s.Vt}});var o=e(97);Object.defineProperty(r,"Qt",{enumerable:!0,get:function(){return o.Qt}}),Object.defineProperty(r,"Wt",{enumerable:!0,get:function(){return o.getSR}});var f=e(844);Object.defineProperty(r,"Zt",{enumerable:!0,get:function(){return f.Zt}});var y=e(576);Object.defineProperty(r,"Xt",{enumerable:!0,get:function(){return y.Xt}});var c=e(480);Object.defineProperty(r,"Yt",{enumerable:!0,get:function(){return c.Yt}});var h=e(674);Object.defineProperty(r,"rbush",{enumerable:!0,get:function(){return h.rbush}});var m=e(818),M=e(479);Object.defineProperty(r,"UUIDGenerator",{enumerable:!0,get:function(){return M.UUIDGenerator}}),Object.defineProperty(r,"HandleExcelSpecialDate",{set:function(t){m.HandleExcelSpecialDate=t},get:function(){return m.HandleExcelSpecialDate}}),i(e(818),r);var d=e(286);Object.defineProperty(r,"CultureInfo",{enumerable:!0,get:function(){return d.CultureInfo}}),Object.defineProperty(r,"CultureManager",{enumerable:!0,get:function(){return d.CultureManager}}),i(e(646),r);var l=e(561);Object.defineProperty(r,"UserManager",{enumerable:!0,get:function(){return l.UserManager}}),Object.defineProperty(r,"UserManagerEvent",{enumerable:!0,get:function(){return l.UserManagerEvent}})},286:function(t,r,e){var n,i=this&&this.er||(n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])},n(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+r+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)});Object.defineProperty(r,"t",{value:!0}),r.CultureManager=r.nr=r.CultureInfo=r.TimelineDateOrder=void 0;var a,u=e(534),s=e(818),o=e(305),f=e(576),y="undefined"!=typeof window?window:e.g,c=u.tr.ir,h=u.tr.ar,m=(new Date).getFullYear(),M=["MM/dd/yyyy","MM/d/yyyy","M/dd/yyyy","M/d/yyyy","yy/MM/dd","yy/MM/d","yy/M/dd","yy/M/d","yyyy/MM/dd","yyyy/MM/d","yyyy/M/dd","yyyy/M/d"],d=["hh:mm:ss","hh:mm:s","hh:m:ss","hh:m:s","h:mm:ss","h:mm:s","h:m:ss","h:m:s","hh:mm:ss tt","hh:mm:s tt","hh:m:ss tt","hh:m:s tt","h:mm:ss tt","h:mm:s tt","h:m:ss tt","h:m:s tt","hh:mm","hh:m","h:mm","h:m","hh:mm tt","hh:m tt","h:mm tt","h:m tt"],l=["MM-dd-yyyy","MM-d-yyyy","M-dd-yyyy","M-d-yyyy","yy-MM-dd","yy-MM-d","yy-M-dd","yy-M-d","yyyy-MM-dd","yyyy-MM-d","yyyy-M-dd","yyyy-M-d","dd-MMMM-yy","dd-MMM-yy"],v=M.concat(d);function b(t){return t.split(" ").join(" ").toUpperCase()}function F(t){for(var r=[],e=0,n=t.length;e<n;e++)r[e]=b(t[e]);return r}function g(t,r,e){var n=b(t),i=r.indexOf(n);return-1===i&&(i=e.indexOf(n)),i}function p(t){if(t){var r=t.charCodeAt(0);if(r>=11904&&r<12032||r>=8208&&r<8252||r>=12288&&r<40960||r>=43360&&r<43392||r>=44032&&r<55215||r>=63744&&r<64256||r>=65280&&r<65535)return!0}return!1}function _(t,r,e){if(" "===t||e&&" "===t)return 0;var n=e&&e(t);return r.lineBreakingForbidStart&&-1!==r.lineBreakingForbidStart.indexOf(t)?!e||n?7:6:r.lineBreakingForbidEnd&&-1!==r.lineBreakingForbidEnd.indexOf(t)?!e||n?5:4:n?2:r.lineBreakingChar&&-1!==r.lineBreakingChar.indexOf(t)?3:1}c(M,(function(t,r){c(d,(function(t,e){t<d.length-4&&v.push(r+" "+e)}))})),v=v.concat(l),c(l,(function(t,r){c(d,(function(t,e){t<d.length-4&&v.push(r+" "+e)}))})),function(t){t[t.year=1]="year",t[t.quarterOrMonth=2]="quarterOrMonth",t[t.date=3]="date"}(a=r.TimelineDateOrder||(r.TimelineDateOrder={}));var D={"00":1,"01":1,"02":1,"03":1,"04":1,"05":1,"06":1,"07":1,12:1,15:1,21:1,22:1,23:1,24:1,25:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,62:1,65:1,71:1,72:1,73:1,74:1,75:1};function w(t,r,e){if(!t)return[];for(var n=[t[0]],i=0,a=_(t[0],r,e),u=1;u<t.length;u++){var s=_(t[u],r,e);D[a+""+s]&&void 0===n[++i]&&(n[i]=""),n[i]+=t[u],a=s}return n}var H=function(){function t(){this.NumberFormat={currencyDecimalDigits:2,currencyDecimalSeparator:".",currencyGroupSeparator:",",currencyGroupSizes:[3],currencyNegativePattern:0,currencyPositivePattern:0,currencySymbol:"¤",digitSubstitution:1,isReadOnly:!0,numberGroupSizes:[3],nanSymbol:"NaN",nativeDigits:["0","1","2","3","4","5","6","7","8","9"],numberNegativePattern:1,negativeInfinitySymbol:"-Infinity",negativeSign:"-",numberDecimalDigits:2,numberDecimalSeparator:".",numberGroupSeparator:",",positiveInfinitySymbol:"Infinity",positiveSign:"+",percentDecimalDigits:2,percentDecimalSeparator:".",percentGroupSeparator:",",percentGroupSizes:[3],percentNegativePattern:0,percentPositivePattern:0,percentSymbol:"%",perMilleSymbol:"‰",listSeparator:",",arrayListSeparator:",",arrayGroupSeparator:";",dbNumber:{},standardDictionaryNumbers:{Hundreds:"Hundreds",Thousands:"Thousands",Millions:"Millions",Billions:"Billions",Trillions:"Trillions"},scientificNotation:"0.##############E+00"},this.DateTimeFormat={abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],abbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],amDesignator:"AM",calendarIsReadOnly:!0,calendarWeekRule:0,Calendar:{MinSupportedDateTime:"@-62135568000000@",MaxSupportedDateTime:"@253402300799999@",AlgorithmType:1,CalendarType:1,Eras:[1],TwoDigitYearMax:2029,isReadOnly:!0},dateSeparator:"/",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],defaultDatePattern:"MM/dd/yyyy H:mm:ss",firstDayOfWeek:0,fullDateTimePattern:"dddd, dd MMMM yyyy HH:mm:ss",longDatePattern:"dddd, dd MMMM yyyy",longTimePattern:"HH:mm:ss",monthDayPattern:"MMMM dd",monthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],nativeCalendarName:"Gregorian Calendar",pmDesignator:"PM",rfc1123Pattern:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",shortDatePattern:"MM/dd/yyyy",shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],shortTimePattern:"HH:mm",sortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",timeSeparator:":",universalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",yearMonthPattern:"yyyy MMMM",filterDialogDateFormatter:"yyyy/mmmm/dd",preselectedFormatters:[],eraFormatter:["ge/M/d","ge-M-d","ge.M.d","gee/MM/dd"]},this.name=function(){return""},this.id=-1,this.LocalNumberFormat={},this.displayName="",this.fontScriptCode=void 0,this.predefinedFormats={},this.TimelineDateOrder=[a.quarterOrMonth,a.date,a.year],this.TimelineDateSuffix={year:"",quarter:"",month:"",date:""},this.TextFormat={lineBreakingChar:[" ","-"]},this.equalCharacters=void 0}return t.prototype.ur=function(){return[" "]},t.prototype.sr=function(t){var r={lineBreakingChar:this.ur()};return this.TextFormat&&this.TextFormat.lineBreakingStrategy?this.TextFormat.lineBreakingStrategy(t,r):w(t,r)},t.prototype.yr=function(t){if(this.TextFormat&&this.TextFormat.lineBreakingStrategy){var r={lineBreakingChar:this.TextFormat.lineBreakingChar,lineBreakingForbidEnd:this.TextFormat.lineBreakingForbidEnd,lineBreakingForbidStart:this.TextFormat.lineBreakingForbidStart};return this.TextFormat.lineBreakingStrategy(t,r)}return w(t,this.TextFormat||{lineBreakingChar:[" ","-"]})},t.prototype.cr=function(){if(!this.hr){var t=this.DateTimeFormat,r=t.shortDatePattern.replace(/m/g,"M"),e=[r,r+" h:mm",r+" h:mm:ss",r+" h:mm:ss.0","MMMdd","MMMd","MMM dd","MMM d"];if(e=e.concat(v),1041===this.id){var n=t.eraFormatter;e=(e=e.concat(this.mr)).concat(n)}e=e.concat(t.preselectedFormatters),this.hr=e}return this.hr},t.prototype.Mr=function(t){return this.dr||(this.dr=F(this.DateTimeFormat.monthNames),this.lr=F(this.DateTimeFormat.monthGenitiveNames)),g(t,this.dr,this.lr)},t.prototype.vr=function(t){return this.br||(this.br=F(this.DateTimeFormat.abbreviatedMonthNames),this.Fr=F(this.DateTimeFormat.abbreviatedMonthGenitiveNames)),g(t,this.br,this.Fr)},t.prototype.gr=function(t){return this.pr||(this.pr=F(this.DateTimeFormat.dayNames)),this.pr.indexOf(b(t))},t.prototype._r=function(t){return this.Dr||(this.Dr=F(this.DateTimeFormat.abbreviatedDayNames)),this.Dr.indexOf(b(t))},t}();r.CultureInfo=H;var $=function(){function t(){}return t.wr=function(r){return r>=t.Hr()&&r<=t.$r()},t.Sr=function(){var t=H.eras;if(void 0!==t){for(var r=[],e=0;e<t.length;e++)r[e]=new Date(t[e].startDate.replace(/-/g,"/"));return r}return this.Nr},t.Pr=function(r){var e,n;switch(r){case"g":e="symbol",n=t.Cr;break;case"gg":e="abbreviation",n=t.Or;break;case"ggg":e="name",n=t.jr;break;default:return[]}var i=H.eras,a=[];if(void 0!==i){for(var u=0;u<i.length;u++)a[u]=i[u][e];return a}return n},t.$r=function(){var t=H.eras;if(void 0!==t&&t.length>0){var r=new Date(t[t.length-1].startDate.replace(/-/g,"/"));return r.setFullYear(r.getFullYear()+99),r}return this.Er},t.Hr=function(){var t=H.eras;return void 0!==t&&t.length>0?new Date(t[0].startDate.replace(/-/g,"/")):this.Tr},t.Rr=function(){var t=H.eras;return void 0!==t?t.length:this.Ir},t.zr=function(){var t=H.eras;if(void 0!==t){for(var r=[],e=1;e<t.length;e++){var n=new Date(t[e-1].startDate.replace(/-/g,"/")),i=new Date(t[e].startDate.replace(/-/g,"/"));r[e-1]=i.getFullYear()-n.getFullYear()+1}return r[e-1]=99,r}return this.Gr},t.Jr=function(r){var e={Ur:-1,Lr:-1};if(!t.wr(r)){if(!(r>t.$r()))return e;r=t.$r()}for(var n=0;n<t.Rr();n++){if(r<(n+1!==t.Rr()?t.Sr()[n+1]:t.qr(t.$r(),1))){e.Ur=n,e.Lr=r.getFullYear()-t.Sr()[n].getFullYear()+1;break}}return e},t.qr=function(t,r){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds());return e.setMilliseconds(e.getMilliseconds()+r),new Date(e.valueOf())},t.Kr=function(r,e){return t.Sr()[r].getFullYear()+e-1},t.Wr=function(r,e){e=e.toUpperCase();for(var n=t.Pr(r),i=0;i<n.length;i++)if(n[i]===e)return i;return-1},t.Yr=function(r,e,n){var i=t,a=i.Jr(e),u=a.Ur;if(u>=0){var s=i.Pr(r);if(s.length>0)return s[u]}var o=a.Lr;if(o>=0){var f=o.toString();if("1"===f&&n)return"元";if("ee"===r)return 1===f.length&&(f="0"+f),f;if("e"===r)return f}return""},t.Nr=[new Date(1868,8,8),new Date(1912,6,30),new Date(1926,11,25),new Date(1989,0,8),new Date(2019,4,1)],t.Ir=5,t.Gr=[45,15,64,31,99],t.Er=new Date(2117,11,31,23,59,59),t.Tr=new Date(1868,8,8),t.Xr=["1,m","2,t","3,s","4,h","5,r"],t.Zr=[0,1,2,3,0,1,2,3],t.jr=["明治","大正","昭和","平成","令和"],t.Cr=["M","T","S","H","R"],t.Or=["明","大","昭","平","令"],t.Qr=99,t.eraExcelFormatter="[$-ja-JP-x-gannen]",t.eraInternalFormatter="[$-411]",t}();r.nr=$;var k=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencySymbol","isReadOnly"],["$",!1]);return O.call(r,"DateTimeFormat",["fullDateTimePattern","longDatePattern","longTimePattern","shortDatePattern","shortTimePattern","yearMonthPattern","calendarIsReadOnly","preselectedFormatters"],["dddd, MMMM dd, yyyy h:mm:ss tt","dddd, MMMM dd, yyyy","h:mm:ss tt","M/d/yyyy","h:mm tt","MMMM, yyyy",!1,["MMM yyyy","MMMM yyyy"]]),r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" H:mm:ss",r.name=function(){return"en-US"},r.displayName="English (United States)",r.id=1033,r.predefinedFormats={Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',Currency:["[$$-409]#,##0","[$$-409]#,##0;[Red][$$-409]#,##0","[$$-409]#,##0_);([$$-409]#,##0)","[$$-409]#,##0_);[Red]([$$-409]#,##0)"],Date:["m/d/yyyy","[$-409]dddd, mmmm dd, yyyy","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmm d, yyyy;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@","m/d/yyyy;@","[$-409]d-mmm-yyyy;@"],Time:["[$-409]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","mm:ss.0;@","[h]:mm:ss;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@"],Special:{"Zip Code":"00000","Zip Code + 4":"00000-0000","Phone Number":"[<=9999999]###-####;(###) ###-####","Social Security Number":"000-00-0000"},shortcut:{Number:"0.00",Currency:"[$$-409]#,##0.00",Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',ShortDate:"m/d/yyyy",LongDate:"[$-409]dddd, mmmm dd, yyyy",Time:"[$-409]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)'}},r}return i(r,t),r}(H),S=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[0,1,"¥",!1,"NaN (非数値)","-∞",1,1,"+∞",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["〇","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["〇","壱","弐","参","四","伍","六","七","八","九"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十億",Trillions:"兆"}]);var e=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""];return O.call(r,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters","EraFilterDialogDateFormatter"],[["日","月","火","水","木","金","土"],e,e,"午前",!1,["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"西暦 (日本語)","午後","yyyy/MM/dd",["日","月","火","水","木","金","土"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月d日","yyyy年M月dd日","yyyy年MM月d日","yyyy年MM月dd日"],"ggge/mmmm/d日"]),r.DateTimeFormat.eras=!0,r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" "+r.DateTimeFormat.longTimePattern,r.mr=['gggee"年"MM"月"dd"日','gggee"年"M"月"d"日','ge"年"M"月"d"日','ggge"年"M"月"d"日','ggee"年"M"月"d"日','gge"年"M"月"d"日'],r.name=function(){return"ja-JP"},r.id=1041,r.displayName="Japanese (Japan)",r.isJCKCulture=!0,r.predefinedFormats={Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$¥-411]#,##0_);[Red]([$¥-411]#,##0)","[$¥-411]#,##0_);([$¥-411]#,##0)","[$¥-411]#,##0;[Red][$¥-411]#,##0","[$¥-411]#,##0;-[$¥-411]#,##0","[$¥-411]#,##0;[Red]-[$¥-411]#,##0"],Date:["yyyy/mm/dd","[$-411]dddd, mmmm dd, yyyy",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"yyyy/m/d;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@"],Time:["[$-411]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@",'h"時"mm"分";@','h"時"mm"分"ss"秒";@'],Special:{郵便番号:"[<=999]000;[<=9999]000-00;000-0000","電話番号(東京)":"[<=99999999]####-####;(00) ####-####","正負記号 (+ = △; - = ▲)":'"△" #,##0;"▲" #,##0',"漢数字(十二万三千四百)":"[DBNum1][$-411]General","大字 (壱拾弐萬参阡四百)":"[DBNum2][$-411]General","全角 (12345)":"[DBNum3][$-411]0","全角 桁区切り(12,345)":"[DBNum3][$-411]#,##0"},shortcut:{Number:"0.00",Currency:"[$¥-411]#,##0.00",Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',ShortDate:"yyyy/mm/dd",LongDate:"[$-411]dddd, mmmm dd, yyyy",Time:"[$-411]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},r.TimelineDateOrder=[a.year,a.quarterOrMonth,a.date],r.TimelineDateSuffix={year:"年",quarter:"",month:"月",date:"日"},r.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}","」","。","、","ー"],lineBreakingForbidEnd:["(","[","{","(","[","{","「","$","$","\\","¥"],lineBreakingStrategy:function(t,r){return w(t,r,p)}},r.equalCharacters=["―ゝゞ゠ヽヾー","㆐㆑㇤㇥","‸⁊",".․","&⁋","%⁏","$⁒","#⁗",'"⁍',"‹⁓"],r}return i(r,t),r}(H),N=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[2,"¥",!1,"非数字","负无穷大",1,1,"正无穷大",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["○","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","仟","佰","拾","亿","仟","佰","拾","万","仟","佰","拾",""],numbers:["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十亿",Trillions:"兆"}]);var e=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""];return O.call(r,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters"],[["周日","周一","周二","周三","周四","周五","周六"],e,e,"上午",!1,["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],1,"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"公历","下午","yyyy/M/d",["日","一","二","三","四","五","六"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月","M月d日","yyyy年M月d日","h时mm分","h时mm分ss秒"]]),r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" "+r.DateTimeFormat.longTimePattern,r.name=function(){return"zh-cn"},r.id=2052,r.displayName="Chinese (China)",r.isJCKCulture=!0,r.localeCompare=function(t,r){var e=t.localeCompare(r,"zh");return e<0&&t>="一"&&r<"一"||e>0&&r>="一"&&t<"一"?-e:e},r.predefinedFormats={Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ ',Currency:["[$¥-804]#,##0","[$¥-804]#,##0;[Red][$¥-804]#,##0","[$¥-804]#,##0;[$¥-804]-#,##0","[$¥-804]#,##0;[Red][$¥-804]-#,##0"],Date:["yyyy/m/d","[$-804]dddd, mmmm dd, yyyy","yyyy-mm-dd;@",'[DBNum1][$-804]yyyy"年"m"月"d"日";@','[DBNum1][$-804]yyyy"年"m"月";@','[DBNum1][$-804]m"月"d"日";@',"[$-409]yyyy/m/d h:mm AM/PM;@",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"mm/dd/yy;@","m/d/yy;@","yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-804]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@",'h"时"mm"分";@','h"时"mm"分"ss"秒";@','[$-804]上午/下午h"时"mm"分";@','[$-804]上午/下午h"时"mm"分"ss"秒";@','[DBNum1][$-804]h"时"mm"分";@','[DBNum1][$-804]上午/下午h"时"mm"分";@'],Special:{邮政编码:"000000",中文小写字母:"[DBNum1][$-804]General",中文大写字母:"[DBNum2][$-804]General"},shortcut:{Number:"0.00",Currency:"[$¥-804]#,##0.00",Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',ShortDate:"yyyy/m/d",LongDate:"[$-804]dddd, mmmm dd, yyyy",Time:"[$-804]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ '}},r.TimelineDateOrder=[a.year,a.quarterOrMonth,a.date],r.TimelineDateSuffix={year:"年",quarter:"",month:"",date:"日"},r.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}"],lineBreakingForbidEnd:["(","[","{","(","[","{"],lineBreakingStrategy:function(t,r){return w(t,r,p)}},r.normalizeDateTimeString=function(t){var r;if(f.Xt.Vr("^([0-9]{1,2}|[0-9]{4})年[0-9]{1,2}月$").test(t))return(r=t.split("年"))[1].replace("月","")+"/1/"+r[0];if(f.Xt.Vr("^[0-9]{1,2}月[0-9]{1,2}日$").test(t))return(r=t.split("月"))[0]+"/"+r[1].replace("日","")+"/"+m;if(f.Xt.Vr("^(上午|下午)?[0-9]{1,2}时[0-9]{1,2}分([0-9]{1,2}秒)?$").test(t)){var e=t.replace("时",":").replace("分",":").replace("秒","");return(e=e.endsWith(":")?e+"00":e).startsWith("上午")&&(e=e.replace("上午","")+" AM"),e.startsWith("下午")&&(e=e.replace("下午","")+" PM"),e}return t.includes("上午")||t.includes("下午")?t.replace("上午","am").replace("下午","pm"):null},r}return i(r,t),r.prototype.ur=function(){return[" "," "]},r}(H),P=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","dbNumber","standardDictionaryNumbers"],[0,1,"₩",!1,{1:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["零","壹","貳","參","四","伍","六","七","八","九"]},3:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","1","2","3","4","5","6","7","8","9"]},4:{letters:["조","천","백","십","억","천","백","십","만","천","백","십",""],numbers:["○","일","이","삼","사","오","육","칠","팔","구"]}},{Hundreds:"백",Thousands:"천",Millions:"백만",Billions:"10억",Trillions:"조"}]);var e=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""];return O.call(r,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter"],[["일","월","화","수","목","금","토"],e,e,"오전",!1,["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],1,"yyyy'년' M'월' d'일' dddd h:mm:ss","yyyy'년' M'월' d'일' dddd","h:mm:ss","M'월' d'일'",n,n,"서기","오후","yyyy-MM-dd",["일","월","화","수","목","금","토"],"tt h:mm","yyyy'년' M'월'","yyyy년/mmmm/d일"]),r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" "+r.DateTimeFormat.longTimePattern,r.name=function(){return"ko-kr"},r.id=1042,r.displayName="Korean (Korea)",r.isJCKCulture=!0,r.predefinedFormats={Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$₩-412]#,##0","[$₩-412]#,##0;[Red][$₩-412]#,##0","[$₩-412]#,##0;-[$₩-412]#,##0","[$₩-412]#,##0;[Red]-[$₩-412]#,##0"],Date:["yyyy-mm-dd",'yyyy"년" m"월" d"일" dddd',"yyyy-mm-dd;@",'yyyy"년" m"월" d"일";@','yy"年" m"月" d"日";@','yyyy"년" m"월";@','m"월" d"일";@',"yy-m-d;@","yy-m-d h:mm;@",'m"月"d"日";@',"[$-412]yy-m-d AM/PM h:mm;@","yy/m/d;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-412]h:mm:ss AM/PM","h:mm;@","h:mm:ss;@","[$-412]AM/PM h:mm;@","[$-412]AM/PM h:mm:ss;@","[$-409]h:mm AM/PM;@","[$-409]h:mm:ss AM/PM;@",'yyyy"-"m"-"d h:mm;@','[$-412]yyyy"-"m"-"d AM/PM h:mm;@','[$-409]yyyy"-"m"-"d h:mm AM/PM;@','h"시" mm"분";@','h"시" mm"분" ss"초";@','[$-412]AM/PM h"시" mm"분";@','[$-412]AM/PM h"시" mm"분" ss"초";@'],Special:{"우편 번호":"000-000","전화 번호 (국번 4자리)":"[<=999999]####-####;(0##) ####-####","전화 번호 (국번 3자리)":"[<=9999999]###-####;(0##) ###-####",주민등록번호:"000000-0000000","숫자(한자)":"[DBNum1][$-412]General","숫자(한자-갖은자)":"[DBNum2][$-412]General","숫자(한글)":"[DBNum4][$-412]General"},shortcut:{Number:"0.00",Currency:"[$₩-412]#,##0.00",Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',ShortDate:"yyyy-mm-dd",LongDate:'yyyy"년" m"월" d"일" dddd',Time:"[$-412]h:mm:ss AM/PM",Percentage:"0%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},r.TimelineDateOrder=[a.year,a.quarterOrMonth,a.date],r.TimelineDateSuffix={year:"년",quarter:"",month:"월",date:"일"},r}return i(r,t),r}(H),C={invariant:new H,"en-us":new k,"ja-jp":new S,"zh-cn":new N,"ko-kr":new P};function O(t,r,e){for(var n,i=0,a=r.length;i<a;i++)n=r[i],this[t][n]=e[i]}var x={},j=["lsru","lsde","ls1","ls2","ls3","ls4","ls5","ls6","ls7","ls8","ls9","ls10","ls11"],E=["wmk1","wmk2"],T=function(){function t(){this.te=1,this.re={}}return t.instance=function(){return this.Ut||(this.Ut=new this)},t.prototype.culture=function(r){if(0===arguments.length)return t.ee;var e,n,i;r&&t.ee!==r&&(t.ee=r.toLowerCase(),this.te++,e=t.ee,n=t.Ut.getCultureInfo(),"object"==typeof document&&("function"!=typeof CustomEvent?(i=document.createEvent("CustomEvent")).initCustomEvent("cultureChanged",!1,!1,void 0):i=new CustomEvent("cultureChanged",{}),i.cultureInfo=e,y.gcCultureInfo=e,y.gcCultureObj=n,document.dispatchEvent(i)))},t.prototype.addCultureInfo=function(t,r,e){if(r&&r instanceof H){var n=r.NumberFormat&&r.NumberFormat.numberDecimalSeparator,i=r.NumberFormat.arrayListSeparator,a=r.NumberFormat.arrayGroupSeparator;if(n===r.NumberFormat.listSeparator||a===i)throw new s.ResourceManager(s.SR).getResource().Exp_Separator;C[t.toLowerCase()]=r}if(e&&"object"==typeof e){var u=t.toLowerCase();x[u]=h(!0,{},e),this.te++}},t.prototype.getCultureInfoDict=function(){return C},t.prototype.getCultureInfo=function(r){if(0===arguments.length)return C[t.ee];"string"==typeof r&&(r=r.toLowerCase());var e=C,n=null;for(var i in e)if(i===r||void 0!==e[i].id&&e[i].id===r){n=e[i];break}return n},t.prototype.getLanguage=function(t){if("string"==typeof t){var r=t.toLowerCase();return x[r]}return null},t.prototype.getResources=function(t){var r=this.culture().toLowerCase();if(null==t&&(t=r),"string"==typeof t){var e=t.toLowerCase();if(this.re[e])return this.ne(this.re[e])}return null},t.prototype.ne=function(t){var r="PivotTables",e="ReportSheet",n="GanttSheet",i="DataChart",a="Sheets",u=h(!0,{},t);u[r]&&this.ie(u[r],E),u[e]&&this.ie(u[e],E),u[n]&&this.ie(u[n],E),u[i]&&this.ie(u[i],E),u[a]&&this.ie(u[a],j);var s=u.CalcEngine;return s&&(u.Functions=s.ae,u.TableFunctions=s.ue,delete s.ae,delete s.ue),u},t.prototype.ie=function(t,r){for(var e=0,n=r;e<n.length;e++){delete t[n[e]]}},t.prototype.se=function(t,r,e){var n=x[t.toLowerCase()];for(var i in r)if(!o.Vt.oe(j,i)){var a=this.fe(n,i,e);(null!==a&&"string"==typeof a&&"string"==typeof r[i]||null!==a&&"object"==typeof a&&!Array.isArray(a))&&(r[i]=a)}r.ae&&n.Functions&&this.ye(n.Functions,r.ae),r.ue&&n.TableFunctions&&h(!0,r.ue,n.TableFunctions)},t.prototype.fe=function(t,r,e){if(t.hasOwnProperty(r))return t[r];if(e&&(i=t[e])&&"object"==typeof i&&i.hasOwnProperty(r))return i[r];for(var n in t){var i;if((i=t[n])&&"object"==typeof i&&i.hasOwnProperty(r))return i[r]}return null},t.prototype.ye=function(t,r){for(var e in r)if(t.hasOwnProperty(e)){var n=r[e],i=t[e],a=n.parameters,u=i.parameters;for(var s in n.description=i.description,a)if(u.hasOwnProperty(s)){var o=u[s];"string"==typeof o&&(a[s].name=o)}}return{}},t.prototype.ce=function(r){var e=this.getCultureInfo(r);return e||(e=C[t.ee])||(e=new H),e},t.prototype.he=function(t,r){var e=(this.getCultureInfo(t)||this.getCultureInfo("en-US")).DateTimeFormat,n=e.filterDialogDateFormatter;return(r.indexOf("g")>=0||r.indexOf("e")>=0)&&(n=e.EraFilterDialogDateFormatter||n),n},t.ee="en-us",t}();r.CultureManager=T.instance()},561:function(t,r,e){var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),i(e(895),r)},566:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Error_InvalidRemoteConfigurationForUserFetching=r.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter=r.Error_FailedToFetchUsers=r.Error_RemoteConfigurationForUserFetchingNotProvided=r.GUEST_USER=void 0,r.GUEST_USER="Guest",r.Error_RemoteConfigurationForUserFetchingNotProvided="Remote configuration for user fetching is not provided.",r.Error_FailedToFetchUsers="Failed to fetch users: ",r.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter="GraphQL schema must be provided for graphql adapter.",r.Error_InvalidRemoteConfigurationForUserFetching="Invalid remote configuration for user fetching."},895:function(t,r,e){var n=this&&this.me||function(t,r,e,n){return new(e||(e=Promise))((function(i,a){function u(t){try{o(n.next(t))}catch(t){a(t)}}function s(t){try{o(n.throw(t))}catch(t){a(t)}}function o(t){var r;t.done?i(t.value):(r=t.value,r instanceof e?r:new e((function(t){t(r)}))).then(u,s)}o((n=n.apply(t,r||[])).next())}))},i=this&&this.Me||function(t,r){var e,n,i,a,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(o){return function(s){if(e)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(u=0)),u;)try{if(e=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,n=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(!((i=(i=u.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){u=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){u.label=s[1];break}if(6===s[0]&&u.label<i[1]){u.label=i[1],i=s;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(s);break}i[2]&&u.ops.pop(),u.trys.pop();continue}s=r.call(t,u)}catch(t){s=[6,t],n=0}finally{e=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,o])}}};Object.defineProperty(r,"t",{value:!0}),r.UserManager=r.UserManagerEvent=void 0;var a=e(566),u=e(818),s=e(479),o=e(534),f=e(305);o.tr.ar(u.SR.en,a);var y,c=new u.ResourceManager(u.SR),h=c.getResource.bind(c),m=o.tr.de,M=f.Vt.le,d=o.tr.ve,l=["#3B82F6","#10B981","#8B5CF6","#F59E0B","#EF4444","#06B6D4","#EC4899","#84CC16","#6366F1","#14B8A6","#F97316","#A855F7","#22C55E","#EAB308","#F43F5E","#0EA5E9","#D946EF","#65A30D","#DC2626","#7C3AED"];!function(t){t.CurrentUserChanged="CurrentUserChanged"}(y=r.UserManagerEvent||(r.UserManagerEvent={}));var v=function(){function t(t){var r={id:s.UUIDGenerator.secureUpperCaseUUID(),name:h().GUEST_USER,color:"#26A69A",be:!0};this.Fe=[r],this.ge=r.id,this.options=t,this.pe=0,this._e=new Map([[y.CurrentUserChanged,[]]])}return t.instance=function(){return this.Ut||(this.Ut=new this)},t.prototype.configure=function(t){this.options=t},t.prototype.De=function(t){for(var r=this.Fe,e=0;e<r.length;e++)if(r[e].id===t)return d(r[e])},t.prototype.we=function(t){var r;return n(this,void 0,void 0,(function(){var e;return i(this,(function(n){switch(n.label){case 0:return(null===(r=this.options)||void 0===r?void 0:r.get)?[4,this.options.get(t)]:[3,2];case 1:return(e=n.sent())&&this.He(e),[2,e];case 2:return[2]}}))}))},t.prototype.$e=function(t){t||(t=s.UUIDGenerator.secureUpperCaseUUID());var r=this.De(t);return r||(r={id:t,name:h().GUEST_USER}),this.He(r),r},t.prototype.ke=function(t){var r=this;Array.isArray(t)&&t.forEach((function(t){t&&!t.color&&(t.color=r.Se(t.id))}))},t.prototype.Ne=function(t){var r;return n(this,void 0,void 0,(function(){var e,n;return i(this,(function(i){switch(i.label){case 0:return(null===(r=(e=this).options)||void 0===r?void 0:r.search)?[4,e.options.search(t)]:[3,2];case 1:return n=i.sent(),e.ke(n),[2,n];case 2:return[2,[]]}}))}))},t.prototype.bind=function(t,r){this._e.has(t)||this._e.set(t,[]);var e=this._e.get(t);Array.isArray(e)&&e.push(r)},t.prototype.current=function(t){var r=this;if(m(t))return r.ge;if(r.ge!==t){var e=r.ge;r.ge=t,Promise.all([r.we(e),r.we(t)]).then((function(n){var i=n[0],a=n[1];i||(i=r.De(e))&&i.be&&(r.Fe=r.Fe.filter((function(t){return!t.be}))),r.Pe(i,a,e,t)})).catch((function(n){r.Pe(void 0,void 0,e,t)}))}return r.ge},t.prototype.Pe=function(t,r,e,n){t||(t=this.De(e)),r||(r=this.De(n)),this.Ce(y.CurrentUserChanged,{oldCurrentUser:t,newCurrentUser:r})},t.prototype.Oe=function(){return M(this.Fe)},t.prototype.unbind=function(t,r){if(this._e.has(t)){var e=this._e.get(t);if(!Array.isArray(e))return;r?e.splice(e.indexOf(r),1):e.splice(0)}},t.prototype.Ce=function(t,r){if(this._e.has(t)){var e=this._e.get(t);if(!Array.isArray(e))return;e.forEach((function(e){e(t,r)}))}},t.prototype.xe=function(t){t&&(this.ke(t),this.Fe=t||[])},t.prototype.je=function(){return M(this.Fe)},t.prototype.Ee=function(){var t,r=this.pe,e=(null===(t=this.options)||void 0===t?void 0:t.colorScheme)?this.options.colorScheme.length:l.length;return this.pe=(r+1)%e,r},t.prototype.Te=function(t){var r=0;if(!t||0===t.length)return r;for(var e=0;e<t.length;e++){r=(r<<5)-r+t.charCodeAt(e),r|=0}return Math.abs(r)},t.prototype.Ae=function(t){var r,e=(null===(r=this.options)||void 0===r?void 0:r.colorScheme)?this.options.colorScheme.length:l.length;return this.Te(t)%e},t.prototype.Se=function(t){var r,e=(null===(r=this.options)||void 0===r?void 0:r.colorScheme)||l;return t?e[this.Ae(t)]:e[this.Ee()]},t.prototype.He=function(t){for(var r=this.Fe,e=0;e<r.length;e++)if(r[e].id===t.id)return r[e]=t,void(t.color||(t.color=this.Se(t.id)));t.color||(t.color=this.Se(t.id)),r.push(t)},t.prototype.Re=function(t,r){var e={id:t||s.UUIDGenerator.secureUpperCaseUUID(),name:r||h().GUEST_USER};return this.He(e),e},t.prototype.Be=function(t){this.Fe=this.Fe.filter((function(r){return r.id!==t}))},t.prototype.Ie=function(){this._e.clear(),this.Fe=[],this.ge=""},t}();r.UserManager=v.instance()},305:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Vt=void 0;function e(t,r){for(var n in r)if(r.hasOwnProperty(n)){var i=r[n];Array.isArray(i)?(t[n]=[],e(t[n],r[n])):null!==i&&"object"==typeof i?(t[n]={},e(t[n],r[n])):t[n]=r[n]}}var n=function(){function t(){}return t.ze=function(t,r,e){t.splice(r,0,e)},t.He=function(t,r){t.push(r)},t.oe=function(t,r){return t.indexOf(r)>-1},t.Be=function(t,r){var e=t.indexOf(r);e>-1&&t.splice(e,1)},t.Ge=function(t,r){return t.slice(0,r).concat(t.slice(r+1))},t.Je=function(t,r,e){return t.indexOf(r,e)},t.Ue=function(t,r,e){if(!(r<0))for(var n=0;n<e&&r+n<t.length;n++)t[r+n]=null},t.qe=function(t,r){r<0&&(r=-1);for(var e=r+1;e<t.length;e++)if(void 0!==t[e]&&null!==t[e])return e;return-1},t.Ke=function(t){return t&&t.length},t.le=function(t){var r=[];return e(r,t),r},t}();r.Vt=n},395:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.rr=void 0;var n=e(844).Zt.We,i=Math.min,a=Math.max,u=Math.abs,s=parseInt;function o(t,r,e){return e<0&&(e+=240),e>240&&(e-=240),e<40?t+((r-t)*e+20)/40:e<120?r:e<160?t+((r-t)*(160-e)+20)/40:t}function f(t,r,e){var n,i,a;if(0===e)n=i=a=s(255*r/240+"",10);else{var u,o;n=y(u=2*r-(o=r<=120?s((r*(240+e)+120)/240+""):r+e-s((r*e+120)/240+"")),o,t+80),i=y(u,o,t),a=y(u,o,t-80)}return{a:255,r:n,g:i,b:a}}function y(t,r,e){return i(s((255*o(t,r,e)+120)/240+""),255)}var c={aliceblue:[240,248,255,255],antiquewhite:[250,235,215,255],aqua:[0,255,255,255],aquamarine:[127,255,212,255],azure:[240,255,255,255],beige:[245,245,220,255],bisque:[255,228,196,255],black:[0,0,0,255],blanchedalmond:[255,235,205,255],blue:[0,0,255,255],blueviolet:[138,43,226,255],brown:[165,42,42,255],burlywood:[222,184,135,255],cadetblue:[95,158,160,255],chartreuse:[127,255,0,255],chocolate:[210,105,30,255],coral:[255,127,80,255],cornflowerblue:[100,149,237,255],cornsilk:[255,248,220,255],crimson:[220,20,60,255],cyan:[0,255,255,255],darkblue:[0,0,139,255],darkcyan:[0,139,139,255],darkgoldenrod:[184,134,11,255],darkgray:[169,169,169,255],darkgreen:[0,100,0,255],darkgrey:[169,169,169,255],darkkhaki:[189,183,107,255],darkmagenta:[139,0,139,255],darkolivegreen:[85,107,47,255],darkorange:[255,140,0,255],darkorchid:[153,50,204,255],darkred:[139,0,0,255],darksalmon:[233,150,122,255],darkseagreen:[143,188,143,255],darkslateblue:[72,61,139,255],darkslategray:[47,79,79,255],darkslategrey:[47,79,79,255],darkturquoise:[0,206,209,255],darkviolet:[148,0,211,255],deeppink:[255,20,147,255],deepskyblue:[0,191,255,255],dimgray:[105,105,105,255],dimgrey:[105,105,105,255],dodgerblue:[30,144,255,255],firebrick:[178,34,34,255],floralwhite:[255,250,240,255],forestgreen:[34,139,34,255],fuchsia:[255,0,255,255],gainsboro:[220,220,220,255],ghostwhite:[248,248,255,255],gold:[255,215,0,255],goldenrod:[218,165,32,255],gray:[128,128,128,255],green:[0,128,0,255],greenyellow:[173,255,47,255],grey:[128,128,128,255],honeydew:[240,255,240,255],hotpink:[255,105,180,255],indianred:[205,92,92,255],indigo:[75,0,130,255],ivory:[255,255,240,255],khaki:[240,230,140,255],lavender:[230,230,250,255],lavenderblush:[255,240,245,255],lawngreen:[124,252,0,255],lemonchiffon:[255,250,205,255],lightblue:[173,216,230,255],lightcoral:[240,128,128,255],lightcyan:[224,255,255,255],lightgoldenrodyellow:[250,250,210,255],lightgray:[211,211,211,255],lightgreen:[144,238,144,255],lightgrey:[211,211,211,255],lightpink:[255,182,193,255],lightsalmon:[255,160,122,255],lightseagreen:[32,178,170,255],lightskyblue:[135,206,250,255],lightslategray:[119,136,153,255],lightslategrey:[119,136,153,255],lightsteelblue:[176,196,222,255],lightyellow:[255,255,224,255],lime:[0,255,0,255],limegreen:[50,205,50,255],linen:[250,240,230,255],magenta:[255,0,255,255],maroon:[128,0,0,255],mediumaquamarine:[102,205,170,255],mediumblue:[0,0,205,255],mediumorchid:[186,85,211,255],mediumpurple:[147,112,219,255],mediumseagreen:[60,179,113,255],mediumslateblue:[123,104,238,255],mediumspringgreen:[0,250,154,255],mediumturquoise:[72,209,204,255],mediumvioletred:[199,21,133,255],midnightblue:[25,25,112,255],mintcream:[245,255,250,255],mistyrose:[255,228,225,255],moccasin:[255,228,181,255],navajowhite:[255,222,173,255],navy:[0,0,128,255],oldlace:[253,245,230,255],olive:[128,128,0,255],olivedrab:[107,142,35,255],orange:[255,165,0,255],orangered:[255,69,0,255],orchid:[218,112,214,255],palegoldenrod:[238,232,170,255],palegreen:[152,251,152,255],paleturquoise:[175,238,238,255],palevioletred:[219,112,147,255],papayawhip:[255,239,213,255],peachpuff:[255,218,185,255],peru:[205,133,63,255],pink:[255,192,203,255],plum:[221,160,221,255],powderblue:[176,224,230,255],purple:[128,0,128,255],rebeccapurple:[102,51,153,255],red:[255,0,0,255],rosybrown:[188,143,143,255],royalblue:[65,105,225,255],saddlebrown:[139,69,19,255],salmon:[250,128,114,255],sandybrown:[244,164,96,255],seagreen:[46,139,87,255],seashell:[255,245,238,255],sienna:[160,82,45,255],silver:[192,192,192,255],skyblue:[135,206,235,255],slateblue:[106,90,205,255],slategray:[112,128,144,255],slategrey:[112,128,144,255],snow:[255,250,250,255],springgreen:[0,255,127,255],steelblue:[70,130,180,255],tan:[210,180,140,255],teal:[0,128,128,255],thistle:[216,191,216,255],tomato:[255,99,71,255],turquoise:[64,224,208,255],violet:[238,130,238,255],wheat:[245,222,179,255],white:[255,255,255,255],whitesmoke:[245,245,245,255],yellow:[255,255,0,255],yellowgreen:[154,205,50,255]},h=function(){function t(t){var r=t.r,e=t.g,n=t.b,u=a(a(r,e),n),o=i(i(r,e),n),f=u+o;this.Ye=s((240*f+255)/510+"",10);var y=u-o;if(0===y)this.Xe=0,this.Ze=160;else{this.Ye<=120?this.Xe=s((240*y+f/2)/f+"",10):this.Xe=s((240*y+(510-f)/2)/(510-f)+"",10);var c=(40*(u-r)+y/2)/y,h=(40*(u-e)+y/2)/y,m=(40*(u-n)+y/2)/y;this.Ze=s(r===u?m-h+"":e===u?80+c-m+"":160+h-c+"",10),this.Ze<0&&(this.Ze+=240),this.Ze>240&&(this.Ze-=240)}}return t.prototype.Qe=function(t){var r=this.Ye,e=this.Ve(this.Ye,500,!0);return f(this.Ze,r+(e-r)*t,this.Xe)},t.prototype.Ve=function(t,r,e){return 0===r?t:e?r>0?(t*(1e3-r)+241*r)/1e3:t*(r+1e3)/1e3:((t+=240*r/1e3)<0&&(t=0),t>240&&(t=240),t)},t}(),m=/rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})(?:,\s*(\.\d+|\d(?:\.\d+)?))?\)/;function M(t){if(/^#[A-Fa-f0-9]+$/.test(t)){var r=t.replace(/^#/,""),e=r.length,n="",i="";if(6===e||8===e)n=r.substr(0,6),8===e&&(i=r.substr(6,2));else if(3===e||4===e){var a=r.split(3===e?/(.)/:/(..)/);n=a.filter(Boolean).map((function(t){return parseInt(3===e?t+t:t,16)})).map((function(t){return t.toString(16).padStart(2,"0")})).join(""),4===e&&(i=a[3]+a[3])}return[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16),s=i?parseInt(i,16):255]}if(t.toLowerCase()in c)return c[t.toLowerCase()];var u=m.exec(t);if(null!==u){var s=void 0===u[4]?255:255*+u[4];return[u[1],u[2],u[3],s]}return null}var d=function(){function t(){}return t.tn=function(t){var r=t.a,e=t.r,i=t.g,a=t.b;return 3===arguments.length&&(r=255,e=arguments[0],i=arguments[1],a=arguments[2]),4===arguments.length&&(r=arguments[0],e=arguments[1],i=arguments[2],a=arguments[3]),255===r?"#"+n(e,!0,2)+n(i,!0,2)+n(a,!0,2):"rgba("+e+","+i+","+a+","+r+")"},t.rn=function(t,r){return t.stops||t.type?JSON.stringify(t)===JSON.stringify(r):t.a===r.a&&t.r===r.r&&t.g===r.g&&t.b===r.b},t.nn=function(t){return(299*t.r+587*t.g+114*t.b)/1e3},t.an=function(t,r){var e=255-u(t.r-r.r),n=255-u(t.g-r.g),i=255-u(t.b-r.b),a=u(t.a-r.a);return!!(((e/=255)+(n/=255)+(i/=255))/3>=.9&&a<=.05)},t.un=function(r){var e=255^r.r,n=255^r.g,i=255^r.b;return t.tn(r.a,e,n,i)},t.sn=function(r){if("object"!=typeof document)return M(r);var n=t.fn;if(n||(a=document.createElement("canvas"))&&a.getContext&&(n=t.fn=a.getContext("2d",{willReadFrequently:!0})),!n){var i=e(736);if(i&&i.createCanvas){var a=i.createCanvas(2,2);n=t.fn=a.getContext("2d")}if(!n)return M(r)}n.clearRect(1,1,1,1),n.fillStyle=r,n.fillRect(1,1,1,1);var u=n.getImageData(1,1,1,1);return u?u.data:null},t.yn=function(r){if(r instanceof t)return r;if(null!==r&&"object"==typeof r)return r;var e=0,n=0,i=0,a=0;if(r){var u=t.sn(r);u&&(n=u[0],i=u[1],a=u[2],e=u[3])}return{a:e,r:n,g:i,b:a}},t.cn=function(r,e){if(0===e)return r;var n=new h(r),i=s((e>0?(240-n.Ye)*e:n.Ye*e)+"",10);return t.hn(n.Ze,n.Ye+i,n.Xe)},t.Qe=function(r,e){var n=t.yn(r),i=new h(n).Qe(e);return t.tn(i)},t.mn=o,t.hn=f,t}();r.rr=d},818:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Mn=r.dn=r.ln=r.vn=r.bn=r.Fn=r.ResourceManager=r.SR=void 0;var n=e(286),i=e(612),a=e(534);r.SR={en:i};var u=a.tr.ar,s=function(){function t(t,r){this.res=t,this.gn=r,this.re=n.CultureManager.re,this.cachedResource=this.pn(t,!0),this._n(this.cachedResource,r),this.te=0}return t.prototype.getResource=function(){var t=this.pn(this.res,!this.cachedResource);return t&&(this.cachedResource=t),this._n(this.cachedResource,this.gn),this.cachedResource},t.prototype._n=function(t,r){if(r){var e=n.CultureManager.culture().toLowerCase();this.re[e]=this.re[e]||{},this.re[e][r]=t,n.CultureManager.re=this.re}},t.prototype.pn=function(t,r){var e=n.CultureManager.culture();if(t&&e){var i=n.CultureManager.te;if(this.te===i&&!r)return;if(this.te=i,n.CultureManager.getLanguage(e)){var a=u(!0,{},t.en);return n.CultureManager.se(e,a,this.gn),a}var s=e.substr(0,2).toLowerCase();return t.hasOwnProperty(s)?t[s]:t.en}return{}},t}();r.ResourceManager=s,r.Fn=function(t,r,e,n){if(t&&0<=e&&e<r){var i,a=[],u=void 0;for(u=e;u<r;u++)void 0!==t[u]&&a.push(u);for(i=a.length,u=0;u<i;u++){var s=a[i-u-1],o=t[s];t[s]=null,t[Math.floor(s)+n]=o}}},r.bn=function(t,r,e,n){if(t&&0<=r){for(var i,a=[],u=void 0,s=0,o=Array.from(t.keys());s<o.length;s++){(f=o[s])>=r&&a.push(f)}for(a.sort((function(t,r){return t-r})),i=a.length,u=0;u<i;u++){var f=a[i-u-1],y=t.get(f);t.delete(f);var c=f+e;t.set(c,y),n&&n(y,c)}}},r.vn=function(t,r,e,n){if(t&&0<=e&&e<r){var i,a=[],u=e+n,s=void 0;for(s=e;s<r;s++)void 0!==t[s]&&(e<=s&&s<u?t[s]=null:s>=u&&a.push(s));for(i=a.length,s=0;s<i;s++){var o=a[s],f=t[o];t[o]=null,t[Math.floor(o)-n]=f}}},r.ln=function(t,r,e,n){if(t&&0<=r){for(var i,a=[],u=r+e,s=void 0,o=0,f=Array.from(t.keys());o<f.length;o++){var y=f[o];t.has(y)&&(r<=y&&y<u?(n&&n(t.get(y),-1),t.delete(y)):y>=u&&a.push(y))}for(a.sort((function(t,r){return t-r})),i=a.length,s=0;s<i;s++){y=a[s];var c=t.get(y);t.delete(y);var h=y-e;t.set(h,c),n&&n(c,h)}}},r.dn=function(t,r){return t.hasOwnProperty(r)},r.Mn=function(t,r){return t instanceof r}},97:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Qt=r.getSR=void 0;var n=e(818),i=e(480),a=e(305),u=e(286),s=e(534).tr.de,o=i.Yt.Dn,f=parseInt,y=!1,c=Math.floor,h=Math.abs,m=new n.ResourceManager(n.SR,"Common");r.getSR=m.getResource.bind(m);var M={};function d(t,e,i,a){var s=i.DateTimeFormat,f=s.Calendar.convert;if(!e||!e.length)return i&&i.name.length?f?d(t,s.fullDateTimePattern,i):t.toLocaleString():t.toString();var y,m,M,v=s.eras,b="",F=/([^d]|^)(d|dd)([^d]|$)/g;function g(){return m||M||(m=F.test(e),M=!0),m}var p,_=0,D=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;function w(t,r){return p?p[r]:function(t,r){if(n.HandleExcelSpecialDate)return n.HandleExcelSpecialDate.call(null,t,r);switch(r){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();default:return}}(t,r)}"s"!==e&&f&&(p=f.fromGregorian(t));for(var H=-2,$=-2,k={wn:""},S=0;;S++){var N=D.lastIndex,P=D.exec(e),C=e.slice(N,P?P.index:e.length);if(k.wn="",_+=l(C,k),b+=k.wn,!P)break;if(_%2!=1){var O=w(t,0),x=t.getDay(),j=t.getHours(),E=t.getMinutes(),T=t.getSeconds(),A=t.getMilliseconds(),R=t.getTimezoneOffset();switch(P[0]){case"dddd":b+=s.dayNames[x];break;case"ddd":b+=s.abbreviatedDayNames[x];break;case"dd":m=!0,b+=o(w(t,2),2);break;case"d":m=!0,b+=w(t,2);break;case"MMMM":b+=s.monthGenitiveNames&&g()?s.monthGenitiveNames[w(t,1)]:s.monthNames[w(t,1)];break;case"MMM":b+=s.abbreviatedMonthGenitiveNames&&g()?s.abbreviatedMonthGenitiveNames[w(t,1)]:s.abbreviatedMonthNames[w(t,1)];break;case"MM":b+=o(w(t,1)+1,2);break;case"M":b+=w(t,1)+1;break;case"yyyy":case"yyy":b+=H>=0?u.nr.Yr("ee",t,a):o(p?p[0]:O,4);break;case"yy":b+=H>=0?u.nr.Yr("ee",t,a):o((p?p[0]:O)%100,2);break;case"y":b+=H>=0?u.nr.Yr("e",t,a):""+(p?p[0]:O)%100;break;case"hh":0==(y=j%12)&&(y=12),b+=o(y,2);break;case"h":0==(y=j%12)&&(y=12),b+=y;break;case"HH":b+=o(j,2);break;case"H":b+=j.toString();break;case"mm":b+=o(E,2);break;case"m":b+=E.toString();break;case"ss":b+=o(T,2);break;case"s":b+=T.toString();break;case"tt":b+=j<12?s.amDesignator:s.pmDesignator;break;case"t":b+=(j<12?s.amDesignator:s.pmDesignator).charAt(0);break;case"f":case"0":b+=o(A,3).charAt(0);break;case"ff":case"00":b+=o(A,3).substr(0,2);break;case"fff":case"000":b+=o(A,3);break;case"z":b+=((y=R/60)<=0?"+":"-")+c(h(y));break;case"zz":b+=((y=R/60)<=0?"+":"-")+o(c(h(y)),2);break;case"zzz":b+=((y=R/60)<=0?"+":"-")+o(c(h(y)),2)+":"+o(h(R%60),2);break;case"g":case"gg":case"ggg":if(!v)break;if(H===S-1){H=S;break}b+=u.nr.Yr(P[0],t,a),H=S;break;case"e":case"ee":if(!v){b+=o(p?p[0]:O,4);break}if($===S-1){$=S;break}b+=u.nr.Yr(P[0],t,a),$=S;break;case"/":b+=s.dateSeparator;break;default:if(!/\[(H+|h+|m+|s+)\]/.test(P[0]))throw Error((0,r.getSR)().Exp_InvalidDateFormat);b+=P[0]}}else b+=P[0]}return b.toString()}function l(t,r){for(var e=0,n=y,i=0,a=t.length;i<a;i++){var u=t.charAt(i);switch(u){case'"':n?r.wn+="'":e++,n=y;break;case"\\":n&&(r.wn+="\\"),n=!n;break;default:r.wn+=u,n=y}}return e}function v(t,r){var e=new Date;if(t.DateTimeFormat.eras&&r<100){var n=u.nr.Jr(e).Lr;(r+=n-n%100)>t.DateTimeFormat.Calendar.TwoDigitYearMax&&(r-=100)}return r}function b(t){var r=t.getTimezoneOffset();return-485===r&&(r=-485-43/60),-321===r&&(r=-321-10/60),-507===r&&(r=-507-52/60),-402===r&&(r=-402-4/60),r}var F=function(){function t(){}return t.Hn=function(t,r,e,n){return e||(e=u.CultureManager.ce()),d(t,r,e,n)},t.$n=function(t,r,e){return d(t,r,e||u.CultureManager.ce())},t.Sn=function(r,e,n){var i,a,u,s,o,f=y;for((o=n).slice(1).forEach((function(t){t&&(f=!0)})),f||(o=o.concat(e.cr())),a=o.length,i=1;i<a;i++)if((s=o[i])&&(f=!0,u=t.Nn(r,s,e)))return u;return null},t.Pn=function(r,e,n){var i,a;return e||n||void 0===(a=M[r])?(i=e?[r,e]:[r],a=t.Sn(r,n||u.CultureManager.ce(),i),e||n||(M[r]=a),a?new Date(a):a):a?new Date(a):a},t.Cn=function(r,e){return t.Sn(r,u.CultureManager.ce("invariant"),[r,e])},t.Nn=function(t,e,n){t=t.trim();var s=n.DateTimeFormat,o=1041===n.id,c=function(t,e,n){if(t.On){if(t.On[e])return t.On[e]}else t.On={};var i=e;i=(i=i.replace("%M","M")).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1");for(var u,s="^",o={wn:""},f=[],y=0,c=0,h=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;null!==(u=h.exec(i));){o.wn="";var m=i.slice(y,u.index);if(y=h.lastIndex,c+=l(m,o),s+=o.wn,c%2!=1){switch(u[0]){case"dddd":case"ddd":case"MMMM":case"MMM":case"gggg":case"ggg":case"gg":case"g":s+="(\\D+)";break;case"tt":case"t":s+="(\\D*)";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":s+="(\\d\\d?\\d?)";break;case"eee":case"ee":case"e":s+=n?"(\\u5143|\\d\\d?)":"(\\d\\d?)";break;case"yyy":case"yyyy":s+="(\\d{2}|\\d{4})";break;case"fff":case"000":s+="(\\d{3})";break;case"ff":case"00":s+="(\\d{2})";break;case"f":case"0":s+="(\\d)";break;case"zzz":s+="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":s+="([+-]?\\d\\d?)";break;case"/":s+="/"===t.dateSeparator?"(\\/)":"([\\/\\"+t.dateSeparator+"])";break;default:throw Error((0,r.getSR)().Exp_InvalidDateFormat)}a.Vt.He(f,u[0])}else s+=u[0]}o.wn="",l(i.slice(y),o),s+=o.wn;var M=(s+="$").toString().replace(/\s+/g,"\\s+"),d={xn:M,jn:f,En:RegExp(M)};return t.On[e]=d,d}(s,e,o),h=c.En.exec(t);if(null===h)return null;for(var m,M=c.jn,d=null,b=null,F=null,g=null,p=null,_=0,D=0,w=0,H=0,$=null,k=y,S=y,N=0,P=M.length;N<P;N++){var C=h[N+1];if(C)switch(M[N]){case"dd":case"d":if((g=f(C,10))<1||g>31)return null;break;case"MMMM":if((F=n.Mr(C))<0||F>11)return null;break;case"MMM":if((F=n.vr(C))<0||F>11)return null;break;case"M":case"MM":case"%M":if((F=f(C,10)-1)<0||F>11)return null;break;case"e":case"ee":if((b=o&&"元"===C?1:v(n,f(C,10)))<0||b>9999)return null;break;case"y":case"yy":case"yyy":case"yyyy":if((b=f(C,10))<0||b>9999)return null;break;case"h":case"hh":case"H":case"HH":if((_=f(C,10))<0)return null;break;case"m":case"mm":if((D=f(C,10))<0||D>59)return null;break;case"s":case"ss":if((w=f(C,10))<0||w>59)return null;break;case"tt":case"t":var O=C.toUpperCase();if(k=O===s.pmDesignator.toUpperCase(),S=O===s.amDesignator.toUpperCase(),!k&&!S)return null;break;case"f":case"0":if((H=100*f(C,10))<0||H>999)return null;break;case"ff":case"00":if((H=10*f(C,10))<0||H>999)return null;break;case"fff":case"000":if((H=f(C,10))<0||H>999)return null;break;case"dddd":if((p=n.gr(C))<0||p>6)return null;break;case"ddd":if((p=n._r(C))<0||p>6)return null;break;case"zzz":var x=C.split(/:/);if(2!==x.length)return null;if((m=f(x[0],10))<-12||m>13)return null;var j=f(x[1],10);if(j<0||j>59)return null;$=60*m+(i.Yt.Tn(C,"-")?-j:j);break;case"z":case"zz":if((m=f(C,10))<-12||m>13)return null;$=60*m;break;case"g":case"gg":case"ggg":var E=C;if(!E||!s.eras)return null;if((d=u.nr.Wr(M[N],E))<0)return null}}var T,A=/^(\d|\d\d|\d\d\d):/.test(t),R=A?new Date(1899,11,30):new Date,B=s.Calendar.convert;if(B&&(T=B.fromGregorian(R)),B||(T=[R.getFullYear(),R.getMonth(),R.getDate()]),null===b?b=T[0]:b<100&&(s.eras&&null!==d?b=u.nr.Kr(d||0,b):b+=b>=30?1900:2e3),null===F&&(F=T[1]),null===g&&(g=A?T[2]:1),B){if(null===(R=B.toGregorian(b,F,g)))return null}else{if(R.setFullYear(b,F,g),R.getDate()!==g)return null;if(null!==p&&R.getDay()!==p)return null}if(k&&_<12?_+=12:S&&12===_&&(_=0),R.setHours(_,D,w,H),null!==$){var I=R.getMinutes()-($+R.getTimezoneOffset());R.setHours(R.getHours()+I/60,I%60)}return R},t.An=function(t){var r=b(new Date(864e5*(t-25569))),e=Math.round(864e5*(t-25569+r/1440)),n=new Date(e),i=r>=0?1:-1,a=b(new Date(e+36e5*i));if(h(r-a)>=60){var u=new Date(e+60*(a-r)*1e3);if(r>a){if(-1===i||a===b(n))return u}else if(r<a&&(1===i||a===b(n)))return u}return n},t.Rn=function(r){if("/OADate("===r.substr(0,8)){var e=parseFloat(r.substr(8,r.length-10));return t.An(e)}},t.Bn=function(r){return"/OADate("+t.In(r)+")/"},t.In=function(t){if(s(t))return 0;if("number"!=typeof t&&"string"!=typeof t||(t=new Date(t)),t instanceof Date){var r=b(t);return(1440*t.getTime()+3181192704e6-864e5*r)/124416e6}return 0},t.zn=function(e){var n=null,i=!0;if(s(e))n=t.An(0);else if(e instanceof Date)n=new Date(e.valueOf());else if("string"==typeof e){var a=t.Pn(e);if(!a)if(isNaN(e))if(t.Gn(e))i=y;else{isNaN((a=new Date(e)).valueOf())&&(i=y);var u=/^[-+=\s]*(\d+)\W+(\d+)\W+(\d+)$/.exec(e.replace(/ |\n/g,"").trim());u&&4===u.length&&(-1!==u.indexOf(a.getFullYear().toString())&&-1!==u.indexOf(""+(a.getMonth()+1))&&-1!==u.indexOf(a.getDate().toString())||(i=y))}else(a=t.An(parseFloat(e)))||(i=y);n=a}else"number"==typeof e?n=t.An(e):i=y;if(i)return n;throw(0,r.getSR)().Exp_InvalidCast},t.Gn=function(r){var e,n,i=u.CultureManager.ce().DateTimeFormat,a=t.Jn,s=function(t,r){var e=0;return r.forEach((function(r){r&&t.indexOf(r)>-1&&e++})),e>1};return s(r,i.monthNames)||s(r,i.abbreviatedMonthNames)||s(r,i.dayNames)||s(r,i.abbreviatedDayNames)||function(t,r){if(t&&t.indexOf(" ")>-1){var e=t.split(" "),n=e.length;return n>=2&&r.indexOf(e[n-2])<=-1&&!isNaN(e[n-1])}return!1}(r,i.monthNames.concat(i.abbreviatedMonthNames))||(e=r,n=!1,a.forEach((function(t){e.indexOf(t)>-1&&(n=!0)})),n)},t.Un=function(t){return t&&(t.constructor===Date||t.getUTCDate&&t.setFullYear)},t.Jn=["@","#","!","`","^","$","*","(",")","&"],t}();r.Qt=F},646:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Ln=r.qn=void 0;var n=e(844),i=isNaN,a="rowCount",u="colCount";function s(t){return t}function o(t,r,e,s,o,f,y,c,h,m,M){var d,l,v,b,F,g,p,_,D,w,H,$,k,S,N,P,C=e[a],O=e[u],x=r[a],j=r[u],E=s[a],T=s[u],A=1===O,R=1===j;if(x===C&&j===O){var B=0,I=0,z=0,G=0;for(p=C*O,d=0;d<C;d++)for(l=0;l<O;l++){if(b=f(e[d][l]),F=f(r[d][l]),t&&(i(b)||i(F)))return h;B+=b,I+=b*b,z+=F=m(F),G+=b*F}var J=p*G-B*z;_=o?(z*I-B*G)/(p*I-B*B):0;var U=(g=o?J/(p*I-B*B):G/I).toString();for((U.indexOf("000000000000")>1||U.indexOf("999999999999")>1)&&(g=n.Zt.Kn(g,12),_=n.Zt.Kn(_,12)),D=[],d=0;d<E;d++)for(D[d]=[],l=0;l<T;l++){if(b=f(s[d][l]),t&&i(b))return h;D[d][l]=0===J?r[0][0]:M(n.Zt.Wn(g*b,_))}return y?new y(D):D}if(R&&x===C||1===x&&j===O){for(b=[],F=[],N=O+1,P=O+2,d=0;d<C;d++){if(_=f(H=R?r[d][0]:r[0][d]),t&&i(_))return h;F[d]=A?m(_):_}for(d=0;d<C;d++)for(b[d]=[],l=0;l<O;l++){if(_=f(e[d][l]),t&&i(_))return h;b[d][l]=_}var L=[];for(g=0;g<N;g++)for(L[g]=[],p=0;p<P;p++)L[g][p]=0;for(v=0;v<C;v++)for(L[0][N]+=F[v],d=0;d<O;d++)for(H=d+1,L[0][H]+=b[v][d],L[H][0]=L[0][H],L[H][N]+=b[v][d]*F[v],l=d;l<O;l++)L[k=l+1][H]+=b[v][d]*b[v][l],L[H][k]=L[k][H];L[0][0]=C;var q=o?0:1;for(w=q;w<N;w++){if(t){if(0===L[w][w]){for(S=!1,l=w+1;!S&&l<N;l++)if(0!==L[l][w]){for(v=0;v<P;v++)k=L[w][v],L[w][v]=L[l][v],L[l][v]=k;S=!0}if(!S)return c}}else{for(d=w;d<N&&0===L[d][w];)d++;if(d>=N)return c;for($=q;$<P;$++)H=L[w][$],L[w][$]=L[d][$],L[d][$]=H}for(H=1/L[w][w],$=q;$<P;$++)L[w][$]*=H;for(d=q;d<N;d++)if(d!==w)for(H=-L[d][w],$=0;$<P;$++)L[d][$]+=H*L[w][$];o||(L[0][N]=0)}for(D=[],R||(D[0]=[]),d=0;d<E;d++){for(R&&(D[d]=[]),H=L[0][N],l=0;l<O;l++){if(_=f(R?s[d][l]:s[l][d]),t&&i(_))return h;H+=L[l+1][N]*_}R?D[d][0]=M(H):D[0][d]=M(H)}return y?new y(D):D}return c}r.qn=function(t,r,e,n,i,a,u,f){return o(!0,t,r,e,n,i,a,f,u,s,s)},r.Ln=function(t,r,e,n,i,f,y){var c,h;for(c=0;c<t[a];c++)for(h=0;h<t[u];h++)if(t[c][h]<=0)return f;return o(!1,t,r,e,n,s,i,y,null,Math.log,Math.exp)}},844:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Zt=void 0;var n=e(818),i=e(534),a=e(576),u=e(480),s=e(286),o=i.tr.de,f=u.Yt.Dn,y=u.Yt.Yn,c=null,h=void 0,m=parseInt,M=parseFloat,d=!1,l=!0,v=Math.floor,b=Math.abs,F=Math.pow,g=Math.min,p=Number.MAX_VALUE,_=function(t,r,e){return t.substr(r,e)},D=function(t){return a.Xt.Vr(t)},w=new n.ResourceManager(n.SR),H=w.getResource.bind(w),$="##################0",k="################",S={1:"+",0:"","-1":"-"},N=["0","#","?"],P={"¤":"¤",Br:"Br",Fdj:"Fdj",Nfk:"Nfk",R:"R",$:"$",FCFA:"FCFA","GH₵":"GH₵",ብር:"ብር","ر.س.‏":"ر.س.‏",XDR:"XDR","د.إ.‏":"د.إ.‏","د.ب.‏":"د.ب.‏","د.ج.‏":"د.ج.‏","ج.م.‏":"ج.م.‏","₪":"₪","د.ع.‏":"د.ع.‏","د.ا.‏":"د.ا.‏","ف.ج.ق.‏":"ف.ج.ق.‏","د.ك.‏":"د.ك.‏","ل.ل.‏":"ل.ل.‏","د.ل.‏":"د.ل.‏","د.م.‏":"د.م.‏","أ.م.‏":"أ.م.‏","ر.ع.‏":"ر.ع.‏","ر.ق.‏":"ر.ق.‏","ج.س.":"ج.س.",S:"S","£":"£","ل.س.‏":"ل.س.‏","د.ت.‏":"د.ت.‏","ر.ي.‏":"ر.ي.‏","₹":"₹",TSh:"TSh","€":"€","₼":"₼","₽":"₽",K:"K","лв.":"лв.","₦":"₦",CFA:"CFA","৳":"৳","¥":"¥",KM:"KM",КМ:"КМ",USh:"USh",Kč:"Kč","kr.":"kr.",Ksh:"Ksh",CHF:"CHF","ރ.":"ރ.","Nu.":"Nu.",EC$:"EC$",P:"P",US$:"US$",D:"D",Rp:"Rp",Ar:"Ar",MOP$:"MOP$",Rs:"Rs",MK:"MK",RM:"RM","₱":"₱",RF:"RF",SR:"SR",SDG:"SDG",Le:"Le","NAf.":"NAf.",E:"E",T$:"T$",VT:"VT",WS$:"WS$",Bs:"Bs","₡":"₡",Q:"Q",L:"L",C$:"C$","B/.":"B/.","S/.":"S/.","₲":"₲","Bs.":"Bs.",ريال:"ريال",FG:"FG",UM:"UM",kr:"kr",FBu:"FBu",FC:"FC",DA:"DA",G:"G",CF:"CF",DH:"DH",FCFP:"FCFP",LS:"LS",DT:"DT",kn:"kn",HUF:"HUF","֏":"֏",ISK:"ISK","₾":"₾","​":"​","₸":"₸","៛":"៛","₩":"₩",сом:"сом",Kz:"Kz","₭":"₭",MTn:"MTn",ден:"ден","₮":"₮",रु:"रु","Afl.":"Afl.","ߖߕ.":"ߖߕ.","руб.":"руб.",zł:"zł","؋":"؋",R$:"R$",Db:"Db",RON:"RON","₴":"₴",MAD:"MAD","රු.":"රු.",Lekë:"Lekë",den:"den",RSD:"RSD","дин.":"дин.","ܠ.ܣ.‏":"ܠ.ܣ.‏","Rs.":"Rs.",смн:"смн","฿":"฿","m.":"m.","₺":"₺",ⴷⵔ:"ⴷⵔ",soʻm:"soʻm",сўм:"сўм","₫":"₫",HK$:"HK$",MOP:"MOP",NT$:"NT$"};function C(t,r,e,n){return r&&0!==r.length&&"i"!==r?function(t,r,e,n){return I(t,j(r),e,n)}(t,r,e.NumberFormat,n):e&&e.name.length>0?t.toLocaleString():t.toString()}function O(t,r){for(var e=v(b(t)),n={Xn:1,Zn:0};e>=10&&Number.isFinite(e);)e/=10,n.Xn++;var i,a=t.toString(),u=a.search(/e/gi),s=a.indexOf(r);if(-1!==u){var o=_(a,0,u),f=_(a,u+1),y=0;-1!==s&&(y=_(o,s+1).length),(i=y-M(f))<0&&(i=0),n.Zn=i}else i=0,-1!==s&&(i=_(a,s+1).length),n.Zn=i;return n}function x(t){for(var r={Qn:t.charAt(0),Vn:0,En:0},e="",n=1;n<t.length;n++)if("+"===(e=t.charAt(n)))r.Vn=1;else{if("-"!==e){if("0"===e){r.En=t.length-n;break}throw Error(H().Exp_InvalidExponentFormat)}r.Vn=-1}return r}function j(t){for(var r,e={ti:c,ri:c,ei:d,ni:0,ii:0,ai:0,ui:c},n="",i=d,a=d,u=d,s=d,o=d,f=d,y=c,h=[],m=0;m<t.length;m++){if(r=t.charAt(m),i)n+=r,'"'===r&&(h.push(n),n="",i=d);else if(a){if("E"===y||"e"===y){if(!(["+","-","0"].indexOf(r)>=0)){a=d,m--;continue}n+=r}else if("+"===y||"-"===y){if("0"!==r){a=d,m--;continue}n+=r}else if("0"===y){if("0"!==r){a=d,o||(o=l,e.ui=x(n)),m--;continue}n+=r}}else if("*"!==y&&"_"!==y&&"\\"!==y||""===n)if("*"===r||"_"===r||"\\"===r)f=d,""!==n&&(h.push(n),n=""),n+=r;else if("'"===r)f=d,""!==n&&(h.push(n),n=""),h.push(r);else if('"'===r)f=d,i=l,""!==n&&(h.push(n),n=""),n+=r;else if(N.indexOf(r)>=0)f=l,N.indexOf(y)<0&&""!==n&&(h.push(n),n=""),n+=r;else if("."!==r||u)if("%"===r)f=d,e.ii++,""!==n&&(h.push(n),n=""),h.push(r);else if("‰"===r)f=d,e.ai++,""!==n&&(h.push(n),n=""),h.push(r);else if(","===r)if(f){var M=void 0;""!==n&&(h.push(n),n="");for(var v=l,b="",F=m+1;F<t.length;F++)if(M=t.charAt(F),'"'!==b)if("\\"!==b&&"_"!==b){if(N.indexOf(M)>=0){v=d;break}if("."===M||";"===M)break;b=M}else b="";else'"'===M&&(b="");v?e.ni++:u||(M=t.charAt(m+1))&&N.indexOf(M)>=0&&(s=l)}else n+=r;else"E"===r||"e"===r?(f=d,a=l,""!==n&&(h.push(n),n=""),n+=r):(f=d,N.indexOf(y)>=0&&""!==n&&(h.push(n),n=""),n+=r);else""!==n&&(h.push(n),n=""),e.ti=h,h=[],u=l,f=d;else n+=r,h.push(n),n="";y=r}return""!==n&&(a&&!o&&(e.ui=x(n)),h.push(n)),s&&(e.ei=l),u?e.ri=h:e.ti=h,e}function E(t,r,e,n,i,a){var u=function(t,r){if(r=+r,isNaN(t=+t)||r%1!=0)return NaN;var e=t<0;if(t=e?-t:t,typeof r===h||0===r)return t=Math.round(t),e?-t:t;var n=t.toString().split("e");return t=Math.round(+(n[0]+"e"+(n[1]?+n[1]-r:-r))),+((n=(t=e?-t:t).toString().split("e"))[0]+"e"+(n[1]?+n[1]+r:r))}(t,-r);isFinite(u)||(u=t);var s,o,c=(t=u).toString(),M=c.split(/e/i);return c=M[0],o=M.length>1?m(M[1],10):0,M=c.split("."),c=M[0],s=M.length>1?M[1]:"",o>0?(c+=(s=y(s,o)).slice(0,o),s=_(s,o)):o<0&&(o=-o,s=(c=t<0?a+f(c.replace(a,""),o+1):f(c,o+1)).slice(-o,c.length)+s,c=c.slice(0,-o)),c+(r>0?i+(s=s.length>r?s.slice(0,r):y(s,r)):"")}function T(t){var r=c;if(t){r="";for(var e=0;e<t.length;e++){var n=t[e];/^(0|#|\?)+/g.test(n)&&(r+=n)}}return r}var A=Math.pow(2,48);function R(t,r){return t===r||0!==t&&0!==r&&(b(t-r)<b(t)/A||(t=U(t,15),r=U(r,15),b(t-r)<b(t)/A))}function B(t,r,e,n,i,a,u,s){var o=s.numberGroupSizes,y=s.numberGroupSeparator,c=s.negativeSign,h=s.percentSymbol,m=s.perMilleSymbol,M=n.ui,v=_(r,0,1);v===c&&(r=_(r,1));var b=1===r.length&&"0"===r?0:r.length;r=0===b?"":r;for(var F=0,g="",p=t.length-1;p>=0;p--){var D="",w=t[p];if(/^(0|#|\?)+/g.test(w)){if(g!==e){for(var $=w.length,k=b-F-1;k>=0&&$>0;k--){D=r.charAt(k)+D,$--,F++}for(var N=$-1;N>=0;N--){var C=w[N];F++,"0"===C?D=C+D:"?"===C&&(""!==D&&(a.push({type:"number",value:D}),D=""),a.push({type:"numberPlaceholder",value:C}))}(g=w+g)===e&&F<b&&(D=r.substr(0,b-F)+D),""!==D&&a.push({type:"number",value:D})}}else if(n.ui&&!u.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(w)){u.replaceExponent=l;var O="";O+=M.Qn,O+=S[M.Vn],O+=f(i.toString(),M.En),a.push({type:"exponent",value:O})}else"_"===w[0]?a.push({type:"placeholder",value:w[1]}):"*"===w[0]?u.hasInfilling||(a.push({type:"fillingChar",value:w[1]}),u.hasInfilling=!0,u.infillIndex=a.length-1):"\\"===w[0]?2===w.length&&a.push({type:"text",value:w[1]}):'"'===w[0]&&'"'===w[w.length-1]?w.length>2&&a.push({type:"text",value:w.substr(1,w.length-2)}):w===h?a.push({type:"percent",value:w}):w===m?a.push({type:"permille",value:w}):P[w]?a.push({type:"currency",value:w}):a.push({type:"text",value:w})}v===c&&e&&a.push({type:"text",value:v}),n.ei===l&&function(t,r,e,n){for(var i=r[0],a=1,u=0,s=d,o=t.length,f=0;f<o;f++){var y=t[f].type;if("number"===y){for(var c="",h=t[f].value,m=h.length-1;m>=0;){if(!(1<=i&&i<=9||0===i&&a===r.length))throw Error(H().Exp_InvalidNumberGroupSize);/\d/gi.test(h[m])?(s&&(c&&t.push({type:"number",value:c}),t.push({type:"groupSeparator",value:e}),c="",s=d),u++):u=0,c=h[m]+c,u===i&&i>0&&(s=l,u=0,a<r.length&&(i=r[a],a++)),m--}c&&t.push({type:y,value:c})}else"fillingChar"===y&&(n.infillIndex=t.length-o),t.push({type:y,value:t[f].value})}t.splice(0,o)}(a,o,y,u),a.reverse(),u.infillIndex=a.length-1-u.infillIndex}function I(t,r,e,n){var i=[];t=function(t,r,e,n){var i=t;return r>0&&(i=U(i*F(100,r),15)),e>0&&(i=U(i*F(1e3,e),15)),n>0&&(i=U(i/F(1e3,n),15)),i}(t,r.ii,r.ai,r.ni);var a=r.ti,u=r.ri;if(!a&&!u)return i;var s,o=T(a),y=T(u);if(y||(y=""),r.ui){var c=function(t,r,e){var n={value:t,exponentValue:0},i=O(t,".").Xn,a=b(t),u=e?e.length:1;if(a>=1)i>u?(i-=u,n.value=t/F(10,i),n.exponentValue=i):n.exponentValue=0,-1===r.Vn&&(r.Vn=0);else if(a<1&&a>0){r.Vn=-1;for(var s=F(10,u);10*a<s&&!R(10*a,s);)a*=10,n.exponentValue++;var o=F(10,n.exponentValue);n.value*=o>p?0:o}return n}(t,r.ui,o);t=c.value,s=c.exponentValue}var h=O(t,".");b(t)>1&&h.Xn+h.Zn>15&&(t=U(t,15));e.numberGroupSizes,e.numberGroupSeparator;var m=e.numberDecimalSeparator,M=e.negativeSign,v=E(t,g(h.Zn,y.length),0,0,m,M);if(n||(v=function(t,r){var e=t;return-1!==t.indexOf(r)&&(e=t.replace(/0+$/,"")),e}(v,m)),""===v)return i.push({type:"text",value:(a?a.join(""):"")+(u?u.join(""):"")}),i;var _={hasInfilling:d,infillIndex:-1,replaceExponent:d},D=v.split(m)[0];return"10"!==D||isNaN(s)||(D="1",s+=r&&r.ui&&-1===r.ui.Vn?-1:1),a&&B(a,D,o,r,s,i,_,e),t===1/0||t===-1/0||("0"!==D&&""===o&&u&&i.push({type:"number",value:D}),u&&function(t,r,e,n,i,a,u,s,o){var y=o.numberDecimalSeparator,c=o.percentSymbol,h=o.perMilleSymbol,m=r.indexOf(y),M=i.ui;(m>0||n!==$||e!==k)&&u.push({type:"decimalSeparator",value:y});for(var d=-1!==m?r.substring(m+1):"",v=0,b="",F=0;F<t.length;F++){var g=t[F];if(/^(0|#|\?)+/g.test(g)){var p="";if(b!==e){for(var _=g.length,D=0,w=v;_>0&&d.length-v>0;)p+=d.charAt(w),_--,v++,D++,w++;for(var H=D;_>0;){var N=g[H];H++,v++,_--,"0"===N?p+=N:"?"===N&&(""!==p&&(u.push({type:"number",value:p}),p=""),u.push({type:"numberPlaceholder",value:N}))}""!==p&&u.push({type:"number",value:p}),b+=g}}else if(M&&!s.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(g)){s.replaceExponent=l;var C="";C+=M.Qn,C+=S[M.Vn],C+=f(a.toString(),M.En),u.push({type:"exponent",value:C})}else"_"===g[0]?u.push({type:"placeholder",value:g[1]}):"*"===g[0]?(u.push({type:"fillingChar",value:g[1]}),s.hasInfilling&&u.splice(s.infillIndex,1),s.hasInfilling=!0,s.infillIndex=u.length-1):"\\"===g[0]?2===g.length&&u.push({type:"text",value:g[1]}):'"'===g[0]&&'"'===g[g.length-1]?g.length>2&&u.push({type:"text",value:g.substr(1,g.length-2)}):g===c?u.push({type:"percent",value:g}):g===h?u.push({type:"permille",value:g}):P[g]?u.push({type:"currency",value:g}):u.push({type:"text",value:g})}}(u,v,y,o,r,s,i,_,e)),i}function z(t,r){if((t=o(t)?"":u.Yt.si(t,"")).match(/^[+-]?infinity$/i))return M(t);if(t.match(/^0x[a-f0-9]+$/i))return m(t,10);var e,n,i=r.NumberFormat,a=i.numberNegativePattern,s=G(t,i,a),f=s[0],y=s[1];""===f&&1!==a&&(f=(s=G(t,i,1))[0],y=s[1]),""===f&&(f="+"),y[0]===i.currencySymbol&&(y=_(y,1));var h=y.indexOf("e");h<0&&(h=y.indexOf("E")),h<0?(n=y,e=c):(n=_(y,0,h),e=_(y,h+1));var d,l,v=n.indexOf(".");v<0?(d=n,l=c):(d=_(n,0,v),l=_(n,v+1));var b=f+(d=d.split(",").join(""));if(l!==c&&(b+="."+l),b[b.length-1]===i.percentSymbol){b=_(b,0,b.length-1);var F=(b=u.Yt.si(b,"")).indexOf(".");-1===F&&(F=b.length);var g="";g+=_(b,0,F-2),g+=".",g+=_(b,F-2,2),b=g+=_(b,F+1)}if(e!==c){var p=G(e,i,1);""===p[0]&&(p[0]="+"),b+="e"+p[0]+p[1]}return b.match(/^[+-]?\d*\.?\d*(e[+-]?\d+)?$/)?M(b):NaN}function G(t,r,e){var n=r.negativeSign,i=r.positiveSign;if(4!==e&&2!==e||(n=" "+n,i=" "+i),4===e||3===e){if(u.Yt.oi(t,n))return["-",_(t,0,t.length-n.length)];if(u.Yt.oi(t,i))return["+",_(t,0,t.length-i.length)]}else if(2===e||1===e){if(u.Yt.Tn(t,n))return["-",_(t,n.length)];if(u.Yt.Tn(t,i))return["+",_(t,i.length)]}else{if(0!==e)throw Error("");if(u.Yt.Tn(t,"(")&&u.Yt.oi(t,")"))return["-",_(t,1,t.length-2)]}return["",t]}function J(t){var r=s.CultureManager.ce().NumberFormat;return"string"==typeof t&&(r=s.CultureManager.ce(t).NumberFormat),r}function U(t,r){return"number"==typeof t&&t.toString().length>=r&&(t=+t.toPrecision(r)),t}r.Zt={Pn:function(t){return z(t,s.CultureManager.ce())},Cn:function(t){return z(t,s.CultureManager.ce("invariant"))},Hn:function(t,r,e,n){return e||(e=s.CultureManager.ce()),C(t,r,e,n)},fi:function(t,r){if("string"!=typeof t)return t;var e=J(r),n=e.numberDecimalSeparator,i=e.numberGroupSeparator;return"."!==n&&(t=t.replace(D("[.]"),"#dot#")),","!==i&&(t=t.replace(D("[,]"),"#group#")),"."!==n&&(t=t.replace(D("#dot#"),n)),","!==i&&(t=t.replace(D("#group#"),i)),t},yi:function(t,r){if("string"!=typeof t)return t;var e=J(r),n=e.numberDecimalSeparator,i=e.numberGroupSeparator;return"."!==n&&(t=t.replace(D("["+n+"]"),"#dot#")),","!==i&&(t=t.replace(D("["+i+"]"),"#group#")),"."!==n&&(t=t.replace(D("#dot#"),".")),","!==i&&(t=t.replace(D("#group#"),",")),t},ci:function(t,r){if("string"==typeof t){var e=J(r),n=e.numberDecimalSeparator,i=e.numberGroupSeparator;if("."!==n&&"."!==i&&t.indexOf(".")>=0||","!==n&&","!==i&&t.indexOf(",")>=0)return!1}return!0},hi:function(t,r){return M(this.yi(t,r))},We:function(t,r,e){if(0!==b(v(t)-t))throw Error(H().Exp_BadFormatSpecifier);var n=t>=0?t.toString(16):(4294967295+t+1).toString(16);return n=r?n.toLowerCase():n.toUpperCase(),!o(e)&&n.length<e?f(n,e):n},mi:j,Mi:I,di:R,Wn:function(t,r){return R(t,-r)?0:t+r},li:function(t){var r="";if(Array.isArray(t)&&t.length>0)for(var e=0;e<t.length;e++){var n=t[e].type,i=t[e].value;if("placeholder"===n)r+=" ";else{if("fillingChar"===n)continue;r+="numberPlaceholder"===n?" ":i}}return r},bi:$,Fi:k,Kn:U}},674:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.rbush=void 0;var e=Math.max,n=Math.min,i=1/0;function a(t,r){this.gi=e(4,t||9),this.pi=e(2,Math.ceil(.4*this.gi)),r&&this._i(r),this.clear()}function u(t,r,e){if(!e)return r.indexOf(t);for(var n=0;n<r.length;n++)if(e(t,r[n]))return n;return-1}function s(t,r){o(t,0,t.children.length,r,t)}function o(t,r,e,n,a){a||(a=l(null)),a.minX=i,a.minY=i,a.maxX=-1/0,a.maxY=-1/0;for(var u=r,s=void 0;u<e;u++)s=t.children[u],f(a,t.leaf?n(s):s);return a}function f(t,r){return t.minX=n(t.minX,r.minX),t.minY=n(t.minY,r.minY),t.maxX=e(t.maxX,r.maxX),t.maxY=e(t.maxY,r.maxY),t}function y(t,r){return t.minX-r.minX}function c(t,r){return t.minY-r.minY}function h(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function m(t){return t.maxX-t.minX+(t.maxY-t.minY)}function M(t,r){return t.minX<=r.minX&&t.minY<=r.minY&&(r.maxX>=0&&r.maxX<=t.maxX||t.minX<0)&&(r.maxY>=0&&r.maxY<=t.maxY||t.minY<0)}function d(t,r){return(-1===t.minY||-1===r.minY||t.minY<=r.maxY&&r.minY<=t.maxY)&&(-1===t.minX||-1===r.minX||t.minX<=r.maxX&&r.minX<=t.maxX)}function l(t){return{children:t,height:1,leaf:!0,minX:i,minY:i,maxX:-1/0,maxY:-1/0}}r.rbush=a,a.prototype={all:function(){return this.Di(this.data,[])},search:function(t){var r=this.data,e=[],n=this.toBBox;if(!d(t,r))return e;for(var i,a,u,s,o=[];r;){for(i=0,a=r.children.length;i<a;i++)u=r.children[i],d(t,s=r.leaf?n(u):u)&&(r.leaf?e.push(u):M(t,s)?this.Di(u,e):o.push(u));r=o.pop()}return e},collides:function(t){var r=this.data,e=this.toBBox;if(!d(t,r))return!1;for(var n,i,a,u,s=[];r;){for(n=0,i=r.children.length;n<i;n++)if(a=r.children[n],d(t,u=r.leaf?e(a):a)){if(r.leaf||M(t,u))return!0;s.push(a)}r=s.pop()}return!1},insert:function(t){return t&&this.ze(t,this.data.height-1),this},clear:function(){return this.data=l([]),this},remove:function(t,r){if(!t)return this;for(var e,n,i,a,s=this.data,o=this.toBBox(t),f=[],y=[];s||f.length;){if(s||(s=f.pop(),n=f[f.length-1],e=y.pop(),a=!0),s.leaf&&-1!==(i=u(t,s.children,r)))return s.children.splice(i,1),f.push(s),this.wi(f),this;a||s.leaf||!M(s,o)?n?(e++,s=n.children[e],a=!1):s=null:(f.push(s),y.push(e),e=0,n=s,s=s.children[0])}return this},toBBox:function(t){return t},compareMinX:y,compareMinY:c,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},Di:function(t,r){for(var e=[];t;)t.leaf?r.push.apply(r,t.children):e.push.apply(e,t.children),t=e.pop();return r},Hi:function(t,r,a,u){for(var s,o,f,y,c,m,M,d;u.push(r),!r.leaf&&u.length-1!==a;){for(M=d=i,s=0,o=r.children.length;s<o;s++)c=h(f=r.children[s]),l=t,(m=(e((v=f).maxX,l.maxX)-n(v.minX,l.minX))*(e(v.maxY,l.maxY)-n(v.minY,l.minY))-c)<d?(d=m,M=c<M?c:M,y=f):m===d&&c<M&&(M=c,y=f);r=y||r.children[0]}var l,v;return r},ze:function(t,r,e){var n=this.toBBox,i=e?t:n(t),a=[],u=this.Hi(i,this.data,r,a);for(u.children.push(t),f(u,i);r>=0&&a[r].children.length>this.gi;)this.$i(a,r),r--;this.ki(i,a,r)},$i:function(t,r){var e=t[r],n=e.children.length,i=this.pi;this.Si(e,i,n);var a=this.Ni(e,i,n),u=l(e.children.splice(a,e.children.length-a));u.height=e.height,u.leaf=e.leaf,s(e,this.toBBox),s(u,this.toBBox),r?t[r-1].children.push(u):this.Pi(e,u)},Pi:function(t,r){this.data=l([t,r]),this.data.height=t.height+1,this.data.leaf=!1,s(this.data,this.toBBox)},Ni:function(t,r,a){var u,s,f,y,c,m,M,d,l,v,b,F,g,p;for(m=M=i,u=r;u<=a-r;u++)l=s=o(t,0,u,this.toBBox),v=f=o(t,u,a,this.toBBox),b=void 0,F=void 0,g=void 0,p=void 0,b=e(l.minX,v.minX),F=e(l.minY,v.minY),g=n(l.maxX,v.maxX),p=n(l.maxY,v.maxY),y=e(0,g-b)*e(0,p-F),c=h(s)+h(f),y<m?(m=y,d=u,M=c<M?c:M):y===m&&c<M&&(M=c,d=u);return d},Si:function(t,r,e){var n=t.leaf?this.compareMinX:y,i=t.leaf?this.compareMinY:c;this.Ci(t,r,e,n)<this.Ci(t,r,e,i)&&t.children.sort(n)},Ci:function(t,r,e,n){t.children.sort(n);var i,a,u=this.toBBox,s=o(t,0,r,u),y=o(t,e-r,e,u),c=m(s)+m(y);for(i=r;i<e-r;i++)a=t.children[i],f(s,t.leaf?u(a):a),c+=m(s);for(i=e-r-1;i>=r;i--)a=t.children[i],f(y,t.leaf?u(a):a),c+=m(y);return c},ki:function(t,r,e){for(var n=e;n>=0;n--)f(r[n],t)},wi:function(t){for(var r=t.length-1,e=void 0;r>=0;r--)0===t[r].children.length?r>0?(e=t[r-1].children).splice(e.indexOf(t[r]),1):this.clear():s(t[r],this.toBBox)},_i:function(t){var r=["return a"," - b",";"];this.compareMinX=Function("a","b",r.join(t[0])),this.compareMinY=Function("a","b",r.join(t[1])),this.toBBox=Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}},576:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Xt=void 0;var n=e(480),i=function(){function t(){}return t.Oi=function(r,e){var n;if(e&&t.xi[e]&&t.xi[e][r])n=t.xi[e][r];else try{null==e?(n=RegExp(r),e="empty"):n=RegExp(r,e),t.xi[e]||(t.xi[e]={}),t.xi[e][r]=n}catch(t){return null}return n.lastIndex=0,n},t.Vr=function(r){var e=t.ji[r];return e||(e=t.ji[r]=RegExp(r,"g")),e.lastIndex=0,e},t.Ei=function(r){var e=t.Ti[r];return e||(e=t.Ti[r]=RegExp(r,"gi")),e.lastIndex=0,e},t.Ai=function(r,e,n){if(t.Ri[r])return t.Bi[r];var i=e?"[?*]+":"[~?*]+";if(t.Vr(i).test(r)){for(var a=[],u=r.split(""),s=void 0,o={".":!0,"+":!0,$:!0,"^":!0,"[":!0,"]":!0,"(":!0,")":!0,"{":!0,"}":!0,"|":!0,"/":!0,"\\":!0},f=0;f<u.length;f++)if("~"===(s=u[f])){if(!(f<u.length-1))break;"*"!==(s=u[++f])&&"?"!==s||a.push("\\"),a.push(s)}else"?"===s?a.push("."):"*"===s?(a.push("[\\s\\S]"),n?a.push("+"):a.push("*")):o[s]?(a.push("\\"),a.push(s)):a.push(s);return a.join("")}return null},t.Ii=function(r,e,n){var i=t.Ai(r,e,n);return i&&(i="^"+i+"$"),i},t.zi=function(t,r){for(var e="#"+t+"0#",i=1;r.indexOf(e)>0;)e=n.Yt.Gi(e,"#"+t+(i-1)+"#","#"+t+i+"#"),i++;return e},t.Ji=function(t){return t.replace(/([\~\!\@\#\$\%\^\&\*\(\)\-\_\+\=\[\]\{\}\|\\\;\:\'\"\,\.\/\<\>\?])/,"\\$1")},t.ji={},t.Ti={},t.xi={},t.Ri={},t.Bi={},t}();r.Xt=i},480:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Yt=void 0;var n=e(576);function i(t,r,e){return t.substr(r,e)}function a(t){return null==t}function u(t,r,e,n){if(a(r))throw Error();if(""===r)return!0;if(r.length>t.length)return!1;var i=t,u=r;return e&&(i=i.toLowerCase(),u=u.toLowerCase()),n(i,u)}r.Yt={oe:function(t,r,e){return e&&(t=t.toLowerCase(),r=r.toLowerCase()),""===r||t.indexOf(r)>=0},Je:function(t,r,e){if(e){var n=t.toLowerCase(),i=r.toLowerCase();return n.indexOf(i)}return t.indexOf(r)},Ui:function(t,r){if(!r)return t;for(var e=t;i(e,0,r.length)===r;)e=i(e,r.length);return e},si:function(t,r){if(!r)return t;for(var e=t;i(e,e.length-r.length,r.length)===r;)e=i(e,0,e.length-r.length);return e},ze:function(t,r,e){if(r<0||r>t.length||a(e))throw Error();return i(t,0,r)+e+i(t,r,t.length-r)},Be:function(t,r,e){if(a(e)&&(e=t.length-r),r<0||e<0||r+e>t.length)throw Error();return i(t,0,r)+i(t,r+e,t.length-r-e)},Tn:function(t,r,e){return void 0===e&&(e=!1),u(t,r,e,(function(t,r){return t.slice(0,r.length)===r}))},oi:function(t,r,e){return void 0===e&&(e=!1),u(t,r,e,(function(t,r){return t.slice(-r.length)===r}))},Li:function(t,r,e,n){if(!r)throw Error();return e=(""+e).replace(/\$/g,"$$$$"),t.replace(RegExp(r,"g"+(n?"i":"")),e)},qi:function(t,e,i,a){return e=n.Xt.Ji(e),r.Yt.Li(t,e,i,a)},Ki:function(t,r){var e=t.indexOf(r);return e<0||e>=t.length?t:i(t,0,e)},Wi:function(t,r){for(var e=0,n=t.indexOf(r);n>=0;)e+=1,n=t.indexOf(r,n+1);return e},Gi:function(t,r,e){return t.split(r).join(e)},Yi:function(t,r){for(var e=t,n=0;n<r.length;n++){var i=RegExp("\\{"+n+"\\}","g");e=e.replace(i,r[n])}return e},Xi:function(t,r,e){for(var n=t.toString(),i=n.length;i<r;i++)n=e?"0"+n:n+"0";return n},Dn:function(t,e){return r.Yt.Xi(t,e,!0)},Yn:function(t,e){return r.Yt.Xi(t,e,!1)},Zi:function(t,r){return t===r||!t&&!r||t&&r&&t.toLowerCase()===r.toLowerCase()},Qi:function(t){return t.toUpperCase()},Vi:function(t){var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},e=n.Xt.Vr("(?:&|<|>|\"|'|`)");return e.test(t)?t.replace(e,(function(t){return r[t]})):t},ta:function(t){var r={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"},e=n.Xt.Vr("(?:&amp;|&lt;|&gt;|&quot;|&#x27;|&#x60;)");return e.test(t)?t.replace(e,(function(t){return r[t]})):t},ra:function(t){for(var r=t,e=/javascript:/gi;r.match(e);)r=r.replace(e,"");return r}}},534:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.tr=void 0;var e="undefined"!=typeof window?window.File:null,n="undefined"!=typeof window?window.Blob:null;r.tr={ea:null,ir:function(t,e){if(r.tr.na(t))for(var n=0,i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(var a in t)if(t.hasOwnProperty(a)&&!1===e.call(t[a],a,t[a]))break;return t},ia:function(t){return!t||"object"==typeof t&&0===Object.keys(t).length},aa:function(t){return"function"===r.tr.ua(t)},sa:function(t){return Array.isArray?Array.isArray(t):"array"===r.tr.ua(t)},oa:function(t){return r.tr.fa(t)&&(t=parseFloat(t)),!isNaN(t)&&isFinite(t)},fa:function(t){return"string"==typeof t},ua:function(t){if(null===t)return"null";var e=r.tr.ea;if(!e){e=r.tr.ea={};for(var n=["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"],i=0,a=n.length;i<a;i++)e["[object "+n[i]+"]"]=n[i].toLowerCase()}var u=e.toString,s=typeof t;return"object"===s||"function"===s?e[u.call(t)]||"object":s},ya:function(t,e,n){var i;if(e){var a=[].indexOf;if(a)return a.call(e,t,n);for(i=e.length,r.tr.de(n)&&(n=0),n=n<0?Math.max(0,i+n):n;n<i;n++)if(n in e&&e[n]===t)return n}return-1},ca:function(t,r){var e=r.length,n=t.length,i=0;if("number"==typeof e)for(;i<e;i++)t[n]=r[i],n++;else for(;void 0!==r[i];)t[n]=r[i],n++,i++;return t.length=n,t},ha:function(t,e,n){var i,a=[];if(r.tr.na(t))for(var u=0,s=t.length;u<s;u++)null!==(i=e(t[u],u,n))&&(a[a.length]=i);else{var o=void 0;for(o in t)t.hasOwnProperty(o)&&null!==(i=e(t[o],o,n))&&(a[a.length]=i)}return a.concat([])},ar:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n,i,a,u,s,o,f=t[0]||{},y=1,c=t.length,h=!1;for("boolean"==typeof f&&(h=f,f=t[1]||{},y=2),"object"==typeof f||r.tr.aa(f)||(f={}),c===y&&(f=this,--y);y<c;y++)if(s=t[y],!r.tr.de(s))for(u in s)n=f[u],f!==(a=s[u])&&(i=r.tr.sa(a),h&&a&&(r.tr.ma(a)||i)?(o=i?n&&r.tr.sa(n)?n:[]:n&&r.tr.ma(n)?n:{},f[u]=r.tr.ar(h,o,a)):void 0!==a&&(f[u]=a));return f},Ma:function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e]);function n(){this.constructor=t}n.prototype=r.prototype,t.prototype=new n},da:function(t){return null!==t&&t===t.window},ma:function(t){if(!t||"object"!==r.tr.ua(t)||t.nodeType||r.tr.da(t))return!1;var e,n={}.hasOwnProperty;try{if(t.constructor&&!n.call(t,"constructor")&&!n.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||n.call(t,e)},na:function(t){if(r.tr.de(t))return!1;var e=t.length,n=r.tr.ua(t);return!r.tr.da(t)&&(!(1!==t.nodeType||!e)||"array"===n||"function"!==n&&(0===e||"number"==typeof e&&e>0&&e-1 in t))},la:function(t,e){var n=e||[];return null!==t&&(r.tr.na(Object(t))?r.tr.ca(n,"string"==typeof t?[t]:t):[].push.call(n,t)),n},va:null,de:function(t){return null==t},ba:null,Fa:null,ve:function(t){if(!t)return t;if("number"==typeof t||"string"==typeof t||"boolean"==typeof t||r.tr.de(t))return t;if(t.clone)return t.clone();if(t instanceof Date)return new Date(t.valueOf());var i,a,u;if(e&&t instanceof e)return new e([t],t.name,{type:t.type,lastModified:t.lastModified});if(n&&t instanceof n)return new n([t],{type:t.type});for(a in i=t instanceof Object?new t.constructor:new t.constructor(t.valueOf()),t)t.hasOwnProperty(a)&&(u=t[a],t.hasOwnProperty(a)&&i[a]!==u&&(i[a]="object"==typeof u?r.tr.ve(u):u));return i}}},612:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Exp_Separator=r.Exp_InvalidCast=r.Exp_InvalidNumberFormat=r.Exp_BadFormatSpecifier=r.Exp_InvalidNumberGroupSize=r.Exp_InvalidSemicolons=r.Exp_InvalidExponentFormat=r.Exp_InvalidDateFormat=void 0,r.Exp_InvalidDateFormat="Invalid date format pattern",r.Exp_InvalidExponentFormat="invalid exponent format",r.Exp_InvalidSemicolons="invalid format : too many semicolons",r.Exp_InvalidNumberGroupSize="NumberGroupSize must be between 1 and 9, except for the last element, which can be zero.",r.Exp_BadFormatSpecifier="Bad Format Specifier",r.Exp_InvalidNumberFormat="Invalid number format pattern",r.Exp_InvalidCast="InvalidCastException",r.Exp_Separator="numberDecimalSeparator, listSeparator and arrayListSeparator should be different in culture info."},479:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.UUIDGenerator=void 0;var e=function(){function t(){}return t.wrap=function(t){return"{".concat(t.toUpperCase(),"}")},t.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var r=16*Math.random()|0;return("x"===t?r:3&r|8).toString(16)}))},t.secureUUID=function(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():this.uuidv4()},t.secureUpperCaseUUID=function(){return this.wrap(this.secureUUID())},t.isValidUpperCaseUUID=function(t){return/^\{[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\}$/i.test(t)},t}();r.UUIDGenerator=e},814:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.UndoManager=r.CommandManager=r.Key=void 0;var n=e(536);Object.defineProperty(r,"Key",{enumerable:!0,get:function(){return n.Key}}),Object.defineProperty(r,"CommandManager",{enumerable:!0,get:function(){return n.CommandManager}});var i=e(748);Object.defineProperty(r,"UndoManager",{enumerable:!0,get:function(){return i.UndoManager}})},536:function(t,r){var e;Object.defineProperty(r,"t",{value:!0}),r.CommandManager=r.Key=void 0,function(t){t[t.left=37]="left",t[t.right=39]="right",t[t.up=38]="up",t[t.down=40]="down",t[t.tab=9]="tab",t[t.enter=13]="enter",t[t.shift=16]="shift",t[t.ctrl=17]="ctrl",t[t.space=32]="space",t[t.altkey=18]="altkey",t[t.home=36]="home",t[t.end=35]="end",t[t.pup=33]="pup",t[t.pdn=34]="pdn",t[t.backspace=8]="backspace",t[t.del=46]="del",t[t.esc=27]="esc",t[t.a=65]="a",t[t.c=67]="c",t[t.v=86]="v",t[t.x=88]="x",t[t.z=90]="z",t[t.y=89]="y"}(e=r.Key||(r.Key={}));var n=function(){function t(t,r,e){this.ga=t,this.pa=r,this._a=e;var n,i=this;Object.defineProperty(i,"shortcutKey",{get:function(){return i.Da},set:function(t){var r=i.Da;if(r!==t){var e=(n=i.ga.wa)[r];if(e){var a=e.indexOf(i);a>=0&&e.splice(a,1)}i.Da=t,t&&((e=n[t])||(n[t]=e=[]),e.splice(0,0,i))}}})}return t.prototype.canUndo=function(){return this.pa.canUndo},t.prototype.execute=function(t,r,e){var n,i,a=!0,u=!0;if(this.pa&&r){var s={command:r,result:i,Ha:e,actionType:e,metaData:null===(n=this.pa)||void 0===n?void 0:n.metaData,r:null,isBefore:!0};this.ga.$a(s),s.r&&(u=!1,i=!1)}if(u){try{a=!1!==(i=(this.pa.execute||this.pa)(t,r,1===e))}catch(t){a=!1}r&&a&&this.ga.ka({command:this.Sa(r),result:i,Ha:e,actionType:e})}if(this.ga&&r){var o={command:r,result:i,Ha:e,actionType:e,isBefore:!1};this.ga.$a(o)}return i},t.prototype.Sa=function(t){return t&&!t.cmd&&(t.cmd=this._a),t},t}(),i=function(){function t(t){this.Na=t,this._e={},this.Pa={},this.Ca={},this.wa={}}return t.prototype.register=function(t,r,e,i,a,u,s){var o=new n(this,r,t);this[t]=o,e&&(o.shortcutKey=this.getShortcutKey(e,i,a,u,s))},t.prototype.getCommand=function(t){return this[t]},t.prototype.execute=function(t){var r=this[t.cmd];if(r)return r.execute(this.Na,t,0)},t.prototype.setShortcutKey=function(t,r,e,n,i,a){if(t){var u=this[t];u&&(u.shortcutKey=this.getShortcutKey(r,e,n,i,a))}else{var s=this.getShortcutKey(r,e,n,i,a),o=this.getCommands(s);if(o)for(var f=o.length-1;f>=0;f--)o[f].shortcutKey=void 0}},t.prototype.getShortcutKey=function(t,r,n,i,a){if(t){var u=65<=t&&t<=90?String.fromCharCode(t):e[t];return u||(u=t),u+(r?"+ctrl":"")+(n?"+shift":"")+(i?"+alt":"")+(a?"+window":"")}},t.prototype.getCommands=function(t){return this.wa[t]},t.prototype.addListener=function(t,r){this._e[t]=r},t.prototype.removeListener=function(t){delete this._e[t]},t.prototype.ka=function(t){var r=this._e;for(var e in r)r.hasOwnProperty(e)&&r[e](t)},t.prototype.Oa=function(t,r){this.Pa[t]=r},t.prototype.xa=function(t){delete this.Pa[t]},t.prototype.$a=function(t){var r=this.Pa;for(var e in r)r.hasOwnProperty(e)&&r[e](t)},t.prototype.Ie=function(){this.Na=null},t}();r.CommandManager=i},748:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.UndoManager=void 0;var e=function(){function t(t,r,e){this.Na=t,r<0&&(r=2147483647),this.ja=r,this.Ea=e,this.Ta=[],this.Aa=[],this.Ra=!1}return t.prototype.Ba=function(t,r){if(t){if(1===r)this.Aa.push(t);else{var e=this.ja,n=this.Ta.length;if(e>0&&n>=e)for(var i=0;i<n-e+1;i++)this.Ta.shift();this.Ta.push(t),0===r&&(this.Aa=[])}this.Ra=!0}},t.prototype.canUndo=function(){return this.Ta.length>0},t.prototype.undo=function(){var t=this.Ta,r=!0;if(this.Ea&&this.canUndo()){var e=t[t.length-1];try{var n=this.Na.commandManager()[e.cmd];n&&(e.Ia=!0,r=n.execute(this.Na,e,1))}catch(t){r=!1}delete e.Ia,!1!==r&&(t.pop(),this.Ra=!0,this.Aa.push(e))}return r},t.prototype.canRedo=function(){return this.Aa.length>0},t.prototype.redo=function(){var t=this.Aa,r=!0;if(this.Ea&&this.canRedo()){var e=t[t.length-1];try{var n=this.Na.commandManager()[e.cmd];n&&(e.Ia=!0,r=n.execute(this.Na,e,2))}catch(t){r=!1}delete e.Ia,!1!==r&&(t.pop(),this.Ra=!0,this.Ta.push(e))}return r},t.prototype.getRedoStack=function(){return this.Aa.slice()},t.prototype.getUndoStack=function(){return this.Ta.slice()},t.prototype.maxSize=function(t){return arguments.length<1?this.ja:(t>=0&&(this.ja=t),this)},t.prototype.clear=function(){this.Ta=[],this.Aa=[]},t.prototype.za=function(t){this.Ta=this.Ta.filter(t),this.Aa=this.Aa.filter(t)},t.prototype.Ie=function(){this.Na=null},t.prototype.setNewChangeStatus=function(t){this.Ra=t},t.prototype.getNewChangeStatus=function(){return this.Ra},t}();r.UndoManager=e},569:function(t,r,e){var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),i(e(2),r)},498:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Exp_InvalidCast=r.Exp_ValueIllegal=r.Exp_TokenIllegal=r.Exp_DuplicatedDescriptor=r.Exp_ValueIsNull=r.Exp_FormatIllegal=r.Exp_InvalidBackslash=r.Exp_TokenIsNull=void 0,r.Exp_TokenIsNull="token is null",r.Exp_InvalidBackslash="the '\\' cannot be evaluated",r.Exp_FormatIllegal="format is illegal.",r.Exp_ValueIsNull="value is null",r.Exp_DuplicatedDescriptor="The type of descriptor was added.",r.Exp_TokenIllegal="token is illegal.",r.Exp_ValueIllegal="value is illegal.",r.Exp_InvalidCast="InvalidCastException"},2:function(t,r,e){var n,i=this&&this.er||(n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])},n(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+r+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)});Object.defineProperty(r,"t",{value:!0}),r.GeneralFormatter=r.Ga=r.FormatterBase=void 0;var a=e(480),u=e(97),s=e(534),o=e(844),f=e(286),y=e(818),c=e(498),h=e(810),m=e(61);s.tr.ar(y.SR.en,c);var M=new y.ResourceManager(y.SR),d=M.getResource.bind(M);s.tr.va=function(t,r){if(s.tr.de(t))return"null"===r;if(!r)return!1;if(r instanceof Function&&t instanceof r)return!0;if(typeof t===r)return!0;if("function"===r&&/^\s*\bfunction\b/.test(""+t))return!0;if(Object.prototype.toString.call(t).slice(8,-1).toLowerCase()===r.toLowerCase())return!0;if("DateTime"===r)return t instanceof Date;if("TimeSpan"===r){if(t instanceof Date){var e=u.Qt.In(t);return e>=0&&e<1}return!1}return!1},s.tr.ba=function(t,r){return!!o.Zt.ci(t,r)&&("string"!=typeof t||-1===t.search(/[\r\n\t]/g))&&(t=o.Zt.yi(t,r),s.tr.va(t,"number")||s.tr.va(t,"DateTime")||s.tr.va(t,"TimeSpan")||t&&!s.tr.va(t,"boolean")&&!isNaN(t)&&!isNaN(parseFloat(t))&&!(t.length>=2&&"0"===t[0]&&"x"===t[1]))},s.tr.Fa=function(t){return s.tr.de(t)||""===t?0:s.tr.va(t,"number")?t:s.tr.va(t,"string")&&!isNaN(t)?o.Zt.Pn(t):s.tr.va(t,"boolean")?t?1:0:s.tr.va(t,"DateTime")?u.Qt.In(t):s.tr.va(t,"TimeSpan")?Math.floor(u.Qt.In(t)):parseFloat(t)};var l=null,v=Math.abs,b={Ja:"yy",Ua:"y",La:"yyyy",qa:"m",Ka:"mm",Wa:"mmm",Ya:"mmmm",Xa:"mmmmm",Za:"d",Qa:"dd",Va:"aaa",tu:"aaaa",ru:"h",eu:"hh",nu:"m",iu:"mm",au:"s",uu:"ss",Lr:"e",su:"AM/PM",ou:"A/P",fu:"@mmmmm",yu:new Date(1899,11,30,0,0,0,0)},F=[b.Ua,b.Ja,b.La,b.qa,b.Ka,b.Wa,b.Ya,b.Xa,b.Za,b.Qa,b.Va,b.tu,b.ru,b.eu,b.nu,b.iu,b.au,b.uu,"ggg","gg","g","ee","e"],g={cu:0,hu:1,mu:2,Mu:3},p=[{cu:0,hu:0,mu:0,Mu:0},{cu:0,hu:1,mu:0,Mu:0},{cu:0,hu:1,mu:2,Mu:0},{cu:0,hu:1,mu:2,Mu:3}],_=RegExp("([.+?*$^\\[\\](){}|/])","g"),D=[["M/d","MMM/d","MMMM/d","d/M","d/MMM","d/MMMM","M-d","MMM-d","MMMM-d","d-M","d-MMM","d-MMMM"],["M/y","MMM/y","M/yyyy","MMM/yyyy","M-y","MMM-y","M-yyyy","MMM-yyyy"],["M/d/y","MMM/d/y","MMMM/d/y","M/d/yyyy","MMM/d/yyyy","MMMM/d/yyyy","d/M/y","d/MMM/y","d/MMMM/y","d/M/yyyy","d/MMM/yyyy","d/MMMM/yyyy","yyyy/M/d","M-d-y","MMM-d-y","MMMM-d-y","M-d-yyyy","MMM-d-yyyy","MMMM-d-yyyy","d-M-y","d-MMM-y","d-MMMM-y","d-M-yyyy","d-MMM-yyyy","d-MMMM-yyyy","yyyy-M-d"],["H:m","h:m tt"],["H:m:s","H:m:s"],["H:m:s.FFF","h:m:s.FFF tt"],["h:m:s tt","h:mm:ss tt"],["M/d H:m","MMM/d H:m","MMMM/d H:m","d/M H:m","d/MMM H:m","d/MMMM H:m","M/y H:m","MMM/y H:m","M/yyyy H:m","MMM/yyyy H:m","M/d/y H:m","MMM/d/y H:m","MMMM/d/y H:m","M/d/yyyy H:m","MMM/d/yyyy H:m","MMMM/d/yyyy H:m","M-d H:m","MMM-d H:m","MMMM-d H:m","d-M H:m","d-MMM H:m","d-MMMM H:m","M-y H:m","MMM-y H:m","M-yyyy H:m","MMM-yyyy H:m","M-d-y H:m","MMM-d-y H:m","MMMM-d-y H:m","M-d-yyyy H:m","MMM-d-yyyy H:m","MMMM-d-yyyy H:m","M/d h:m tt","MMM/d h:m tt","MMMM/d h:m tt","d/M h:m tt","d/MMM h:m tt","d/MMMM h:m tt","M/y h:m tt","MMM/y h:m tt","M/yyyy h:m tt","MMM/yyyy h:m tt","M/d/y h:m tt","MMM/d/y h:m tt","MMMM/d/y h:m tt","M/d/yyyy h:m tt","MMM/d/yyyy h:m tt","MMMM/d/yyyy h:m tt","M-d h:m tt","MMM-d h:m tt","MMMM-d h:m tt","d-M h:m tt","d-MMM h:m tt","d-MMMM h:m tt","M-y h:m tt","MMM-y h:m tt","M-yyyy h:m tt","MMM-yyyy h:m tt","M-d-y h:m tt","MMM-d-y h:m tt","MMMM-d-y h:m tt","M-d-yyyy h:m tt","MMM-d-yyyy h:m tt","MMMM-d-yyyy h:m tt","d/M/y H:m","d/MMM/y H:m","d/MMMM/y H:m","d/M/yyyy H:m","d/mmm/yyyy H:m","d/MMMM/yyyy H:m","yyyy/M/d H:m","d-M-y H:m","d-MMM-y H:m","d-MMMM-y H:m","d-M-yyyy H:m","d-MMM-yyyy H:m","d-MMMM-yyyy H:m","yyyy-M-d H:m","d/M/y h:m tt","d/MMM/y h:m tt","d/MMMM/y h:m tt","d/M/yyyy h:m tt","d/mmm/yyyy h:m tt","d/MMMM/yyyy h:m tt","yyyy/M/d h:m tt","d-M-y h:m tt","d-MMM-y h:m tt","d-MMMM-y h:m tt","d-M-yyyy h:m tt","d-MMM-yyyy h:m tt","d-MMMM-yyyy h:m tt","yyyy-M-d h:m tt"],["M/d H:m:s","MMM/d H:m:s","MMMM/d H:m:s","d/M H:m:s","d/MMM H:m:s","d/MMMM H:m:s","M/y H:m:s","MMM/y H:m:s","M/yyyy H:m:s","MMM/yyyy H:m:s","M/d/y H:m:s","MMM/d/y H:m:s","MMMM/d/y H:m:s","M/d/yyyy H:m:s","MMM/d/yyyy H:m:s","MMMM/d/yyyy H:m:s","d/M/y H:m:s","d/MMM/y H:m:s","d/MMMM/y H:m:s","d/M/yyyy H:m:s","d/MMM/yyyy H:m:s","d/MMMM/yyyy H:m:s","yyyy/M/d H:m:s","M-d H:m:s","MMM-d H:m:s","MMMM-d H:m:s","d-M H:m:s","d-MMM H:m:s","d-MMMM H:m:s","M-y H:m:s","MMM-y H:m:s","M-yyyy H:m:s","MMM-yyyy H:m:s","M-d-y H:m:s","MMM-d-y H:m:s","MMMM-d-y H:m:s","M-d-yyyy H:m:s","MMM-d-yyyy H:m:s","MMMM-d-yyyy H:m:s","d-M-y H:m:s","d-MMM-y H:m:s","d-MMMM-y H:m:s","d-M-yyyy H:m:s","d-MMM-yyyy H:m:s","d-MMMM-yyyy H:m:s","yyyy-M-d H:m:s","M/d h:m:s tt","MMM/d h:m:s tt","MMMM/d h:m:s tt","d/M h:m:s tt","d/MMM h:m:s tt","d/MMMM h:m:s tt","M/y h:m:s tt","MMM/y h:m:s tt","M/yyyy h:m:s tt","MMM/yyyy h:m:s tt","M/d/y h:m:s tt","MMM/d/y h:m:s tt","MMMM/d/y h:m:s tt","M/d/yyyy h:m:s tt","MMM/d/yyyy h:m:s tt","MMMM/d/yyyy h:m:s tt","d/M/y h:m:s tt","d/MMM/y h:m:s tt","d/MMMM/y h:m:s tt","d/M/yyyy h:m:s tt","d/MMM/yyyy h:m:s tt","d/MMMM/yyyy h:m:s tt","yyyy/M/d h:m:s tt","M/d/yyyy h:mm:ss tt","M-d h:m:s tt","MMM-d h:m:s tt","MMMM-d h:m:s tt","d-M h:m:s tt","d-MMM h:m:s tt","d-MMMM h:m:s tt","M-y h:m:s tt","MMM-y h:m:s tt","M-yyyy h:m:s tt","MMM-yyyy h:m:s tt","M-d-y h:m:s tt","MMM-d-y h:m:s tt","MMMM-d-y h:m:s tt","M-d-yyyy h:m:s tt","MMM-d-yyyy h:m:s tt","MMMM-d-yyyy h:m:s tt","d-M-y h:m:s tt","d-MMM-y h:m:s tt","d-MMMM-y h:m:s tt","d-M-yyyy h:m:s tt","d-MMM-yyyy h:m:s tt","d-MMMM-yyyy h:m:s tt","yyyy-M-d h:m:s tt","M/d/yyyy H:m:s","M-d-yyyy H:m:s","M/d/yyyy h:m:s tt","M-d-yyyy H:m:s tt"],["M/d H:m:s.FFF","MMM/d H:m:s.FFF","MMMM/d H:m:s.FFF","d/M H:m:s.FFF","d/MMM H:m:s.FFF","d/MMMM H:m:s.FFF","M/y H:m:s.FFF","MMM/y H:m:s.FFF","M/yyyy H:m:s.FFF","MMM/yyyy H:m:s.FFF","M/d/y H:m:s.FFF","MMM/d/y H:m:s.FFF","MMMM/d/y H:m:s.FFF","MMM/d/yyyy H:m:s.FFF","MMMM/d/yyyy H:m:s.FFF","d/M/y H:m:s.FFF","d/MMM/y H:m:s.FFF","d/MMMM/y H:m:s.FFF","d/M/yyyy H:m:s.FFF","d/MMM/yyyy H:m:s.FFF","d/MMMM/yyyy H:m:s.FFF","yyyy/M/d H:m:s.FFF","M-d H:m:s.FFF","MMM-d H:m:s.FFF","MMMM-d H:m:s.FFF","d-M H:m:s.FFF","d-MMM H:m:s.FFF","d-MMMM H:m:s.FFF","M-y H:m:s.FFF","MMM-y H:m:s.FFF","M-yyyy H:m:s.FFF","MMM-Yyyy H:m:s.FFF","M-d-y H:m:s.FFF","MMM-d-y H:m:s.FFF","MMMM-d-y H:m:s.FFF","MMM-d-yyyy H:m:s.FFF","MMMM-d-yyyy H:m:s.FFF","D-M-y H:m:s.FFF","d-MMM-y H:m:s.FFF","d-MMMM-y H:m:s.FFF","D-M-yyyy H:m:s.FFF","d-MMM-yyyy H:m:s.FFF","d-MMMM-yyyy H:m:s.FFF","yyyy-M-d H:m:s.FFF","M/d h:m:s.FFF tt","MMM/d h:m:s.FFF tt","MMMM/d h:m:s.FFF tt","d/M h:m:s.FFF tt","d/MMM h:m:s.FFF tt","d/MMMM h:m:s.FFF tt","M/y h:m:s.FFF tt","MMM/y h:m:s.FFF tt","M/yyyy h:m:s.FFF tt","MMM/yyyy h:m:s.FFF tt","M/d/y h:m:s.FFF tt","MMM/d/y h:m:s.FFF tt","MMMM/d/y h:m:s.FFF tt","MMM/d/yyyy h:m:s.FFF tt","MMMM/d/yyyy h:m:s.FFF tt","d/M/y h:m:s.FFF tt","d/MMM/y h:m:s.FFF tt","d/MMMM/y h:m:s.FFF tt","d/M/yyyy h:m:s.FFF tt","d/MMM/yyyy h:m:s.FFF tt","d/MMMM/yyyy h:m:s.FFF tt","yyyy/M/d h:m:s.FFF tt","M-d h:m:s.FFF tt","MMM-d h:m:s.FFF tt","MMMM-d h:m:s.FFF tt","d-M h:m:s.FFF tt","d-MMM h:m:s.FFF tt","d-MMMM h:m:s.FFF tt","M-y h:m:s.FFF tt","MMM-y h:m:s.FFF tt","M-yyyy h:m:s.FFF tt","MMM-Yyyy h:m:s.FFF tt","M-d-y h:m:s.FFF tt","MMM-d-y h:m:s.FFF tt","MMMM-d-y h:m:s.FFF tt","MMM-d-yyyy H:m:s.FFF tt","MMMM-d-yyyy h:m:s.FFF tt","d-M-y h:m:s.FFF tt","d-MMM-y h:m:s.FFF tt","d-MMMM-y h:m:s.FFF tt","d-M-yyyy h:m:s.FFF tt","d-MMM-yyyy h:m:s.FFF tt","d-MMMM-yyyy h:m:s.FFF tt","yyyy-M-d h:m:s.FFF tt"]],w=["#000000","#FFFFFF","#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#800000","#008000","#000080","#808000","#800080","#008080","#C0C0C0","#808080","#9999FF","#993366","#FFFFCC","#CCFFFF","#660066","#FF8080","#0066CC","#CCCCFF","#000080","#FF00FF","#FFFF00","#00FFFF","#800080","#800000","#008080","#0000FF","#00CCFF","#CCFFFF","#CCFFCC","#FFFF99","#99CCFF","#FF99CC","#CC99FF","#FFCC99","#3366FF","#33CCCC","#99CC00","#FFCC00","#FF9900","#FF6600","#666699","#969696","#003366","#339966","#003300","#333300","#993300","#993366","#333399","#333333"],H=RegExp("color\\s*(\\d+)","i"),$=s.tr.va,k=s.tr.sa,S=o.Zt,N=S.bi+"."+S.Fi,P=S.li,C=S.Hn,O=S.Kn,x=s.tr.de,j=isNaN,E=function(t){return f.CultureManager.ce(t)},T=function(t){return E(t).DateTimeFormat},A=function(t){return E(t).NumberFormat},R=function(t){return t&&t.toLowerCase()},B=function(){throw Error(d().Exp_FormatIllegal)},I=function(){return f.CultureManager.booleanMapping},z={du:"",Yi:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(0===arguments.length)return l;for(var i=e[0],a=1;a<arguments.length;a++){var u=RegExp("\\{"+(a-1)+"\\}","gm");i=i.replace(u,arguments[a])}return i},lu:function(t){return!t||t===z.du}},G=function(t){var r=t.charCodeAt(0);return r>=48&&r<=57},J=function(t){var r=t.charCodeAt(0);return r>=9&&r<=13||32===r||133===r||160===r},U=function(){function t(t,r){ht.call(this,r);this.vu=t;var e=this.vu,n=ot(e[0],"$",!1),i=e.indexOf("-");if(!(n&&i>-1))throw Error(d().Exp_TokenIllegal);this.bu=tt(e,1,i-1),(e=a.Yt.Be(e,0,i+1)).length>0&&(this.Fu=parseInt(e,16))}return t.prototype.cultureInfo=function(){return this.gu||(this.gu=E(this.Fu)),this.gu},t.prototype.currencySymbol=function(){return this.bu?a.Yt.Li(this.bu,"\\.",'"."'):z.du},t.prototype.allowScience=function(){if(this.gu)return!this.gu.isJCKCulture},t.prototype.toString=function(){return this.vu?nt(this.vu):z.du},t.Name="LocaleIDFormatPart",t}(),L=function(){function t(t,r){this.formatCached=t,this.cultureName=r,this.typeName=""}return t.prototype.format=function(t,r){return l},t.prototype.parse=function(t){return l},t.prototype.formatString=function(t){return this.formatCached},t.prototype.toJSON=function(){var t={};for(var r in this)this.hasOwnProperty(r)&&(t[r]=this[r]);return t},t.prototype.fromJSON=function(t){if(t)for(var r in t)void 0!==t[r]&&(this[r]=t[r])},t}();r.FormatterBase=L;var q=function(){function t(t,r){ht.call(this,r);for(var e,n,i,u=this,s=["<=","<>",">=",">","<","="],o=0,f=s.length;o<f;o++)if(e=s[o],a.Yt.Tn(t,e,!0)){n=a.Yt.Be(t,0,e.length);var y=parseFloat(n);j(y)||(i=y);break}if(i===l&&void 0===i)throw Error(d().Exp_TokenIllegal);u.value=i,u.pu=e,u.isMeetCondition=function(t){var r=u.pu,e=u.value;switch(r){case"<=":return t<=e;case"<>":return t!==e;case">=":return t>=e;case">":return t>e;case"<":return t<e;case"=":return t===e}}}return t.prototype.toString=function(){return nt(this.pu+this.value.toString())},t}(),K=function(){function t(t,r){ht.call(this,r);if(this.token=t,this.type=parseInt(a.Yt.Be(t,0,5),10),this.type<0||this.type>4)throw Error(d().Exp_TokenIllegal)}return t.prototype._u=function(r,e,n){if(!r||r===z.du)return r;for(var i,u,s=r,o=r,f=-1,y=-1,c=!1,h=r.length-1;h>=0;h--){var m=o[h];!j(m)&&!ot(m," ",!1)||ot(m,".",!1)&&!c?(ot(m,".",!1)&&(c=!0),-1===f&&(f=h),y=h):y>-1&&f>-1&&(i=tt(o,y,f-y+1),j(parseFloat(i))||(u=t.numberString(i,e,n),s=a.Yt.Be(s,y,f-y+1),s=a.Yt.ze(s,y,u)),f=-1,y=-1,c=!1)}return y>-1&&f>-1&&(i=tt(o,y,f-y+1),j(parseFloat(i))||(u=t.numberString(i,e,n),s=a.Yt.Be(s,y,f-y+1),s=a.Yt.ze(s,y,u))),s},t.prototype.toString=function(){if(this.type>-1)return nt("DBNum"+this.type);throw Error()},t.numberString=function(r,e,n){var i=t.formatNumberString,a=r.split(".");if(a){if(1===a.length)return i(a[0],e.numbers,n?e.letters:l);if(2===a.length)return i(a[0],e.numbers,n?e.letters:l)+"."+i(a[1],e.numbers)}throw Error(d().Exp_ValueIllegal)},t.formatNumberString=function(r,e,n){var i,a=r,u=0,s=0;if(2===arguments.length){for(var o="";u<a.length;u++)i=tt(a,u,1),o+=e[s=parseInt(i,10)];return o}if(3===arguments.length){if(!n)return t.formatNumberString(r,e);for(var f=0,y="",c=a.length,h=!1,m=[];u<c;u++){var M=n.length-1-u;M>-1?m.push(n[M].toString()):m.push(z.du)}for(var d=[],l=m.length-1;l>=0;l--)d[m.length-l-1]=m[l];m=d;var v=!1;for(l=0;l<c;l++){i=tt(a,l,1),s=parseInt(i,10);var b=void 0,F=z.du;c-l-16>0?(b=e[s],F="",v=!0):l!==c-1&&l!==c-5&&l!==c-9&&l!==c-13?"0"===i?(b="",F="",f+=1):"0"!==i&&0!==f?(b=e[0]+e[s],F=m[l],f=0):(b=e[s],F=m[l],f=0):"0"!==i&&0!==f?(b=e[0]+e[s],F=m[l],f=0):"0"!==i&&0===f||v?(b=e[s],F=m[l],f=0,v=!1):"0"===i&&f>=3?(b="",F="",f+=1):c>=11?(b="",f+=1):(b="",F=m[l],f+=1),b+F===z.du||(h=!1),l!==c-13||h||(F=m[l],h=!0),l!==c-9||h||(F=m[l],h=!0),l===c-1&&(F=m[l],h=!0),y=y+b+F}return 0===parseInt(r,10)?e[0]:y}},t}(),W=function(){function t(t,r,e,n,i,a){ct.call(this,r,e,n,a);this.Du=this.wu(ft(t)),this.Hu=i,this.$u=2,this.ku()}return t.prototype.ku=function(){var r={wn:this.Du};if(t.Su(r.wn)){var e=this.Nu(r),n=T(this.cultureName).amDesignator&&T(this.cultureName).pmDesignator;if(this.hasJD=this.Li(r.wn,b.Xa,'"'+b.fu+'"',!0,!1,r,!1),this.Li(r.wn,b.Ya,"MMMM",!0,!1,r,!1),this.Li(r.wn,b.Wa,"MMM",!0,!1,r,!1),this.Pu(r.wn,r),this.Li(r.wn,b.Va,"ddd",!0,!0,r,!0),this.Li(r.wn,b.tu,"dddd",!0,!0,r,!0),e&&n||(this.Li(r.wn,b.ru,"H",!0,!0,r,!1),this.Li(r.wn,b.eu,"HH",!0,!0,r,!1)),this.Cu&&(this.Ou||E(this.cultureName).NumberFormat.dbNumber)&&(this.xu=this.xu||this.Li(r.wn,b.La,'"@'+b.La+'"',!0,!1,r,!0),this.xu=this.xu||this.Li(r.wn,b.Ja,'"@'+b.Ja+'"',!0,!1,r,!0)),this.Hu)for(var i=0;i<this.Hu.length;i++){var a=this.Hu[i];this.Li(r.wn,a.ju,"@"+a.ju,!0,!0,r,!0)}this.Eu=r.wn}else B()},t.prototype.formatString=function(){return this.Du},t.prototype.format=function(t){var r=z.du,e=l;try{if((e=u.Qt.zn(t))&&j(e.valueOf())&&(e=l),e?t=e:r=t.toString(),e){if(r=u.Qt.Hn(e,this.Eu,this.Ou&&this.Ou.cultureInfo()||E(this.cultureName),this.Tu),this.hasJD){var n=E(this.cultureName).DateTimeFormat.monthNames[e.getMonth()];r=a.Yt.Li(r,b.fu,tt(n,0,1))}if(this.Hu)for(var i=24*(u.Qt.In(e)-u.Qt.In(b.yu))*60*60*1e3,s=0;s<this.Hu.length;s++){var o=this.Hu[s],f=o.Au(i);if(!x(f)){var y=o.ju.replace("[","\\[").replace("]","\\]"),c=o.ju.replace("[","").replace("]",""),h=a.Yt.Dn(f+"",c.length);r=a.Yt.Li(r,"@"+y,h)}}}}catch(e){r=rt(t)}return function(t,r,e,n,i){var a=t;if(!x(n)&&r instanceof Date){var s=Mt(e,n.type,i);if(!s)return t;a=n._u(a,s,!0),1===n.type&&(a=a.replace(RegExp("一十","g"),"十")),a=(a=a.replace("@"+b.La,u.Qt.$n(r,b.La))).replace("@"+b.Ja,u.Qt.$n(r,b.Ja)),a=n._u(a,s,!1)}return a}(r,t,this.Ou,this.Cu,this.cultureName)},t.prototype.parse=function(t){if(!t||t===z.du)return l;var r=t,e=R(r);if("true"===e)return!0;if("false"===e)return!1;if(this.Eu){var n=u.Qt.Nn(r,this.Eu,E(this.cultureName));if(n)return n}try{var i=u.Qt.zn(r);return i&&!j(i)?i:j((i=new Date(r)).valueOf())?r:i}catch(t){return r}},t.prototype.wu=function(t){for(var r=t,e="",n=!1,i=0;i<r.length;i++){var a=r[i];if('"'===a)n=!n;else if(!n)if("Y"===a||"D"===a||"S"===a||"E"===a||"G"===a)a=R(a);else if("M"===a){var u=r[i-1];ot("A",u,!0)||ot("P",u,!0)||(a=R(a))}e+=a}return e},t.prototype.Nu=function(t){var r=T(this.cultureName).amDesignator,e=T(this.cultureName).pmDesignator,n=[b.su];r&&e?n.push(r+"/"+e):n.push(b.su),n.push(b.ou);for(var i=["tt","tt","t"],u=t.wn,s=0;s<3;s++){if(a.Yt.oe(u,i[s]))return!0;if(a.Yt.oe(u,n[s],!0))return t.wn=a.Yt.Li(u,n[s],i[s],!0),!0}return!1},t.prototype.Pu=function(t,r){for(var e=function(t){for(var r=[],e=!1,n=!1,i="",a=function(t,r){return{type:t,content:r}},u=function(t){return!x(t)&&-1!=="yYdDhHmMsSeE".indexOf(t)},s=function(e,n){if(u(e)){for(var i=e,s=t[n+1];u(s)&&s.toLowerCase()===e.toLowerCase()&&(i+=s,n<t.length-1);)n++,s=t[n+1];r.push(a("symbolic",i))}else"a"===e&&"aaa"===t.slice(n,n+3).toLowerCase()?(r.push(a("symbolic",t.slice(n,n+3))),n+=2):r.push(a("text",e));return n},o=0;o<t.length;o++){var f=t[o];if(e)r.push(a("text","\\"+f)),e=!1;else if(n&&'"'!==f)i+=f;else switch(f){case"\\":e=!0;break;case'"':n&&(r.push(a("text",'"'+i+'"')),i=""),n=!n;break;default:o=s(f,o)}}return r}(t),n=-1,i=-1,a=0;a<e.length;a++){var u=e[a];"symbolic"===u.type?"m"===u.content[0].toLowerCase()?n>=0?(u.content=u.content.toLowerCase(),n=-1):(u.content=u.content.toUpperCase(),i=a):"s"===u.content[0].toLowerCase()?i>=0&&(e[i].content=e[i].content.toLowerCase(),i=-1):"h"===u.content[0].toLowerCase()?(n=a,i=-1):i=-1:i>=0&&a>0&&"0"===u.content&&"."===e[a-1].content&&a===i+2&&(e[i].content=e[i].content.toLowerCase())}r.wn=e.map((function(t){return t.content})).join("")},t.prototype.Li=function(r,e,n,i,u,s,o){if(i||u){var f=[],y=!0;!t.hasDate(r)&&t.hasTime(r)&&(y=!1);for(var c=!1,h=0;h<r.length;h++){var m=r[h];if(t.hasTime(m)&&!c?y=!1:t.hasDate(m)&&!c&&(y=!0),i&&ot(m,e[0],o)&&y||u&&ot(m,e[0],o)&&!y){for(var M=!0,d=0;d<e.length;d++)if(d+h>=r.length||!ot(e[d],r[d+h],o)){M=!1;break}var l=h+e.length-1;if(M&&l+1<r.length){var v=r[l],b=-1;for(b=l+1;b<r.length&&ot(v,r[b],o);b++);b>l+1&&(h=b,M=!1)}M&&!c&&f.splice(0,0,h)}'"'===m&&(c=!c)}if(s.wn=r,f.length>0){for(h=0;h<f.length;h++){var F=f[h];s.wn=a.Yt.Be(s.wn,F,e.length),s.wn=a.Yt.ze(s.wn,F,n)}return!0}return!1}return!1},t.hasTime=function(t){return a.Yt.Je(t,b.ru[0],!0)>-1||a.Yt.Je(t,b.au[0],!0)>-1},t.hasDate=function(t){return a.Yt.Je(t,b.Ja[0],!0)>-1||a.Yt.Je(t,b.Za[0],!0)>-1},t.Su=function(t,r){return yt(t,r||F)},t}();r.Ga=W;var Y=function(){function t(t,r){ht.call(this,r);var e,n=R(t)[0];if("h"===n)e=3600;else if("m"===n)e=60;else{if("s"!==n)throw Error(d().Exp_TokenIllegal);e=1}this.Au=function(t){var r=t/1e3/e;return Math.abs(r-Math.round(r))<1e-6?Math.round(r):Math.floor(r)}}return t.Name="ABSTimeFormatPart",t}(),X=function(){function t(t,r){ht.call(this,r);var e=H.exec(t);if(null!==e){var n=Number(e[1]);(n-=1)>=0&&n<w.length&&(t=w[n])}this.foreColor=t}return t.prototype.toString=function(){return nt(this.foreColor)},t.Name="ColorFormatPart",t}(),Z=function(){function t(t,r,e,n){ct.call(this,r,e,n);this.Ru=!1,this.$u=1,this.Bu=it(t);var i=ft(t);if(r&&(i=ut(i,this.Ou.ju,this.Ou.currencySymbol())),(i=it(i)).indexOf("/")>-1){var a=function(t,r){var e=[];if(t===l||""===t)return e;var n,i,a=!1,u=[],s=!1;for(n=0;n<t.length;n++)'"'!==(i=t[n])||a||(s=!s),a||s||i!==r?u.push(i):(e.push(u.join("")),u=[]),a="\\"===i&&!a;return e.push(u.join("")),e}(i,"/");if(a&&2===a.length){this.Iu=a[1];var u=a[0];if(u){var s=u.lastIndexOf(" ");s>-1?(this.zu=tt(u,0,s),this.Gu=tt(u,s+1,u.length-s-1)):this.Gu=u}}}this.Ju=i}return t.prototype.formatString=function(){return this.Bu},t.prototype.format=function(r){if($(r,"boolean"))return r.toString().toUpperCase();var e=s.tr.Fa(r);if(j(e)||!isFinite(e)||j(r))return"string"==typeof r?r:l;var n,i,a,u,o,f=E(this.cultureName);if(this.Gu&&this.Iu){var y={value:0},c={value:0},h={value:0},m=this.Uu();if(t.getFraction(e,m,y,c,h)){var M=t.getGCD(c.value,h.value);if(M>1&&(c.value/=M,h.value/=M),this.zu){o="",1===h.value&&(y.value+=c.value,c.value=0,h.value=0);var d=P(C(y.value,this.zu,f));d&&"0"!==d&&(o+=d,o+=" "),0===y.value&&e<0&&(o+=f.NumberFormat.negativeSign),0===e&&(o+="0"),n=this.Iu,!j(i=parseFloat(n))&&i>0&&(0!==c.value&&0!==h.value&&(c.value*=i/h.value),h.value=i,n=n.replace(/^\d+/,t.toNumberPlaceholder(i)),u=(a=Math.ceil(c.value))-c.value,c.value=parseFloat(u<=.5&&u>=0?a.toString():""+(a-1)));var v=this.Gu,b=parseFloat(v);if(!j(b)&&0===b){var F=v.length,g=c.value.toString(),p=g.length;F>p?v=v.substr(0,F-(F-p)):F<p&&(g=g.substr(0,p-(p-F)),c.value=parseInt(g,10))}var _=this.Lu(c.value,h.value,v,n,f);return 0===c.value&&(_=_.replace(/./g," "),""===d)?"0 "+_:""===(o+=_)?"0":o}o="";var D=y.value*h.value+c.value;return n=this.Iu,(i=parseFloat(n))>0?(D*=i/h.value,h.value=i,o+=(D=parseFloat((u=(a=Math.ceil(D))-D)<=.5&&u>=0?a.toString():""+(a-1)))+"/"+h.value):o+=this.Lu(D,h.value,this.Gu,this.Iu,f),0===D?"0":o}return e.toString()}return function(t,r,e,n,i){if(!x(n)){var a=Mt(e,n.type,i);if(!x(a)){for(var u=!1,s=void 0,o=E(i),f=void 0,y=0,c=t.length;y<c;y++)"decimalSeparator"===t[y].type&&(u=!0,t[y].value=n._u(t[y].value,a,r),s=t[y].value),"number"===t[y].type&&(t[y].value=u?n._u(s+t[y].value,a,r).slice(1):n._u(t[y].value,a,r),"ja-JP"===o.name()&&t[y].value.length>1&&("一千"!==(f=t[y].value.substr(0,2))&&"一百"!==f&&"一十"!==f||(t[y].value=t[y].value.substr(1))));return t}}return t}(C(e,this.Ju,f),this.Ru,this.Ou,this.Cu,this.cultureName)},t.prototype.parse=function(t){if(!t||t===z.du)return l;var r=function(t){return t&&t.toUpperCase()}(t);if("TRUE"===r||r===I()&&I().boolean_true)return!0;if("FALSE"===r||r===I()&&I().boolean_false)return!1;var e="("===t.charAt(0)&&")"===t.charAt(t.length-1);e&&(t=t.substring(1,t.length-1));var n=this.Gu&&this.Iu,i=this.Ku(this.Ju).qu;if(n||i){var u=0;if(n&&this.zu){var s=(t=t.trim()).lastIndexOf(" ");0<s&&s<t.length-1&&(u=parseInt(t.substr(0,s),10),t=t.substr(s+1))}var o=t.indexOf("/");if(0<o&&o<t.length-1){var f=t.substr(0,o),y=t.substr(o+1);if(!j(f)&&!j(y)){var c=parseInt(f,10),h=parseInt(y,10);if(!j(c)&&!j(h)&&0!==h)return u+c/h}}}t=this.Wu(t),t=this.Yu(t);var m=this.Ku(t),M=m.qu,d=m.Xu;if(this.Zu(d)){d=a.Yt.qi(d,A(this.cultureName).numberGroupSeparator,"",!1);var b=S.hi(d,this.cultureName);if(!j(b)&&isFinite(b)){if(M&&(b=O(b/100,15)),e){if("-"===d.charAt(0)||"+"===d.charAt(0))return l;b=-1*v(b)}return b}}return l},t.prototype.Uu=function(){var t=this.Iu,r=0;if(t)for(var e=t.length,n=0;n<e&&t[n].match(/[#?\d]/);n++)r++;return r},t.prototype.Zu=function(t){for(var r="",e=0,n=0,i=0,a=l,u=A(this.cultureName),s=t.length-1;s>-1;s--){if(t[s]===u.numberDecimalSeparator)e++,i>0&&(a=!1),r="";else if("e"===R(t[s])){if(n++,r="",s===t.length-1)return!1}else if(t[s]===u.numberGroupSeparator)a=3===r.length,i++,r="";else if("-"===t[s]||"+"===t[s]){if(s>0&&"e"!==R(t[s-1]))return!1}else{if(!G(t[s]))return!1;if(r+=t[s],0===s&&0===parseInt(r,10)&&a)return!1}if(e>1||n>1||!1===a)return!1}return!0},t.prototype.Wu=function(t){for(var r=t,e=[],n=0;n<r.length;n++)G(r[n])&&e.push(n);for(var i=A(this.cultureName),u=[i.currencyDecimalSeparator,i.currencyGroupSeparator,i.currencySymbol,"$",i.nanSymbol,i.negativeInfinitySymbol,i.negativeSign,i.numberDecimalSeparator,i.numberGroupSeparator,i.percentDecimalSeparator,i.percentGroupSeparator,i.percentSymbol,i.perMilleSymbol,i.positiveInfinitySymbol,i.positiveSign],s=r.length-1;s>-1;s--){var o=r[s];if(J(o)&&u.indexOf(o.toString())<=-1)(s<e[0]||e[e.length-1]<s)&&(r=a.Yt.Be(r,s,1));else if("-"===o||"+"===o){var f=s>0?r[s-1].toString():l;if(["e","E","(",A(this.cultureName).currencySymbol,"$"].indexOf(f)<0)break}}return r},t.prototype.Yu=function(t){if(a.Yt.Tn(t,"$")){if((r=a.Yt.Be(t,0,1)).indexOf("$")<0)return r}else{var r,e=A(this.cultureName).currencySymbol;if("$"!==e&&a.Yt.Tn(t,e)&&(r=a.Yt.Be(t,0,e.length)).indexOf(e)<0)return r}return t},t.prototype.Ku=function(t){var r=A(this.cultureName).percentSymbol,e=!0,n=t;return a.Yt.Tn(t,r)?n=a.Yt.Be(t,0,r.length):a.Yt.oi(t,r)?n=a.Yt.Be(t,t.length-r.length,r.length):e=!1,a.Yt.oe(n,r)&&(e=!1),{Xu:n,qu:e}},t.prototype.Lu=function(t,r,e,n,i){var a=P(C(t,e,i)),u=P(C("0."+r,"#."+n,i,!0)),s=i&&i.NumberFormat&&i.NumberFormat.numberDecimalSeparator||".",o=a+"/"+u.substr(u.indexOf(s)+1);return""===e&&(o=t+o),""===n&&(o+=r),o},t.getGCD=function(t,r){if(0===t)return v(r);if(0===r)return v(t);for(var e=Math.max(t,r),n=Math.min(t,r),i=e%n;0!==i;)i=(e=n)%(n=i);return v(n)},t.getFraction=function(t,r,e,n,i){var a=0,u=0,s=0,o=0,f=Math.ceil;t>0?1==(o=t-f(t)+1)?(o=0,a=t):a=f(t)-1:t<0&&(a=f(t),o=f(t)-t);var y=Math.pow(10,r-1),c=Math.pow(10,r)-1;y<2&&(y=2),c<2&&(c=2);for(var h=!1,m=0,M=y;M<=c;M++){var d=Math.round(M*o),l=d/M,b=v(l-o);if((!h||b<v(m-o))&&(h=!0,m=l,u=d,s=M,b<1e-6))break}return e.value=a,n.value=u,i.value=s,h},t.toNumberPlaceholder=function(t){return t.toString().replace(/\d/g,"?")},t}(),Q=function(){function t(r,e,n,i){ct.call(this,e,n,i),arguments.length>0?(t.Qu(r)||B(),this.Bu=r):this.Bu="General",this.$u=0}return t.Qu=function(t){for(var r="",e=!1,n=-1,i=t.length,a=0;a<i;a++){var u=t[a];'"'===u?n=(e=!e)?a:-1:e||(r+=u)}return n>0&&(r+=t.substring(n,i)),!(r.indexOf("0")>=0||r.indexOf("#")>=0||r.indexOf(".")>=0||r.indexOf("@")>=0)},t.prototype.Vu=function(){if(!this.ts){var t=this.Bu;t=ut(t,"General",N),this.ts=new Z(t,this.Ou,this.Cu,this.cultureName),this.ts.Ru=!0}return this.ts},t.prototype.rs=function(){return this.es||(this.es=new Z("0.#####E+00",this.Ou,this.Cu,this.cultureName),this.es.Ru=!0),this.es},t.prototype.formatString=function(){return a.Yt.Li(this.Bu,"@NumberFormat","General")},t.prototype.format=function(t){if(s.tr.ba(t,this.cultureName)){var r=!this.Ou||this.Ou.allowScience(),e=s.tr.Fa(t);if(void 0!==e&&e!==l)return v(e)>99999999999&&r||v(e)<1e-11&&0!==e?this.rs().format(t):this.Vu().format(t)}else{if($(t,"string")){var n=a.Yt.Li(this.formatString(),'"',"");return n=st(n),t}if($(t,"boolean"))return t.toString().toUpperCase()}return""},t.prototype.parse=function(t){if(z.lu(t))return l;if("number"==typeof t)return t;var r=!1,e=t.trim(),n=a.Yt.Je(e,"-",!1);n>0&&!ot(e.charAt(n-1),"E",!0)&&(r=!0);var i,s=E(this.cultureName),o=s.DateTimeFormat,y=o.dateSeparator,c=o.timeSeparator,h=o.monthNames,m=o.abbreviatedMonthNames,M=function(t,r){if(!r||0===r.length)return!1;for(var e=!1,n=0,i=r.length;n<i;n++)if(a.Yt.oe(t,r[n],!0)){e=!0;break}return e};if(r||a.Yt.oe(e,y,!1)||a.Yt.oe(e,c,!1)||a.Yt.oe(e,"/",!1)||a.Yt.oe(e,":",!1)||a.Yt.oe(e,"-",!1)||a.Yt.oe(e,"年",!1)||a.Yt.oe(e,"月",!1)||a.Yt.oe(e,"日",!1)||M(e,h)||M(e,m)||"ja-JP"===s.name()&&f.nr.Cr.indexOf(e[0].toUpperCase())>=0&&a.Yt.oe(e,".",!1)){var d=u.Qt.Pn(e);if(d)return d}var b,F="-"===e.charAt(0);if(F||"+"===e.charAt(0)){if("("===(e=a.Yt.Be(e,0,1)).charAt(0)&&")"===e.charAt(e.length-1))return t}else if("("===e.charAt(0)&&")"===e.charAt(e.length-1)&&(b=!0,"-"===(e=(e=e.substring(1,e.length-1)).trim()).charAt(0)||"+"===e.charAt(0)))return t;return(i=this.Vu().parse(e))!==l&&void 0!==i?b&&$(i,"boolean")?t:(b||F)&&$(i,"number")?-1*v(i):i:t},t}(),V=function(){function t(t,r,e,n){ct.call(this,r,e,n);var i=ft(t,!1);r&&(i=ut(i,this.Ou.ju,this.Ou.currencySymbol())),i=st(i=it(i)),this.Du=i,this.$u=3}return t.prototype.format=function(t,r){try{var e;e=t instanceof Date?u.Qt.In(t).toString():rt(t);var n=this.ns(this.Du);return this.us(e,n.formatTokens,t,n.hasAtPart,r)}catch(t){return""}},t.prototype.parse=function(t){return t||""},t.prototype.formatString=function(){return this.Du},t.prototype.ns=function(t){for(var r,e=[],n=!1,i="",a=!1,u=l,s=0;s<t.length;s++)r=t.charAt(s),a?('"'!==r?i+=r:(i+=r,e.push(i),i="",a=!1),u=r):"*"!==u&&"_"!==u&&"\\"!==u||""===i?"*"!==r&&"_"!==r&&"\\"!==r?"@"!==r?'"'!==r?(i+=r,u=r):(u=r,""!==i&&e.push(i),i=r,a=!0):(u=r,""!==i&&(e.push(i),i=""),e.push(r),n=!0):(u=r,""!==i&&(e.push(i),i=""),i+=r):(i+=r,e.push(i),i="");return""!==i&&e.push(i),{formatTokens:e,hasAtPart:n}},t.prototype.us=function(t,r,e,n,i){var a=[],u=!1;if("string"!=typeof e||n||i)for(var s=r.length-1;s>=0;s--){var o=r[s];"*"===o[0]?u||(u=!0,a.push({type:"fillingChar",value:o[1]})):"_"===o[0]?a.push({type:"placeholder",value:o[1]}):'"'===o[0]&&'"'===o[o.length-1]?o.length>=2&&a.push({type:"text",value:o.substr(1,o.length-2)}):"\\@"===o?a.push({type:"text",value:"@"}):"@"===o[0]?a.push({type:"text",value:t}):a.push({type:"text",value:o})}else a.push({type:"text",value:e});return a.reverse()},t}();function tt(t,r,e){return t.substr(r,e)}function rt(t){return s.tr.de(t)?"":"boolean"==typeof t?t?"TRUE":"FALSE":"string"==typeof t?t:t.toString()}function et(t,r){if("\\"===t[r])throw Error(d().Exp_InvalidBackslash);if(r-1>0&&r-1<t.length&&"\\"===t[r-1]){if(r-2<0)return!0;if(r-2>0&&r-2<t.length)return"\\"!==t[r-2]}return!1}function nt(t){if(!t)throw Error(d().Exp_TokenIsNull);return"["+t+"]"}function it(t){if(void 0===t||t===l||""===t)return t;for(var r="",e=0,n=!1,i=0;i<t.length;i++){var a=t[i];'"'===a?(n=!n,r+=a):n?r+=a:"["===a?e++:"]"===a?--e<0&&(e=0):0===e&&(r+=a)}return r.toString()}function at(t){return t=ut(t,"[",""),ut(t,"]","")}function ut(t,r,e){return!t||t===z.du||ot(r,e,!0)?t:(r=r.replace(_,"\\$1"),t.replace(RegExp(r,"g"),e))}function st(t){for(var r=t.length,e=!1,n="",i=0;i<r;i++){var a=t.charAt(i);"\\"===a?(e=!e)&&"@"!==t.charAt(i+1)||(n+=a):(e=!1,n+=a)}return n}function ot(t,r,e){return e?R(t)===R(r):t===r}function ft(t,r){1===arguments.length&&(r=!0);for(var e=!1,n="",i=0;i<t.length;i++){var a=t[i];if('"'===a)e=!e;else if(!e&&!r&&"/"===a&&!et(t,i))continue;n+=a}return n}function yt(t,r){if(!t||t===z.du)return!1;for(var e=function(t){for(var r="",e=!1,n=0,i=t.length;n<i;n++){var a=t[n];'"'===a&&(e=!e),"E"===a||e||(r+=R(a))}return r}(ft(t)),n=0;n<r.length;n++){var i=e.indexOf(r[n]);if(0===i||i>0&&"_"!==e[i-1]&&"*"!==e[i-1])return!0}return!1}function ct(t,r,e,n){this.Ou=t,this.Cu=r,this.cultureName=e,this.Tu=n}function ht(t){this.ju=t}function mt(t){var r,e=at(t);if(!e||e===z.du)return r;var n=e[0];return["<",">","="].indexOf(n)>-1?(r=q).Name="ConditionalFormatPart":a.Yt.Tn(e,"DBNum",!0)?(r=K).Name="DBNumberFormatPart":ot(e[0],"$",!1)&&e.indexOf("-")>-1?(r=U).Name="LocaleIDFormatPart":function(t){var r=R(t),e=r[0];if("h"!==e&&"m"!==e&&"s"!==e)return!1;for(var n=1;n<r.length;n++)if(e!==r[n])return!1;return!0}(e)?(r=Y).Name="ABSTimeFormatPart":e.indexOf("$")<0&&e.length>=3&&((r=X).Name="ColorFormatPart"),r}function Mt(t,r,e){var n;if(n=t?t.cultureInfo():E(e),r<4||4===r&&("ko-kr"===e||"ko-kr"===n.name())){var i=n.NumberFormat.dbNumber;if(i)return i[r]}return l}var dt=function(){function t(t,r){0===arguments.length?(this.formatCached="General",this.ss=new Q):this.ku(t,r)}return t.prototype.ku=function(r,e){r!==l&&void 0!==r||B();var n=r;this.formatCached=r;for(var i="",a="",u=!1,s=!1,o=!1,y=[],c=0;c<r.length;c++){var h=r[c];if('"'===h)s=!s,a+=h;else if(s)a+=h;else if("["===h)u&&B(),a&&(i||(i=""),i+=a),a=h.toString(),u=!0;else if("]"===h){if(u||B(),a){var m=(a+=h).toString(),M=mt(a.toString());if(M)"ABSTimeFormatPart"===M.Name?(y.push(new M(t.preProcessPart(m),m)),i+=a):m===f.nr.eraExcelFormatter?(this.addPart(M,f.nr.eraInternalFormatter),o=!0):this.addPart(M,m);else{var d=t.partToNormalStr(m);i+=d,n=ut(r,m,d)}a=""}else B();u=!1}else a+=h}a?u?B():i+=a:i||(i=this.os()),this.localeIDFormatPart&&(e=this.localeIDFormatPart.cultureInfo().name());var v=function(t,r){var e,n=!1;return yt(t=t?t.toString():z.du,["general"])?e=Q:W.Su(t)?e=W:yt(t,["E+","E-","#",".",",","%","0","/","?"])||r?(n=!0,e=Z):(n=!0,e=V),{fs:n,ys:e}}(i,this.conditionalFormatPart),b=v.ys,F=v.fs?n:i;b?this.ss=new b(F,this.localeIDFormatPart,this.dbNumberFormatPart,e,y.length>0?y:l,o):B()},t.prototype.os=function(){var r=this,e="";return r.dbNumberFormatPart&&(t.proNames.some((function(t){return"dbNumberFormatPart"!==t&&r[t]}))||(e="General")),e},t.prototype.formatString=function(){for(var r="",e=0,n=t.proNames.length;e<n;e++){var i=t.proNames[e];this[i]&&(r+=this[i].toString())}return r+this.ss.formatString()},t.prototype.addPart=function(r,e){for(var n=t.proNames,i=t.preProcessPart(e),a=0,u=n.length;a<u;a++){var s=n[a];if(ot(s,r.Name,!0)){if(this[s])throw Error(d().Exp_DuplicatedDescriptor);this[s]=new r(i,e)}}},t.prototype.format=function(t,r){return this.ss.format(t,r)},t.prototype.parse=function(t){return this.ss.parse(t)},t.checkFormatter=function(t){if(!t||t===z.du)throw Error(d().Exp_TokenIllegal)},t.preProcessPart=function(r){t.checkFormatter(r);var e=at(r);return t.checkFormatter(e),e},t.partToNormalStr=function(r){var e=t.preProcessPart(r);return"$"===e[0]&&(e=e.slice(1)),'"'+e+'"'},t.proNames=["colorFormatPart","conditionalFormatPart","dbNumberFormatPart","localeIDFormatPart"],t}(),lt=function(t){function r(r,e){var n=t.call(this,r,e)||this,i=n;return i.cs=!0,i.PropertyChanged=[],z.lu(r)&&(r="General"),i.formatCached=r,i.cultureName=e,i.init(),n}return i(r,t),r.prototype.toJSON=function(){var t={formatCached:this.formatCached};return this.cultureName&&(t.customerCultureName=this.cultureName),"general"===R(this.formatCached)&&delete t.formatCached,t},r.prototype.hasFormattedColor=function(){for(var t in g)if(g.hasOwnProperty(t)){var r=this.getFormatter(g[t]);if(r&&r.colorFormatPart)return!0}return!1},r.prototype.formatString=function(t){if(0===arguments.length){for(var r=z.du,e=0,n=this.formatters.length;e<n;e++){r+=this.formatters[e].formatString(),e!==n-1&&(r+=";")}return r}if(!t)throw Error(d().Exp_ValueIsNull);return this.formatters=l,this.formatCached=t,this.init(),this.hs("formatString"),this},r.prototype.getFormatter=function(t){return this.formatters&&this.formatters[t]},r.prototype.getPreferredEditingFormatter=function(t){var e,n=T(this.cultureName),i=A(this.cultureName),a=r.defFormatter;if($(t,"TimeSpan"))return a(n.longTimePattern);if($(t,"DateTime")){var u=0===t.getHours()&&0===t.getMinutes()&&0===t.getSeconds()&&0===t.getMilliseconds()?"":" h:mm:ss";return a(n.shortDatePattern+u)}if(s.tr.ba(t,this.cultureName)){var o=s.tr.Fa(t);return a(o>=1e21||o<=1e-17&&o>0||o<=-1e21||o<0&&o>=-1e-17?null!==(e=i.scientificNotation)&&void 0!==e?e:"0.##############E+00":N)}return a("General")},r.prototype.getPreferredDisplayFormatter=function(t,e){var n=r.defFormatter;if(e||(e={value:l}),e.value=l,z.lu(t))return new r;var i=t,o=e.value=this.parse(i);if($(o,"DateTime")||$(o,"TimeSpan")){var f={pattern:D,formatter:["d-mmm","mmm-yy",T().shortDatePattern,"h:mm","h:mm:ss","h:mm:ss.0","h:mm:ss tt",T().shortDatePattern+" h:mm",T().shortDatePattern+" h:mm:ss",T().shortDatePattern+" h:mm:ss.0"]},y=f.pattern,c=f.formatter,h=E(this.cultureName),m=h.DateTimeFormat,M=m.preselectedFormatters;if(M.length>0&&(y=y.concat([M]),c=c.concat([M[0]])),"ja-JP"===h.name()){y=y.concat([m.eraFormatter]),c=c.concat(["ge.M.d"]);var d=h.mr.filter((function(t){return"ggge"===t.substr(0,4)}));y=y.concat([d]),c=c.concat(['ggge"年"M"月"d"日']);var v=h.mr.filter((function(t){return"gge"===t.substr(0,3)}));y=y.concat([v]),c=c.concat(['gge"年"M"月"d"日']);var b=h.mr.filter((function(t){return"ge"===t.substr(0,2)}));y=y.concat([b]),c=c.concat(['ge"年"M"月"d"日'])}for(var F=0;F<y.length;F++)for(var g=y[F],p=0;p<g.length;p++){var _=g[p],w=u.Qt.Pn(t,_);if(w&&w-o==0)return new r(c[F])}}else if(s.tr.ba(o,this.cultureName)){var H=A(this.cultureName),k=H.currencySymbol,S=H.numberDecimalSeparator,N=H.percentSymbol,P=H.numberGroupSeparator,C=a.Yt.oe,O=C(i,S)?".00":"";if(i[0]===k)return n(z.Yi("{0}#,##0{1};[Red]({0}#,##0{1})",k,O));if(C(i,"E",!0))return n("0.00E+00");if(i[0].toString()===N||i[i.length-1].toString()===N)return n(z.Yi("0{0}%",O));if(C(i,P))return n(z.Yi("#,##0{0}",O))}return n("General")},r.prototype.format=function(t,r){if($(t,"boolean"))return I()&&(t=t?I().boolean_true:I().boolean_false),t.toString().toUpperCase();var e,n=0,i=this.Ms(t);if(i){var a=i.colorFormatPart;r&&a&&(r.conditionalForeColor=r.value=a.foreColor),(e=s.tr.ba(t,this.cultureName))&&(n=s.tr.Fa(t));var u=z.du;try{if(e&&i===this.getFormatter(g.hu)&&0!==this.expressionNumber)(u=i.format(i.considerNegSymbol?n:v(n)))===l&&$(t,"string")&&(u=t);else if(void 0===(u=i.value)){var o=!this.cs&&i===this.getFormatter(g.Mu);u=i.format(t,e||o)}r&&(r.content=k(u)?u:[{type:"text",value:u}]),k(u)&&(u=S.li(u))}catch(r){$(t,"string")&&(u=t.toString())}return u}return e&&n<0?"-":$(t,"string")?t.toString():void 0===t||t===l?z.du:t.toString()},r.prototype.parse=function(t){return this.formatters&&this.formatters.length>0?this.formatters[0].parse(t):l},r.prototype.init=function(){var t=this.formatCached;z.lu(t)&&B(),this.formatters=[];var r=function(t){for(var r=[],e=0,n=0,i=t.length,a=0;a<i;a++)"_"===t[a]?e++:(";"!==t[a]||0!==e&&e%2!=0||(r.push(t.substring(n,a)),n=a+1),e=0);return n<=i&&r.push(t.substring(n,i)),r}(t);this.cs=1===r.length,(!r||r.length<1||r.length>4)&&B();for(var e=0;e<r.length;e++){-1!==r[e].indexOf("@")&&-1===r[e].indexOf("\\@")&&(e!==r.length-1?B():this.hasAt=!0);var n=new dt(r[e],this.cultureName);this.formatters.push(n)}this.getFormatter(g.cu)||B(),this.ds()},r.prototype.ds=function(){this.expressionNumber=this.formatters.length-(this.hasAt?1:0);var t=(0===this.expressionNumber?1:this.expressionNumber)-1;g=s.tr.ar({},p[t]),this.hasAt&&0!==this.expressionNumber&&(g.Mu=this.formatters.length-1)},r.prototype.Ms=function(t){this.ds();var r=this.getFormatter(g.cu),e=r&&r.conditionalFormatPart,n=this.getFormatter(g.Mu);if(e&&(g.mu=2,this.hasAt||(g.Mu=3)),"string"==typeof t&&j(t))return n||(e?t:r);if(s.tr.ba(t,this.cultureName)||$(t,"boolean")){var i=this.getFormatter(g.hu),a=this.getFormatter(g.mu),u=s.tr.Fa(t),o=e&&r.conditionalFormatPart.isMeetCondition(u),f=i&&i.conditionalFormatPart,y=f&&i.conditionalFormatPart.isMeetCondition(u),c=void 0;if(this.cs||(e?o:u>0||0===u&&!a))c=r;else if(f?y:u<0)c=i;else if(a)c=a;else if(i){if(e&&f)return{value:u+""};c=i}return c&&(!e||f||c!==i||a||(c.considerNegSymbol=!0),e&&f&&c===i&&i.conditionalFormatPart&&i.conditionalFormatPart.isMeetCondition(1e-10)&&(c.considerNegSymbol=!0),this.expressionNumber<=1&&(c.considerNegSymbol=!0)),c}return l},r.prototype.hs=function(t){if(this.PropertyChanged)for(var r=0;r<this.PropertyChanged.length;r++){var e=this.PropertyChanged[r];"function"==typeof e&&e(this,t)}},r.defFormatter=function(t){var e=r[t];return e||(e=new r(t),r[t]=e),e},r.test=function(t){var r=!0;try{var e=new h.Lexer(t);new m.Parser(e).parse()}catch(t){r=!1}return r},r}(L);r.GeneralFormatter=lt},826:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.throwError=r.BACKSLASH=r.UNDERLINE=r.ASTERISK=r.DOUBLE_QUOTE=r.SEMICOLON=void 0,r.SEMICOLON=";",r.DOUBLE_QUOTE='"',r.ASTERISK="*",r.UNDERLINE="_",r.BACKSLASH="\\";r.throwError=function(){throw Error("Invalid Number Format")}},810:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Lexer=void 0;var n=e(826),i=function(t){return!!["0","#","?",".","%",",","/",n.BACKSLASH,n.ASTERISK,n.UNDERLINE,"@"].find((function(r){return r===t}))},a=function(t){return[n.BACKSLASH,n.ASTERISK,n.UNDERLINE].find((function(r){return r===t}))},u=function(t,r){return{type:t,value:r}},s=function(){function t(t){this.ls=[],this.vs=t,this.bs()}return t.prototype.bs=function(){for(var t=0,r=this.vs;t<r.length;t++){var e=r[t];if(i(e)){if(a(e)){this.ls.push(u("symbol",e)),t<r.length-1&&(this.ls.push(u("char",r[t+1])),t++);continue}this.ls.push(u("symbol",e))}else if(e!==n.SEMICOLON){if(e===n.DOUBLE_QUOTE){var s=r.slice(t+1).search(n.DOUBLE_QUOTE);if(-1!==s){s=s+t+1,this.ls.push(u("text",r.slice(t+1,s))),t=s;continue}(0,n.throwError)()}this.ls.push(u("char",e))}else this.ls.push(u("semicolon",e))}this.ls.push(u("EOF",""))},t.prototype.Fs=function(){return this.ls.shift()},t}();r.Lexer=s},61:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Parser=void 0;var n=e(826),i=function(){function t(t){this.gs=t,this.ps=t.Fs()}return t.prototype._s=function(t){this.ps.type===t?this.ps=this.gs.Fs():(0,n.throwError)()},t.prototype.parse=function(){for(var t=[];"EOF"!==this.ps.type;)t.push(this.Ds()),t.length>4&&(0,n.throwError)();return{type:"numberFormat",body:t}},t.prototype.Ds=function(){for(var t=[];"semicolon"!==this.ps.type&&"EOF"!==this.ps.type;){"symbol"===this.ps.type?t.push(this.ws()):t.push(this.Hs())}return"semicolon"===this.ps.type&&this._s("semicolon"),{type:"formatPart",body:t}},t.prototype.ws=function(){var t,r=this.ps.value;return r===n.ASTERISK?(this._s("symbol"),t={type:"asterisk",body:this.ps.value},this._s("char")):r===n.BACKSLASH?(this._s("symbol"),t={type:"char",body:this.ps.value},this._s("char")):r===n.UNDERLINE?(this._s("symbol"),t={type:"underline",body:this.ps.value},this._s("char")):(t={type:"symbol",body:this.ps.value},this._s("symbol")),t},t.prototype.Hs=function(){var t,r=this.ps.type;return"char"===r?(t={type:"char",body:this.ps.value},this._s("char")):"text"===r&&(t={type:"text",body:this.ps.value},this._s("text")),t},t}();r.Parser=i},736:function(t){t.exports=canvas}},e={};function n(t){var i=e[t];if(void 0!==i)return i.exports;var a=e[t]={exports:{}};return r[t].call(a.exports,a,a.exports,n),a.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}();var i={};!function(){var t=i;Object.defineProperty(t,"t",{value:!0}),t.Formatter=t.Commands=t.Common=void 0;var r=n(38);t.Common=r;var e=n(814);t.Commands=e;var a=n(569);t.Formatter=a}(),(t=void 0===t?{}:t).Spread=i}()},138:()=>{var t;!function(){"use strict";var r={38:function(t,r,e){var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),r.UserManagerEvent=r.UserManager=r.UUIDGenerator=r.Wt=r.rbush=r.CultureManager=r.CultureInfo=r.Yt=r.Xt=r.Zt=r.Qt=r.Vt=r.tr=r.rr=void 0;var a=e(395);Object.defineProperty(r,"rr",{enumerable:!0,get:function(){return a.rr}});var u=e(534);Object.defineProperty(r,"tr",{enumerable:!0,get:function(){return u.tr}});var s=e(305);Object.defineProperty(r,"Vt",{enumerable:!0,get:function(){return s.Vt}});var o=e(97);Object.defineProperty(r,"Qt",{enumerable:!0,get:function(){return o.Qt}}),Object.defineProperty(r,"Wt",{enumerable:!0,get:function(){return o.getSR}});var f=e(844);Object.defineProperty(r,"Zt",{enumerable:!0,get:function(){return f.Zt}});var y=e(576);Object.defineProperty(r,"Xt",{enumerable:!0,get:function(){return y.Xt}});var c=e(480);Object.defineProperty(r,"Yt",{enumerable:!0,get:function(){return c.Yt}});var h=e(674);Object.defineProperty(r,"rbush",{enumerable:!0,get:function(){return h.rbush}});var m=e(818),M=e(479);Object.defineProperty(r,"UUIDGenerator",{enumerable:!0,get:function(){return M.UUIDGenerator}}),Object.defineProperty(r,"HandleExcelSpecialDate",{set:function(t){m.HandleExcelSpecialDate=t},get:function(){return m.HandleExcelSpecialDate}}),i(e(818),r);var d=e(286);Object.defineProperty(r,"CultureInfo",{enumerable:!0,get:function(){return d.CultureInfo}}),Object.defineProperty(r,"CultureManager",{enumerable:!0,get:function(){return d.CultureManager}}),i(e(646),r);var l=e(561);Object.defineProperty(r,"UserManager",{enumerable:!0,get:function(){return l.UserManager}}),Object.defineProperty(r,"UserManagerEvent",{enumerable:!0,get:function(){return l.UserManagerEvent}})},286:function(t,r,e){var n,i=this&&this.er||(n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])},n(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+r+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)});Object.defineProperty(r,"t",{value:!0}),r.CultureManager=r.nr=r.CultureInfo=r.TimelineDateOrder=void 0;var a,u=e(534),s=e(818),o=e(305),f=e(576),y="undefined"!=typeof window?window:e.g,c=u.tr.ir,h=u.tr.ar,m=(new Date).getFullYear(),M=["MM/dd/yyyy","MM/d/yyyy","M/dd/yyyy","M/d/yyyy","yy/MM/dd","yy/MM/d","yy/M/dd","yy/M/d","yyyy/MM/dd","yyyy/MM/d","yyyy/M/dd","yyyy/M/d"],d=["hh:mm:ss","hh:mm:s","hh:m:ss","hh:m:s","h:mm:ss","h:mm:s","h:m:ss","h:m:s","hh:mm:ss tt","hh:mm:s tt","hh:m:ss tt","hh:m:s tt","h:mm:ss tt","h:mm:s tt","h:m:ss tt","h:m:s tt","hh:mm","hh:m","h:mm","h:m","hh:mm tt","hh:m tt","h:mm tt","h:m tt"],l=["MM-dd-yyyy","MM-d-yyyy","M-dd-yyyy","M-d-yyyy","yy-MM-dd","yy-MM-d","yy-M-dd","yy-M-d","yyyy-MM-dd","yyyy-MM-d","yyyy-M-dd","yyyy-M-d","dd-MMMM-yy","dd-MMM-yy"],v=M.concat(d);function b(t){return t.split(" ").join(" ").toUpperCase()}function F(t){for(var r=[],e=0,n=t.length;e<n;e++)r[e]=b(t[e]);return r}function g(t,r,e){var n=b(t),i=r.indexOf(n);return-1===i&&(i=e.indexOf(n)),i}function p(t){if(t){var r=t.charCodeAt(0);if(r>=11904&&r<12032||r>=8208&&r<8252||r>=12288&&r<40960||r>=43360&&r<43392||r>=44032&&r<55215||r>=63744&&r<64256||r>=65280&&r<65535)return!0}return!1}function _(t,r,e){if(" "===t||e&&" "===t)return 0;var n=e&&e(t);return r.lineBreakingForbidStart&&-1!==r.lineBreakingForbidStart.indexOf(t)?!e||n?7:6:r.lineBreakingForbidEnd&&-1!==r.lineBreakingForbidEnd.indexOf(t)?!e||n?5:4:n?2:r.lineBreakingChar&&-1!==r.lineBreakingChar.indexOf(t)?3:1}c(M,(function(t,r){c(d,(function(t,e){t<d.length-4&&v.push(r+" "+e)}))})),v=v.concat(l),c(l,(function(t,r){c(d,(function(t,e){t<d.length-4&&v.push(r+" "+e)}))})),function(t){t[t.year=1]="year",t[t.quarterOrMonth=2]="quarterOrMonth",t[t.date=3]="date"}(a=r.TimelineDateOrder||(r.TimelineDateOrder={}));var D={"00":1,"01":1,"02":1,"03":1,"04":1,"05":1,"06":1,"07":1,12:1,15:1,21:1,22:1,23:1,24:1,25:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,62:1,65:1,71:1,72:1,73:1,74:1,75:1};function w(t,r,e){if(!t)return[];for(var n=[t[0]],i=0,a=_(t[0],r,e),u=1;u<t.length;u++){var s=_(t[u],r,e);D[a+""+s]&&void 0===n[++i]&&(n[i]=""),n[i]+=t[u],a=s}return n}var H=function(){function t(){this.NumberFormat={currencyDecimalDigits:2,currencyDecimalSeparator:".",currencyGroupSeparator:",",currencyGroupSizes:[3],currencyNegativePattern:0,currencyPositivePattern:0,currencySymbol:"¤",digitSubstitution:1,isReadOnly:!0,numberGroupSizes:[3],nanSymbol:"NaN",nativeDigits:["0","1","2","3","4","5","6","7","8","9"],numberNegativePattern:1,negativeInfinitySymbol:"-Infinity",negativeSign:"-",numberDecimalDigits:2,numberDecimalSeparator:".",numberGroupSeparator:",",positiveInfinitySymbol:"Infinity",positiveSign:"+",percentDecimalDigits:2,percentDecimalSeparator:".",percentGroupSeparator:",",percentGroupSizes:[3],percentNegativePattern:0,percentPositivePattern:0,percentSymbol:"%",perMilleSymbol:"‰",listSeparator:",",arrayListSeparator:",",arrayGroupSeparator:";",dbNumber:{},standardDictionaryNumbers:{Hundreds:"Hundreds",Thousands:"Thousands",Millions:"Millions",Billions:"Billions",Trillions:"Trillions"},scientificNotation:"0.##############E+00"},this.DateTimeFormat={abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],abbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],amDesignator:"AM",calendarIsReadOnly:!0,calendarWeekRule:0,Calendar:{MinSupportedDateTime:"@-62135568000000@",MaxSupportedDateTime:"@253402300799999@",AlgorithmType:1,CalendarType:1,Eras:[1],TwoDigitYearMax:2029,isReadOnly:!0},dateSeparator:"/",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],defaultDatePattern:"MM/dd/yyyy H:mm:ss",firstDayOfWeek:0,fullDateTimePattern:"dddd, dd MMMM yyyy HH:mm:ss",longDatePattern:"dddd, dd MMMM yyyy",longTimePattern:"HH:mm:ss",monthDayPattern:"MMMM dd",monthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],nativeCalendarName:"Gregorian Calendar",pmDesignator:"PM",rfc1123Pattern:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",shortDatePattern:"MM/dd/yyyy",shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],shortTimePattern:"HH:mm",sortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",timeSeparator:":",universalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",yearMonthPattern:"yyyy MMMM",filterDialogDateFormatter:"yyyy/mmmm/dd",preselectedFormatters:[],eraFormatter:["ge/M/d","ge-M-d","ge.M.d","gee/MM/dd"]},this.name=function(){return""},this.id=-1,this.LocalNumberFormat={},this.displayName="",this.fontScriptCode=void 0,this.predefinedFormats={},this.TimelineDateOrder=[a.quarterOrMonth,a.date,a.year],this.TimelineDateSuffix={year:"",quarter:"",month:"",date:""},this.TextFormat={lineBreakingChar:[" ","-"]},this.equalCharacters=void 0}return t.prototype.ur=function(){return[" "]},t.prototype.sr=function(t){var r={lineBreakingChar:this.ur()};return this.TextFormat&&this.TextFormat.lineBreakingStrategy?this.TextFormat.lineBreakingStrategy(t,r):w(t,r)},t.prototype.yr=function(t){if(this.TextFormat&&this.TextFormat.lineBreakingStrategy){var r={lineBreakingChar:this.TextFormat.lineBreakingChar,lineBreakingForbidEnd:this.TextFormat.lineBreakingForbidEnd,lineBreakingForbidStart:this.TextFormat.lineBreakingForbidStart};return this.TextFormat.lineBreakingStrategy(t,r)}return w(t,this.TextFormat||{lineBreakingChar:[" ","-"]})},t.prototype.cr=function(){if(!this.hr){var t=this.DateTimeFormat,r=t.shortDatePattern.replace(/m/g,"M"),e=[r,r+" h:mm",r+" h:mm:ss",r+" h:mm:ss.0","MMMdd","MMMd","MMM dd","MMM d"];if(e=e.concat(v),1041===this.id){var n=t.eraFormatter;e=(e=e.concat(this.mr)).concat(n)}e=e.concat(t.preselectedFormatters),this.hr=e}return this.hr},t.prototype.Mr=function(t){return this.dr||(this.dr=F(this.DateTimeFormat.monthNames),this.lr=F(this.DateTimeFormat.monthGenitiveNames)),g(t,this.dr,this.lr)},t.prototype.vr=function(t){return this.br||(this.br=F(this.DateTimeFormat.abbreviatedMonthNames),this.Fr=F(this.DateTimeFormat.abbreviatedMonthGenitiveNames)),g(t,this.br,this.Fr)},t.prototype.gr=function(t){return this.pr||(this.pr=F(this.DateTimeFormat.dayNames)),this.pr.indexOf(b(t))},t.prototype._r=function(t){return this.Dr||(this.Dr=F(this.DateTimeFormat.abbreviatedDayNames)),this.Dr.indexOf(b(t))},t}();r.CultureInfo=H;var $=function(){function t(){}return t.wr=function(r){return r>=t.Hr()&&r<=t.$r()},t.Sr=function(){var t=H.eras;if(void 0!==t){for(var r=[],e=0;e<t.length;e++)r[e]=new Date(t[e].startDate.replace(/-/g,"/"));return r}return this.Nr},t.Pr=function(r){var e,n;switch(r){case"g":e="symbol",n=t.Cr;break;case"gg":e="abbreviation",n=t.Or;break;case"ggg":e="name",n=t.jr;break;default:return[]}var i=H.eras,a=[];if(void 0!==i){for(var u=0;u<i.length;u++)a[u]=i[u][e];return a}return n},t.$r=function(){var t=H.eras;if(void 0!==t&&t.length>0){var r=new Date(t[t.length-1].startDate.replace(/-/g,"/"));return r.setFullYear(r.getFullYear()+99),r}return this.Er},t.Hr=function(){var t=H.eras;return void 0!==t&&t.length>0?new Date(t[0].startDate.replace(/-/g,"/")):this.Tr},t.Rr=function(){var t=H.eras;return void 0!==t?t.length:this.Ir},t.zr=function(){var t=H.eras;if(void 0!==t){for(var r=[],e=1;e<t.length;e++){var n=new Date(t[e-1].startDate.replace(/-/g,"/")),i=new Date(t[e].startDate.replace(/-/g,"/"));r[e-1]=i.getFullYear()-n.getFullYear()+1}return r[e-1]=99,r}return this.Gr},t.Jr=function(r){var e={Ur:-1,Lr:-1};if(!t.wr(r)){if(!(r>t.$r()))return e;r=t.$r()}for(var n=0;n<t.Rr();n++){if(r<(n+1!==t.Rr()?t.Sr()[n+1]:t.qr(t.$r(),1))){e.Ur=n,e.Lr=r.getFullYear()-t.Sr()[n].getFullYear()+1;break}}return e},t.qr=function(t,r){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds());return e.setMilliseconds(e.getMilliseconds()+r),new Date(e.valueOf())},t.Kr=function(r,e){return t.Sr()[r].getFullYear()+e-1},t.Wr=function(r,e){e=e.toUpperCase();for(var n=t.Pr(r),i=0;i<n.length;i++)if(n[i]===e)return i;return-1},t.Yr=function(r,e,n){var i=t,a=i.Jr(e),u=a.Ur;if(u>=0){var s=i.Pr(r);if(s.length>0)return s[u]}var o=a.Lr;if(o>=0){var f=o.toString();if("1"===f&&n)return"元";if("ee"===r)return 1===f.length&&(f="0"+f),f;if("e"===r)return f}return""},t.Nr=[new Date(1868,8,8),new Date(1912,6,30),new Date(1926,11,25),new Date(1989,0,8),new Date(2019,4,1)],t.Ir=5,t.Gr=[45,15,64,31,99],t.Er=new Date(2117,11,31,23,59,59),t.Tr=new Date(1868,8,8),t.Xr=["1,m","2,t","3,s","4,h","5,r"],t.Zr=[0,1,2,3,0,1,2,3],t.jr=["明治","大正","昭和","平成","令和"],t.Cr=["M","T","S","H","R"],t.Or=["明","大","昭","平","令"],t.Qr=99,t.eraExcelFormatter="[$-ja-JP-x-gannen]",t.eraInternalFormatter="[$-411]",t}();r.nr=$;var k=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencySymbol","isReadOnly"],["$",!1]);return O.call(r,"DateTimeFormat",["fullDateTimePattern","longDatePattern","longTimePattern","shortDatePattern","shortTimePattern","yearMonthPattern","calendarIsReadOnly","preselectedFormatters"],["dddd, MMMM dd, yyyy h:mm:ss tt","dddd, MMMM dd, yyyy","h:mm:ss tt","M/d/yyyy","h:mm tt","MMMM, yyyy",!1,["MMM yyyy","MMMM yyyy"]]),r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" H:mm:ss",r.name=function(){return"en-US"},r.displayName="English (United States)",r.id=1033,r.predefinedFormats={Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',Currency:["[$$-409]#,##0","[$$-409]#,##0;[Red][$$-409]#,##0","[$$-409]#,##0_);([$$-409]#,##0)","[$$-409]#,##0_);[Red]([$$-409]#,##0)"],Date:["m/d/yyyy","[$-409]dddd, mmmm dd, yyyy","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmm d, yyyy;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@","m/d/yyyy;@","[$-409]d-mmm-yyyy;@"],Time:["[$-409]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","mm:ss.0;@","[h]:mm:ss;@","[$-409]m/d/yy h:mm AM/PM;@","m/d/yy h:mm;@"],Special:{"Zip Code":"00000","Zip Code + 4":"00000-0000","Phone Number":"[<=9999999]###-####;(###) ###-####","Social Security Number":"000-00-0000"},shortcut:{Number:"0.00",Currency:"[$$-409]#,##0.00",Accounting:'_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)',ShortDate:"m/d/yyyy",LongDate:"[$-409]dddd, mmmm dd, yyyy",Time:"[$-409]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)'}},r}return i(r,t),r}(H),S=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[0,1,"¥",!1,"NaN (非数値)","-∞",1,1,"+∞",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["〇","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["〇","壱","弐","参","四","伍","六","七","八","九"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十億",Trillions:"兆"}]);var e=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""];return O.call(r,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters","EraFilterDialogDateFormatter"],[["日","月","火","水","木","金","土"],e,e,"午前",!1,["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"西暦 (日本語)","午後","yyyy/MM/dd",["日","月","火","水","木","金","土"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月d日","yyyy年M月dd日","yyyy年MM月d日","yyyy年MM月dd日"],"ggge/mmmm/d日"]),r.DateTimeFormat.eras=!0,r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" "+r.DateTimeFormat.longTimePattern,r.mr=['gggee"年"MM"月"dd"日','gggee"年"M"月"d"日','ge"年"M"月"d"日','ggge"年"M"月"d"日','ggee"年"M"月"d"日','gge"年"M"月"d"日'],r.name=function(){return"ja-JP"},r.id=1041,r.displayName="Japanese (Japan)",r.isJCKCulture=!0,r.predefinedFormats={Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$¥-411]#,##0_);[Red]([$¥-411]#,##0)","[$¥-411]#,##0_);([$¥-411]#,##0)","[$¥-411]#,##0;[Red][$¥-411]#,##0","[$¥-411]#,##0;-[$¥-411]#,##0","[$¥-411]#,##0;[Red]-[$¥-411]#,##0"],Date:["yyyy/mm/dd","[$-411]dddd, mmmm dd, yyyy",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"yyyy/m/d;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]mmmm-yy;@","[$-409]mmmmm;@","[$-409]mmmmm-yy;@"],Time:["[$-411]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@","[$-409]h:mm:ss AM/PM;@","[$-409]yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@",'h"時"mm"分";@','h"時"mm"分"ss"秒";@'],Special:{郵便番号:"[<=999]000;[<=9999]000-00;000-0000","電話番号(東京)":"[<=99999999]####-####;(00) ####-####","正負記号 (+ = △; - = ▲)":'"△" #,##0;"▲" #,##0',"漢数字(十二万三千四百)":"[DBNum1][$-411]General","大字 (壱拾弐萬参阡四百)":"[DBNum2][$-411]General","全角 (12345)":"[DBNum3][$-411]0","全角 桁区切り(12,345)":"[DBNum3][$-411]#,##0"},shortcut:{Number:"0.00",Currency:"[$¥-411]#,##0.00",Accounting:'_-[$¥-411]* #,##0.00_-;-[$¥-411]* #,##0.00_-;_-[$¥-411]* "-"??_-;_-@_-',ShortDate:"yyyy/mm/dd",LongDate:"[$-411]dddd, mmmm dd, yyyy",Time:"[$-411]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},r.TimelineDateOrder=[a.year,a.quarterOrMonth,a.date],r.TimelineDateSuffix={year:"年",quarter:"",month:"月",date:"日"},r.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}","」","。","、","ー"],lineBreakingForbidEnd:["(","[","{","(","[","{","「","$","$","\\","¥"],lineBreakingStrategy:function(t,r){return w(t,r,p)}},r.equalCharacters=["―ゝゞ゠ヽヾー","㆐㆑㇤㇥","‸⁊",".․","&⁋","%⁏","$⁒","#⁗",'"⁍',"‹⁓"],r}return i(r,t),r}(H),N=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencyNegativePattern","currencySymbol","isReadOnly","nanSymbol","negativeInfinitySymbol","percentNegativePattern","percentPositivePattern","positiveInfinitySymbol","dbNumber","standardDictionaryNumbers"],[2,"¥",!1,"非数字","负无穷大",1,1,"正无穷大",{1:{letters:["兆","千","百","十","亿","千","百","十","万","千","百","十",""],numbers:["○","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","仟","佰","拾","亿","仟","佰","拾","万","仟","佰","拾",""],numbers:["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"]},3:{letters:null,numbers:["0","1","2","3","4","5","6","7","8","9"]}},{Hundreds:"百",Thousands:"千",Millions:"百万",Billions:"十亿",Trillions:"兆"}]);var e=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],n=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""];return O.call(r,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter","preselectedFormatters"],[["周日","周一","周二","周三","周四","周五","周六"],e,e,"上午",!1,["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],1,"yyyy'年'M'月'd'日' H:mm:ss","yyyy'年'M'月'd'日'","H:mm:ss","M'月'd'日'",n,n,"公历","下午","yyyy/M/d",["日","一","二","三","四","五","六"],"H:mm","yyyy'年'M'月'","yyyy年/mmmm/d日",["yyyy年M月","M月d日","yyyy年M月d日","h时mm分","h时mm分ss秒"]]),r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" "+r.DateTimeFormat.longTimePattern,r.name=function(){return"zh-cn"},r.id=2052,r.displayName="Chinese (China)",r.isJCKCulture=!0,r.localeCompare=function(t,r){var e=t.localeCompare(r,"zh");return e<0&&t>="一"&&r<"一"||e>0&&r>="一"&&t<"一"?-e:e},r.predefinedFormats={Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ ',Currency:["[$¥-804]#,##0","[$¥-804]#,##0;[Red][$¥-804]#,##0","[$¥-804]#,##0;[$¥-804]-#,##0","[$¥-804]#,##0;[Red][$¥-804]-#,##0"],Date:["yyyy/m/d","[$-804]dddd, mmmm dd, yyyy","yyyy-mm-dd;@",'[DBNum1][$-804]yyyy"年"m"月"d"日";@','[DBNum1][$-804]yyyy"年"m"月";@','[DBNum1][$-804]m"月"d"日";@',"[$-409]yyyy/m/d h:mm AM/PM;@",'yyyy"年"m"月"d"日";@','yyyy"年"m"月";@','m"月"d"日";@',"mm/dd/yy;@","m/d/yy;@","yyyy/m/d h:mm AM/PM;@","yyyy/m/d h:mm;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-804]h:mm:ss AM/PM","h:mm;@","[$-409]h:mm AM/PM;@","h:mm:ss;@",'h"时"mm"分";@','h"时"mm"分"ss"秒";@','[$-804]上午/下午h"时"mm"分";@','[$-804]上午/下午h"时"mm"分"ss"秒";@','[DBNum1][$-804]h"时"mm"分";@','[DBNum1][$-804]上午/下午h"时"mm"分";@'],Special:{邮政编码:"000000",中文小写字母:"[DBNum1][$-804]General",中文大写字母:"[DBNum2][$-804]General"},shortcut:{Number:"0.00",Currency:"[$¥-804]#,##0.00",Accounting:'_ [$¥-804]* #,##0.00_ ;_ [$¥-804]* -#,##0.00_ ;_ [$¥-804]* "-"??_ ;_ @_ ',ShortDate:"yyyy/m/d",LongDate:"[$-804]dddd, mmmm dd, yyyy",Time:"[$-804]h:mm:ss AM/PM",Percentage:"0.00%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_ * #,##0.00_ ;_ * -#,##0.00_ ;_ * "-"??_ ;_ @_ '}},r.TimelineDateOrder=[a.year,a.quarterOrMonth,a.date],r.TimelineDateSuffix={year:"年",quarter:"",month:"",date:"日"},r.TextFormat={lineBreakingChar:[" "," ","-"],lineBreakingForbidStart:["!","%",")",",",".",":",";","?","]","}","!","%",")",",",".",":",";","?","]","}"],lineBreakingForbidEnd:["(","[","{","(","[","{"],lineBreakingStrategy:function(t,r){return w(t,r,p)}},r.normalizeDateTimeString=function(t){var r;if(f.Xt.Vr("^([0-9]{1,2}|[0-9]{4})年[0-9]{1,2}月$").test(t))return(r=t.split("年"))[1].replace("月","")+"/1/"+r[0];if(f.Xt.Vr("^[0-9]{1,2}月[0-9]{1,2}日$").test(t))return(r=t.split("月"))[0]+"/"+r[1].replace("日","")+"/"+m;if(f.Xt.Vr("^(上午|下午)?[0-9]{1,2}时[0-9]{1,2}分([0-9]{1,2}秒)?$").test(t)){var e=t.replace("时",":").replace("分",":").replace("秒","");return(e=e.endsWith(":")?e+"00":e).startsWith("上午")&&(e=e.replace("上午","")+" AM"),e.startsWith("下午")&&(e=e.replace("下午","")+" PM"),e}return t.includes("上午")||t.includes("下午")?t.replace("上午","am").replace("下午","pm"):null},r}return i(r,t),r.prototype.ur=function(){return[" "," "]},r}(H),P=function(t){function r(){var r=t.call(this)||this;O.call(r,"NumberFormat",["currencyDecimalDigits","currencyNegativePattern","currencySymbol","isReadOnly","dbNumber","standardDictionaryNumbers"],[0,1,"₩",!1,{1:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","一","二","三","四","五","六","七","八","九"]},2:{letters:["兆","阡","百","拾","億","阡","百","拾","萬","阡","百","拾",""],numbers:["零","壹","貳","參","四","伍","六","七","八","九"]},3:{letters:["兆","千","百","十","億","千","百","十","万","千","百","十",""],numbers:["0","1","2","3","4","5","6","7","8","9"]},4:{letters:["조","천","백","십","억","천","백","십","만","천","백","십",""],numbers:["○","일","이","삼","사","오","육","칠","팔","구"]}},{Hundreds:"백",Thousands:"천",Millions:"백만",Billions:"10억",Trillions:"조"}]);var e=["1","2","3","4","5","6","7","8","9","10","11","12",""],n=["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""];return O.call(r,"DateTimeFormat",["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","calendarIsReadOnly","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","nativeCalendarName","pmDesignator","shortDatePattern","shortestDayNames","shortTimePattern","yearMonthPattern","filterDialogDateFormatter"],[["일","월","화","수","목","금","토"],e,e,"오전",!1,["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],1,"yyyy'년' M'월' d'일' dddd h:mm:ss","yyyy'년' M'월' d'일' dddd","h:mm:ss","M'월' d'일'",n,n,"서기","오후","yyyy-MM-dd",["일","월","화","수","목","금","토"],"tt h:mm","yyyy'년' M'월'","yyyy년/mmmm/d일"]),r.DateTimeFormat.defaultDatePattern=r.DateTimeFormat.shortDatePattern+" "+r.DateTimeFormat.longTimePattern,r.name=function(){return"ko-kr"},r.id=1042,r.displayName="Korean (Korea)",r.isJCKCulture=!0,r.predefinedFormats={Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-',Currency:["[$₩-412]#,##0","[$₩-412]#,##0;[Red][$₩-412]#,##0","[$₩-412]#,##0;-[$₩-412]#,##0","[$₩-412]#,##0;[Red]-[$₩-412]#,##0"],Date:["yyyy-mm-dd",'yyyy"년" m"월" d"일" dddd',"yyyy-mm-dd;@",'yyyy"년" m"월" d"일";@','yy"年" m"月" d"日";@','yyyy"년" m"월";@','m"월" d"일";@',"yy-m-d;@","yy-m-d h:mm;@",'m"月"d"日";@',"[$-412]yy-m-d AM/PM h:mm;@","yy/m/d;@","yyyy/m/d h:mm;@","m/d;@","m/d/yy;@","mm/dd/yy;@","[$-409]d-mmm;@","[$-409]d-mmm-yy;@","[$-409]dd-mmm-yy;@","[$-409]mmm-yy;@","[$-409]m","[$-409]m-d;@"],Time:["[$-412]h:mm:ss AM/PM","h:mm;@","h:mm:ss;@","[$-412]AM/PM h:mm;@","[$-412]AM/PM h:mm:ss;@","[$-409]h:mm AM/PM;@","[$-409]h:mm:ss AM/PM;@",'yyyy"-"m"-"d h:mm;@','[$-412]yyyy"-"m"-"d AM/PM h:mm;@','[$-409]yyyy"-"m"-"d h:mm AM/PM;@','h"시" mm"분";@','h"시" mm"분" ss"초";@','[$-412]AM/PM h"시" mm"분";@','[$-412]AM/PM h"시" mm"분" ss"초";@'],Special:{"우편 번호":"000-000","전화 번호 (국번 4자리)":"[<=999999]####-####;(0##) ####-####","전화 번호 (국번 3자리)":"[<=9999999]###-####;(0##) ###-####",주민등록번호:"000000-0000000","숫자(한자)":"[DBNum1][$-412]General","숫자(한자-갖은자)":"[DBNum2][$-412]General","숫자(한글)":"[DBNum4][$-412]General"},shortcut:{Number:"0.00",Currency:"[$₩-412]#,##0.00",Accounting:'_-[$₩-412]* #,##0.00_-;-[$₩-412]* #,##0.00_-;_-[$₩-412]* "-"??_-;_-@_-',ShortDate:"yyyy-mm-dd",LongDate:'yyyy"년" m"월" d"일" dddd',Time:"[$-412]h:mm:ss AM/PM",Percentage:"0%",Fraction:"# ?/?",Scientific:"0.00E+00",Text:"@",Comma:'_-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_-'}},r.TimelineDateOrder=[a.year,a.quarterOrMonth,a.date],r.TimelineDateSuffix={year:"년",quarter:"",month:"월",date:"일"},r}return i(r,t),r}(H),C={invariant:new H,"en-us":new k,"ja-jp":new S,"zh-cn":new N,"ko-kr":new P};function O(t,r,e){for(var n,i=0,a=r.length;i<a;i++)n=r[i],this[t][n]=e[i]}var x={},j=["lsru","lsde","ls1","ls2","ls3","ls4","ls5","ls6","ls7","ls8","ls9","ls10","ls11"],E=["wmk1","wmk2"],T=function(){function t(){this.te=1,this.re={}}return t.instance=function(){return this.Ut||(this.Ut=new this)},t.prototype.culture=function(r){if(0===arguments.length)return t.ee;var e,n,i;r&&t.ee!==r&&(t.ee=r.toLowerCase(),this.te++,e=t.ee,n=t.Ut.getCultureInfo(),"object"==typeof document&&("function"!=typeof CustomEvent?(i=document.createEvent("CustomEvent")).initCustomEvent("cultureChanged",!1,!1,void 0):i=new CustomEvent("cultureChanged",{}),i.cultureInfo=e,y.gcCultureInfo=e,y.gcCultureObj=n,document.dispatchEvent(i)))},t.prototype.addCultureInfo=function(t,r,e){if(r&&r instanceof H){var n=r.NumberFormat&&r.NumberFormat.numberDecimalSeparator,i=r.NumberFormat.arrayListSeparator,a=r.NumberFormat.arrayGroupSeparator;if(n===r.NumberFormat.listSeparator||a===i)throw new s.ResourceManager(s.SR).getResource().Exp_Separator;C[t.toLowerCase()]=r}if(e&&"object"==typeof e){var u=t.toLowerCase();x[u]=h(!0,{},e),this.te++}},t.prototype.getCultureInfoDict=function(){return C},t.prototype.getCultureInfo=function(r){if(0===arguments.length)return C[t.ee];"string"==typeof r&&(r=r.toLowerCase());var e=C,n=null;for(var i in e)if(i===r||void 0!==e[i].id&&e[i].id===r){n=e[i];break}return n},t.prototype.getLanguage=function(t){if("string"==typeof t){var r=t.toLowerCase();return x[r]}return null},t.prototype.getResources=function(t){var r=this.culture().toLowerCase();if(null==t&&(t=r),"string"==typeof t){var e=t.toLowerCase();if(this.re[e])return this.ne(this.re[e])}return null},t.prototype.ne=function(t){var r="PivotTables",e="ReportSheet",n="GanttSheet",i="DataChart",a="Sheets",u=h(!0,{},t);u[r]&&this.ie(u[r],E),u[e]&&this.ie(u[e],E),u[n]&&this.ie(u[n],E),u[i]&&this.ie(u[i],E),u[a]&&this.ie(u[a],j);var s=u.CalcEngine;return s&&(u.Functions=s.ae,u.TableFunctions=s.ue,delete s.ae,delete s.ue),u},t.prototype.ie=function(t,r){for(var e=0,n=r;e<n.length;e++){delete t[n[e]]}},t.prototype.se=function(t,r,e){var n=x[t.toLowerCase()];for(var i in r)if(!o.Vt.oe(j,i)){var a=this.fe(n,i,e);(null!==a&&"string"==typeof a&&"string"==typeof r[i]||null!==a&&"object"==typeof a&&!Array.isArray(a))&&(r[i]=a)}r.ae&&n.Functions&&this.ye(n.Functions,r.ae),r.ue&&n.TableFunctions&&h(!0,r.ue,n.TableFunctions)},t.prototype.fe=function(t,r,e){if(t.hasOwnProperty(r))return t[r];if(e&&(i=t[e])&&"object"==typeof i&&i.hasOwnProperty(r))return i[r];for(var n in t){var i;if((i=t[n])&&"object"==typeof i&&i.hasOwnProperty(r))return i[r]}return null},t.prototype.ye=function(t,r){for(var e in r)if(t.hasOwnProperty(e)){var n=r[e],i=t[e],a=n.parameters,u=i.parameters;for(var s in n.description=i.description,a)if(u.hasOwnProperty(s)){var o=u[s];"string"==typeof o&&(a[s].name=o)}}return{}},t.prototype.ce=function(r){var e=this.getCultureInfo(r);return e||(e=C[t.ee])||(e=new H),e},t.prototype.he=function(t,r){var e=(this.getCultureInfo(t)||this.getCultureInfo("en-US")).DateTimeFormat,n=e.filterDialogDateFormatter;return(r.indexOf("g")>=0||r.indexOf("e")>=0)&&(n=e.EraFilterDialogDateFormatter||n),n},t.ee="en-us",t}();r.CultureManager=T.instance()},561:function(t,r,e){var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),i(e(895),r)},566:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Error_InvalidRemoteConfigurationForUserFetching=r.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter=r.Error_FailedToFetchUsers=r.Error_RemoteConfigurationForUserFetchingNotProvided=r.GUEST_USER=void 0,r.GUEST_USER="Guest",r.Error_RemoteConfigurationForUserFetchingNotProvided="Remote configuration for user fetching is not provided.",r.Error_FailedToFetchUsers="Failed to fetch users: ",r.Error_GraphQLSchemaMustBeProvidedForGraphQLAdapter="GraphQL schema must be provided for graphql adapter.",r.Error_InvalidRemoteConfigurationForUserFetching="Invalid remote configuration for user fetching."},895:function(t,r,e){var n=this&&this.me||function(t,r,e,n){return new(e||(e=Promise))((function(i,a){function u(t){try{o(n.next(t))}catch(t){a(t)}}function s(t){try{o(n.throw(t))}catch(t){a(t)}}function o(t){var r;t.done?i(t.value):(r=t.value,r instanceof e?r:new e((function(t){t(r)}))).then(u,s)}o((n=n.apply(t,r||[])).next())}))},i=this&&this.Me||function(t,r){var e,n,i,a,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(o){return function(s){if(e)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(u=0)),u;)try{if(e=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,n=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(!((i=(i=u.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){u=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){u.label=s[1];break}if(6===s[0]&&u.label<i[1]){u.label=i[1],i=s;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(s);break}i[2]&&u.ops.pop(),u.trys.pop();continue}s=r.call(t,u)}catch(t){s=[6,t],n=0}finally{e=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,o])}}};Object.defineProperty(r,"t",{value:!0}),r.UserManager=r.UserManagerEvent=void 0;var a=e(566),u=e(818),s=e(479),o=e(534),f=e(305);o.tr.ar(u.SR.en,a);var y,c=new u.ResourceManager(u.SR),h=c.getResource.bind(c),m=o.tr.de,M=f.Vt.le,d=o.tr.ve,l=["#3B82F6","#10B981","#8B5CF6","#F59E0B","#EF4444","#06B6D4","#EC4899","#84CC16","#6366F1","#14B8A6","#F97316","#A855F7","#22C55E","#EAB308","#F43F5E","#0EA5E9","#D946EF","#65A30D","#DC2626","#7C3AED"];!function(t){t.CurrentUserChanged="CurrentUserChanged"}(y=r.UserManagerEvent||(r.UserManagerEvent={}));var v=function(){function t(t){var r={id:s.UUIDGenerator.secureUpperCaseUUID(),name:h().GUEST_USER,color:"#26A69A",be:!0};this.Fe=[r],this.ge=r.id,this.options=t,this.pe=0,this._e=new Map([[y.CurrentUserChanged,[]]])}return t.instance=function(){return this.Ut||(this.Ut=new this)},t.prototype.configure=function(t){this.options=t},t.prototype.De=function(t){for(var r=this.Fe,e=0;e<r.length;e++)if(r[e].id===t)return d(r[e])},t.prototype.we=function(t){var r;return n(this,void 0,void 0,(function(){var e;return i(this,(function(n){switch(n.label){case 0:return(null===(r=this.options)||void 0===r?void 0:r.get)?[4,this.options.get(t)]:[3,2];case 1:return(e=n.sent())&&this.He(e),[2,e];case 2:return[2]}}))}))},t.prototype.$e=function(t){t||(t=s.UUIDGenerator.secureUpperCaseUUID());var r=this.De(t);return r||(r={id:t,name:h().GUEST_USER}),this.He(r),r},t.prototype.ke=function(t){var r=this;Array.isArray(t)&&t.forEach((function(t){t&&!t.color&&(t.color=r.Se(t.id))}))},t.prototype.Ne=function(t){var r;return n(this,void 0,void 0,(function(){var e,n;return i(this,(function(i){switch(i.label){case 0:return(null===(r=(e=this).options)||void 0===r?void 0:r.search)?[4,e.options.search(t)]:[3,2];case 1:return n=i.sent(),e.ke(n),[2,n];case 2:return[2,[]]}}))}))},t.prototype.bind=function(t,r){this._e.has(t)||this._e.set(t,[]);var e=this._e.get(t);Array.isArray(e)&&e.push(r)},t.prototype.current=function(t){var r=this;if(m(t))return r.ge;if(r.ge!==t){var e=r.ge;r.ge=t,Promise.all([r.we(e),r.we(t)]).then((function(n){var i=n[0],a=n[1];i||(i=r.De(e))&&i.be&&(r.Fe=r.Fe.filter((function(t){return!t.be}))),r.Pe(i,a,e,t)})).catch((function(n){r.Pe(void 0,void 0,e,t)}))}return r.ge},t.prototype.Pe=function(t,r,e,n){t||(t=this.De(e)),r||(r=this.De(n)),this.Ce(y.CurrentUserChanged,{oldCurrentUser:t,newCurrentUser:r})},t.prototype.Oe=function(){return M(this.Fe)},t.prototype.unbind=function(t,r){if(this._e.has(t)){var e=this._e.get(t);if(!Array.isArray(e))return;r?e.splice(e.indexOf(r),1):e.splice(0)}},t.prototype.Ce=function(t,r){if(this._e.has(t)){var e=this._e.get(t);if(!Array.isArray(e))return;e.forEach((function(e){e(t,r)}))}},t.prototype.xe=function(t){t&&(this.ke(t),this.Fe=t||[])},t.prototype.je=function(){return M(this.Fe)},t.prototype.Ee=function(){var t,r=this.pe,e=(null===(t=this.options)||void 0===t?void 0:t.colorScheme)?this.options.colorScheme.length:l.length;return this.pe=(r+1)%e,r},t.prototype.Te=function(t){var r=0;if(!t||0===t.length)return r;for(var e=0;e<t.length;e++){r=(r<<5)-r+t.charCodeAt(e),r|=0}return Math.abs(r)},t.prototype.Ae=function(t){var r,e=(null===(r=this.options)||void 0===r?void 0:r.colorScheme)?this.options.colorScheme.length:l.length;return this.Te(t)%e},t.prototype.Se=function(t){var r,e=(null===(r=this.options)||void 0===r?void 0:r.colorScheme)||l;return t?e[this.Ae(t)]:e[this.Ee()]},t.prototype.He=function(t){for(var r=this.Fe,e=0;e<r.length;e++)if(r[e].id===t.id)return r[e]=t,void(t.color||(t.color=this.Se(t.id)));t.color||(t.color=this.Se(t.id)),r.push(t)},t.prototype.Re=function(t,r){var e={id:t||s.UUIDGenerator.secureUpperCaseUUID(),name:r||h().GUEST_USER};return this.He(e),e},t.prototype.Be=function(t){this.Fe=this.Fe.filter((function(r){return r.id!==t}))},t.prototype.Ie=function(){this._e.clear(),this.Fe=[],this.ge=""},t}();r.UserManager=v.instance()},305:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Vt=void 0;function e(t,r){for(var n in r)if(r.hasOwnProperty(n)){var i=r[n];Array.isArray(i)?(t[n]=[],e(t[n],r[n])):null!==i&&"object"==typeof i?(t[n]={},e(t[n],r[n])):t[n]=r[n]}}var n=function(){function t(){}return t.ze=function(t,r,e){t.splice(r,0,e)},t.He=function(t,r){t.push(r)},t.oe=function(t,r){return t.indexOf(r)>-1},t.Be=function(t,r){var e=t.indexOf(r);e>-1&&t.splice(e,1)},t.Ge=function(t,r){return t.slice(0,r).concat(t.slice(r+1))},t.Je=function(t,r,e){return t.indexOf(r,e)},t.Ue=function(t,r,e){if(!(r<0))for(var n=0;n<e&&r+n<t.length;n++)t[r+n]=null},t.qe=function(t,r){r<0&&(r=-1);for(var e=r+1;e<t.length;e++)if(void 0!==t[e]&&null!==t[e])return e;return-1},t.Ke=function(t){return t&&t.length},t.le=function(t){var r=[];return e(r,t),r},t}();r.Vt=n},395:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.rr=void 0;var n=e(844).Zt.We,i=Math.min,a=Math.max,u=Math.abs,s=parseInt;function o(t,r,e){return e<0&&(e+=240),e>240&&(e-=240),e<40?t+((r-t)*e+20)/40:e<120?r:e<160?t+((r-t)*(160-e)+20)/40:t}function f(t,r,e){var n,i,a;if(0===e)n=i=a=s(255*r/240+"",10);else{var u,o;n=y(u=2*r-(o=r<=120?s((r*(240+e)+120)/240+""):r+e-s((r*e+120)/240+"")),o,t+80),i=y(u,o,t),a=y(u,o,t-80)}return{a:255,r:n,g:i,b:a}}function y(t,r,e){return i(s((255*o(t,r,e)+120)/240+""),255)}var c={aliceblue:[240,248,255,255],antiquewhite:[250,235,215,255],aqua:[0,255,255,255],aquamarine:[127,255,212,255],azure:[240,255,255,255],beige:[245,245,220,255],bisque:[255,228,196,255],black:[0,0,0,255],blanchedalmond:[255,235,205,255],blue:[0,0,255,255],blueviolet:[138,43,226,255],brown:[165,42,42,255],burlywood:[222,184,135,255],cadetblue:[95,158,160,255],chartreuse:[127,255,0,255],chocolate:[210,105,30,255],coral:[255,127,80,255],cornflowerblue:[100,149,237,255],cornsilk:[255,248,220,255],crimson:[220,20,60,255],cyan:[0,255,255,255],darkblue:[0,0,139,255],darkcyan:[0,139,139,255],darkgoldenrod:[184,134,11,255],darkgray:[169,169,169,255],darkgreen:[0,100,0,255],darkgrey:[169,169,169,255],darkkhaki:[189,183,107,255],darkmagenta:[139,0,139,255],darkolivegreen:[85,107,47,255],darkorange:[255,140,0,255],darkorchid:[153,50,204,255],darkred:[139,0,0,255],darksalmon:[233,150,122,255],darkseagreen:[143,188,143,255],darkslateblue:[72,61,139,255],darkslategray:[47,79,79,255],darkslategrey:[47,79,79,255],darkturquoise:[0,206,209,255],darkviolet:[148,0,211,255],deeppink:[255,20,147,255],deepskyblue:[0,191,255,255],dimgray:[105,105,105,255],dimgrey:[105,105,105,255],dodgerblue:[30,144,255,255],firebrick:[178,34,34,255],floralwhite:[255,250,240,255],forestgreen:[34,139,34,255],fuchsia:[255,0,255,255],gainsboro:[220,220,220,255],ghostwhite:[248,248,255,255],gold:[255,215,0,255],goldenrod:[218,165,32,255],gray:[128,128,128,255],green:[0,128,0,255],greenyellow:[173,255,47,255],grey:[128,128,128,255],honeydew:[240,255,240,255],hotpink:[255,105,180,255],indianred:[205,92,92,255],indigo:[75,0,130,255],ivory:[255,255,240,255],khaki:[240,230,140,255],lavender:[230,230,250,255],lavenderblush:[255,240,245,255],lawngreen:[124,252,0,255],lemonchiffon:[255,250,205,255],lightblue:[173,216,230,255],lightcoral:[240,128,128,255],lightcyan:[224,255,255,255],lightgoldenrodyellow:[250,250,210,255],lightgray:[211,211,211,255],lightgreen:[144,238,144,255],lightgrey:[211,211,211,255],lightpink:[255,182,193,255],lightsalmon:[255,160,122,255],lightseagreen:[32,178,170,255],lightskyblue:[135,206,250,255],lightslategray:[119,136,153,255],lightslategrey:[119,136,153,255],lightsteelblue:[176,196,222,255],lightyellow:[255,255,224,255],lime:[0,255,0,255],limegreen:[50,205,50,255],linen:[250,240,230,255],magenta:[255,0,255,255],maroon:[128,0,0,255],mediumaquamarine:[102,205,170,255],mediumblue:[0,0,205,255],mediumorchid:[186,85,211,255],mediumpurple:[147,112,219,255],mediumseagreen:[60,179,113,255],mediumslateblue:[123,104,238,255],mediumspringgreen:[0,250,154,255],mediumturquoise:[72,209,204,255],mediumvioletred:[199,21,133,255],midnightblue:[25,25,112,255],mintcream:[245,255,250,255],mistyrose:[255,228,225,255],moccasin:[255,228,181,255],navajowhite:[255,222,173,255],navy:[0,0,128,255],oldlace:[253,245,230,255],olive:[128,128,0,255],olivedrab:[107,142,35,255],orange:[255,165,0,255],orangered:[255,69,0,255],orchid:[218,112,214,255],palegoldenrod:[238,232,170,255],palegreen:[152,251,152,255],paleturquoise:[175,238,238,255],palevioletred:[219,112,147,255],papayawhip:[255,239,213,255],peachpuff:[255,218,185,255],peru:[205,133,63,255],pink:[255,192,203,255],plum:[221,160,221,255],powderblue:[176,224,230,255],purple:[128,0,128,255],rebeccapurple:[102,51,153,255],red:[255,0,0,255],rosybrown:[188,143,143,255],royalblue:[65,105,225,255],saddlebrown:[139,69,19,255],salmon:[250,128,114,255],sandybrown:[244,164,96,255],seagreen:[46,139,87,255],seashell:[255,245,238,255],sienna:[160,82,45,255],silver:[192,192,192,255],skyblue:[135,206,235,255],slateblue:[106,90,205,255],slategray:[112,128,144,255],slategrey:[112,128,144,255],snow:[255,250,250,255],springgreen:[0,255,127,255],steelblue:[70,130,180,255],tan:[210,180,140,255],teal:[0,128,128,255],thistle:[216,191,216,255],tomato:[255,99,71,255],turquoise:[64,224,208,255],violet:[238,130,238,255],wheat:[245,222,179,255],white:[255,255,255,255],whitesmoke:[245,245,245,255],yellow:[255,255,0,255],yellowgreen:[154,205,50,255]},h=function(){function t(t){var r=t.r,e=t.g,n=t.b,u=a(a(r,e),n),o=i(i(r,e),n),f=u+o;this.Ye=s((240*f+255)/510+"",10);var y=u-o;if(0===y)this.Xe=0,this.Ze=160;else{this.Ye<=120?this.Xe=s((240*y+f/2)/f+"",10):this.Xe=s((240*y+(510-f)/2)/(510-f)+"",10);var c=(40*(u-r)+y/2)/y,h=(40*(u-e)+y/2)/y,m=(40*(u-n)+y/2)/y;this.Ze=s(r===u?m-h+"":e===u?80+c-m+"":160+h-c+"",10),this.Ze<0&&(this.Ze+=240),this.Ze>240&&(this.Ze-=240)}}return t.prototype.Qe=function(t){var r=this.Ye,e=this.Ve(this.Ye,500,!0);return f(this.Ze,r+(e-r)*t,this.Xe)},t.prototype.Ve=function(t,r,e){return 0===r?t:e?r>0?(t*(1e3-r)+241*r)/1e3:t*(r+1e3)/1e3:((t+=240*r/1e3)<0&&(t=0),t>240&&(t=240),t)},t}(),m=/rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})(?:,\s*(\.\d+|\d(?:\.\d+)?))?\)/;function M(t){if(/^#[A-Fa-f0-9]+$/.test(t)){var r=t.replace(/^#/,""),e=r.length,n="",i="";if(6===e||8===e)n=r.substr(0,6),8===e&&(i=r.substr(6,2));else if(3===e||4===e){var a=r.split(3===e?/(.)/:/(..)/);n=a.filter(Boolean).map((function(t){return parseInt(3===e?t+t:t,16)})).map((function(t){return t.toString(16).padStart(2,"0")})).join(""),4===e&&(i=a[3]+a[3])}return[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16),s=i?parseInt(i,16):255]}if(t.toLowerCase()in c)return c[t.toLowerCase()];var u=m.exec(t);if(null!==u){var s=void 0===u[4]?255:255*+u[4];return[u[1],u[2],u[3],s]}return null}var d=function(){function t(){}return t.tn=function(t){var r=t.a,e=t.r,i=t.g,a=t.b;return 3===arguments.length&&(r=255,e=arguments[0],i=arguments[1],a=arguments[2]),4===arguments.length&&(r=arguments[0],e=arguments[1],i=arguments[2],a=arguments[3]),255===r?"#"+n(e,!0,2)+n(i,!0,2)+n(a,!0,2):"rgba("+e+","+i+","+a+","+r+")"},t.rn=function(t,r){return t.stops||t.type?JSON.stringify(t)===JSON.stringify(r):t.a===r.a&&t.r===r.r&&t.g===r.g&&t.b===r.b},t.nn=function(t){return(299*t.r+587*t.g+114*t.b)/1e3},t.an=function(t,r){var e=255-u(t.r-r.r),n=255-u(t.g-r.g),i=255-u(t.b-r.b),a=u(t.a-r.a);return!!(((e/=255)+(n/=255)+(i/=255))/3>=.9&&a<=.05)},t.un=function(r){var e=255^r.r,n=255^r.g,i=255^r.b;return t.tn(r.a,e,n,i)},t.sn=function(r){if("object"!=typeof document)return M(r);var n=t.fn;if(n||(a=document.createElement("canvas"))&&a.getContext&&(n=t.fn=a.getContext("2d",{willReadFrequently:!0})),!n){var i=e(736);if(i&&i.createCanvas){var a=i.createCanvas(2,2);n=t.fn=a.getContext("2d")}if(!n)return M(r)}n.clearRect(1,1,1,1),n.fillStyle=r,n.fillRect(1,1,1,1);var u=n.getImageData(1,1,1,1);return u?u.data:null},t.yn=function(r){if(r instanceof t)return r;if(null!==r&&"object"==typeof r)return r;var e=0,n=0,i=0,a=0;if(r){var u=t.sn(r);u&&(n=u[0],i=u[1],a=u[2],e=u[3])}return{a:e,r:n,g:i,b:a}},t.cn=function(r,e){if(0===e)return r;var n=new h(r),i=s((e>0?(240-n.Ye)*e:n.Ye*e)+"",10);return t.hn(n.Ze,n.Ye+i,n.Xe)},t.Qe=function(r,e){var n=t.yn(r),i=new h(n).Qe(e);return t.tn(i)},t.mn=o,t.hn=f,t}();r.rr=d},818:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Mn=r.dn=r.ln=r.vn=r.bn=r.Fn=r.ResourceManager=r.SR=void 0;var n=e(286),i=e(612),a=e(534);r.SR={en:i};var u=a.tr.ar,s=function(){function t(t,r){this.res=t,this.gn=r,this.re=n.CultureManager.re,this.cachedResource=this.pn(t,!0),this._n(this.cachedResource,r),this.te=0}return t.prototype.getResource=function(){var t=this.pn(this.res,!this.cachedResource);return t&&(this.cachedResource=t),this._n(this.cachedResource,this.gn),this.cachedResource},t.prototype._n=function(t,r){if(r){var e=n.CultureManager.culture().toLowerCase();this.re[e]=this.re[e]||{},this.re[e][r]=t,n.CultureManager.re=this.re}},t.prototype.pn=function(t,r){var e=n.CultureManager.culture();if(t&&e){var i=n.CultureManager.te;if(this.te===i&&!r)return;if(this.te=i,n.CultureManager.getLanguage(e)){var a=u(!0,{},t.en);return n.CultureManager.se(e,a,this.gn),a}var s=e.substr(0,2).toLowerCase();return t.hasOwnProperty(s)?t[s]:t.en}return{}},t}();r.ResourceManager=s,r.Fn=function(t,r,e,n){if(t&&0<=e&&e<r){var i,a=[],u=void 0;for(u=e;u<r;u++)void 0!==t[u]&&a.push(u);for(i=a.length,u=0;u<i;u++){var s=a[i-u-1],o=t[s];t[s]=null,t[Math.floor(s)+n]=o}}},r.bn=function(t,r,e,n){if(t&&0<=r){for(var i,a=[],u=void 0,s=0,o=Array.from(t.keys());s<o.length;s++){(f=o[s])>=r&&a.push(f)}for(a.sort((function(t,r){return t-r})),i=a.length,u=0;u<i;u++){var f=a[i-u-1],y=t.get(f);t.delete(f);var c=f+e;t.set(c,y),n&&n(y,c)}}},r.vn=function(t,r,e,n){if(t&&0<=e&&e<r){var i,a=[],u=e+n,s=void 0;for(s=e;s<r;s++)void 0!==t[s]&&(e<=s&&s<u?t[s]=null:s>=u&&a.push(s));for(i=a.length,s=0;s<i;s++){var o=a[s],f=t[o];t[o]=null,t[Math.floor(o)-n]=f}}},r.ln=function(t,r,e,n){if(t&&0<=r){for(var i,a=[],u=r+e,s=void 0,o=0,f=Array.from(t.keys());o<f.length;o++){var y=f[o];t.has(y)&&(r<=y&&y<u?(n&&n(t.get(y),-1),t.delete(y)):y>=u&&a.push(y))}for(a.sort((function(t,r){return t-r})),i=a.length,s=0;s<i;s++){y=a[s];var c=t.get(y);t.delete(y);var h=y-e;t.set(h,c),n&&n(c,h)}}},r.dn=function(t,r){return t.hasOwnProperty(r)},r.Mn=function(t,r){return t instanceof r}},97:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Qt=r.getSR=void 0;var n=e(818),i=e(480),a=e(305),u=e(286),s=e(534).tr.de,o=i.Yt.Dn,f=parseInt,y=!1,c=Math.floor,h=Math.abs,m=new n.ResourceManager(n.SR,"Common");r.getSR=m.getResource.bind(m);var M={};function d(t,e,i,a){var s=i.DateTimeFormat,f=s.Calendar.convert;if(!e||!e.length)return i&&i.name.length?f?d(t,s.fullDateTimePattern,i):t.toLocaleString():t.toString();var y,m,M,v=s.eras,b="",F=/([^d]|^)(d|dd)([^d]|$)/g;function g(){return m||M||(m=F.test(e),M=!0),m}var p,_=0,D=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;function w(t,r){return p?p[r]:function(t,r){if(n.HandleExcelSpecialDate)return n.HandleExcelSpecialDate.call(null,t,r);switch(r){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();default:return}}(t,r)}"s"!==e&&f&&(p=f.fromGregorian(t));for(var H=-2,$=-2,k={wn:""},S=0;;S++){var N=D.lastIndex,P=D.exec(e),C=e.slice(N,P?P.index:e.length);if(k.wn="",_+=l(C,k),b+=k.wn,!P)break;if(_%2!=1){var O=w(t,0),x=t.getDay(),j=t.getHours(),E=t.getMinutes(),T=t.getSeconds(),A=t.getMilliseconds(),R=t.getTimezoneOffset();switch(P[0]){case"dddd":b+=s.dayNames[x];break;case"ddd":b+=s.abbreviatedDayNames[x];break;case"dd":m=!0,b+=o(w(t,2),2);break;case"d":m=!0,b+=w(t,2);break;case"MMMM":b+=s.monthGenitiveNames&&g()?s.monthGenitiveNames[w(t,1)]:s.monthNames[w(t,1)];break;case"MMM":b+=s.abbreviatedMonthGenitiveNames&&g()?s.abbreviatedMonthGenitiveNames[w(t,1)]:s.abbreviatedMonthNames[w(t,1)];break;case"MM":b+=o(w(t,1)+1,2);break;case"M":b+=w(t,1)+1;break;case"yyyy":case"yyy":b+=H>=0?u.nr.Yr("ee",t,a):o(p?p[0]:O,4);break;case"yy":b+=H>=0?u.nr.Yr("ee",t,a):o((p?p[0]:O)%100,2);break;case"y":b+=H>=0?u.nr.Yr("e",t,a):""+(p?p[0]:O)%100;break;case"hh":0==(y=j%12)&&(y=12),b+=o(y,2);break;case"h":0==(y=j%12)&&(y=12),b+=y;break;case"HH":b+=o(j,2);break;case"H":b+=j.toString();break;case"mm":b+=o(E,2);break;case"m":b+=E.toString();break;case"ss":b+=o(T,2);break;case"s":b+=T.toString();break;case"tt":b+=j<12?s.amDesignator:s.pmDesignator;break;case"t":b+=(j<12?s.amDesignator:s.pmDesignator).charAt(0);break;case"f":case"0":b+=o(A,3).charAt(0);break;case"ff":case"00":b+=o(A,3).substr(0,2);break;case"fff":case"000":b+=o(A,3);break;case"z":b+=((y=R/60)<=0?"+":"-")+c(h(y));break;case"zz":b+=((y=R/60)<=0?"+":"-")+o(c(h(y)),2);break;case"zzz":b+=((y=R/60)<=0?"+":"-")+o(c(h(y)),2)+":"+o(h(R%60),2);break;case"g":case"gg":case"ggg":if(!v)break;if(H===S-1){H=S;break}b+=u.nr.Yr(P[0],t,a),H=S;break;case"e":case"ee":if(!v){b+=o(p?p[0]:O,4);break}if($===S-1){$=S;break}b+=u.nr.Yr(P[0],t,a),$=S;break;case"/":b+=s.dateSeparator;break;default:if(!/\[(H+|h+|m+|s+)\]/.test(P[0]))throw Error((0,r.getSR)().Exp_InvalidDateFormat);b+=P[0]}}else b+=P[0]}return b.toString()}function l(t,r){for(var e=0,n=y,i=0,a=t.length;i<a;i++){var u=t.charAt(i);switch(u){case'"':n?r.wn+="'":e++,n=y;break;case"\\":n&&(r.wn+="\\"),n=!n;break;default:r.wn+=u,n=y}}return e}function v(t,r){var e=new Date;if(t.DateTimeFormat.eras&&r<100){var n=u.nr.Jr(e).Lr;(r+=n-n%100)>t.DateTimeFormat.Calendar.TwoDigitYearMax&&(r-=100)}return r}function b(t){var r=t.getTimezoneOffset();return-485===r&&(r=-485-43/60),-321===r&&(r=-321-10/60),-507===r&&(r=-507-52/60),-402===r&&(r=-402-4/60),r}var F=function(){function t(){}return t.Hn=function(t,r,e,n){return e||(e=u.CultureManager.ce()),d(t,r,e,n)},t.$n=function(t,r,e){return d(t,r,e||u.CultureManager.ce())},t.Sn=function(r,e,n){var i,a,u,s,o,f=y;for((o=n).slice(1).forEach((function(t){t&&(f=!0)})),f||(o=o.concat(e.cr())),a=o.length,i=1;i<a;i++)if((s=o[i])&&(f=!0,u=t.Nn(r,s,e)))return u;return null},t.Pn=function(r,e,n){var i,a;return e||n||void 0===(a=M[r])?(i=e?[r,e]:[r],a=t.Sn(r,n||u.CultureManager.ce(),i),e||n||(M[r]=a),a?new Date(a):a):a?new Date(a):a},t.Cn=function(r,e){return t.Sn(r,u.CultureManager.ce("invariant"),[r,e])},t.Nn=function(t,e,n){t=t.trim();var s=n.DateTimeFormat,o=1041===n.id,c=function(t,e,n){if(t.On){if(t.On[e])return t.On[e]}else t.On={};var i=e;i=(i=i.replace("%M","M")).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1");for(var u,s="^",o={wn:""},f=[],y=0,c=0,h=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|000|00|0|zzz|zz|z|ggg|gg|g|ee|e|\[H+\]|\[h+\]|\[m+\]|\[s+\]/g;null!==(u=h.exec(i));){o.wn="";var m=i.slice(y,u.index);if(y=h.lastIndex,c+=l(m,o),s+=o.wn,c%2!=1){switch(u[0]){case"dddd":case"ddd":case"MMMM":case"MMM":case"gggg":case"ggg":case"gg":case"g":s+="(\\D+)";break;case"tt":case"t":s+="(\\D*)";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":s+="(\\d\\d?\\d?)";break;case"eee":case"ee":case"e":s+=n?"(\\u5143|\\d\\d?)":"(\\d\\d?)";break;case"yyy":case"yyyy":s+="(\\d{2}|\\d{4})";break;case"fff":case"000":s+="(\\d{3})";break;case"ff":case"00":s+="(\\d{2})";break;case"f":case"0":s+="(\\d)";break;case"zzz":s+="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":s+="([+-]?\\d\\d?)";break;case"/":s+="/"===t.dateSeparator?"(\\/)":"([\\/\\"+t.dateSeparator+"])";break;default:throw Error((0,r.getSR)().Exp_InvalidDateFormat)}a.Vt.He(f,u[0])}else s+=u[0]}o.wn="",l(i.slice(y),o),s+=o.wn;var M=(s+="$").toString().replace(/\s+/g,"\\s+"),d={xn:M,jn:f,En:RegExp(M)};return t.On[e]=d,d}(s,e,o),h=c.En.exec(t);if(null===h)return null;for(var m,M=c.jn,d=null,b=null,F=null,g=null,p=null,_=0,D=0,w=0,H=0,$=null,k=y,S=y,N=0,P=M.length;N<P;N++){var C=h[N+1];if(C)switch(M[N]){case"dd":case"d":if((g=f(C,10))<1||g>31)return null;break;case"MMMM":if((F=n.Mr(C))<0||F>11)return null;break;case"MMM":if((F=n.vr(C))<0||F>11)return null;break;case"M":case"MM":case"%M":if((F=f(C,10)-1)<0||F>11)return null;break;case"e":case"ee":if((b=o&&"元"===C?1:v(n,f(C,10)))<0||b>9999)return null;break;case"y":case"yy":case"yyy":case"yyyy":if((b=f(C,10))<0||b>9999)return null;break;case"h":case"hh":case"H":case"HH":if((_=f(C,10))<0)return null;break;case"m":case"mm":if((D=f(C,10))<0||D>59)return null;break;case"s":case"ss":if((w=f(C,10))<0||w>59)return null;break;case"tt":case"t":var O=C.toUpperCase();if(k=O===s.pmDesignator.toUpperCase(),S=O===s.amDesignator.toUpperCase(),!k&&!S)return null;break;case"f":case"0":if((H=100*f(C,10))<0||H>999)return null;break;case"ff":case"00":if((H=10*f(C,10))<0||H>999)return null;break;case"fff":case"000":if((H=f(C,10))<0||H>999)return null;break;case"dddd":if((p=n.gr(C))<0||p>6)return null;break;case"ddd":if((p=n._r(C))<0||p>6)return null;break;case"zzz":var x=C.split(/:/);if(2!==x.length)return null;if((m=f(x[0],10))<-12||m>13)return null;var j=f(x[1],10);if(j<0||j>59)return null;$=60*m+(i.Yt.Tn(C,"-")?-j:j);break;case"z":case"zz":if((m=f(C,10))<-12||m>13)return null;$=60*m;break;case"g":case"gg":case"ggg":var E=C;if(!E||!s.eras)return null;if((d=u.nr.Wr(M[N],E))<0)return null}}var T,A=/^(\d|\d\d|\d\d\d):/.test(t),R=A?new Date(1899,11,30):new Date,B=s.Calendar.convert;if(B&&(T=B.fromGregorian(R)),B||(T=[R.getFullYear(),R.getMonth(),R.getDate()]),null===b?b=T[0]:b<100&&(s.eras&&null!==d?b=u.nr.Kr(d||0,b):b+=b>=30?1900:2e3),null===F&&(F=T[1]),null===g&&(g=A?T[2]:1),B){if(null===(R=B.toGregorian(b,F,g)))return null}else{if(R.setFullYear(b,F,g),R.getDate()!==g)return null;if(null!==p&&R.getDay()!==p)return null}if(k&&_<12?_+=12:S&&12===_&&(_=0),R.setHours(_,D,w,H),null!==$){var I=R.getMinutes()-($+R.getTimezoneOffset());R.setHours(R.getHours()+I/60,I%60)}return R},t.An=function(t){var r=b(new Date(864e5*(t-25569))),e=Math.round(864e5*(t-25569+r/1440)),n=new Date(e),i=r>=0?1:-1,a=b(new Date(e+36e5*i));if(h(r-a)>=60){var u=new Date(e+60*(a-r)*1e3);if(r>a){if(-1===i||a===b(n))return u}else if(r<a&&(1===i||a===b(n)))return u}return n},t.Rn=function(r){if("/OADate("===r.substr(0,8)){var e=parseFloat(r.substr(8,r.length-10));return t.An(e)}},t.Bn=function(r){return"/OADate("+t.In(r)+")/"},t.In=function(t){if(s(t))return 0;if("number"!=typeof t&&"string"!=typeof t||(t=new Date(t)),t instanceof Date){var r=b(t);return(1440*t.getTime()+3181192704e6-864e5*r)/124416e6}return 0},t.zn=function(e){var n=null,i=!0;if(s(e))n=t.An(0);else if(e instanceof Date)n=new Date(e.valueOf());else if("string"==typeof e){var a=t.Pn(e);if(!a)if(isNaN(e))if(t.Gn(e))i=y;else{isNaN((a=new Date(e)).valueOf())&&(i=y);var u=/^[-+=\s]*(\d+)\W+(\d+)\W+(\d+)$/.exec(e.replace(/ |\n/g,"").trim());u&&4===u.length&&(-1!==u.indexOf(a.getFullYear().toString())&&-1!==u.indexOf(""+(a.getMonth()+1))&&-1!==u.indexOf(a.getDate().toString())||(i=y))}else(a=t.An(parseFloat(e)))||(i=y);n=a}else"number"==typeof e?n=t.An(e):i=y;if(i)return n;throw(0,r.getSR)().Exp_InvalidCast},t.Gn=function(r){var e,n,i=u.CultureManager.ce().DateTimeFormat,a=t.Jn,s=function(t,r){var e=0;return r.forEach((function(r){r&&t.indexOf(r)>-1&&e++})),e>1};return s(r,i.monthNames)||s(r,i.abbreviatedMonthNames)||s(r,i.dayNames)||s(r,i.abbreviatedDayNames)||function(t,r){if(t&&t.indexOf(" ")>-1){var e=t.split(" "),n=e.length;return n>=2&&r.indexOf(e[n-2])<=-1&&!isNaN(e[n-1])}return!1}(r,i.monthNames.concat(i.abbreviatedMonthNames))||(e=r,n=!1,a.forEach((function(t){e.indexOf(t)>-1&&(n=!0)})),n)},t.Un=function(t){return t&&(t.constructor===Date||t.getUTCDate&&t.setFullYear)},t.Jn=["@","#","!","`","^","$","*","(",")","&"],t}();r.Qt=F},646:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Ln=r.qn=void 0;var n=e(844),i=isNaN,a="rowCount",u="colCount";function s(t){return t}function o(t,r,e,s,o,f,y,c,h,m,M){var d,l,v,b,F,g,p,_,D,w,H,$,k,S,N,P,C=e[a],O=e[u],x=r[a],j=r[u],E=s[a],T=s[u],A=1===O,R=1===j;if(x===C&&j===O){var B=0,I=0,z=0,G=0;for(p=C*O,d=0;d<C;d++)for(l=0;l<O;l++){if(b=f(e[d][l]),F=f(r[d][l]),t&&(i(b)||i(F)))return h;B+=b,I+=b*b,z+=F=m(F),G+=b*F}var J=p*G-B*z;_=o?(z*I-B*G)/(p*I-B*B):0;var U=(g=o?J/(p*I-B*B):G/I).toString();for((U.indexOf("000000000000")>1||U.indexOf("999999999999")>1)&&(g=n.Zt.Kn(g,12),_=n.Zt.Kn(_,12)),D=[],d=0;d<E;d++)for(D[d]=[],l=0;l<T;l++){if(b=f(s[d][l]),t&&i(b))return h;D[d][l]=0===J?r[0][0]:M(n.Zt.Wn(g*b,_))}return y?new y(D):D}if(R&&x===C||1===x&&j===O){for(b=[],F=[],N=O+1,P=O+2,d=0;d<C;d++){if(_=f(H=R?r[d][0]:r[0][d]),t&&i(_))return h;F[d]=A?m(_):_}for(d=0;d<C;d++)for(b[d]=[],l=0;l<O;l++){if(_=f(e[d][l]),t&&i(_))return h;b[d][l]=_}var L=[];for(g=0;g<N;g++)for(L[g]=[],p=0;p<P;p++)L[g][p]=0;for(v=0;v<C;v++)for(L[0][N]+=F[v],d=0;d<O;d++)for(H=d+1,L[0][H]+=b[v][d],L[H][0]=L[0][H],L[H][N]+=b[v][d]*F[v],l=d;l<O;l++)L[k=l+1][H]+=b[v][d]*b[v][l],L[H][k]=L[k][H];L[0][0]=C;var q=o?0:1;for(w=q;w<N;w++){if(t){if(0===L[w][w]){for(S=!1,l=w+1;!S&&l<N;l++)if(0!==L[l][w]){for(v=0;v<P;v++)k=L[w][v],L[w][v]=L[l][v],L[l][v]=k;S=!0}if(!S)return c}}else{for(d=w;d<N&&0===L[d][w];)d++;if(d>=N)return c;for($=q;$<P;$++)H=L[w][$],L[w][$]=L[d][$],L[d][$]=H}for(H=1/L[w][w],$=q;$<P;$++)L[w][$]*=H;for(d=q;d<N;d++)if(d!==w)for(H=-L[d][w],$=0;$<P;$++)L[d][$]+=H*L[w][$];o||(L[0][N]=0)}for(D=[],R||(D[0]=[]),d=0;d<E;d++){for(R&&(D[d]=[]),H=L[0][N],l=0;l<O;l++){if(_=f(R?s[d][l]:s[l][d]),t&&i(_))return h;H+=L[l+1][N]*_}R?D[d][0]=M(H):D[0][d]=M(H)}return y?new y(D):D}return c}r.qn=function(t,r,e,n,i,a,u,f){return o(!0,t,r,e,n,i,a,f,u,s,s)},r.Ln=function(t,r,e,n,i,f,y){var c,h;for(c=0;c<t[a];c++)for(h=0;h<t[u];h++)if(t[c][h]<=0)return f;return o(!1,t,r,e,n,s,i,y,null,Math.log,Math.exp)}},844:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Zt=void 0;var n=e(818),i=e(534),a=e(576),u=e(480),s=e(286),o=i.tr.de,f=u.Yt.Dn,y=u.Yt.Yn,c=null,h=void 0,m=parseInt,M=parseFloat,d=!1,l=!0,v=Math.floor,b=Math.abs,F=Math.pow,g=Math.min,p=Number.MAX_VALUE,_=function(t,r,e){return t.substr(r,e)},D=function(t){return a.Xt.Vr(t)},w=new n.ResourceManager(n.SR),H=w.getResource.bind(w),$="##################0",k="################",S={1:"+",0:"","-1":"-"},N=["0","#","?"],P={"¤":"¤",Br:"Br",Fdj:"Fdj",Nfk:"Nfk",R:"R",$:"$",FCFA:"FCFA","GH₵":"GH₵",ብር:"ብር","ر.س.‏":"ر.س.‏",XDR:"XDR","د.إ.‏":"د.إ.‏","د.ب.‏":"د.ب.‏","د.ج.‏":"د.ج.‏","ج.م.‏":"ج.م.‏","₪":"₪","د.ع.‏":"د.ع.‏","د.ا.‏":"د.ا.‏","ف.ج.ق.‏":"ف.ج.ق.‏","د.ك.‏":"د.ك.‏","ل.ل.‏":"ل.ل.‏","د.ل.‏":"د.ل.‏","د.م.‏":"د.م.‏","أ.م.‏":"أ.م.‏","ر.ع.‏":"ر.ع.‏","ر.ق.‏":"ر.ق.‏","ج.س.":"ج.س.",S:"S","£":"£","ل.س.‏":"ل.س.‏","د.ت.‏":"د.ت.‏","ر.ي.‏":"ر.ي.‏","₹":"₹",TSh:"TSh","€":"€","₼":"₼","₽":"₽",K:"K","лв.":"лв.","₦":"₦",CFA:"CFA","৳":"৳","¥":"¥",KM:"KM",КМ:"КМ",USh:"USh",Kč:"Kč","kr.":"kr.",Ksh:"Ksh",CHF:"CHF","ރ.":"ރ.","Nu.":"Nu.",EC$:"EC$",P:"P",US$:"US$",D:"D",Rp:"Rp",Ar:"Ar",MOP$:"MOP$",Rs:"Rs",MK:"MK",RM:"RM","₱":"₱",RF:"RF",SR:"SR",SDG:"SDG",Le:"Le","NAf.":"NAf.",E:"E",T$:"T$",VT:"VT",WS$:"WS$",Bs:"Bs","₡":"₡",Q:"Q",L:"L",C$:"C$","B/.":"B/.","S/.":"S/.","₲":"₲","Bs.":"Bs.",ريال:"ريال",FG:"FG",UM:"UM",kr:"kr",FBu:"FBu",FC:"FC",DA:"DA",G:"G",CF:"CF",DH:"DH",FCFP:"FCFP",LS:"LS",DT:"DT",kn:"kn",HUF:"HUF","֏":"֏",ISK:"ISK","₾":"₾","​":"​","₸":"₸","៛":"៛","₩":"₩",сом:"сом",Kz:"Kz","₭":"₭",MTn:"MTn",ден:"ден","₮":"₮",रु:"रु","Afl.":"Afl.","ߖߕ.":"ߖߕ.","руб.":"руб.",zł:"zł","؋":"؋",R$:"R$",Db:"Db",RON:"RON","₴":"₴",MAD:"MAD","රු.":"රු.",Lekë:"Lekë",den:"den",RSD:"RSD","дин.":"дин.","ܠ.ܣ.‏":"ܠ.ܣ.‏","Rs.":"Rs.",смн:"смн","฿":"฿","m.":"m.","₺":"₺",ⴷⵔ:"ⴷⵔ",soʻm:"soʻm",сўм:"сўм","₫":"₫",HK$:"HK$",MOP:"MOP",NT$:"NT$"};function C(t,r,e,n){return r&&0!==r.length&&"i"!==r?function(t,r,e,n){return I(t,j(r),e,n)}(t,r,e.NumberFormat,n):e&&e.name.length>0?t.toLocaleString():t.toString()}function O(t,r){for(var e=v(b(t)),n={Xn:1,Zn:0};e>=10&&Number.isFinite(e);)e/=10,n.Xn++;var i,a=t.toString(),u=a.search(/e/gi),s=a.indexOf(r);if(-1!==u){var o=_(a,0,u),f=_(a,u+1),y=0;-1!==s&&(y=_(o,s+1).length),(i=y-M(f))<0&&(i=0),n.Zn=i}else i=0,-1!==s&&(i=_(a,s+1).length),n.Zn=i;return n}function x(t){for(var r={Qn:t.charAt(0),Vn:0,En:0},e="",n=1;n<t.length;n++)if("+"===(e=t.charAt(n)))r.Vn=1;else{if("-"!==e){if("0"===e){r.En=t.length-n;break}throw Error(H().Exp_InvalidExponentFormat)}r.Vn=-1}return r}function j(t){for(var r,e={ti:c,ri:c,ei:d,ni:0,ii:0,ai:0,ui:c},n="",i=d,a=d,u=d,s=d,o=d,f=d,y=c,h=[],m=0;m<t.length;m++){if(r=t.charAt(m),i)n+=r,'"'===r&&(h.push(n),n="",i=d);else if(a){if("E"===y||"e"===y){if(!(["+","-","0"].indexOf(r)>=0)){a=d,m--;continue}n+=r}else if("+"===y||"-"===y){if("0"!==r){a=d,m--;continue}n+=r}else if("0"===y){if("0"!==r){a=d,o||(o=l,e.ui=x(n)),m--;continue}n+=r}}else if("*"!==y&&"_"!==y&&"\\"!==y||""===n)if("*"===r||"_"===r||"\\"===r)f=d,""!==n&&(h.push(n),n=""),n+=r;else if("'"===r)f=d,""!==n&&(h.push(n),n=""),h.push(r);else if('"'===r)f=d,i=l,""!==n&&(h.push(n),n=""),n+=r;else if(N.indexOf(r)>=0)f=l,N.indexOf(y)<0&&""!==n&&(h.push(n),n=""),n+=r;else if("."!==r||u)if("%"===r)f=d,e.ii++,""!==n&&(h.push(n),n=""),h.push(r);else if("‰"===r)f=d,e.ai++,""!==n&&(h.push(n),n=""),h.push(r);else if(","===r)if(f){var M=void 0;""!==n&&(h.push(n),n="");for(var v=l,b="",F=m+1;F<t.length;F++)if(M=t.charAt(F),'"'!==b)if("\\"!==b&&"_"!==b){if(N.indexOf(M)>=0){v=d;break}if("."===M||";"===M)break;b=M}else b="";else'"'===M&&(b="");v?e.ni++:u||(M=t.charAt(m+1))&&N.indexOf(M)>=0&&(s=l)}else n+=r;else"E"===r||"e"===r?(f=d,a=l,""!==n&&(h.push(n),n=""),n+=r):(f=d,N.indexOf(y)>=0&&""!==n&&(h.push(n),n=""),n+=r);else""!==n&&(h.push(n),n=""),e.ti=h,h=[],u=l,f=d;else n+=r,h.push(n),n="";y=r}return""!==n&&(a&&!o&&(e.ui=x(n)),h.push(n)),s&&(e.ei=l),u?e.ri=h:e.ti=h,e}function E(t,r,e,n,i,a){var u=function(t,r){if(r=+r,isNaN(t=+t)||r%1!=0)return NaN;var e=t<0;if(t=e?-t:t,typeof r===h||0===r)return t=Math.round(t),e?-t:t;var n=t.toString().split("e");return t=Math.round(+(n[0]+"e"+(n[1]?+n[1]-r:-r))),+((n=(t=e?-t:t).toString().split("e"))[0]+"e"+(n[1]?+n[1]+r:r))}(t,-r);isFinite(u)||(u=t);var s,o,c=(t=u).toString(),M=c.split(/e/i);return c=M[0],o=M.length>1?m(M[1],10):0,M=c.split("."),c=M[0],s=M.length>1?M[1]:"",o>0?(c+=(s=y(s,o)).slice(0,o),s=_(s,o)):o<0&&(o=-o,s=(c=t<0?a+f(c.replace(a,""),o+1):f(c,o+1)).slice(-o,c.length)+s,c=c.slice(0,-o)),c+(r>0?i+(s=s.length>r?s.slice(0,r):y(s,r)):"")}function T(t){var r=c;if(t){r="";for(var e=0;e<t.length;e++){var n=t[e];/^(0|#|\?)+/g.test(n)&&(r+=n)}}return r}var A=Math.pow(2,48);function R(t,r){return t===r||0!==t&&0!==r&&(b(t-r)<b(t)/A||(t=U(t,15),r=U(r,15),b(t-r)<b(t)/A))}function B(t,r,e,n,i,a,u,s){var o=s.numberGroupSizes,y=s.numberGroupSeparator,c=s.negativeSign,h=s.percentSymbol,m=s.perMilleSymbol,M=n.ui,v=_(r,0,1);v===c&&(r=_(r,1));var b=1===r.length&&"0"===r?0:r.length;r=0===b?"":r;for(var F=0,g="",p=t.length-1;p>=0;p--){var D="",w=t[p];if(/^(0|#|\?)+/g.test(w)){if(g!==e){for(var $=w.length,k=b-F-1;k>=0&&$>0;k--){D=r.charAt(k)+D,$--,F++}for(var N=$-1;N>=0;N--){var C=w[N];F++,"0"===C?D=C+D:"?"===C&&(""!==D&&(a.push({type:"number",value:D}),D=""),a.push({type:"numberPlaceholder",value:C}))}(g=w+g)===e&&F<b&&(D=r.substr(0,b-F)+D),""!==D&&a.push({type:"number",value:D})}}else if(n.ui&&!u.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(w)){u.replaceExponent=l;var O="";O+=M.Qn,O+=S[M.Vn],O+=f(i.toString(),M.En),a.push({type:"exponent",value:O})}else"_"===w[0]?a.push({type:"placeholder",value:w[1]}):"*"===w[0]?u.hasInfilling||(a.push({type:"fillingChar",value:w[1]}),u.hasInfilling=!0,u.infillIndex=a.length-1):"\\"===w[0]?2===w.length&&a.push({type:"text",value:w[1]}):'"'===w[0]&&'"'===w[w.length-1]?w.length>2&&a.push({type:"text",value:w.substr(1,w.length-2)}):w===h?a.push({type:"percent",value:w}):w===m?a.push({type:"permille",value:w}):P[w]?a.push({type:"currency",value:w}):a.push({type:"text",value:w})}v===c&&e&&a.push({type:"text",value:v}),n.ei===l&&function(t,r,e,n){for(var i=r[0],a=1,u=0,s=d,o=t.length,f=0;f<o;f++){var y=t[f].type;if("number"===y){for(var c="",h=t[f].value,m=h.length-1;m>=0;){if(!(1<=i&&i<=9||0===i&&a===r.length))throw Error(H().Exp_InvalidNumberGroupSize);/\d/gi.test(h[m])?(s&&(c&&t.push({type:"number",value:c}),t.push({type:"groupSeparator",value:e}),c="",s=d),u++):u=0,c=h[m]+c,u===i&&i>0&&(s=l,u=0,a<r.length&&(i=r[a],a++)),m--}c&&t.push({type:y,value:c})}else"fillingChar"===y&&(n.infillIndex=t.length-o),t.push({type:y,value:t[f].value})}t.splice(0,o)}(a,o,y,u),a.reverse(),u.infillIndex=a.length-1-u.infillIndex}function I(t,r,e,n){var i=[];t=function(t,r,e,n){var i=t;return r>0&&(i=U(i*F(100,r),15)),e>0&&(i=U(i*F(1e3,e),15)),n>0&&(i=U(i/F(1e3,n),15)),i}(t,r.ii,r.ai,r.ni);var a=r.ti,u=r.ri;if(!a&&!u)return i;var s,o=T(a),y=T(u);if(y||(y=""),r.ui){var c=function(t,r,e){var n={value:t,exponentValue:0},i=O(t,".").Xn,a=b(t),u=e?e.length:1;if(a>=1)i>u?(i-=u,n.value=t/F(10,i),n.exponentValue=i):n.exponentValue=0,-1===r.Vn&&(r.Vn=0);else if(a<1&&a>0){r.Vn=-1;for(var s=F(10,u);10*a<s&&!R(10*a,s);)a*=10,n.exponentValue++;var o=F(10,n.exponentValue);n.value*=o>p?0:o}return n}(t,r.ui,o);t=c.value,s=c.exponentValue}var h=O(t,".");b(t)>1&&h.Xn+h.Zn>15&&(t=U(t,15));e.numberGroupSizes,e.numberGroupSeparator;var m=e.numberDecimalSeparator,M=e.negativeSign,v=E(t,g(h.Zn,y.length),0,0,m,M);if(n||(v=function(t,r){var e=t;return-1!==t.indexOf(r)&&(e=t.replace(/0+$/,"")),e}(v,m)),""===v)return i.push({type:"text",value:(a?a.join(""):"")+(u?u.join(""):"")}),i;var _={hasInfilling:d,infillIndex:-1,replaceExponent:d},D=v.split(m)[0];return"10"!==D||isNaN(s)||(D="1",s+=r&&r.ui&&-1===r.ui.Vn?-1:1),a&&B(a,D,o,r,s,i,_,e),t===1/0||t===-1/0||("0"!==D&&""===o&&u&&i.push({type:"number",value:D}),u&&function(t,r,e,n,i,a,u,s,o){var y=o.numberDecimalSeparator,c=o.percentSymbol,h=o.perMilleSymbol,m=r.indexOf(y),M=i.ui;(m>0||n!==$||e!==k)&&u.push({type:"decimalSeparator",value:y});for(var d=-1!==m?r.substring(m+1):"",v=0,b="",F=0;F<t.length;F++){var g=t[F];if(/^(0|#|\?)+/g.test(g)){var p="";if(b!==e){for(var _=g.length,D=0,w=v;_>0&&d.length-v>0;)p+=d.charAt(w),_--,v++,D++,w++;for(var H=D;_>0;){var N=g[H];H++,v++,_--,"0"===N?p+=N:"?"===N&&(""!==p&&(u.push({type:"number",value:p}),p=""),u.push({type:"numberPlaceholder",value:N}))}""!==p&&u.push({type:"number",value:p}),b+=g}}else if(M&&!s.replaceExponent&&/^((E(\+|-)?|e(\+|-)?)\d+)/g.test(g)){s.replaceExponent=l;var C="";C+=M.Qn,C+=S[M.Vn],C+=f(a.toString(),M.En),u.push({type:"exponent",value:C})}else"_"===g[0]?u.push({type:"placeholder",value:g[1]}):"*"===g[0]?(u.push({type:"fillingChar",value:g[1]}),s.hasInfilling&&u.splice(s.infillIndex,1),s.hasInfilling=!0,s.infillIndex=u.length-1):"\\"===g[0]?2===g.length&&u.push({type:"text",value:g[1]}):'"'===g[0]&&'"'===g[g.length-1]?g.length>2&&u.push({type:"text",value:g.substr(1,g.length-2)}):g===c?u.push({type:"percent",value:g}):g===h?u.push({type:"permille",value:g}):P[g]?u.push({type:"currency",value:g}):u.push({type:"text",value:g})}}(u,v,y,o,r,s,i,_,e)),i}function z(t,r){if((t=o(t)?"":u.Yt.si(t,"")).match(/^[+-]?infinity$/i))return M(t);if(t.match(/^0x[a-f0-9]+$/i))return m(t,10);var e,n,i=r.NumberFormat,a=i.numberNegativePattern,s=G(t,i,a),f=s[0],y=s[1];""===f&&1!==a&&(f=(s=G(t,i,1))[0],y=s[1]),""===f&&(f="+"),y[0]===i.currencySymbol&&(y=_(y,1));var h=y.indexOf("e");h<0&&(h=y.indexOf("E")),h<0?(n=y,e=c):(n=_(y,0,h),e=_(y,h+1));var d,l,v=n.indexOf(".");v<0?(d=n,l=c):(d=_(n,0,v),l=_(n,v+1));var b=f+(d=d.split(",").join(""));if(l!==c&&(b+="."+l),b[b.length-1]===i.percentSymbol){b=_(b,0,b.length-1);var F=(b=u.Yt.si(b,"")).indexOf(".");-1===F&&(F=b.length);var g="";g+=_(b,0,F-2),g+=".",g+=_(b,F-2,2),b=g+=_(b,F+1)}if(e!==c){var p=G(e,i,1);""===p[0]&&(p[0]="+"),b+="e"+p[0]+p[1]}return b.match(/^[+-]?\d*\.?\d*(e[+-]?\d+)?$/)?M(b):NaN}function G(t,r,e){var n=r.negativeSign,i=r.positiveSign;if(4!==e&&2!==e||(n=" "+n,i=" "+i),4===e||3===e){if(u.Yt.oi(t,n))return["-",_(t,0,t.length-n.length)];if(u.Yt.oi(t,i))return["+",_(t,0,t.length-i.length)]}else if(2===e||1===e){if(u.Yt.Tn(t,n))return["-",_(t,n.length)];if(u.Yt.Tn(t,i))return["+",_(t,i.length)]}else{if(0!==e)throw Error("");if(u.Yt.Tn(t,"(")&&u.Yt.oi(t,")"))return["-",_(t,1,t.length-2)]}return["",t]}function J(t){var r=s.CultureManager.ce().NumberFormat;return"string"==typeof t&&(r=s.CultureManager.ce(t).NumberFormat),r}function U(t,r){return"number"==typeof t&&t.toString().length>=r&&(t=+t.toPrecision(r)),t}r.Zt={Pn:function(t){return z(t,s.CultureManager.ce())},Cn:function(t){return z(t,s.CultureManager.ce("invariant"))},Hn:function(t,r,e,n){return e||(e=s.CultureManager.ce()),C(t,r,e,n)},fi:function(t,r){if("string"!=typeof t)return t;var e=J(r),n=e.numberDecimalSeparator,i=e.numberGroupSeparator;return"."!==n&&(t=t.replace(D("[.]"),"#dot#")),","!==i&&(t=t.replace(D("[,]"),"#group#")),"."!==n&&(t=t.replace(D("#dot#"),n)),","!==i&&(t=t.replace(D("#group#"),i)),t},yi:function(t,r){if("string"!=typeof t)return t;var e=J(r),n=e.numberDecimalSeparator,i=e.numberGroupSeparator;return"."!==n&&(t=t.replace(D("["+n+"]"),"#dot#")),","!==i&&(t=t.replace(D("["+i+"]"),"#group#")),"."!==n&&(t=t.replace(D("#dot#"),".")),","!==i&&(t=t.replace(D("#group#"),",")),t},ci:function(t,r){if("string"==typeof t){var e=J(r),n=e.numberDecimalSeparator,i=e.numberGroupSeparator;if("."!==n&&"."!==i&&t.indexOf(".")>=0||","!==n&&","!==i&&t.indexOf(",")>=0)return!1}return!0},hi:function(t,r){return M(this.yi(t,r))},We:function(t,r,e){if(0!==b(v(t)-t))throw Error(H().Exp_BadFormatSpecifier);var n=t>=0?t.toString(16):(4294967295+t+1).toString(16);return n=r?n.toLowerCase():n.toUpperCase(),!o(e)&&n.length<e?f(n,e):n},mi:j,Mi:I,di:R,Wn:function(t,r){return R(t,-r)?0:t+r},li:function(t){var r="";if(Array.isArray(t)&&t.length>0)for(var e=0;e<t.length;e++){var n=t[e].type,i=t[e].value;if("placeholder"===n)r+=" ";else{if("fillingChar"===n)continue;r+="numberPlaceholder"===n?" ":i}}return r},bi:$,Fi:k,Kn:U}},674:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.rbush=void 0;var e=Math.max,n=Math.min,i=1/0;function a(t,r){this.gi=e(4,t||9),this.pi=e(2,Math.ceil(.4*this.gi)),r&&this._i(r),this.clear()}function u(t,r,e){if(!e)return r.indexOf(t);for(var n=0;n<r.length;n++)if(e(t,r[n]))return n;return-1}function s(t,r){o(t,0,t.children.length,r,t)}function o(t,r,e,n,a){a||(a=l(null)),a.minX=i,a.minY=i,a.maxX=-1/0,a.maxY=-1/0;for(var u=r,s=void 0;u<e;u++)s=t.children[u],f(a,t.leaf?n(s):s);return a}function f(t,r){return t.minX=n(t.minX,r.minX),t.minY=n(t.minY,r.minY),t.maxX=e(t.maxX,r.maxX),t.maxY=e(t.maxY,r.maxY),t}function y(t,r){return t.minX-r.minX}function c(t,r){return t.minY-r.minY}function h(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function m(t){return t.maxX-t.minX+(t.maxY-t.minY)}function M(t,r){return t.minX<=r.minX&&t.minY<=r.minY&&(r.maxX>=0&&r.maxX<=t.maxX||t.minX<0)&&(r.maxY>=0&&r.maxY<=t.maxY||t.minY<0)}function d(t,r){return(-1===t.minY||-1===r.minY||t.minY<=r.maxY&&r.minY<=t.maxY)&&(-1===t.minX||-1===r.minX||t.minX<=r.maxX&&r.minX<=t.maxX)}function l(t){return{children:t,height:1,leaf:!0,minX:i,minY:i,maxX:-1/0,maxY:-1/0}}r.rbush=a,a.prototype={all:function(){return this.Di(this.data,[])},search:function(t){var r=this.data,e=[],n=this.toBBox;if(!d(t,r))return e;for(var i,a,u,s,o=[];r;){for(i=0,a=r.children.length;i<a;i++)u=r.children[i],d(t,s=r.leaf?n(u):u)&&(r.leaf?e.push(u):M(t,s)?this.Di(u,e):o.push(u));r=o.pop()}return e},collides:function(t){var r=this.data,e=this.toBBox;if(!d(t,r))return!1;for(var n,i,a,u,s=[];r;){for(n=0,i=r.children.length;n<i;n++)if(a=r.children[n],d(t,u=r.leaf?e(a):a)){if(r.leaf||M(t,u))return!0;s.push(a)}r=s.pop()}return!1},insert:function(t){return t&&this.ze(t,this.data.height-1),this},clear:function(){return this.data=l([]),this},remove:function(t,r){if(!t)return this;for(var e,n,i,a,s=this.data,o=this.toBBox(t),f=[],y=[];s||f.length;){if(s||(s=f.pop(),n=f[f.length-1],e=y.pop(),a=!0),s.leaf&&-1!==(i=u(t,s.children,r)))return s.children.splice(i,1),f.push(s),this.wi(f),this;a||s.leaf||!M(s,o)?n?(e++,s=n.children[e],a=!1):s=null:(f.push(s),y.push(e),e=0,n=s,s=s.children[0])}return this},toBBox:function(t){return t},compareMinX:y,compareMinY:c,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},Di:function(t,r){for(var e=[];t;)t.leaf?r.push.apply(r,t.children):e.push.apply(e,t.children),t=e.pop();return r},Hi:function(t,r,a,u){for(var s,o,f,y,c,m,M,d;u.push(r),!r.leaf&&u.length-1!==a;){for(M=d=i,s=0,o=r.children.length;s<o;s++)c=h(f=r.children[s]),l=t,(m=(e((v=f).maxX,l.maxX)-n(v.minX,l.minX))*(e(v.maxY,l.maxY)-n(v.minY,l.minY))-c)<d?(d=m,M=c<M?c:M,y=f):m===d&&c<M&&(M=c,y=f);r=y||r.children[0]}var l,v;return r},ze:function(t,r,e){var n=this.toBBox,i=e?t:n(t),a=[],u=this.Hi(i,this.data,r,a);for(u.children.push(t),f(u,i);r>=0&&a[r].children.length>this.gi;)this.$i(a,r),r--;this.ki(i,a,r)},$i:function(t,r){var e=t[r],n=e.children.length,i=this.pi;this.Si(e,i,n);var a=this.Ni(e,i,n),u=l(e.children.splice(a,e.children.length-a));u.height=e.height,u.leaf=e.leaf,s(e,this.toBBox),s(u,this.toBBox),r?t[r-1].children.push(u):this.Pi(e,u)},Pi:function(t,r){this.data=l([t,r]),this.data.height=t.height+1,this.data.leaf=!1,s(this.data,this.toBBox)},Ni:function(t,r,a){var u,s,f,y,c,m,M,d,l,v,b,F,g,p;for(m=M=i,u=r;u<=a-r;u++)l=s=o(t,0,u,this.toBBox),v=f=o(t,u,a,this.toBBox),b=void 0,F=void 0,g=void 0,p=void 0,b=e(l.minX,v.minX),F=e(l.minY,v.minY),g=n(l.maxX,v.maxX),p=n(l.maxY,v.maxY),y=e(0,g-b)*e(0,p-F),c=h(s)+h(f),y<m?(m=y,d=u,M=c<M?c:M):y===m&&c<M&&(M=c,d=u);return d},Si:function(t,r,e){var n=t.leaf?this.compareMinX:y,i=t.leaf?this.compareMinY:c;this.Ci(t,r,e,n)<this.Ci(t,r,e,i)&&t.children.sort(n)},Ci:function(t,r,e,n){t.children.sort(n);var i,a,u=this.toBBox,s=o(t,0,r,u),y=o(t,e-r,e,u),c=m(s)+m(y);for(i=r;i<e-r;i++)a=t.children[i],f(s,t.leaf?u(a):a),c+=m(s);for(i=e-r-1;i>=r;i--)a=t.children[i],f(y,t.leaf?u(a):a),c+=m(y);return c},ki:function(t,r,e){for(var n=e;n>=0;n--)f(r[n],t)},wi:function(t){for(var r=t.length-1,e=void 0;r>=0;r--)0===t[r].children.length?r>0?(e=t[r-1].children).splice(e.indexOf(t[r]),1):this.clear():s(t[r],this.toBBox)},_i:function(t){var r=["return a"," - b",";"];this.compareMinX=Function("a","b",r.join(t[0])),this.compareMinY=Function("a","b",r.join(t[1])),this.toBBox=Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}},576:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Xt=void 0;var n=e(480),i=function(){function t(){}return t.Oi=function(r,e){var n;if(e&&t.xi[e]&&t.xi[e][r])n=t.xi[e][r];else try{null==e?(n=RegExp(r),e="empty"):n=RegExp(r,e),t.xi[e]||(t.xi[e]={}),t.xi[e][r]=n}catch(t){return null}return n.lastIndex=0,n},t.Vr=function(r){var e=t.ji[r];return e||(e=t.ji[r]=RegExp(r,"g")),e.lastIndex=0,e},t.Ei=function(r){var e=t.Ti[r];return e||(e=t.Ti[r]=RegExp(r,"gi")),e.lastIndex=0,e},t.Ai=function(r,e,n){if(t.Ri[r])return t.Bi[r];var i=e?"[?*]+":"[~?*]+";if(t.Vr(i).test(r)){for(var a=[],u=r.split(""),s=void 0,o={".":!0,"+":!0,$:!0,"^":!0,"[":!0,"]":!0,"(":!0,")":!0,"{":!0,"}":!0,"|":!0,"/":!0,"\\":!0},f=0;f<u.length;f++)if("~"===(s=u[f])){if(!(f<u.length-1))break;"*"!==(s=u[++f])&&"?"!==s||a.push("\\"),a.push(s)}else"?"===s?a.push("."):"*"===s?(a.push("[\\s\\S]"),n?a.push("+"):a.push("*")):o[s]?(a.push("\\"),a.push(s)):a.push(s);return a.join("")}return null},t.Ii=function(r,e,n){var i=t.Ai(r,e,n);return i&&(i="^"+i+"$"),i},t.zi=function(t,r){for(var e="#"+t+"0#",i=1;r.indexOf(e)>0;)e=n.Yt.Gi(e,"#"+t+(i-1)+"#","#"+t+i+"#"),i++;return e},t.Ji=function(t){return t.replace(/([\~\!\@\#\$\%\^\&\*\(\)\-\_\+\=\[\]\{\}\|\\\;\:\'\"\,\.\/\<\>\?])/,"\\$1")},t.ji={},t.Ti={},t.xi={},t.Ri={},t.Bi={},t}();r.Xt=i},480:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Yt=void 0;var n=e(576);function i(t,r,e){return t.substr(r,e)}function a(t){return null==t}function u(t,r,e,n){if(a(r))throw Error();if(""===r)return!0;if(r.length>t.length)return!1;var i=t,u=r;return e&&(i=i.toLowerCase(),u=u.toLowerCase()),n(i,u)}r.Yt={oe:function(t,r,e){return e&&(t=t.toLowerCase(),r=r.toLowerCase()),""===r||t.indexOf(r)>=0},Je:function(t,r,e){if(e){var n=t.toLowerCase(),i=r.toLowerCase();return n.indexOf(i)}return t.indexOf(r)},Ui:function(t,r){if(!r)return t;for(var e=t;i(e,0,r.length)===r;)e=i(e,r.length);return e},si:function(t,r){if(!r)return t;for(var e=t;i(e,e.length-r.length,r.length)===r;)e=i(e,0,e.length-r.length);return e},ze:function(t,r,e){if(r<0||r>t.length||a(e))throw Error();return i(t,0,r)+e+i(t,r,t.length-r)},Be:function(t,r,e){if(a(e)&&(e=t.length-r),r<0||e<0||r+e>t.length)throw Error();return i(t,0,r)+i(t,r+e,t.length-r-e)},Tn:function(t,r,e){return void 0===e&&(e=!1),u(t,r,e,(function(t,r){return t.slice(0,r.length)===r}))},oi:function(t,r,e){return void 0===e&&(e=!1),u(t,r,e,(function(t,r){return t.slice(-r.length)===r}))},Li:function(t,r,e,n){if(!r)throw Error();return e=(""+e).replace(/\$/g,"$$$$"),t.replace(RegExp(r,"g"+(n?"i":"")),e)},qi:function(t,e,i,a){return e=n.Xt.Ji(e),r.Yt.Li(t,e,i,a)},Ki:function(t,r){var e=t.indexOf(r);return e<0||e>=t.length?t:i(t,0,e)},Wi:function(t,r){for(var e=0,n=t.indexOf(r);n>=0;)e+=1,n=t.indexOf(r,n+1);return e},Gi:function(t,r,e){return t.split(r).join(e)},Yi:function(t,r){for(var e=t,n=0;n<r.length;n++){var i=RegExp("\\{"+n+"\\}","g");e=e.replace(i,r[n])}return e},Xi:function(t,r,e){for(var n=t.toString(),i=n.length;i<r;i++)n=e?"0"+n:n+"0";return n},Dn:function(t,e){return r.Yt.Xi(t,e,!0)},Yn:function(t,e){return r.Yt.Xi(t,e,!1)},Zi:function(t,r){return t===r||!t&&!r||t&&r&&t.toLowerCase()===r.toLowerCase()},Qi:function(t){return t.toUpperCase()},Vi:function(t){var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},e=n.Xt.Vr("(?:&|<|>|\"|'|`)");return e.test(t)?t.replace(e,(function(t){return r[t]})):t},ta:function(t){var r={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"},e=n.Xt.Vr("(?:&amp;|&lt;|&gt;|&quot;|&#x27;|&#x60;)");return e.test(t)?t.replace(e,(function(t){return r[t]})):t},ra:function(t){for(var r=t,e=/javascript:/gi;r.match(e);)r=r.replace(e,"");return r}}},534:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.tr=void 0;var e="undefined"!=typeof window?window.File:null,n="undefined"!=typeof window?window.Blob:null;r.tr={ea:null,ir:function(t,e){if(r.tr.na(t))for(var n=0,i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(var a in t)if(t.hasOwnProperty(a)&&!1===e.call(t[a],a,t[a]))break;return t},ia:function(t){return!t||"object"==typeof t&&0===Object.keys(t).length},aa:function(t){return"function"===r.tr.ua(t)},sa:function(t){return Array.isArray?Array.isArray(t):"array"===r.tr.ua(t)},oa:function(t){return r.tr.fa(t)&&(t=parseFloat(t)),!isNaN(t)&&isFinite(t)},fa:function(t){return"string"==typeof t},ua:function(t){if(null===t)return"null";var e=r.tr.ea;if(!e){e=r.tr.ea={};for(var n=["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"],i=0,a=n.length;i<a;i++)e["[object "+n[i]+"]"]=n[i].toLowerCase()}var u=e.toString,s=typeof t;return"object"===s||"function"===s?e[u.call(t)]||"object":s},ya:function(t,e,n){var i;if(e){var a=[].indexOf;if(a)return a.call(e,t,n);for(i=e.length,r.tr.de(n)&&(n=0),n=n<0?Math.max(0,i+n):n;n<i;n++)if(n in e&&e[n]===t)return n}return-1},ca:function(t,r){var e=r.length,n=t.length,i=0;if("number"==typeof e)for(;i<e;i++)t[n]=r[i],n++;else for(;void 0!==r[i];)t[n]=r[i],n++,i++;return t.length=n,t},ha:function(t,e,n){var i,a=[];if(r.tr.na(t))for(var u=0,s=t.length;u<s;u++)null!==(i=e(t[u],u,n))&&(a[a.length]=i);else{var o=void 0;for(o in t)t.hasOwnProperty(o)&&null!==(i=e(t[o],o,n))&&(a[a.length]=i)}return a.concat([])},ar:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n,i,a,u,s,o,f=t[0]||{},y=1,c=t.length,h=!1;for("boolean"==typeof f&&(h=f,f=t[1]||{},y=2),"object"==typeof f||r.tr.aa(f)||(f={}),c===y&&(f=this,--y);y<c;y++)if(s=t[y],!r.tr.de(s))for(u in s)n=f[u],f!==(a=s[u])&&(i=r.tr.sa(a),h&&a&&(r.tr.ma(a)||i)?(o=i?n&&r.tr.sa(n)?n:[]:n&&r.tr.ma(n)?n:{},f[u]=r.tr.ar(h,o,a)):void 0!==a&&(f[u]=a));return f},Ma:function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e]);function n(){this.constructor=t}n.prototype=r.prototype,t.prototype=new n},da:function(t){return null!==t&&t===t.window},ma:function(t){if(!t||"object"!==r.tr.ua(t)||t.nodeType||r.tr.da(t))return!1;var e,n={}.hasOwnProperty;try{if(t.constructor&&!n.call(t,"constructor")&&!n.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||n.call(t,e)},na:function(t){if(r.tr.de(t))return!1;var e=t.length,n=r.tr.ua(t);return!r.tr.da(t)&&(!(1!==t.nodeType||!e)||"array"===n||"function"!==n&&(0===e||"number"==typeof e&&e>0&&e-1 in t))},la:function(t,e){var n=e||[];return null!==t&&(r.tr.na(Object(t))?r.tr.ca(n,"string"==typeof t?[t]:t):[].push.call(n,t)),n},va:null,de:function(t){return null==t},ba:null,Fa:null,ve:function(t){if(!t)return t;if("number"==typeof t||"string"==typeof t||"boolean"==typeof t||r.tr.de(t))return t;if(t.clone)return t.clone();if(t instanceof Date)return new Date(t.valueOf());var i,a,u;if(e&&t instanceof e)return new e([t],t.name,{type:t.type,lastModified:t.lastModified});if(n&&t instanceof n)return new n([t],{type:t.type});for(a in i=t instanceof Object?new t.constructor:new t.constructor(t.valueOf()),t)t.hasOwnProperty(a)&&(u=t[a],t.hasOwnProperty(a)&&i[a]!==u&&(i[a]="object"==typeof u?r.tr.ve(u):u));return i}}},612:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Exp_Separator=r.Exp_InvalidCast=r.Exp_InvalidNumberFormat=r.Exp_BadFormatSpecifier=r.Exp_InvalidNumberGroupSize=r.Exp_InvalidSemicolons=r.Exp_InvalidExponentFormat=r.Exp_InvalidDateFormat=void 0,r.Exp_InvalidDateFormat="Invalid date format pattern",r.Exp_InvalidExponentFormat="invalid exponent format",r.Exp_InvalidSemicolons="invalid format : too many semicolons",r.Exp_InvalidNumberGroupSize="NumberGroupSize must be between 1 and 9, except for the last element, which can be zero.",r.Exp_BadFormatSpecifier="Bad Format Specifier",r.Exp_InvalidNumberFormat="Invalid number format pattern",r.Exp_InvalidCast="InvalidCastException",r.Exp_Separator="numberDecimalSeparator, listSeparator and arrayListSeparator should be different in culture info."},479:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.UUIDGenerator=void 0;var e=function(){function t(){}return t.wrap=function(t){return"{".concat(t.toUpperCase(),"}")},t.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var r=16*Math.random()|0;return("x"===t?r:3&r|8).toString(16)}))},t.secureUUID=function(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():this.uuidv4()},t.secureUpperCaseUUID=function(){return this.wrap(this.secureUUID())},t.isValidUpperCaseUUID=function(t){return/^\{[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\}$/i.test(t)},t}();r.UUIDGenerator=e},814:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.UndoManager=r.CommandManager=r.Key=void 0;var n=e(536);Object.defineProperty(r,"Key",{enumerable:!0,get:function(){return n.Key}}),Object.defineProperty(r,"CommandManager",{enumerable:!0,get:function(){return n.CommandManager}});var i=e(748);Object.defineProperty(r,"UndoManager",{enumerable:!0,get:function(){return i.UndoManager}})},536:function(t,r){var e;Object.defineProperty(r,"t",{value:!0}),r.CommandManager=r.Key=void 0,function(t){t[t.left=37]="left",t[t.right=39]="right",t[t.up=38]="up",t[t.down=40]="down",t[t.tab=9]="tab",t[t.enter=13]="enter",t[t.shift=16]="shift",t[t.ctrl=17]="ctrl",t[t.space=32]="space",t[t.altkey=18]="altkey",t[t.home=36]="home",t[t.end=35]="end",t[t.pup=33]="pup",t[t.pdn=34]="pdn",t[t.backspace=8]="backspace",t[t.del=46]="del",t[t.esc=27]="esc",t[t.a=65]="a",t[t.c=67]="c",t[t.v=86]="v",t[t.x=88]="x",t[t.z=90]="z",t[t.y=89]="y"}(e=r.Key||(r.Key={}));var n=function(){function t(t,r,e){this.ga=t,this.pa=r,this._a=e;var n,i=this;Object.defineProperty(i,"shortcutKey",{get:function(){return i.Da},set:function(t){var r=i.Da;if(r!==t){var e=(n=i.ga.wa)[r];if(e){var a=e.indexOf(i);a>=0&&e.splice(a,1)}i.Da=t,t&&((e=n[t])||(n[t]=e=[]),e.splice(0,0,i))}}})}return t.prototype.canUndo=function(){return this.pa.canUndo},t.prototype.execute=function(t,r,e){var n,i,a=!0,u=!0;if(this.pa&&r){var s={command:r,result:i,Ha:e,actionType:e,metaData:null===(n=this.pa)||void 0===n?void 0:n.metaData,r:null,isBefore:!0};this.ga.$a(s),s.r&&(u=!1,i=!1)}if(u){try{a=!1!==(i=(this.pa.execute||this.pa)(t,r,1===e))}catch(t){a=!1}r&&a&&this.ga.ka({command:this.Sa(r),result:i,Ha:e,actionType:e})}if(this.ga&&r){var o={command:r,result:i,Ha:e,actionType:e,isBefore:!1};this.ga.$a(o)}return i},t.prototype.Sa=function(t){return t&&!t.cmd&&(t.cmd=this._a),t},t}(),i=function(){function t(t){this.Na=t,this._e={},this.Pa={},this.Ca={},this.wa={}}return t.prototype.register=function(t,r,e,i,a,u,s){var o=new n(this,r,t);this[t]=o,e&&(o.shortcutKey=this.getShortcutKey(e,i,a,u,s))},t.prototype.getCommand=function(t){return this[t]},t.prototype.execute=function(t){var r=this[t.cmd];if(r)return r.execute(this.Na,t,0)},t.prototype.setShortcutKey=function(t,r,e,n,i,a){if(t){var u=this[t];u&&(u.shortcutKey=this.getShortcutKey(r,e,n,i,a))}else{var s=this.getShortcutKey(r,e,n,i,a),o=this.getCommands(s);if(o)for(var f=o.length-1;f>=0;f--)o[f].shortcutKey=void 0}},t.prototype.getShortcutKey=function(t,r,n,i,a){if(t){var u=65<=t&&t<=90?String.fromCharCode(t):e[t];return u||(u=t),u+(r?"+ctrl":"")+(n?"+shift":"")+(i?"+alt":"")+(a?"+window":"")}},t.prototype.getCommands=function(t){return this.wa[t]},t.prototype.addListener=function(t,r){this._e[t]=r},t.prototype.removeListener=function(t){delete this._e[t]},t.prototype.ka=function(t){var r=this._e;for(var e in r)r.hasOwnProperty(e)&&r[e](t)},t.prototype.Oa=function(t,r){this.Pa[t]=r},t.prototype.xa=function(t){delete this.Pa[t]},t.prototype.$a=function(t){var r=this.Pa;for(var e in r)r.hasOwnProperty(e)&&r[e](t)},t.prototype.Ie=function(){this.Na=null},t}();r.CommandManager=i},748:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.UndoManager=void 0;var e=function(){function t(t,r,e){this.Na=t,r<0&&(r=2147483647),this.ja=r,this.Ea=e,this.Ta=[],this.Aa=[],this.Ra=!1}return t.prototype.Ba=function(t,r){if(t){if(1===r)this.Aa.push(t);else{var e=this.ja,n=this.Ta.length;if(e>0&&n>=e)for(var i=0;i<n-e+1;i++)this.Ta.shift();this.Ta.push(t),0===r&&(this.Aa=[])}this.Ra=!0}},t.prototype.canUndo=function(){return this.Ta.length>0},t.prototype.undo=function(){var t=this.Ta,r=!0;if(this.Ea&&this.canUndo()){var e=t[t.length-1];try{var n=this.Na.commandManager()[e.cmd];n&&(e.Ia=!0,r=n.execute(this.Na,e,1))}catch(t){r=!1}delete e.Ia,!1!==r&&(t.pop(),this.Ra=!0,this.Aa.push(e))}return r},t.prototype.canRedo=function(){return this.Aa.length>0},t.prototype.redo=function(){var t=this.Aa,r=!0;if(this.Ea&&this.canRedo()){var e=t[t.length-1];try{var n=this.Na.commandManager()[e.cmd];n&&(e.Ia=!0,r=n.execute(this.Na,e,2))}catch(t){r=!1}delete e.Ia,!1!==r&&(t.pop(),this.Ra=!0,this.Ta.push(e))}return r},t.prototype.getRedoStack=function(){return this.Aa.slice()},t.prototype.getUndoStack=function(){return this.Ta.slice()},t.prototype.maxSize=function(t){return arguments.length<1?this.ja:(t>=0&&(this.ja=t),this)},t.prototype.clear=function(){this.Ta=[],this.Aa=[]},t.prototype.za=function(t){this.Ta=this.Ta.filter(t),this.Aa=this.Aa.filter(t)},t.prototype.Ie=function(){this.Na=null},t.prototype.setNewChangeStatus=function(t){this.Ra=t},t.prototype.getNewChangeStatus=function(){return this.Ra},t}();r.UndoManager=e},569:function(t,r,e){var n=this&&this.A||(Object.create?function(t,r,e,n){void 0===n&&(n=e);var i=Object.getOwnPropertyDescriptor(r,e);i&&!("get"in i?!r.t:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,n,i)}:function(t,r,e,n){void 0===n&&(n=e),t[n]=r[e]}),i=this&&this.Gt||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||n(r,t,e)};Object.defineProperty(r,"t",{value:!0}),i(e(2),r)},498:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.Exp_InvalidCast=r.Exp_ValueIllegal=r.Exp_TokenIllegal=r.Exp_DuplicatedDescriptor=r.Exp_ValueIsNull=r.Exp_FormatIllegal=r.Exp_InvalidBackslash=r.Exp_TokenIsNull=void 0,r.Exp_TokenIsNull="token is null",r.Exp_InvalidBackslash="the '\\' cannot be evaluated",r.Exp_FormatIllegal="format is illegal.",r.Exp_ValueIsNull="value is null",r.Exp_DuplicatedDescriptor="The type of descriptor was added.",r.Exp_TokenIllegal="token is illegal.",r.Exp_ValueIllegal="value is illegal.",r.Exp_InvalidCast="InvalidCastException"},2:function(t,r,e){var n,i=this&&this.er||(n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])},n(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+r+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)});Object.defineProperty(r,"t",{value:!0}),r.GeneralFormatter=r.Ga=r.FormatterBase=void 0;var a=e(480),u=e(97),s=e(534),o=e(844),f=e(286),y=e(818),c=e(498),h=e(810),m=e(61);s.tr.ar(y.SR.en,c);var M=new y.ResourceManager(y.SR),d=M.getResource.bind(M);s.tr.va=function(t,r){if(s.tr.de(t))return"null"===r;if(!r)return!1;if(r instanceof Function&&t instanceof r)return!0;if(typeof t===r)return!0;if("function"===r&&/^\s*\bfunction\b/.test(""+t))return!0;if(Object.prototype.toString.call(t).slice(8,-1).toLowerCase()===r.toLowerCase())return!0;if("DateTime"===r)return t instanceof Date;if("TimeSpan"===r){if(t instanceof Date){var e=u.Qt.In(t);return e>=0&&e<1}return!1}return!1},s.tr.ba=function(t,r){return!!o.Zt.ci(t,r)&&("string"!=typeof t||-1===t.search(/[\r\n\t]/g))&&(t=o.Zt.yi(t,r),s.tr.va(t,"number")||s.tr.va(t,"DateTime")||s.tr.va(t,"TimeSpan")||t&&!s.tr.va(t,"boolean")&&!isNaN(t)&&!isNaN(parseFloat(t))&&!(t.length>=2&&"0"===t[0]&&"x"===t[1]))},s.tr.Fa=function(t){return s.tr.de(t)||""===t?0:s.tr.va(t,"number")?t:s.tr.va(t,"string")&&!isNaN(t)?o.Zt.Pn(t):s.tr.va(t,"boolean")?t?1:0:s.tr.va(t,"DateTime")?u.Qt.In(t):s.tr.va(t,"TimeSpan")?Math.floor(u.Qt.In(t)):parseFloat(t)};var l=null,v=Math.abs,b={Ja:"yy",Ua:"y",La:"yyyy",qa:"m",Ka:"mm",Wa:"mmm",Ya:"mmmm",Xa:"mmmmm",Za:"d",Qa:"dd",Va:"aaa",tu:"aaaa",ru:"h",eu:"hh",nu:"m",iu:"mm",au:"s",uu:"ss",Lr:"e",su:"AM/PM",ou:"A/P",fu:"@mmmmm",yu:new Date(1899,11,30,0,0,0,0)},F=[b.Ua,b.Ja,b.La,b.qa,b.Ka,b.Wa,b.Ya,b.Xa,b.Za,b.Qa,b.Va,b.tu,b.ru,b.eu,b.nu,b.iu,b.au,b.uu,"ggg","gg","g","ee","e"],g={cu:0,hu:1,mu:2,Mu:3},p=[{cu:0,hu:0,mu:0,Mu:0},{cu:0,hu:1,mu:0,Mu:0},{cu:0,hu:1,mu:2,Mu:0},{cu:0,hu:1,mu:2,Mu:3}],_=RegExp("([.+?*$^\\[\\](){}|/])","g"),D=[["M/d","MMM/d","MMMM/d","d/M","d/MMM","d/MMMM","M-d","MMM-d","MMMM-d","d-M","d-MMM","d-MMMM"],["M/y","MMM/y","M/yyyy","MMM/yyyy","M-y","MMM-y","M-yyyy","MMM-yyyy"],["M/d/y","MMM/d/y","MMMM/d/y","M/d/yyyy","MMM/d/yyyy","MMMM/d/yyyy","d/M/y","d/MMM/y","d/MMMM/y","d/M/yyyy","d/MMM/yyyy","d/MMMM/yyyy","yyyy/M/d","M-d-y","MMM-d-y","MMMM-d-y","M-d-yyyy","MMM-d-yyyy","MMMM-d-yyyy","d-M-y","d-MMM-y","d-MMMM-y","d-M-yyyy","d-MMM-yyyy","d-MMMM-yyyy","yyyy-M-d"],["H:m","h:m tt"],["H:m:s","H:m:s"],["H:m:s.FFF","h:m:s.FFF tt"],["h:m:s tt","h:mm:ss tt"],["M/d H:m","MMM/d H:m","MMMM/d H:m","d/M H:m","d/MMM H:m","d/MMMM H:m","M/y H:m","MMM/y H:m","M/yyyy H:m","MMM/yyyy H:m","M/d/y H:m","MMM/d/y H:m","MMMM/d/y H:m","M/d/yyyy H:m","MMM/d/yyyy H:m","MMMM/d/yyyy H:m","M-d H:m","MMM-d H:m","MMMM-d H:m","d-M H:m","d-MMM H:m","d-MMMM H:m","M-y H:m","MMM-y H:m","M-yyyy H:m","MMM-yyyy H:m","M-d-y H:m","MMM-d-y H:m","MMMM-d-y H:m","M-d-yyyy H:m","MMM-d-yyyy H:m","MMMM-d-yyyy H:m","M/d h:m tt","MMM/d h:m tt","MMMM/d h:m tt","d/M h:m tt","d/MMM h:m tt","d/MMMM h:m tt","M/y h:m tt","MMM/y h:m tt","M/yyyy h:m tt","MMM/yyyy h:m tt","M/d/y h:m tt","MMM/d/y h:m tt","MMMM/d/y h:m tt","M/d/yyyy h:m tt","MMM/d/yyyy h:m tt","MMMM/d/yyyy h:m tt","M-d h:m tt","MMM-d h:m tt","MMMM-d h:m tt","d-M h:m tt","d-MMM h:m tt","d-MMMM h:m tt","M-y h:m tt","MMM-y h:m tt","M-yyyy h:m tt","MMM-yyyy h:m tt","M-d-y h:m tt","MMM-d-y h:m tt","MMMM-d-y h:m tt","M-d-yyyy h:m tt","MMM-d-yyyy h:m tt","MMMM-d-yyyy h:m tt","d/M/y H:m","d/MMM/y H:m","d/MMMM/y H:m","d/M/yyyy H:m","d/mmm/yyyy H:m","d/MMMM/yyyy H:m","yyyy/M/d H:m","d-M-y H:m","d-MMM-y H:m","d-MMMM-y H:m","d-M-yyyy H:m","d-MMM-yyyy H:m","d-MMMM-yyyy H:m","yyyy-M-d H:m","d/M/y h:m tt","d/MMM/y h:m tt","d/MMMM/y h:m tt","d/M/yyyy h:m tt","d/mmm/yyyy h:m tt","d/MMMM/yyyy h:m tt","yyyy/M/d h:m tt","d-M-y h:m tt","d-MMM-y h:m tt","d-MMMM-y h:m tt","d-M-yyyy h:m tt","d-MMM-yyyy h:m tt","d-MMMM-yyyy h:m tt","yyyy-M-d h:m tt"],["M/d H:m:s","MMM/d H:m:s","MMMM/d H:m:s","d/M H:m:s","d/MMM H:m:s","d/MMMM H:m:s","M/y H:m:s","MMM/y H:m:s","M/yyyy H:m:s","MMM/yyyy H:m:s","M/d/y H:m:s","MMM/d/y H:m:s","MMMM/d/y H:m:s","M/d/yyyy H:m:s","MMM/d/yyyy H:m:s","MMMM/d/yyyy H:m:s","d/M/y H:m:s","d/MMM/y H:m:s","d/MMMM/y H:m:s","d/M/yyyy H:m:s","d/MMM/yyyy H:m:s","d/MMMM/yyyy H:m:s","yyyy/M/d H:m:s","M-d H:m:s","MMM-d H:m:s","MMMM-d H:m:s","d-M H:m:s","d-MMM H:m:s","d-MMMM H:m:s","M-y H:m:s","MMM-y H:m:s","M-yyyy H:m:s","MMM-yyyy H:m:s","M-d-y H:m:s","MMM-d-y H:m:s","MMMM-d-y H:m:s","M-d-yyyy H:m:s","MMM-d-yyyy H:m:s","MMMM-d-yyyy H:m:s","d-M-y H:m:s","d-MMM-y H:m:s","d-MMMM-y H:m:s","d-M-yyyy H:m:s","d-MMM-yyyy H:m:s","d-MMMM-yyyy H:m:s","yyyy-M-d H:m:s","M/d h:m:s tt","MMM/d h:m:s tt","MMMM/d h:m:s tt","d/M h:m:s tt","d/MMM h:m:s tt","d/MMMM h:m:s tt","M/y h:m:s tt","MMM/y h:m:s tt","M/yyyy h:m:s tt","MMM/yyyy h:m:s tt","M/d/y h:m:s tt","MMM/d/y h:m:s tt","MMMM/d/y h:m:s tt","M/d/yyyy h:m:s tt","MMM/d/yyyy h:m:s tt","MMMM/d/yyyy h:m:s tt","d/M/y h:m:s tt","d/MMM/y h:m:s tt","d/MMMM/y h:m:s tt","d/M/yyyy h:m:s tt","d/MMM/yyyy h:m:s tt","d/MMMM/yyyy h:m:s tt","yyyy/M/d h:m:s tt","M/d/yyyy h:mm:ss tt","M-d h:m:s tt","MMM-d h:m:s tt","MMMM-d h:m:s tt","d-M h:m:s tt","d-MMM h:m:s tt","d-MMMM h:m:s tt","M-y h:m:s tt","MMM-y h:m:s tt","M-yyyy h:m:s tt","MMM-yyyy h:m:s tt","M-d-y h:m:s tt","MMM-d-y h:m:s tt","MMMM-d-y h:m:s tt","M-d-yyyy h:m:s tt","MMM-d-yyyy h:m:s tt","MMMM-d-yyyy h:m:s tt","d-M-y h:m:s tt","d-MMM-y h:m:s tt","d-MMMM-y h:m:s tt","d-M-yyyy h:m:s tt","d-MMM-yyyy h:m:s tt","d-MMMM-yyyy h:m:s tt","yyyy-M-d h:m:s tt","M/d/yyyy H:m:s","M-d-yyyy H:m:s","M/d/yyyy h:m:s tt","M-d-yyyy H:m:s tt"],["M/d H:m:s.FFF","MMM/d H:m:s.FFF","MMMM/d H:m:s.FFF","d/M H:m:s.FFF","d/MMM H:m:s.FFF","d/MMMM H:m:s.FFF","M/y H:m:s.FFF","MMM/y H:m:s.FFF","M/yyyy H:m:s.FFF","MMM/yyyy H:m:s.FFF","M/d/y H:m:s.FFF","MMM/d/y H:m:s.FFF","MMMM/d/y H:m:s.FFF","MMM/d/yyyy H:m:s.FFF","MMMM/d/yyyy H:m:s.FFF","d/M/y H:m:s.FFF","d/MMM/y H:m:s.FFF","d/MMMM/y H:m:s.FFF","d/M/yyyy H:m:s.FFF","d/MMM/yyyy H:m:s.FFF","d/MMMM/yyyy H:m:s.FFF","yyyy/M/d H:m:s.FFF","M-d H:m:s.FFF","MMM-d H:m:s.FFF","MMMM-d H:m:s.FFF","d-M H:m:s.FFF","d-MMM H:m:s.FFF","d-MMMM H:m:s.FFF","M-y H:m:s.FFF","MMM-y H:m:s.FFF","M-yyyy H:m:s.FFF","MMM-Yyyy H:m:s.FFF","M-d-y H:m:s.FFF","MMM-d-y H:m:s.FFF","MMMM-d-y H:m:s.FFF","MMM-d-yyyy H:m:s.FFF","MMMM-d-yyyy H:m:s.FFF","D-M-y H:m:s.FFF","d-MMM-y H:m:s.FFF","d-MMMM-y H:m:s.FFF","D-M-yyyy H:m:s.FFF","d-MMM-yyyy H:m:s.FFF","d-MMMM-yyyy H:m:s.FFF","yyyy-M-d H:m:s.FFF","M/d h:m:s.FFF tt","MMM/d h:m:s.FFF tt","MMMM/d h:m:s.FFF tt","d/M h:m:s.FFF tt","d/MMM h:m:s.FFF tt","d/MMMM h:m:s.FFF tt","M/y h:m:s.FFF tt","MMM/y h:m:s.FFF tt","M/yyyy h:m:s.FFF tt","MMM/yyyy h:m:s.FFF tt","M/d/y h:m:s.FFF tt","MMM/d/y h:m:s.FFF tt","MMMM/d/y h:m:s.FFF tt","MMM/d/yyyy h:m:s.FFF tt","MMMM/d/yyyy h:m:s.FFF tt","d/M/y h:m:s.FFF tt","d/MMM/y h:m:s.FFF tt","d/MMMM/y h:m:s.FFF tt","d/M/yyyy h:m:s.FFF tt","d/MMM/yyyy h:m:s.FFF tt","d/MMMM/yyyy h:m:s.FFF tt","yyyy/M/d h:m:s.FFF tt","M-d h:m:s.FFF tt","MMM-d h:m:s.FFF tt","MMMM-d h:m:s.FFF tt","d-M h:m:s.FFF tt","d-MMM h:m:s.FFF tt","d-MMMM h:m:s.FFF tt","M-y h:m:s.FFF tt","MMM-y h:m:s.FFF tt","M-yyyy h:m:s.FFF tt","MMM-Yyyy h:m:s.FFF tt","M-d-y h:m:s.FFF tt","MMM-d-y h:m:s.FFF tt","MMMM-d-y h:m:s.FFF tt","MMM-d-yyyy H:m:s.FFF tt","MMMM-d-yyyy h:m:s.FFF tt","d-M-y h:m:s.FFF tt","d-MMM-y h:m:s.FFF tt","d-MMMM-y h:m:s.FFF tt","d-M-yyyy h:m:s.FFF tt","d-MMM-yyyy h:m:s.FFF tt","d-MMMM-yyyy h:m:s.FFF tt","yyyy-M-d h:m:s.FFF tt"]],w=["#000000","#FFFFFF","#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#800000","#008000","#000080","#808000","#800080","#008080","#C0C0C0","#808080","#9999FF","#993366","#FFFFCC","#CCFFFF","#660066","#FF8080","#0066CC","#CCCCFF","#000080","#FF00FF","#FFFF00","#00FFFF","#800080","#800000","#008080","#0000FF","#00CCFF","#CCFFFF","#CCFFCC","#FFFF99","#99CCFF","#FF99CC","#CC99FF","#FFCC99","#3366FF","#33CCCC","#99CC00","#FFCC00","#FF9900","#FF6600","#666699","#969696","#003366","#339966","#003300","#333300","#993300","#993366","#333399","#333333"],H=RegExp("color\\s*(\\d+)","i"),$=s.tr.va,k=s.tr.sa,S=o.Zt,N=S.bi+"."+S.Fi,P=S.li,C=S.Hn,O=S.Kn,x=s.tr.de,j=isNaN,E=function(t){return f.CultureManager.ce(t)},T=function(t){return E(t).DateTimeFormat},A=function(t){return E(t).NumberFormat},R=function(t){return t&&t.toLowerCase()},B=function(){throw Error(d().Exp_FormatIllegal)},I=function(){return f.CultureManager.booleanMapping},z={du:"",Yi:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(0===arguments.length)return l;for(var i=e[0],a=1;a<arguments.length;a++){var u=RegExp("\\{"+(a-1)+"\\}","gm");i=i.replace(u,arguments[a])}return i},lu:function(t){return!t||t===z.du}},G=function(t){var r=t.charCodeAt(0);return r>=48&&r<=57},J=function(t){var r=t.charCodeAt(0);return r>=9&&r<=13||32===r||133===r||160===r},U=function(){function t(t,r){ht.call(this,r);this.vu=t;var e=this.vu,n=ot(e[0],"$",!1),i=e.indexOf("-");if(!(n&&i>-1))throw Error(d().Exp_TokenIllegal);this.bu=tt(e,1,i-1),(e=a.Yt.Be(e,0,i+1)).length>0&&(this.Fu=parseInt(e,16))}return t.prototype.cultureInfo=function(){return this.gu||(this.gu=E(this.Fu)),this.gu},t.prototype.currencySymbol=function(){return this.bu?a.Yt.Li(this.bu,"\\.",'"."'):z.du},t.prototype.allowScience=function(){if(this.gu)return!this.gu.isJCKCulture},t.prototype.toString=function(){return this.vu?nt(this.vu):z.du},t.Name="LocaleIDFormatPart",t}(),L=function(){function t(t,r){this.formatCached=t,this.cultureName=r,this.typeName=""}return t.prototype.format=function(t,r){return l},t.prototype.parse=function(t){return l},t.prototype.formatString=function(t){return this.formatCached},t.prototype.toJSON=function(){var t={};for(var r in this)this.hasOwnProperty(r)&&(t[r]=this[r]);return t},t.prototype.fromJSON=function(t){if(t)for(var r in t)void 0!==t[r]&&(this[r]=t[r])},t}();r.FormatterBase=L;var q=function(){function t(t,r){ht.call(this,r);for(var e,n,i,u=this,s=["<=","<>",">=",">","<","="],o=0,f=s.length;o<f;o++)if(e=s[o],a.Yt.Tn(t,e,!0)){n=a.Yt.Be(t,0,e.length);var y=parseFloat(n);j(y)||(i=y);break}if(i===l&&void 0===i)throw Error(d().Exp_TokenIllegal);u.value=i,u.pu=e,u.isMeetCondition=function(t){var r=u.pu,e=u.value;switch(r){case"<=":return t<=e;case"<>":return t!==e;case">=":return t>=e;case">":return t>e;case"<":return t<e;case"=":return t===e}}}return t.prototype.toString=function(){return nt(this.pu+this.value.toString())},t}(),K=function(){function t(t,r){ht.call(this,r);if(this.token=t,this.type=parseInt(a.Yt.Be(t,0,5),10),this.type<0||this.type>4)throw Error(d().Exp_TokenIllegal)}return t.prototype._u=function(r,e,n){if(!r||r===z.du)return r;for(var i,u,s=r,o=r,f=-1,y=-1,c=!1,h=r.length-1;h>=0;h--){var m=o[h];!j(m)&&!ot(m," ",!1)||ot(m,".",!1)&&!c?(ot(m,".",!1)&&(c=!0),-1===f&&(f=h),y=h):y>-1&&f>-1&&(i=tt(o,y,f-y+1),j(parseFloat(i))||(u=t.numberString(i,e,n),s=a.Yt.Be(s,y,f-y+1),s=a.Yt.ze(s,y,u)),f=-1,y=-1,c=!1)}return y>-1&&f>-1&&(i=tt(o,y,f-y+1),j(parseFloat(i))||(u=t.numberString(i,e,n),s=a.Yt.Be(s,y,f-y+1),s=a.Yt.ze(s,y,u))),s},t.prototype.toString=function(){if(this.type>-1)return nt("DBNum"+this.type);throw Error()},t.numberString=function(r,e,n){var i=t.formatNumberString,a=r.split(".");if(a){if(1===a.length)return i(a[0],e.numbers,n?e.letters:l);if(2===a.length)return i(a[0],e.numbers,n?e.letters:l)+"."+i(a[1],e.numbers)}throw Error(d().Exp_ValueIllegal)},t.formatNumberString=function(r,e,n){var i,a=r,u=0,s=0;if(2===arguments.length){for(var o="";u<a.length;u++)i=tt(a,u,1),o+=e[s=parseInt(i,10)];return o}if(3===arguments.length){if(!n)return t.formatNumberString(r,e);for(var f=0,y="",c=a.length,h=!1,m=[];u<c;u++){var M=n.length-1-u;M>-1?m.push(n[M].toString()):m.push(z.du)}for(var d=[],l=m.length-1;l>=0;l--)d[m.length-l-1]=m[l];m=d;var v=!1;for(l=0;l<c;l++){i=tt(a,l,1),s=parseInt(i,10);var b=void 0,F=z.du;c-l-16>0?(b=e[s],F="",v=!0):l!==c-1&&l!==c-5&&l!==c-9&&l!==c-13?"0"===i?(b="",F="",f+=1):"0"!==i&&0!==f?(b=e[0]+e[s],F=m[l],f=0):(b=e[s],F=m[l],f=0):"0"!==i&&0!==f?(b=e[0]+e[s],F=m[l],f=0):"0"!==i&&0===f||v?(b=e[s],F=m[l],f=0,v=!1):"0"===i&&f>=3?(b="",F="",f+=1):c>=11?(b="",f+=1):(b="",F=m[l],f+=1),b+F===z.du||(h=!1),l!==c-13||h||(F=m[l],h=!0),l!==c-9||h||(F=m[l],h=!0),l===c-1&&(F=m[l],h=!0),y=y+b+F}return 0===parseInt(r,10)?e[0]:y}},t}(),W=function(){function t(t,r,e,n,i,a){ct.call(this,r,e,n,a);this.Du=this.wu(ft(t)),this.Hu=i,this.$u=2,this.ku()}return t.prototype.ku=function(){var r={wn:this.Du};if(t.Su(r.wn)){var e=this.Nu(r),n=T(this.cultureName).amDesignator&&T(this.cultureName).pmDesignator;if(this.hasJD=this.Li(r.wn,b.Xa,'"'+b.fu+'"',!0,!1,r,!1),this.Li(r.wn,b.Ya,"MMMM",!0,!1,r,!1),this.Li(r.wn,b.Wa,"MMM",!0,!1,r,!1),this.Pu(r.wn,r),this.Li(r.wn,b.Va,"ddd",!0,!0,r,!0),this.Li(r.wn,b.tu,"dddd",!0,!0,r,!0),e&&n||(this.Li(r.wn,b.ru,"H",!0,!0,r,!1),this.Li(r.wn,b.eu,"HH",!0,!0,r,!1)),this.Cu&&(this.Ou||E(this.cultureName).NumberFormat.dbNumber)&&(this.xu=this.xu||this.Li(r.wn,b.La,'"@'+b.La+'"',!0,!1,r,!0),this.xu=this.xu||this.Li(r.wn,b.Ja,'"@'+b.Ja+'"',!0,!1,r,!0)),this.Hu)for(var i=0;i<this.Hu.length;i++){var a=this.Hu[i];this.Li(r.wn,a.ju,"@"+a.ju,!0,!0,r,!0)}this.Eu=r.wn}else B()},t.prototype.formatString=function(){return this.Du},t.prototype.format=function(t){var r=z.du,e=l;try{if((e=u.Qt.zn(t))&&j(e.valueOf())&&(e=l),e?t=e:r=t.toString(),e){if(r=u.Qt.Hn(e,this.Eu,this.Ou&&this.Ou.cultureInfo()||E(this.cultureName),this.Tu),this.hasJD){var n=E(this.cultureName).DateTimeFormat.monthNames[e.getMonth()];r=a.Yt.Li(r,b.fu,tt(n,0,1))}if(this.Hu)for(var i=24*(u.Qt.In(e)-u.Qt.In(b.yu))*60*60*1e3,s=0;s<this.Hu.length;s++){var o=this.Hu[s],f=o.Au(i);if(!x(f)){var y=o.ju.replace("[","\\[").replace("]","\\]"),c=o.ju.replace("[","").replace("]",""),h=a.Yt.Dn(f+"",c.length);r=a.Yt.Li(r,"@"+y,h)}}}}catch(e){r=rt(t)}return function(t,r,e,n,i){var a=t;if(!x(n)&&r instanceof Date){var s=Mt(e,n.type,i);if(!s)return t;a=n._u(a,s,!0),1===n.type&&(a=a.replace(RegExp("一十","g"),"十")),a=(a=a.replace("@"+b.La,u.Qt.$n(r,b.La))).replace("@"+b.Ja,u.Qt.$n(r,b.Ja)),a=n._u(a,s,!1)}return a}(r,t,this.Ou,this.Cu,this.cultureName)},t.prototype.parse=function(t){if(!t||t===z.du)return l;var r=t,e=R(r);if("true"===e)return!0;if("false"===e)return!1;if(this.Eu){var n=u.Qt.Nn(r,this.Eu,E(this.cultureName));if(n)return n}try{var i=u.Qt.zn(r);return i&&!j(i)?i:j((i=new Date(r)).valueOf())?r:i}catch(t){return r}},t.prototype.wu=function(t){for(var r=t,e="",n=!1,i=0;i<r.length;i++){var a=r[i];if('"'===a)n=!n;else if(!n)if("Y"===a||"D"===a||"S"===a||"E"===a||"G"===a)a=R(a);else if("M"===a){var u=r[i-1];ot("A",u,!0)||ot("P",u,!0)||(a=R(a))}e+=a}return e},t.prototype.Nu=function(t){var r=T(this.cultureName).amDesignator,e=T(this.cultureName).pmDesignator,n=[b.su];r&&e?n.push(r+"/"+e):n.push(b.su),n.push(b.ou);for(var i=["tt","tt","t"],u=t.wn,s=0;s<3;s++){if(a.Yt.oe(u,i[s]))return!0;if(a.Yt.oe(u,n[s],!0))return t.wn=a.Yt.Li(u,n[s],i[s],!0),!0}return!1},t.prototype.Pu=function(t,r){for(var e=function(t){for(var r=[],e=!1,n=!1,i="",a=function(t,r){return{type:t,content:r}},u=function(t){return!x(t)&&-1!=="yYdDhHmMsSeE".indexOf(t)},s=function(e,n){if(u(e)){for(var i=e,s=t[n+1];u(s)&&s.toLowerCase()===e.toLowerCase()&&(i+=s,n<t.length-1);)n++,s=t[n+1];r.push(a("symbolic",i))}else"a"===e&&"aaa"===t.slice(n,n+3).toLowerCase()?(r.push(a("symbolic",t.slice(n,n+3))),n+=2):r.push(a("text",e));return n},o=0;o<t.length;o++){var f=t[o];if(e)r.push(a("text","\\"+f)),e=!1;else if(n&&'"'!==f)i+=f;else switch(f){case"\\":e=!0;break;case'"':n&&(r.push(a("text",'"'+i+'"')),i=""),n=!n;break;default:o=s(f,o)}}return r}(t),n=-1,i=-1,a=0;a<e.length;a++){var u=e[a];"symbolic"===u.type?"m"===u.content[0].toLowerCase()?n>=0?(u.content=u.content.toLowerCase(),n=-1):(u.content=u.content.toUpperCase(),i=a):"s"===u.content[0].toLowerCase()?i>=0&&(e[i].content=e[i].content.toLowerCase(),i=-1):"h"===u.content[0].toLowerCase()?(n=a,i=-1):i=-1:i>=0&&a>0&&"0"===u.content&&"."===e[a-1].content&&a===i+2&&(e[i].content=e[i].content.toLowerCase())}r.wn=e.map((function(t){return t.content})).join("")},t.prototype.Li=function(r,e,n,i,u,s,o){if(i||u){var f=[],y=!0;!t.hasDate(r)&&t.hasTime(r)&&(y=!1);for(var c=!1,h=0;h<r.length;h++){var m=r[h];if(t.hasTime(m)&&!c?y=!1:t.hasDate(m)&&!c&&(y=!0),i&&ot(m,e[0],o)&&y||u&&ot(m,e[0],o)&&!y){for(var M=!0,d=0;d<e.length;d++)if(d+h>=r.length||!ot(e[d],r[d+h],o)){M=!1;break}var l=h+e.length-1;if(M&&l+1<r.length){var v=r[l],b=-1;for(b=l+1;b<r.length&&ot(v,r[b],o);b++);b>l+1&&(h=b,M=!1)}M&&!c&&f.splice(0,0,h)}'"'===m&&(c=!c)}if(s.wn=r,f.length>0){for(h=0;h<f.length;h++){var F=f[h];s.wn=a.Yt.Be(s.wn,F,e.length),s.wn=a.Yt.ze(s.wn,F,n)}return!0}return!1}return!1},t.hasTime=function(t){return a.Yt.Je(t,b.ru[0],!0)>-1||a.Yt.Je(t,b.au[0],!0)>-1},t.hasDate=function(t){return a.Yt.Je(t,b.Ja[0],!0)>-1||a.Yt.Je(t,b.Za[0],!0)>-1},t.Su=function(t,r){return yt(t,r||F)},t}();r.Ga=W;var Y=function(){function t(t,r){ht.call(this,r);var e,n=R(t)[0];if("h"===n)e=3600;else if("m"===n)e=60;else{if("s"!==n)throw Error(d().Exp_TokenIllegal);e=1}this.Au=function(t){var r=t/1e3/e;return Math.abs(r-Math.round(r))<1e-6?Math.round(r):Math.floor(r)}}return t.Name="ABSTimeFormatPart",t}(),X=function(){function t(t,r){ht.call(this,r);var e=H.exec(t);if(null!==e){var n=Number(e[1]);(n-=1)>=0&&n<w.length&&(t=w[n])}this.foreColor=t}return t.prototype.toString=function(){return nt(this.foreColor)},t.Name="ColorFormatPart",t}(),Z=function(){function t(t,r,e,n){ct.call(this,r,e,n);this.Ru=!1,this.$u=1,this.Bu=it(t);var i=ft(t);if(r&&(i=ut(i,this.Ou.ju,this.Ou.currencySymbol())),(i=it(i)).indexOf("/")>-1){var a=function(t,r){var e=[];if(t===l||""===t)return e;var n,i,a=!1,u=[],s=!1;for(n=0;n<t.length;n++)'"'!==(i=t[n])||a||(s=!s),a||s||i!==r?u.push(i):(e.push(u.join("")),u=[]),a="\\"===i&&!a;return e.push(u.join("")),e}(i,"/");if(a&&2===a.length){this.Iu=a[1];var u=a[0];if(u){var s=u.lastIndexOf(" ");s>-1?(this.zu=tt(u,0,s),this.Gu=tt(u,s+1,u.length-s-1)):this.Gu=u}}}this.Ju=i}return t.prototype.formatString=function(){return this.Bu},t.prototype.format=function(r){if($(r,"boolean"))return r.toString().toUpperCase();var e=s.tr.Fa(r);if(j(e)||!isFinite(e)||j(r))return"string"==typeof r?r:l;var n,i,a,u,o,f=E(this.cultureName);if(this.Gu&&this.Iu){var y={value:0},c={value:0},h={value:0},m=this.Uu();if(t.getFraction(e,m,y,c,h)){var M=t.getGCD(c.value,h.value);if(M>1&&(c.value/=M,h.value/=M),this.zu){o="",1===h.value&&(y.value+=c.value,c.value=0,h.value=0);var d=P(C(y.value,this.zu,f));d&&"0"!==d&&(o+=d,o+=" "),0===y.value&&e<0&&(o+=f.NumberFormat.negativeSign),0===e&&(o+="0"),n=this.Iu,!j(i=parseFloat(n))&&i>0&&(0!==c.value&&0!==h.value&&(c.value*=i/h.value),h.value=i,n=n.replace(/^\d+/,t.toNumberPlaceholder(i)),u=(a=Math.ceil(c.value))-c.value,c.value=parseFloat(u<=.5&&u>=0?a.toString():""+(a-1)));var v=this.Gu,b=parseFloat(v);if(!j(b)&&0===b){var F=v.length,g=c.value.toString(),p=g.length;F>p?v=v.substr(0,F-(F-p)):F<p&&(g=g.substr(0,p-(p-F)),c.value=parseInt(g,10))}var _=this.Lu(c.value,h.value,v,n,f);return 0===c.value&&(_=_.replace(/./g," "),""===d)?"0 "+_:""===(o+=_)?"0":o}o="";var D=y.value*h.value+c.value;return n=this.Iu,(i=parseFloat(n))>0?(D*=i/h.value,h.value=i,o+=(D=parseFloat((u=(a=Math.ceil(D))-D)<=.5&&u>=0?a.toString():""+(a-1)))+"/"+h.value):o+=this.Lu(D,h.value,this.Gu,this.Iu,f),0===D?"0":o}return e.toString()}return function(t,r,e,n,i){if(!x(n)){var a=Mt(e,n.type,i);if(!x(a)){for(var u=!1,s=void 0,o=E(i),f=void 0,y=0,c=t.length;y<c;y++)"decimalSeparator"===t[y].type&&(u=!0,t[y].value=n._u(t[y].value,a,r),s=t[y].value),"number"===t[y].type&&(t[y].value=u?n._u(s+t[y].value,a,r).slice(1):n._u(t[y].value,a,r),"ja-JP"===o.name()&&t[y].value.length>1&&("一千"!==(f=t[y].value.substr(0,2))&&"一百"!==f&&"一十"!==f||(t[y].value=t[y].value.substr(1))));return t}}return t}(C(e,this.Ju,f),this.Ru,this.Ou,this.Cu,this.cultureName)},t.prototype.parse=function(t){if(!t||t===z.du)return l;var r=function(t){return t&&t.toUpperCase()}(t);if("TRUE"===r||r===I()&&I().boolean_true)return!0;if("FALSE"===r||r===I()&&I().boolean_false)return!1;var e="("===t.charAt(0)&&")"===t.charAt(t.length-1);e&&(t=t.substring(1,t.length-1));var n=this.Gu&&this.Iu,i=this.Ku(this.Ju).qu;if(n||i){var u=0;if(n&&this.zu){var s=(t=t.trim()).lastIndexOf(" ");0<s&&s<t.length-1&&(u=parseInt(t.substr(0,s),10),t=t.substr(s+1))}var o=t.indexOf("/");if(0<o&&o<t.length-1){var f=t.substr(0,o),y=t.substr(o+1);if(!j(f)&&!j(y)){var c=parseInt(f,10),h=parseInt(y,10);if(!j(c)&&!j(h)&&0!==h)return u+c/h}}}t=this.Wu(t),t=this.Yu(t);var m=this.Ku(t),M=m.qu,d=m.Xu;if(this.Zu(d)){d=a.Yt.qi(d,A(this.cultureName).numberGroupSeparator,"",!1);var b=S.hi(d,this.cultureName);if(!j(b)&&isFinite(b)){if(M&&(b=O(b/100,15)),e){if("-"===d.charAt(0)||"+"===d.charAt(0))return l;b=-1*v(b)}return b}}return l},t.prototype.Uu=function(){var t=this.Iu,r=0;if(t)for(var e=t.length,n=0;n<e&&t[n].match(/[#?\d]/);n++)r++;return r},t.prototype.Zu=function(t){for(var r="",e=0,n=0,i=0,a=l,u=A(this.cultureName),s=t.length-1;s>-1;s--){if(t[s]===u.numberDecimalSeparator)e++,i>0&&(a=!1),r="";else if("e"===R(t[s])){if(n++,r="",s===t.length-1)return!1}else if(t[s]===u.numberGroupSeparator)a=3===r.length,i++,r="";else if("-"===t[s]||"+"===t[s]){if(s>0&&"e"!==R(t[s-1]))return!1}else{if(!G(t[s]))return!1;if(r+=t[s],0===s&&0===parseInt(r,10)&&a)return!1}if(e>1||n>1||!1===a)return!1}return!0},t.prototype.Wu=function(t){for(var r=t,e=[],n=0;n<r.length;n++)G(r[n])&&e.push(n);for(var i=A(this.cultureName),u=[i.currencyDecimalSeparator,i.currencyGroupSeparator,i.currencySymbol,"$",i.nanSymbol,i.negativeInfinitySymbol,i.negativeSign,i.numberDecimalSeparator,i.numberGroupSeparator,i.percentDecimalSeparator,i.percentGroupSeparator,i.percentSymbol,i.perMilleSymbol,i.positiveInfinitySymbol,i.positiveSign],s=r.length-1;s>-1;s--){var o=r[s];if(J(o)&&u.indexOf(o.toString())<=-1)(s<e[0]||e[e.length-1]<s)&&(r=a.Yt.Be(r,s,1));else if("-"===o||"+"===o){var f=s>0?r[s-1].toString():l;if(["e","E","(",A(this.cultureName).currencySymbol,"$"].indexOf(f)<0)break}}return r},t.prototype.Yu=function(t){if(a.Yt.Tn(t,"$")){if((r=a.Yt.Be(t,0,1)).indexOf("$")<0)return r}else{var r,e=A(this.cultureName).currencySymbol;if("$"!==e&&a.Yt.Tn(t,e)&&(r=a.Yt.Be(t,0,e.length)).indexOf(e)<0)return r}return t},t.prototype.Ku=function(t){var r=A(this.cultureName).percentSymbol,e=!0,n=t;return a.Yt.Tn(t,r)?n=a.Yt.Be(t,0,r.length):a.Yt.oi(t,r)?n=a.Yt.Be(t,t.length-r.length,r.length):e=!1,a.Yt.oe(n,r)&&(e=!1),{Xu:n,qu:e}},t.prototype.Lu=function(t,r,e,n,i){var a=P(C(t,e,i)),u=P(C("0."+r,"#."+n,i,!0)),s=i&&i.NumberFormat&&i.NumberFormat.numberDecimalSeparator||".",o=a+"/"+u.substr(u.indexOf(s)+1);return""===e&&(o=t+o),""===n&&(o+=r),o},t.getGCD=function(t,r){if(0===t)return v(r);if(0===r)return v(t);for(var e=Math.max(t,r),n=Math.min(t,r),i=e%n;0!==i;)i=(e=n)%(n=i);return v(n)},t.getFraction=function(t,r,e,n,i){var a=0,u=0,s=0,o=0,f=Math.ceil;t>0?1==(o=t-f(t)+1)?(o=0,a=t):a=f(t)-1:t<0&&(a=f(t),o=f(t)-t);var y=Math.pow(10,r-1),c=Math.pow(10,r)-1;y<2&&(y=2),c<2&&(c=2);for(var h=!1,m=0,M=y;M<=c;M++){var d=Math.round(M*o),l=d/M,b=v(l-o);if((!h||b<v(m-o))&&(h=!0,m=l,u=d,s=M,b<1e-6))break}return e.value=a,n.value=u,i.value=s,h},t.toNumberPlaceholder=function(t){return t.toString().replace(/\d/g,"?")},t}(),Q=function(){function t(r,e,n,i){ct.call(this,e,n,i),arguments.length>0?(t.Qu(r)||B(),this.Bu=r):this.Bu="General",this.$u=0}return t.Qu=function(t){for(var r="",e=!1,n=-1,i=t.length,a=0;a<i;a++){var u=t[a];'"'===u?n=(e=!e)?a:-1:e||(r+=u)}return n>0&&(r+=t.substring(n,i)),!(r.indexOf("0")>=0||r.indexOf("#")>=0||r.indexOf(".")>=0||r.indexOf("@")>=0)},t.prototype.Vu=function(){if(!this.ts){var t=this.Bu;t=ut(t,"General",N),this.ts=new Z(t,this.Ou,this.Cu,this.cultureName),this.ts.Ru=!0}return this.ts},t.prototype.rs=function(){return this.es||(this.es=new Z("0.#####E+00",this.Ou,this.Cu,this.cultureName),this.es.Ru=!0),this.es},t.prototype.formatString=function(){return a.Yt.Li(this.Bu,"@NumberFormat","General")},t.prototype.format=function(t){if(s.tr.ba(t,this.cultureName)){var r=!this.Ou||this.Ou.allowScience(),e=s.tr.Fa(t);if(void 0!==e&&e!==l)return v(e)>99999999999&&r||v(e)<1e-11&&0!==e?this.rs().format(t):this.Vu().format(t)}else{if($(t,"string")){var n=a.Yt.Li(this.formatString(),'"',"");return n=st(n),t}if($(t,"boolean"))return t.toString().toUpperCase()}return""},t.prototype.parse=function(t){if(z.lu(t))return l;if("number"==typeof t)return t;var r=!1,e=t.trim(),n=a.Yt.Je(e,"-",!1);n>0&&!ot(e.charAt(n-1),"E",!0)&&(r=!0);var i,s=E(this.cultureName),o=s.DateTimeFormat,y=o.dateSeparator,c=o.timeSeparator,h=o.monthNames,m=o.abbreviatedMonthNames,M=function(t,r){if(!r||0===r.length)return!1;for(var e=!1,n=0,i=r.length;n<i;n++)if(a.Yt.oe(t,r[n],!0)){e=!0;break}return e};if(r||a.Yt.oe(e,y,!1)||a.Yt.oe(e,c,!1)||a.Yt.oe(e,"/",!1)||a.Yt.oe(e,":",!1)||a.Yt.oe(e,"-",!1)||a.Yt.oe(e,"年",!1)||a.Yt.oe(e,"月",!1)||a.Yt.oe(e,"日",!1)||M(e,h)||M(e,m)||"ja-JP"===s.name()&&f.nr.Cr.indexOf(e[0].toUpperCase())>=0&&a.Yt.oe(e,".",!1)){var d=u.Qt.Pn(e);if(d)return d}var b,F="-"===e.charAt(0);if(F||"+"===e.charAt(0)){if("("===(e=a.Yt.Be(e,0,1)).charAt(0)&&")"===e.charAt(e.length-1))return t}else if("("===e.charAt(0)&&")"===e.charAt(e.length-1)&&(b=!0,"-"===(e=(e=e.substring(1,e.length-1)).trim()).charAt(0)||"+"===e.charAt(0)))return t;return(i=this.Vu().parse(e))!==l&&void 0!==i?b&&$(i,"boolean")?t:(b||F)&&$(i,"number")?-1*v(i):i:t},t}(),V=function(){function t(t,r,e,n){ct.call(this,r,e,n);var i=ft(t,!1);r&&(i=ut(i,this.Ou.ju,this.Ou.currencySymbol())),i=st(i=it(i)),this.Du=i,this.$u=3}return t.prototype.format=function(t,r){try{var e;e=t instanceof Date?u.Qt.In(t).toString():rt(t);var n=this.ns(this.Du);return this.us(e,n.formatTokens,t,n.hasAtPart,r)}catch(t){return""}},t.prototype.parse=function(t){return t||""},t.prototype.formatString=function(){return this.Du},t.prototype.ns=function(t){for(var r,e=[],n=!1,i="",a=!1,u=l,s=0;s<t.length;s++)r=t.charAt(s),a?('"'!==r?i+=r:(i+=r,e.push(i),i="",a=!1),u=r):"*"!==u&&"_"!==u&&"\\"!==u||""===i?"*"!==r&&"_"!==r&&"\\"!==r?"@"!==r?'"'!==r?(i+=r,u=r):(u=r,""!==i&&e.push(i),i=r,a=!0):(u=r,""!==i&&(e.push(i),i=""),e.push(r),n=!0):(u=r,""!==i&&(e.push(i),i=""),i+=r):(i+=r,e.push(i),i="");return""!==i&&e.push(i),{formatTokens:e,hasAtPart:n}},t.prototype.us=function(t,r,e,n,i){var a=[],u=!1;if("string"!=typeof e||n||i)for(var s=r.length-1;s>=0;s--){var o=r[s];"*"===o[0]?u||(u=!0,a.push({type:"fillingChar",value:o[1]})):"_"===o[0]?a.push({type:"placeholder",value:o[1]}):'"'===o[0]&&'"'===o[o.length-1]?o.length>=2&&a.push({type:"text",value:o.substr(1,o.length-2)}):"\\@"===o?a.push({type:"text",value:"@"}):"@"===o[0]?a.push({type:"text",value:t}):a.push({type:"text",value:o})}else a.push({type:"text",value:e});return a.reverse()},t}();function tt(t,r,e){return t.substr(r,e)}function rt(t){return s.tr.de(t)?"":"boolean"==typeof t?t?"TRUE":"FALSE":"string"==typeof t?t:t.toString()}function et(t,r){if("\\"===t[r])throw Error(d().Exp_InvalidBackslash);if(r-1>0&&r-1<t.length&&"\\"===t[r-1]){if(r-2<0)return!0;if(r-2>0&&r-2<t.length)return"\\"!==t[r-2]}return!1}function nt(t){if(!t)throw Error(d().Exp_TokenIsNull);return"["+t+"]"}function it(t){if(void 0===t||t===l||""===t)return t;for(var r="",e=0,n=!1,i=0;i<t.length;i++){var a=t[i];'"'===a?(n=!n,r+=a):n?r+=a:"["===a?e++:"]"===a?--e<0&&(e=0):0===e&&(r+=a)}return r.toString()}function at(t){return t=ut(t,"[",""),ut(t,"]","")}function ut(t,r,e){return!t||t===z.du||ot(r,e,!0)?t:(r=r.replace(_,"\\$1"),t.replace(RegExp(r,"g"),e))}function st(t){for(var r=t.length,e=!1,n="",i=0;i<r;i++){var a=t.charAt(i);"\\"===a?(e=!e)&&"@"!==t.charAt(i+1)||(n+=a):(e=!1,n+=a)}return n}function ot(t,r,e){return e?R(t)===R(r):t===r}function ft(t,r){1===arguments.length&&(r=!0);for(var e=!1,n="",i=0;i<t.length;i++){var a=t[i];if('"'===a)e=!e;else if(!e&&!r&&"/"===a&&!et(t,i))continue;n+=a}return n}function yt(t,r){if(!t||t===z.du)return!1;for(var e=function(t){for(var r="",e=!1,n=0,i=t.length;n<i;n++){var a=t[n];'"'===a&&(e=!e),"E"===a||e||(r+=R(a))}return r}(ft(t)),n=0;n<r.length;n++){var i=e.indexOf(r[n]);if(0===i||i>0&&"_"!==e[i-1]&&"*"!==e[i-1])return!0}return!1}function ct(t,r,e,n){this.Ou=t,this.Cu=r,this.cultureName=e,this.Tu=n}function ht(t){this.ju=t}function mt(t){var r,e=at(t);if(!e||e===z.du)return r;var n=e[0];return["<",">","="].indexOf(n)>-1?(r=q).Name="ConditionalFormatPart":a.Yt.Tn(e,"DBNum",!0)?(r=K).Name="DBNumberFormatPart":ot(e[0],"$",!1)&&e.indexOf("-")>-1?(r=U).Name="LocaleIDFormatPart":function(t){var r=R(t),e=r[0];if("h"!==e&&"m"!==e&&"s"!==e)return!1;for(var n=1;n<r.length;n++)if(e!==r[n])return!1;return!0}(e)?(r=Y).Name="ABSTimeFormatPart":e.indexOf("$")<0&&e.length>=3&&((r=X).Name="ColorFormatPart"),r}function Mt(t,r,e){var n;if(n=t?t.cultureInfo():E(e),r<4||4===r&&("ko-kr"===e||"ko-kr"===n.name())){var i=n.NumberFormat.dbNumber;if(i)return i[r]}return l}var dt=function(){function t(t,r){0===arguments.length?(this.formatCached="General",this.ss=new Q):this.ku(t,r)}return t.prototype.ku=function(r,e){r!==l&&void 0!==r||B();var n=r;this.formatCached=r;for(var i="",a="",u=!1,s=!1,o=!1,y=[],c=0;c<r.length;c++){var h=r[c];if('"'===h)s=!s,a+=h;else if(s)a+=h;else if("["===h)u&&B(),a&&(i||(i=""),i+=a),a=h.toString(),u=!0;else if("]"===h){if(u||B(),a){var m=(a+=h).toString(),M=mt(a.toString());if(M)"ABSTimeFormatPart"===M.Name?(y.push(new M(t.preProcessPart(m),m)),i+=a):m===f.nr.eraExcelFormatter?(this.addPart(M,f.nr.eraInternalFormatter),o=!0):this.addPart(M,m);else{var d=t.partToNormalStr(m);i+=d,n=ut(r,m,d)}a=""}else B();u=!1}else a+=h}a?u?B():i+=a:i||(i=this.os()),this.localeIDFormatPart&&(e=this.localeIDFormatPart.cultureInfo().name());var v=function(t,r){var e,n=!1;return yt(t=t?t.toString():z.du,["general"])?e=Q:W.Su(t)?e=W:yt(t,["E+","E-","#",".",",","%","0","/","?"])||r?(n=!0,e=Z):(n=!0,e=V),{fs:n,ys:e}}(i,this.conditionalFormatPart),b=v.ys,F=v.fs?n:i;b?this.ss=new b(F,this.localeIDFormatPart,this.dbNumberFormatPart,e,y.length>0?y:l,o):B()},t.prototype.os=function(){var r=this,e="";return r.dbNumberFormatPart&&(t.proNames.some((function(t){return"dbNumberFormatPart"!==t&&r[t]}))||(e="General")),e},t.prototype.formatString=function(){for(var r="",e=0,n=t.proNames.length;e<n;e++){var i=t.proNames[e];this[i]&&(r+=this[i].toString())}return r+this.ss.formatString()},t.prototype.addPart=function(r,e){for(var n=t.proNames,i=t.preProcessPart(e),a=0,u=n.length;a<u;a++){var s=n[a];if(ot(s,r.Name,!0)){if(this[s])throw Error(d().Exp_DuplicatedDescriptor);this[s]=new r(i,e)}}},t.prototype.format=function(t,r){return this.ss.format(t,r)},t.prototype.parse=function(t){return this.ss.parse(t)},t.checkFormatter=function(t){if(!t||t===z.du)throw Error(d().Exp_TokenIllegal)},t.preProcessPart=function(r){t.checkFormatter(r);var e=at(r);return t.checkFormatter(e),e},t.partToNormalStr=function(r){var e=t.preProcessPart(r);return"$"===e[0]&&(e=e.slice(1)),'"'+e+'"'},t.proNames=["colorFormatPart","conditionalFormatPart","dbNumberFormatPart","localeIDFormatPart"],t}(),lt=function(t){function r(r,e){var n=t.call(this,r,e)||this,i=n;return i.cs=!0,i.PropertyChanged=[],z.lu(r)&&(r="General"),i.formatCached=r,i.cultureName=e,i.init(),n}return i(r,t),r.prototype.toJSON=function(){var t={formatCached:this.formatCached};return this.cultureName&&(t.customerCultureName=this.cultureName),"general"===R(this.formatCached)&&delete t.formatCached,t},r.prototype.hasFormattedColor=function(){for(var t in g)if(g.hasOwnProperty(t)){var r=this.getFormatter(g[t]);if(r&&r.colorFormatPart)return!0}return!1},r.prototype.formatString=function(t){if(0===arguments.length){for(var r=z.du,e=0,n=this.formatters.length;e<n;e++){r+=this.formatters[e].formatString(),e!==n-1&&(r+=";")}return r}if(!t)throw Error(d().Exp_ValueIsNull);return this.formatters=l,this.formatCached=t,this.init(),this.hs("formatString"),this},r.prototype.getFormatter=function(t){return this.formatters&&this.formatters[t]},r.prototype.getPreferredEditingFormatter=function(t){var e,n=T(this.cultureName),i=A(this.cultureName),a=r.defFormatter;if($(t,"TimeSpan"))return a(n.longTimePattern);if($(t,"DateTime")){var u=0===t.getHours()&&0===t.getMinutes()&&0===t.getSeconds()&&0===t.getMilliseconds()?"":" h:mm:ss";return a(n.shortDatePattern+u)}if(s.tr.ba(t,this.cultureName)){var o=s.tr.Fa(t);return a(o>=1e21||o<=1e-17&&o>0||o<=-1e21||o<0&&o>=-1e-17?null!==(e=i.scientificNotation)&&void 0!==e?e:"0.##############E+00":N)}return a("General")},r.prototype.getPreferredDisplayFormatter=function(t,e){var n=r.defFormatter;if(e||(e={value:l}),e.value=l,z.lu(t))return new r;var i=t,o=e.value=this.parse(i);if($(o,"DateTime")||$(o,"TimeSpan")){var f={pattern:D,formatter:["d-mmm","mmm-yy",T().shortDatePattern,"h:mm","h:mm:ss","h:mm:ss.0","h:mm:ss tt",T().shortDatePattern+" h:mm",T().shortDatePattern+" h:mm:ss",T().shortDatePattern+" h:mm:ss.0"]},y=f.pattern,c=f.formatter,h=E(this.cultureName),m=h.DateTimeFormat,M=m.preselectedFormatters;if(M.length>0&&(y=y.concat([M]),c=c.concat([M[0]])),"ja-JP"===h.name()){y=y.concat([m.eraFormatter]),c=c.concat(["ge.M.d"]);var d=h.mr.filter((function(t){return"ggge"===t.substr(0,4)}));y=y.concat([d]),c=c.concat(['ggge"年"M"月"d"日']);var v=h.mr.filter((function(t){return"gge"===t.substr(0,3)}));y=y.concat([v]),c=c.concat(['gge"年"M"月"d"日']);var b=h.mr.filter((function(t){return"ge"===t.substr(0,2)}));y=y.concat([b]),c=c.concat(['ge"年"M"月"d"日'])}for(var F=0;F<y.length;F++)for(var g=y[F],p=0;p<g.length;p++){var _=g[p],w=u.Qt.Pn(t,_);if(w&&w-o==0)return new r(c[F])}}else if(s.tr.ba(o,this.cultureName)){var H=A(this.cultureName),k=H.currencySymbol,S=H.numberDecimalSeparator,N=H.percentSymbol,P=H.numberGroupSeparator,C=a.Yt.oe,O=C(i,S)?".00":"";if(i[0]===k)return n(z.Yi("{0}#,##0{1};[Red]({0}#,##0{1})",k,O));if(C(i,"E",!0))return n("0.00E+00");if(i[0].toString()===N||i[i.length-1].toString()===N)return n(z.Yi("0{0}%",O));if(C(i,P))return n(z.Yi("#,##0{0}",O))}return n("General")},r.prototype.format=function(t,r){if($(t,"boolean"))return I()&&(t=t?I().boolean_true:I().boolean_false),t.toString().toUpperCase();var e,n=0,i=this.Ms(t);if(i){var a=i.colorFormatPart;r&&a&&(r.conditionalForeColor=r.value=a.foreColor),(e=s.tr.ba(t,this.cultureName))&&(n=s.tr.Fa(t));var u=z.du;try{if(e&&i===this.getFormatter(g.hu)&&0!==this.expressionNumber)(u=i.format(i.considerNegSymbol?n:v(n)))===l&&$(t,"string")&&(u=t);else if(void 0===(u=i.value)){var o=!this.cs&&i===this.getFormatter(g.Mu);u=i.format(t,e||o)}r&&(r.content=k(u)?u:[{type:"text",value:u}]),k(u)&&(u=S.li(u))}catch(r){$(t,"string")&&(u=t.toString())}return u}return e&&n<0?"-":$(t,"string")?t.toString():void 0===t||t===l?z.du:t.toString()},r.prototype.parse=function(t){return this.formatters&&this.formatters.length>0?this.formatters[0].parse(t):l},r.prototype.init=function(){var t=this.formatCached;z.lu(t)&&B(),this.formatters=[];var r=function(t){for(var r=[],e=0,n=0,i=t.length,a=0;a<i;a++)"_"===t[a]?e++:(";"!==t[a]||0!==e&&e%2!=0||(r.push(t.substring(n,a)),n=a+1),e=0);return n<=i&&r.push(t.substring(n,i)),r}(t);this.cs=1===r.length,(!r||r.length<1||r.length>4)&&B();for(var e=0;e<r.length;e++){-1!==r[e].indexOf("@")&&-1===r[e].indexOf("\\@")&&(e!==r.length-1?B():this.hasAt=!0);var n=new dt(r[e],this.cultureName);this.formatters.push(n)}this.getFormatter(g.cu)||B(),this.ds()},r.prototype.ds=function(){this.expressionNumber=this.formatters.length-(this.hasAt?1:0);var t=(0===this.expressionNumber?1:this.expressionNumber)-1;g=s.tr.ar({},p[t]),this.hasAt&&0!==this.expressionNumber&&(g.Mu=this.formatters.length-1)},r.prototype.Ms=function(t){this.ds();var r=this.getFormatter(g.cu),e=r&&r.conditionalFormatPart,n=this.getFormatter(g.Mu);if(e&&(g.mu=2,this.hasAt||(g.Mu=3)),"string"==typeof t&&j(t))return n||(e?t:r);if(s.tr.ba(t,this.cultureName)||$(t,"boolean")){var i=this.getFormatter(g.hu),a=this.getFormatter(g.mu),u=s.tr.Fa(t),o=e&&r.conditionalFormatPart.isMeetCondition(u),f=i&&i.conditionalFormatPart,y=f&&i.conditionalFormatPart.isMeetCondition(u),c=void 0;if(this.cs||(e?o:u>0||0===u&&!a))c=r;else if(f?y:u<0)c=i;else if(a)c=a;else if(i){if(e&&f)return{value:u+""};c=i}return c&&(!e||f||c!==i||a||(c.considerNegSymbol=!0),e&&f&&c===i&&i.conditionalFormatPart&&i.conditionalFormatPart.isMeetCondition(1e-10)&&(c.considerNegSymbol=!0),this.expressionNumber<=1&&(c.considerNegSymbol=!0)),c}return l},r.prototype.hs=function(t){if(this.PropertyChanged)for(var r=0;r<this.PropertyChanged.length;r++){var e=this.PropertyChanged[r];"function"==typeof e&&e(this,t)}},r.defFormatter=function(t){var e=r[t];return e||(e=new r(t),r[t]=e),e},r.test=function(t){var r=!0;try{var e=new h.Lexer(t);new m.Parser(e).parse()}catch(t){r=!1}return r},r}(L);r.GeneralFormatter=lt},826:function(t,r){Object.defineProperty(r,"t",{value:!0}),r.throwError=r.BACKSLASH=r.UNDERLINE=r.ASTERISK=r.DOUBLE_QUOTE=r.SEMICOLON=void 0,r.SEMICOLON=";",r.DOUBLE_QUOTE='"',r.ASTERISK="*",r.UNDERLINE="_",r.BACKSLASH="\\";r.throwError=function(){throw Error("Invalid Number Format")}},810:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Lexer=void 0;var n=e(826),i=function(t){return!!["0","#","?",".","%",",","/",n.BACKSLASH,n.ASTERISK,n.UNDERLINE,"@"].find((function(r){return r===t}))},a=function(t){return[n.BACKSLASH,n.ASTERISK,n.UNDERLINE].find((function(r){return r===t}))},u=function(t,r){return{type:t,value:r}},s=function(){function t(t){this.ls=[],this.vs=t,this.bs()}return t.prototype.bs=function(){for(var t=0,r=this.vs;t<r.length;t++){var e=r[t];if(i(e)){if(a(e)){this.ls.push(u("symbol",e)),t<r.length-1&&(this.ls.push(u("char",r[t+1])),t++);continue}this.ls.push(u("symbol",e))}else if(e!==n.SEMICOLON){if(e===n.DOUBLE_QUOTE){var s=r.slice(t+1).search(n.DOUBLE_QUOTE);if(-1!==s){s=s+t+1,this.ls.push(u("text",r.slice(t+1,s))),t=s;continue}(0,n.throwError)()}this.ls.push(u("char",e))}else this.ls.push(u("semicolon",e))}this.ls.push(u("EOF",""))},t.prototype.Fs=function(){return this.ls.shift()},t}();r.Lexer=s},61:function(t,r,e){Object.defineProperty(r,"t",{value:!0}),r.Parser=void 0;var n=e(826),i=function(){function t(t){this.gs=t,this.ps=t.Fs()}return t.prototype._s=function(t){this.ps.type===t?this.ps=this.gs.Fs():(0,n.throwError)()},t.prototype.parse=function(){for(var t=[];"EOF"!==this.ps.type;)t.push(this.Ds()),t.length>4&&(0,n.throwError)();return{type:"numberFormat",body:t}},t.prototype.Ds=function(){for(var t=[];"semicolon"!==this.ps.type&&"EOF"!==this.ps.type;){"symbol"===this.ps.type?t.push(this.ws()):t.push(this.Hs())}return"semicolon"===this.ps.type&&this._s("semicolon"),{type:"formatPart",body:t}},t.prototype.ws=function(){var t,r=this.ps.value;return r===n.ASTERISK?(this._s("symbol"),t={type:"asterisk",body:this.ps.value},this._s("char")):r===n.BACKSLASH?(this._s("symbol"),t={type:"char",body:this.ps.value},this._s("char")):r===n.UNDERLINE?(this._s("symbol"),t={type:"underline",body:this.ps.value},this._s("char")):(t={type:"symbol",body:this.ps.value},this._s("symbol")),t},t.prototype.Hs=function(){var t,r=this.ps.type;return"char"===r?(t={type:"char",body:this.ps.value},this._s("char")):"text"===r&&(t={type:"text",body:this.ps.value},this._s("text")),t},t}();r.Parser=i},736:function(t){t.exports=canvas}},e={};function n(t){var i=e[t];if(void 0!==i)return i.exports;var a=e[t]={exports:{}};return r[t].call(a.exports,a,a.exports,n),a.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}();var i={};!function(){var t=i;Object.defineProperty(t,"t",{value:!0}),t.Formatter=t.Commands=t.Common=void 0;var r=n(38);t.Common=r;var e=n(814);t.Commands=e;var a=n(569);t.Formatter=a}(),(t=void 0===t?{}:t).Spread=i}()}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var a=r[n]={exports:{}};return t[n].call(a.exports,a,a.exports,e),a.exports}var n={};return(()=>{"use strict";var t=n;Object.defineProperty(t,"t",{value:!0}),t.Middleware=t.LoggerManager=t.Connection=t.Server=void 0,e(826),e(271);const r=e(692);Object.defineProperty(t,"Server",{enumerable:!0,get:function(){return r.Server}});const i=e(42);Object.defineProperty(t,"Connection",{enumerable:!0,get:function(){return i.Connection}});const a=e(884);Object.defineProperty(t,"LoggerManager",{enumerable:!0,get:function(){return a.LoggerManager}}),Object.defineProperty(t,"Middleware",{enumerable:!0,get:function(){return a.Middleware}}),e(729)})(),n})()));