hlrender 0.0.166 → 0.0.167

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/{_pdf-30e94bac.js → _pdf-9ea8339c.js} +7 -7
  2. package/{_txt-fc349928.js → _txt-bc86b0a5.js} +7 -7
  3. package/{affix-widget-04e965e9.js → affix-widget-969ae45a.js} +10 -10
  4. package/{alert-widget-5798b846.js → alert-widget-fb5091ac.js} +10 -10
  5. package/{anchor-widget-691b2694.js → anchor-widget-f6da1b55.js} +7 -7
  6. package/{auto-complete-widget-38c7f506.js → auto-complete-widget-b92f677d.js} +9 -9
  7. package/{avatar-widget-fab8eccc.js → avatar-widget-26f4a694.js} +10 -10
  8. package/{backtop-widget-06e431d4.js → backtop-widget-a5411161.js} +10 -10
  9. package/{badge-widget-1e2f6cb2.js → badge-widget-73f8f246.js} +10 -10
  10. package/{barcode-widget-8a236767.js → barcode-widget-1b24eeb9.js} +7 -7
  11. package/{baseImp-fdfd665b.js → baseImp-21f8c6bb.js} +2 -2
  12. package/{breadcrumb-widget-0887e026.js → breadcrumb-widget-66eff4de.js} +7 -7
  13. package/{button-widget-3bb53e7e.js → button-widget-ce6a053a.js} +10 -10
  14. package/{cache-widget-3c1273a9.js → cache-widget-96d3fa36.js} +8 -8
  15. package/{card-widget-83ae831c.js → card-widget-52166dd6.js} +8 -8
  16. package/{carousel-widget-22a1de9b.js → carousel-widget-118d0d1d.js} +8 -8
  17. package/{cascader-widget-c19a69af.js → cascader-widget-4af4caa0.js} +8 -8
  18. package/{chart-widget-18bc02a2.js → chart-widget-321e858d.js} +7 -7
  19. package/{checkbox-widget-b84516c3.js → checkbox-widget-bb3e230c.js} +8 -8
  20. package/{collapse-widget-aa805223.js → collapse-widget-ea5a220a.js} +8 -8
  21. package/{color-picker-widget-caef44a7.js → color-picker-widget-7a3bd412.js} +8 -8
  22. package/{cont-cell-widget-86a37c1a.js → cont-cell-widget-aabfcc20.js} +1 -1
  23. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a6a95456.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-11475a23.js} +5 -5
  24. package/{cont-widget-ba43f9b7.js → cont-widget-ca487f98.js} +5 -5
  25. package/{content-wrapper-41b3afce.js → content-wrapper-b80d77ed.js} +3 -3
  26. package/{content-wrapper.vue_vue_type_script_setup_true_lang-5383d2db.js → content-wrapper.vue_vue_type_script_setup_true_lang-f425491a.js} +2 -2
  27. package/{date-picker-range-widget-985f52ae.js → date-picker-range-widget-3b0266e5.js} +8 -8
  28. package/{date-picker-widget-da96a88f.js → date-picker-widget-7478d7ed.js} +8 -8
  29. package/{default-slot-widget-dc127d22.js → default-slot-widget-d965f7a5.js} +8 -8
  30. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e249fd6c.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-3faf2bb7.js} +5 -5
  31. package/{descriptions-widget-fc0305fe.js → descriptions-widget-3b69c918.js} +8 -8
  32. package/{dialog-widget-41e1ae0f.js → dialog-widget-e2eaaeeb.js} +9 -9
  33. package/{divider-widget-d506f724.js → divider-widget-b1570d82.js} +10 -10
  34. package/{drag-wrapper-41b59bcb.js → drag-wrapper-0592b608.js} +5 -5
  35. package/{drawer-widget-7e621600.js → drawer-widget-6b7e05e2.js} +9 -9
  36. package/{dropdown-widget-80a45901.js → dropdown-widget-d9d5247f.js} +8 -8
  37. package/{empty-widget-d3f81fb7.js → empty-widget-e37c7a2e.js} +10 -10
  38. package/{expression-360ca7b2.js → expression-55004e7d.js} +322 -320
  39. package/{feedback-widget-c005dad5.js → feedback-widget-5cada116.js} +9 -9
  40. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-26c22df3.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-a29cfb30.js} +5 -5
  41. package/{file-upload-widget-309d8972.js → file-upload-widget-776dd0f1.js} +12 -12
  42. package/{form-item-wrapper-cd42380b.js → form-item-wrapper-5798a2f2.js} +4 -4
  43. package/{form-widget-4796b836.js → form-widget-04451e7a.js} +8 -8
  44. package/{grid-col-widget-b2fd3bfe.js → grid-col-widget-6f9f26e2.js} +1 -1
  45. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3e7f8a17.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-dd12568e.js} +5 -5
  46. package/{grid-widget-c1cf3c0b.js → grid-widget-3068acf1.js} +5 -5
  47. package/{html-text-widget-5748fe74.js → html-text-widget-6b822c94.js} +8 -8
  48. package/{icon-widget-573b215f.js → icon-widget-81043acc.js} +7 -7
  49. package/{iframe-widget-a4cbb575.js → iframe-widget-e3c9751f.js} +7 -7
  50. package/{image-widget-8e5783ef.js → image-widget-ca4f9805.js} +7 -7
  51. package/{index-e5cbfd73.js → index-d29f8d07.js} +2 -2
  52. package/{input-number-widget-29e0bf32.js → input-number-widget-e15600fa.js} +8 -8
  53. package/{input-widget-3f60e0bc.js → input-widget-c77db88b.js} +9 -9
  54. package/{link-widget-f6c3386b.js → link-widget-5943139e.js} +10 -10
  55. package/{ltable-col-widget-11242efe.js → ltable-col-widget-e1ddc5a6.js} +1 -1
  56. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-47819ab7.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-4ad12c00.js} +7 -7
  57. package/{ltable-widget-1fb79edd.js → ltable-widget-089a8f7d.js} +5 -5
  58. package/{menu-widget-34a7c5b2.js → menu-widget-765e5e9f.js} +8 -8
  59. package/{model-widget-f89e4488.js → model-widget-1e886b80.js} +7 -7
  60. package/{multirow-7d15d536.js → multirow-5c62bfcd.js} +4 -4
  61. package/{multirow-widget-94fef599.js → multirow-widget-8179fe3f.js} +8 -8
  62. package/package.json +1 -1
  63. package/{pagination-widget-4d4ba564.js → pagination-widget-187e39e6.js} +7 -7
  64. package/{picture-upload-widget-31524330.js → picture-upload-widget-078e63f4.js} +9 -9
  65. package/{progress-widget-a07ce189.js → progress-widget-5cb6ff8c.js} +8 -8
  66. package/{propresult-5f59b002.js → propresult-8672bbef.js} +1 -1
  67. package/{qrcode-widget-14ff3ae1.js → qrcode-widget-be321bf0.js} +7 -7
  68. package/{radio-widget-66837f8b.js → radio-widget-169320ad.js} +8 -8
  69. package/{range-widget-29dc84a7.js → range-widget-a67c05a8.js} +9 -9
  70. package/{rate-widget-9c183f6d.js → rate-widget-3f193a97.js} +8 -8
  71. package/render.es.js +25 -25
  72. package/render.umd.js +2 -2
  73. package/{result-widget-36443a0e.js → result-widget-2b558453.js} +8 -8
  74. package/{rich-editor-widget-a4578bf4.js → rich-editor-widget-7c949bbe.js} +8 -8
  75. package/{router-widget-45fe053a.js → router-widget-54ec8378.js} +7 -7
  76. package/{select-widget-37f255e3.js → select-widget-33b544b1.js} +8 -8
  77. package/{sfc-a33dd6bb.js → sfc-770bc994.js} +4 -4
  78. package/{sfcview-f4137ace.js → sfcview-de8133c6.js} +3 -3
  79. package/{share-field-8fd11dcd.js → share-field-f9c329ab.js} +5 -5
  80. package/{share-file-d729146e.js → share-file-99616c95.js} +3 -3
  81. package/{slider-widget-913fb89b.js → slider-widget-b651ad7c.js} +8 -8
  82. package/{slot-41affdaf.js → slot-c00f60c3.js} +2 -2
  83. package/{static-text-widget-459420f8.js → static-text-widget-fe170e3a.js} +8 -8
  84. package/{steps-widget-266241d7.js → steps-widget-337b2578.js} +7 -7
  85. package/{subMenu-widget-33e45601.js → subMenu-widget-d3188060.js} +3 -3
  86. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-eca57f0e.js → subMenu-widget.vue_vue_type_script_setup_true_lang-c9e41420.js} +1 -1
  87. package/{switch-widget-d4db6b3b.js → switch-widget-bda8267f.js} +8 -8
  88. package/{tab-pane-widget-79984d74.js → tab-pane-widget-a2e368e0.js} +1 -1
  89. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-e11ea085.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-eabfc235.js} +5 -5
  90. package/{table-col-widget-569924fc.js → table-col-widget-c2006fc5.js} +7 -7
  91. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-d00e5c80.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-f2c808b3.js} +4 -4
  92. package/{table-widget-94417a27.js → table-widget-b8fa9c51.js} +9 -9
  93. package/{tabs-widget-85a9b7af.js → tabs-widget-ab343e18.js} +6 -6
  94. package/{tag-widget-03611797.js → tag-widget-67a84a7f.js} +10 -10
  95. package/{text-widget-e7821929.js → text-widget-7faa3bf2.js} +10 -10
  96. package/{textarea-widget-8f86fff5.js → textarea-widget-6701be51.js} +8 -8
  97. package/{time-picker-range-widget-3f1e497a.js → time-picker-range-widget-e629c4f8.js} +8 -8
  98. package/{time-picker-widget-42e3afef.js → time-picker-widget-080967aa.js} +8 -8
  99. package/{time-select-widget-ce327458.js → time-select-widget-e21b1f95.js} +8 -8
  100. package/{tmpl-widget-cbb8763d.js → tmpl-widget-eb88ac49.js} +8 -8
  101. package/{tree-select-widget-fed582db.js → tree-select-widget-bb83d828.js} +8 -8
  102. package/{tree-widget-8a56e7be.js → tree-widget-a45a3e19.js} +7 -7
  103. package/{verifycode-widget-9e408e4f.js → verifycode-widget-18caa4a0.js} +7 -7
  104. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5fd7daa1.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d32ec85d.js} +3 -3
  105. package/{wrapper-widget-02cd1f55.js → wrapper-widget-c69ce9a2.js} +5 -5
package/render.umd.js CHANGED
@@ -20,7 +20,7 @@ vars:页面设置中的全局变量`,method:"方法",params:"参数",loadType:"
20
20
  `&&++this.index,this.lineStart=this.index;else switch(y){case"n":p+=`
21
21
  `;break;case"r":p+="\r";break;case"t":p+=" ";break;case"u":if(this.source[this.index]==="{")++this.index,p+=this.scanUnicodeCodePointEscape();else{var x=this.index,_=this.scanHexEscape(y);_!==null?p+=_:(this.index=x,p+=y)}break;case"x":var w=this.scanHexEscape(y);w===null&&this.throwUnexpectedToken(u.Messages.InvalidHexEscapeSequence),p+=w;break;case"b":p+="\b";break;case"f":p+="\f";break;case"v":p+="\v";break;default:y==="0"?(i.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(u.Messages.TemplateOctalLiteral),p+="\0"):i.Character.isOctalDigit(y.charCodeAt(0))?this.throwUnexpectedToken(u.Messages.TemplateOctalLiteral):p+=y;break}else i.Character.isLineTerminator(y.charCodeAt(0))?(++this.lineNumber,y==="\r"&&this.source[this.index]===`
22
22
  `&&++this.index,this.lineStart=this.index,p+=`
23
- `):p+=y}return d||this.throwUnexpectedToken(),v||this.curlyStack.pop(),{type:10,value:this.source.slice(m+1,this.index-g),cooked:p,head:v,tail:h,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},f.prototype.testRegExp=function(p,d){var m="￿",v=p,h=this;d.indexOf("u")>=0&&(v=v.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,y,x){var _=parseInt(y||x,16);return _>1114111&&h.throwUnexpectedToken(u.Messages.InvalidRegExp),_<=65535?String.fromCharCode(_):m}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m));try{RegExp(v)}catch{this.throwUnexpectedToken(u.Messages.InvalidRegExp)}try{return new RegExp(p,d)}catch{return null}},f.prototype.scanRegExpBody=function(){var p=this.source[this.index];o.assert(p==="/","Regular expression literal must start with a slash");for(var d=this.source[this.index++],m=!1,v=!1;!this.eof();)if(p=this.source[this.index++],d+=p,p==="\\")p=this.source[this.index++],i.Character.isLineTerminator(p.charCodeAt(0))&&this.throwUnexpectedToken(u.Messages.UnterminatedRegExp),d+=p;else if(i.Character.isLineTerminator(p.charCodeAt(0)))this.throwUnexpectedToken(u.Messages.UnterminatedRegExp);else if(m)p==="]"&&(m=!1);else if(p==="/"){v=!0;break}else p==="["&&(m=!0);return v||this.throwUnexpectedToken(u.Messages.UnterminatedRegExp),d.substr(1,d.length-2)},f.prototype.scanRegExpFlags=function(){for(var p="",d="";!this.eof();){var m=this.source[this.index];if(!i.Character.isIdentifierPart(m.charCodeAt(0)))break;if(++this.index,m==="\\"&&!this.eof())if(m=this.source[this.index],m==="u"){++this.index;var v=this.index,h=this.scanHexEscape("u");if(h!==null)for(d+=h,p+="\\u";v<this.index;++v)p+=this.source[v];else this.index=v,d+="u",p+="\\u";this.tolerateUnexpectedToken()}else p+="\\",this.tolerateUnexpectedToken();else d+=m,p+=m}return d},f.prototype.scanRegExp=function(){var p=this.index,d=this.scanRegExpBody(),m=this.scanRegExpFlags(),v=this.testRegExp(d,m);return{type:9,value:"",pattern:d,flags:m,regex:v,lineNumber:this.lineNumber,lineStart:this.lineStart,start:p,end:this.index}},f.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var p=this.source.charCodeAt(this.index);return i.Character.isIdentifierStart(p)?this.scanIdentifier():p===40||p===41||p===59?this.scanPunctuator():p===39||p===34?this.scanStringLiteral():p===46?i.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():i.Character.isDecimalDigit(p)?this.scanNumericLiteral():p===96||p===125&&this.curlyStack[this.curlyStack.length-1]==="${"?this.scanTemplate():p>=55296&&p<57343&&i.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();r.Scanner=c},function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TokenName={},r.TokenName[1]="Boolean",r.TokenName[2]="<end>",r.TokenName[3]="Identifier",r.TokenName[4]="Keyword",r.TokenName[5]="Null",r.TokenName[6]="Numeric",r.TokenName[7]="Punctuator",r.TokenName[8]="String",r.TokenName[9]="RegularExpression",r.TokenName[10]="Template"},function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(n,r,a){Object.defineProperty(r,"__esModule",{value:!0});var o=a(10),i=a(12),u=a(13),l=function(){function c(){this.values=[],this.curly=this.paren=-1}return c.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},c.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],p=f!==null;switch(f){case"this":case"]":p=!1;break;case")":var d=this.values[this.paren-1];p=d==="if"||d==="while"||d==="for"||d==="with";break;case"}":if(p=!1,this.values[this.curly-3]==="function"){var m=this.values[this.curly-4];p=m?!this.beforeFunctionExpression(m):!1}else if(this.values[this.curly-4]==="function"){var m=this.values[this.curly-5];p=m?!this.beforeFunctionExpression(m):!0}break}return p},c.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},c}(),s=function(){function c(f,p){this.errorHandler=new o.ErrorHandler,this.errorHandler.tolerant=p?typeof p.tolerant=="boolean"&&p.tolerant:!1,this.scanner=new i.Scanner(f,this.errorHandler),this.scanner.trackComment=p?typeof p.comment=="boolean"&&p.comment:!1,this.trackRange=p?typeof p.range=="boolean"&&p.range:!1,this.trackLoc=p?typeof p.loc=="boolean"&&p.loc:!1,this.buffer=[],this.reader=new l}return c.prototype.errors=function(){return this.errorHandler.errors},c.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var p=0;p<f.length;++p){var d=f[p],m=this.scanner.source.slice(d.slice[0],d.slice[1]),v={type:d.multiLine?"BlockComment":"LineComment",value:m};this.trackRange&&(v.range=d.range),this.trackLoc&&(v.loc=d.loc),this.buffer.push(v)}if(!this.scanner.eof()){var h=void 0;this.trackLoc&&(h={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var g=this.scanner.source[this.scanner.index]==="/"&&this.reader.isRegexStart(),y=g?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(y);var x={type:u.TokenName[y.type],value:this.scanner.source.slice(y.start,y.end)};if(this.trackRange&&(x.range=[y.start,y.end]),this.trackLoc&&(h.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},x.loc=h),y.type===9){var _=y.pattern,w=y.flags;x.regex={pattern:_,flags:w}}this.buffer.push(x)}}return this.buffer.shift()},c}();r.Tokenizer=s}])})})(ite);const ate=r1({__proto__:null,default:v1(Mi)},[Mi]),ote=e=>{var t,n,r;return(r=(n=(t=e==null?void 0:e[0])==null?void 0:t.expression)==null?void 0:n.callee)==null?void 0:r.name},JO=e=>{if(e==null||e==null)return null;try{return Mi.parseScript(e)}catch(t){return Ki.error("astTree",t,{script:e}),null}};function ste(e){return ar(e)||!Ni(e)?null:JO(Ou(e,"return"," "))}function ZO(e){const t=[],n=ste(e);function r(i){if(i.type===Mi.Syntax.MemberExpression){const u={root:"",properties:[]};a(i,u),u.root&&t.push(u)}else i.type===Mi.Syntax.CallExpression&&o(i,t);for(const u in i){const l=i[u];Array.isArray(l)?l.forEach(s=>s&&r(s)):l&&typeof l=="object"&&r(l)}}function a(i,u){var l=i.object,s=i.property;l.type===Mi.Syntax.MemberExpression?a(l,u):l.type===Mi.Syntax.Identifier&&(u.root=l.name),s.type===Mi.Syntax.Identifier?u.properties.push(s.name):(s.type===Mi.Syntax.Literal&&typeof s.value=="string"||s.type===Mi.Syntax.Literal&&typeof s.value=="number")&&u.properties.push(s.value)}function o(i,u){var l;(l=i.arguments)==null||l.forEach(s=>{if(s.type===Mi.Syntax.Identifier){const c={root:s.name,properties:[]};u.push(c)}})}return r(n),t}function lte(e){var t=ZO(e),n=t.map(r=>r.root);return HP(n)}function QO(){const e=()=>new Promise((n,r)=>{Promise.resolve().then(()=>kpe).then(a=>{Promise.resolve().then(()=>Ppe).then(o=>{Promise.resolve().then(()=>ate).then(i=>{n({escodegen:a,estraverse:o,esprima:i})})})})});function t(n,r,a,o){try{const i=n==null?void 0:n.esprima.parseScript(r);return n==null||n.estraverse.traverse(i,{enter(u){u=a(u,o)}}),n==null?void 0:n.escodegen.generate(i)}catch{return r}}return{init:e,replaceVariableName:t}}const qO=(e,t,n)=>{let r="";if(n){const a=new Date;a.setTime(a.getTime()+n*60*1e3),r=`; expires=${a.toUTCString()}`}document.cookie=`${e}=${t}${r}; path=/`},ute=e=>{const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r<n.length;r++){let a=n[r];for(;a.charAt(0)===" ";)a=a.substring(1,a.length);if(a.indexOf(t)===0)return a.substring(t.length,a.length)}return null},cte=e=>{qO(e,"",-1)};function fte(){const t=document.cookie.split("; "),n={};return t.forEach(r=>{const[a,o]=r.split("=");Ko(a)||(n[a]=o)}),n}const $O={get(e){return ute(e)},set(e,t,n){qO(e,t,n)},remove(e){cte(e)},getAll(){return fte()}};function eB(e,t){return function(){return e.apply(t,arguments)}}const{toString:pte}=Object.prototype,{getPrototypeOf:_S}=Object,g1=(e=>t=>{const n=pte.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Kl=e=>(e=e.toLowerCase(),t=>g1(t)===e),y1=e=>t=>typeof t===e,{isArray:Kh}=Array,vm=y1("undefined");function hte(e){return e!==null&&!vm(e)&&e.constructor!==null&&!vm(e.constructor)&&xs(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const tB=Kl("ArrayBuffer");function dte(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&tB(e.buffer),t}const mte=y1("string"),xs=y1("function"),nB=y1("number"),b1=e=>e!==null&&typeof e=="object",vte=e=>e===!0||e===!1,_1=e=>{if(g1(e)!=="object")return!1;const t=_S(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},gte=Kl("Date"),yte=Kl("File"),bte=Kl("Blob"),_te=Kl("FileList"),xte=e=>b1(e)&&xs(e.pipe),wte=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xs(e.append)&&((t=g1(e))==="formdata"||t==="object"&&xs(e.toString)&&e.toString()==="[object FormData]"))},Ete=Kl("URLSearchParams"),Ste=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function gm(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),Kh(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let u;for(r=0;r<i;r++)u=o[r],t.call(null,e[u],u,e)}}function rB(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const iB=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),aB=e=>!vm(e)&&e!==iB;function xS(){const{caseless:e}=aB(this)&&this||{},t={},n=(r,a)=>{const o=e&&rB(t,a)||a;_1(t[o])&&_1(r)?t[o]=xS(t[o],r):_1(r)?t[o]=xS({},r):Kh(r)?t[o]=r.slice():t[o]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&gm(arguments[r],n);return t}const Cte=(e,t,n,{allOwnKeys:r}={})=>(gm(t,(a,o)=>{n&&xs(a)?e[o]=eB(a,n):e[o]=a},{allOwnKeys:r}),e),Ate=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Tte=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Dte=(e,t,n,r)=>{let a,o,i;const u={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)i=a[o],(!r||r(i,e,t))&&!u[i]&&(t[i]=e[i],u[i]=!0);e=n!==!1&&_S(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kte=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Pte=e=>{if(!e)return null;if(Kh(e))return e;let t=e.length;if(!nB(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Ote=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&_S(Uint8Array)),Bte=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=r.next())&&!a.done;){const o=a.value;t.call(e,o[0],o[1])}},Ite=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Nte=Kl("HTMLFormElement"),Mte=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),oB=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Fte=Kl("RegExp"),sB=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};gm(n,(a,o)=>{t(a,o,e)!==!1&&(r[o]=a)}),Object.defineProperties(e,r)},Lte=e=>{sB(e,(t,n)=>{if(xs(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(xs(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Rte=(e,t)=>{const n={},r=a=>{a.forEach(o=>{n[o]=!0})};return Kh(e)?r(e):r(String(e).split(t)),n},jte=()=>{},Vte=(e,t)=>(e=+e,Number.isFinite(e)?e:t),wS="abcdefghijklmnopqrstuvwxyz",lB="0123456789",uB={DIGIT:lB,ALPHA:wS,ALPHA_DIGIT:wS+wS.toUpperCase()+lB},zte=(e=16,t=uB.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Ute(e){return!!(e&&xs(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Hte=e=>{const t=new Array(10),n=(r,a)=>{if(b1(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[a]=r;const o=Kh(r)?[]:{};return gm(r,(i,u)=>{const l=n(i,a+1);!vm(l)&&(o[u]=l)}),t[a]=void 0,o}}return r};return n(e,0)},Gte=Kl("AsyncFunction"),Nt={isArray:Kh,isArrayBuffer:tB,isBuffer:hte,isFormData:wte,isArrayBufferView:dte,isString:mte,isNumber:nB,isBoolean:vte,isObject:b1,isPlainObject:_1,isUndefined:vm,isDate:gte,isFile:yte,isBlob:bte,isRegExp:Fte,isFunction:xs,isStream:xte,isURLSearchParams:Ete,isTypedArray:Ote,isFileList:_te,forEach:gm,merge:xS,extend:Cte,trim:Ste,stripBOM:Ate,inherits:Tte,toFlatObject:Dte,kindOf:g1,kindOfTest:Kl,endsWith:kte,toArray:Pte,forEachEntry:Bte,matchAll:Ite,isHTMLForm:Nte,hasOwnProperty:oB,hasOwnProp:oB,reduceDescriptors:sB,freezeMethods:Lte,toObjectSet:Rte,toCamelCase:Mte,noop:jte,toFiniteNumber:Vte,findKey:rB,global:iB,isContextDefined:aB,ALPHABET:uB,generateString:zte,isSpecCompliantForm:Ute,toJSONObject:Hte,isAsyncFn:Gte,isThenable:e=>e&&(b1(e)||xs(e))&&xs(e.then)&&xs(e.catch)};function Mr(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}Nt.inherits(Mr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Nt.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const cB=Mr.prototype,fB={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{fB[e]={value:e}}),Object.defineProperties(Mr,fB),Object.defineProperty(cB,"isAxiosError",{value:!0}),Mr.from=(e,t,n,r,a,o)=>{const i=Object.create(cB);return Nt.toFlatObject(e,i,function(l){return l!==Error.prototype},u=>u!=="isAxiosError"),Mr.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Wte=null;function ES(e){return Nt.isPlainObject(e)||Nt.isArray(e)}function pB(e){return Nt.endsWith(e,"[]")?e.slice(0,-2):e}function hB(e,t,n){return e?e.concat(t).map(function(a,o){return a=pB(a),!n&&o?"["+a+"]":a}).join(n?".":""):t}function Kte(e){return Nt.isArray(e)&&!e.some(ES)}const Xte=Nt.toFlatObject(Nt,{},null,function(t){return/^is[A-Z]/.test(t)});function x1(e,t,n){if(!Nt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Nt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,h){return!Nt.isUndefined(h[v])});const r=n.metaTokens,a=n.visitor||c,o=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Nt.isSpecCompliantForm(t);if(!Nt.isFunction(a))throw new TypeError("visitor must be a function");function s(m){if(m===null)return"";if(Nt.isDate(m))return m.toISOString();if(!l&&Nt.isBlob(m))throw new Mr("Blob is not supported. Use a Buffer instead.");return Nt.isArrayBuffer(m)||Nt.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,v,h){let g=m;if(m&&!h&&typeof m=="object"){if(Nt.endsWith(v,"{}"))v=r?v:v.slice(0,-2),m=JSON.stringify(m);else if(Nt.isArray(m)&&Kte(m)||(Nt.isFileList(m)||Nt.endsWith(v,"[]"))&&(g=Nt.toArray(m)))return v=pB(v),g.forEach(function(x,_){!(Nt.isUndefined(x)||x===null)&&t.append(i===!0?hB([v],_,o):i===null?v:v+"[]",s(x))}),!1}return ES(m)?!0:(t.append(hB(h,v,o),s(m)),!1)}const f=[],p=Object.assign(Xte,{defaultVisitor:c,convertValue:s,isVisitable:ES});function d(m,v){if(!Nt.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(m),Nt.forEach(m,function(g,y){(!(Nt.isUndefined(g)||g===null)&&a.call(t,g,Nt.isString(y)?y.trim():y,v,p))===!0&&d(g,v?v.concat(y):[y])}),f.pop()}}if(!Nt.isObject(e))throw new TypeError("data must be an object");return d(e),t}function dB(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function SS(e,t){this._pairs=[],e&&x1(e,this,t)}const mB=SS.prototype;mB.append=function(t,n){this._pairs.push([t,n])},mB.toString=function(t){const n=t?function(r){return t.call(this,r,dB)}:dB;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function Yte(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vB(e,t,n){if(!t)return e;const r=n&&n.encode||Yte,a=n&&n.serialize;let o;if(a?o=a(t,n):o=Nt.isURLSearchParams(t)?t.toString():new SS(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Jte{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Nt.forEach(this.handlers,function(r){r!==null&&t(r)})}}const gB=Jte,yB={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Zte=typeof URLSearchParams<"u"?URLSearchParams:SS,Qte=typeof FormData<"u"?FormData:null,qte=typeof Blob<"u"?Blob:null,$te=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),ene=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Xl={isBrowser:!0,classes:{URLSearchParams:Zte,FormData:Qte,Blob:qte},isStandardBrowserEnv:$te,isStandardBrowserWebWorkerEnv:ene,protocols:["http","https","file","blob","url","data"]};function tne(e,t){return x1(e,new Xl.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,o){return Xl.isNode&&Nt.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function nne(e){return Nt.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rne(e){const t={},n=Object.keys(e);let r;const a=n.length;let o;for(r=0;r<a;r++)o=n[r],t[o]=e[o];return t}function bB(e){function t(n,r,a,o){let i=n[o++];const u=Number.isFinite(+i),l=o>=n.length;return i=!i&&Nt.isArray(a)?a.length:i,l?(Nt.hasOwnProp(a,i)?a[i]=[a[i],r]:a[i]=r,!u):((!a[i]||!Nt.isObject(a[i]))&&(a[i]=[]),t(n,r,a[i],o)&&Nt.isArray(a[i])&&(a[i]=rne(a[i])),!u)}if(Nt.isFormData(e)&&Nt.isFunction(e.entries)){const n={};return Nt.forEachEntry(e,(r,a)=>{t(nne(r),a,n,0)}),n}return null}const ine={"Content-Type":void 0};function ane(e,t,n){if(Nt.isString(e))try{return(t||JSON.parse)(e),Nt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const w1={transitional:yB,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,o=Nt.isObject(t);if(o&&Nt.isHTMLForm(t)&&(t=new FormData(t)),Nt.isFormData(t))return a&&a?JSON.stringify(bB(t)):t;if(Nt.isArrayBuffer(t)||Nt.isBuffer(t)||Nt.isStream(t)||Nt.isFile(t)||Nt.isBlob(t))return t;if(Nt.isArrayBufferView(t))return t.buffer;if(Nt.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return tne(t,this.formSerializer).toString();if((u=Nt.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return x1(u?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||a?(n.setContentType("application/json",!1),ane(t)):t}],transformResponse:[function(t){const n=this.transitional||w1.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(t&&Nt.isString(t)&&(r&&!this.responseType||a)){const i=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(u){if(i)throw u.name==="SyntaxError"?Mr.from(u,Mr.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xl.classes.FormData,Blob:Xl.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Nt.forEach(["delete","get","head"],function(t){w1.headers[t]={}}),Nt.forEach(["post","put","patch"],function(t){w1.headers[t]=Nt.merge(ine)});const CS=w1,one=Nt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),sne=e=>{const t={};let n,r,a;return e&&e.split(`
23
+ `):p+=y}return d||this.throwUnexpectedToken(),v||this.curlyStack.pop(),{type:10,value:this.source.slice(m+1,this.index-g),cooked:p,head:v,tail:h,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},f.prototype.testRegExp=function(p,d){var m="￿",v=p,h=this;d.indexOf("u")>=0&&(v=v.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,y,x){var _=parseInt(y||x,16);return _>1114111&&h.throwUnexpectedToken(u.Messages.InvalidRegExp),_<=65535?String.fromCharCode(_):m}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m));try{RegExp(v)}catch{this.throwUnexpectedToken(u.Messages.InvalidRegExp)}try{return new RegExp(p,d)}catch{return null}},f.prototype.scanRegExpBody=function(){var p=this.source[this.index];o.assert(p==="/","Regular expression literal must start with a slash");for(var d=this.source[this.index++],m=!1,v=!1;!this.eof();)if(p=this.source[this.index++],d+=p,p==="\\")p=this.source[this.index++],i.Character.isLineTerminator(p.charCodeAt(0))&&this.throwUnexpectedToken(u.Messages.UnterminatedRegExp),d+=p;else if(i.Character.isLineTerminator(p.charCodeAt(0)))this.throwUnexpectedToken(u.Messages.UnterminatedRegExp);else if(m)p==="]"&&(m=!1);else if(p==="/"){v=!0;break}else p==="["&&(m=!0);return v||this.throwUnexpectedToken(u.Messages.UnterminatedRegExp),d.substr(1,d.length-2)},f.prototype.scanRegExpFlags=function(){for(var p="",d="";!this.eof();){var m=this.source[this.index];if(!i.Character.isIdentifierPart(m.charCodeAt(0)))break;if(++this.index,m==="\\"&&!this.eof())if(m=this.source[this.index],m==="u"){++this.index;var v=this.index,h=this.scanHexEscape("u");if(h!==null)for(d+=h,p+="\\u";v<this.index;++v)p+=this.source[v];else this.index=v,d+="u",p+="\\u";this.tolerateUnexpectedToken()}else p+="\\",this.tolerateUnexpectedToken();else d+=m,p+=m}return d},f.prototype.scanRegExp=function(){var p=this.index,d=this.scanRegExpBody(),m=this.scanRegExpFlags(),v=this.testRegExp(d,m);return{type:9,value:"",pattern:d,flags:m,regex:v,lineNumber:this.lineNumber,lineStart:this.lineStart,start:p,end:this.index}},f.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var p=this.source.charCodeAt(this.index);return i.Character.isIdentifierStart(p)?this.scanIdentifier():p===40||p===41||p===59?this.scanPunctuator():p===39||p===34?this.scanStringLiteral():p===46?i.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():i.Character.isDecimalDigit(p)?this.scanNumericLiteral():p===96||p===125&&this.curlyStack[this.curlyStack.length-1]==="${"?this.scanTemplate():p>=55296&&p<57343&&i.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();r.Scanner=c},function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TokenName={},r.TokenName[1]="Boolean",r.TokenName[2]="<end>",r.TokenName[3]="Identifier",r.TokenName[4]="Keyword",r.TokenName[5]="Null",r.TokenName[6]="Numeric",r.TokenName[7]="Punctuator",r.TokenName[8]="String",r.TokenName[9]="RegularExpression",r.TokenName[10]="Template"},function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(n,r,a){Object.defineProperty(r,"__esModule",{value:!0});var o=a(10),i=a(12),u=a(13),l=function(){function c(){this.values=[],this.curly=this.paren=-1}return c.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},c.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],p=f!==null;switch(f){case"this":case"]":p=!1;break;case")":var d=this.values[this.paren-1];p=d==="if"||d==="while"||d==="for"||d==="with";break;case"}":if(p=!1,this.values[this.curly-3]==="function"){var m=this.values[this.curly-4];p=m?!this.beforeFunctionExpression(m):!1}else if(this.values[this.curly-4]==="function"){var m=this.values[this.curly-5];p=m?!this.beforeFunctionExpression(m):!0}break}return p},c.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},c}(),s=function(){function c(f,p){this.errorHandler=new o.ErrorHandler,this.errorHandler.tolerant=p?typeof p.tolerant=="boolean"&&p.tolerant:!1,this.scanner=new i.Scanner(f,this.errorHandler),this.scanner.trackComment=p?typeof p.comment=="boolean"&&p.comment:!1,this.trackRange=p?typeof p.range=="boolean"&&p.range:!1,this.trackLoc=p?typeof p.loc=="boolean"&&p.loc:!1,this.buffer=[],this.reader=new l}return c.prototype.errors=function(){return this.errorHandler.errors},c.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var p=0;p<f.length;++p){var d=f[p],m=this.scanner.source.slice(d.slice[0],d.slice[1]),v={type:d.multiLine?"BlockComment":"LineComment",value:m};this.trackRange&&(v.range=d.range),this.trackLoc&&(v.loc=d.loc),this.buffer.push(v)}if(!this.scanner.eof()){var h=void 0;this.trackLoc&&(h={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var g=this.scanner.source[this.scanner.index]==="/"&&this.reader.isRegexStart(),y=g?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(y);var x={type:u.TokenName[y.type],value:this.scanner.source.slice(y.start,y.end)};if(this.trackRange&&(x.range=[y.start,y.end]),this.trackLoc&&(h.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},x.loc=h),y.type===9){var _=y.pattern,w=y.flags;x.regex={pattern:_,flags:w}}this.buffer.push(x)}}return this.buffer.shift()},c}();r.Tokenizer=s}])})})(ite);const ate=r1({__proto__:null,default:v1(Mi)},[Mi]),ote=e=>{var t,n,r;return(r=(n=(t=e==null?void 0:e[0])==null?void 0:t.expression)==null?void 0:n.callee)==null?void 0:r.name},JO=e=>{if(e==null||e==null)return null;try{return Mi.parseScript(e)}catch(t){return Ki.error("astTree",t,{script:e}),null}};function ste(e){return ar(e)||!Ni(e)?null:JO(Ou(e,"return"," "))}function ZO(e){const t=[],n=ste(e);function r(i){if(i){if((i==null?void 0:i.type)===Mi.Syntax.MemberExpression){const u={root:"",properties:[]};a(i,u),u.root&&t.push(u)}else(i==null?void 0:i.type)===Mi.Syntax.CallExpression&&o(i,t);for(const u in i){const l=i[u];Array.isArray(l)?l.forEach(s=>s&&r(s)):l&&typeof l=="object"&&r(l)}}}function a(i,u){var l=i.object,s=i.property;l.type===Mi.Syntax.MemberExpression?a(l,u):l.type===Mi.Syntax.Identifier&&(u.root=l.name),s.type===Mi.Syntax.Identifier?u.properties.push(s.name):(s.type===Mi.Syntax.Literal&&typeof s.value=="string"||s.type===Mi.Syntax.Literal&&typeof s.value=="number")&&u.properties.push(s.value)}function o(i,u){var l;(l=i.arguments)==null||l.forEach(s=>{if(s.type===Mi.Syntax.Identifier){const c={root:s.name,properties:[]};u.push(c)}})}return r(n),t}function lte(e){var t=ZO(e),n=t.map(r=>r.root);return HP(n)}function QO(){const e=()=>new Promise((n,r)=>{Promise.resolve().then(()=>kpe).then(a=>{Promise.resolve().then(()=>Ppe).then(o=>{Promise.resolve().then(()=>ate).then(i=>{n({escodegen:a,estraverse:o,esprima:i})})})})});function t(n,r,a,o){try{const i=n==null?void 0:n.esprima.parseScript(r);return n==null||n.estraverse.traverse(i,{enter(u){u=a(u,o)}}),n==null?void 0:n.escodegen.generate(i)}catch{return r}}return{init:e,replaceVariableName:t}}const qO=(e,t,n)=>{let r="";if(n){const a=new Date;a.setTime(a.getTime()+n*60*1e3),r=`; expires=${a.toUTCString()}`}document.cookie=`${e}=${t}${r}; path=/`},ute=e=>{const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r<n.length;r++){let a=n[r];for(;a.charAt(0)===" ";)a=a.substring(1,a.length);if(a.indexOf(t)===0)return a.substring(t.length,a.length)}return null},cte=e=>{qO(e,"",-1)};function fte(){const t=document.cookie.split("; "),n={};return t.forEach(r=>{const[a,o]=r.split("=");Ko(a)||(n[a]=o)}),n}const $O={get(e){return ute(e)},set(e,t,n){qO(e,t,n)},remove(e){cte(e)},getAll(){return fte()}};function eB(e,t){return function(){return e.apply(t,arguments)}}const{toString:pte}=Object.prototype,{getPrototypeOf:_S}=Object,g1=(e=>t=>{const n=pte.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Kl=e=>(e=e.toLowerCase(),t=>g1(t)===e),y1=e=>t=>typeof t===e,{isArray:Kh}=Array,vm=y1("undefined");function hte(e){return e!==null&&!vm(e)&&e.constructor!==null&&!vm(e.constructor)&&xs(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const tB=Kl("ArrayBuffer");function dte(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&tB(e.buffer),t}const mte=y1("string"),xs=y1("function"),nB=y1("number"),b1=e=>e!==null&&typeof e=="object",vte=e=>e===!0||e===!1,_1=e=>{if(g1(e)!=="object")return!1;const t=_S(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},gte=Kl("Date"),yte=Kl("File"),bte=Kl("Blob"),_te=Kl("FileList"),xte=e=>b1(e)&&xs(e.pipe),wte=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xs(e.append)&&((t=g1(e))==="formdata"||t==="object"&&xs(e.toString)&&e.toString()==="[object FormData]"))},Ete=Kl("URLSearchParams"),Ste=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function gm(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),Kh(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let u;for(r=0;r<i;r++)u=o[r],t.call(null,e[u],u,e)}}function rB(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const iB=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),aB=e=>!vm(e)&&e!==iB;function xS(){const{caseless:e}=aB(this)&&this||{},t={},n=(r,a)=>{const o=e&&rB(t,a)||a;_1(t[o])&&_1(r)?t[o]=xS(t[o],r):_1(r)?t[o]=xS({},r):Kh(r)?t[o]=r.slice():t[o]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&gm(arguments[r],n);return t}const Cte=(e,t,n,{allOwnKeys:r}={})=>(gm(t,(a,o)=>{n&&xs(a)?e[o]=eB(a,n):e[o]=a},{allOwnKeys:r}),e),Ate=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Tte=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Dte=(e,t,n,r)=>{let a,o,i;const u={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)i=a[o],(!r||r(i,e,t))&&!u[i]&&(t[i]=e[i],u[i]=!0);e=n!==!1&&_S(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kte=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Pte=e=>{if(!e)return null;if(Kh(e))return e;let t=e.length;if(!nB(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Ote=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&_S(Uint8Array)),Bte=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=r.next())&&!a.done;){const o=a.value;t.call(e,o[0],o[1])}},Ite=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Nte=Kl("HTMLFormElement"),Mte=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),oB=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Fte=Kl("RegExp"),sB=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};gm(n,(a,o)=>{t(a,o,e)!==!1&&(r[o]=a)}),Object.defineProperties(e,r)},Lte=e=>{sB(e,(t,n)=>{if(xs(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(xs(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Rte=(e,t)=>{const n={},r=a=>{a.forEach(o=>{n[o]=!0})};return Kh(e)?r(e):r(String(e).split(t)),n},jte=()=>{},Vte=(e,t)=>(e=+e,Number.isFinite(e)?e:t),wS="abcdefghijklmnopqrstuvwxyz",lB="0123456789",uB={DIGIT:lB,ALPHA:wS,ALPHA_DIGIT:wS+wS.toUpperCase()+lB},zte=(e=16,t=uB.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Ute(e){return!!(e&&xs(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Hte=e=>{const t=new Array(10),n=(r,a)=>{if(b1(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[a]=r;const o=Kh(r)?[]:{};return gm(r,(i,u)=>{const l=n(i,a+1);!vm(l)&&(o[u]=l)}),t[a]=void 0,o}}return r};return n(e,0)},Gte=Kl("AsyncFunction"),Nt={isArray:Kh,isArrayBuffer:tB,isBuffer:hte,isFormData:wte,isArrayBufferView:dte,isString:mte,isNumber:nB,isBoolean:vte,isObject:b1,isPlainObject:_1,isUndefined:vm,isDate:gte,isFile:yte,isBlob:bte,isRegExp:Fte,isFunction:xs,isStream:xte,isURLSearchParams:Ete,isTypedArray:Ote,isFileList:_te,forEach:gm,merge:xS,extend:Cte,trim:Ste,stripBOM:Ate,inherits:Tte,toFlatObject:Dte,kindOf:g1,kindOfTest:Kl,endsWith:kte,toArray:Pte,forEachEntry:Bte,matchAll:Ite,isHTMLForm:Nte,hasOwnProperty:oB,hasOwnProp:oB,reduceDescriptors:sB,freezeMethods:Lte,toObjectSet:Rte,toCamelCase:Mte,noop:jte,toFiniteNumber:Vte,findKey:rB,global:iB,isContextDefined:aB,ALPHABET:uB,generateString:zte,isSpecCompliantForm:Ute,toJSONObject:Hte,isAsyncFn:Gte,isThenable:e=>e&&(b1(e)||xs(e))&&xs(e.then)&&xs(e.catch)};function Mr(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}Nt.inherits(Mr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Nt.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const cB=Mr.prototype,fB={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{fB[e]={value:e}}),Object.defineProperties(Mr,fB),Object.defineProperty(cB,"isAxiosError",{value:!0}),Mr.from=(e,t,n,r,a,o)=>{const i=Object.create(cB);return Nt.toFlatObject(e,i,function(l){return l!==Error.prototype},u=>u!=="isAxiosError"),Mr.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Wte=null;function ES(e){return Nt.isPlainObject(e)||Nt.isArray(e)}function pB(e){return Nt.endsWith(e,"[]")?e.slice(0,-2):e}function hB(e,t,n){return e?e.concat(t).map(function(a,o){return a=pB(a),!n&&o?"["+a+"]":a}).join(n?".":""):t}function Kte(e){return Nt.isArray(e)&&!e.some(ES)}const Xte=Nt.toFlatObject(Nt,{},null,function(t){return/^is[A-Z]/.test(t)});function x1(e,t,n){if(!Nt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Nt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,h){return!Nt.isUndefined(h[v])});const r=n.metaTokens,a=n.visitor||c,o=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Nt.isSpecCompliantForm(t);if(!Nt.isFunction(a))throw new TypeError("visitor must be a function");function s(m){if(m===null)return"";if(Nt.isDate(m))return m.toISOString();if(!l&&Nt.isBlob(m))throw new Mr("Blob is not supported. Use a Buffer instead.");return Nt.isArrayBuffer(m)||Nt.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,v,h){let g=m;if(m&&!h&&typeof m=="object"){if(Nt.endsWith(v,"{}"))v=r?v:v.slice(0,-2),m=JSON.stringify(m);else if(Nt.isArray(m)&&Kte(m)||(Nt.isFileList(m)||Nt.endsWith(v,"[]"))&&(g=Nt.toArray(m)))return v=pB(v),g.forEach(function(x,_){!(Nt.isUndefined(x)||x===null)&&t.append(i===!0?hB([v],_,o):i===null?v:v+"[]",s(x))}),!1}return ES(m)?!0:(t.append(hB(h,v,o),s(m)),!1)}const f=[],p=Object.assign(Xte,{defaultVisitor:c,convertValue:s,isVisitable:ES});function d(m,v){if(!Nt.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(m),Nt.forEach(m,function(g,y){(!(Nt.isUndefined(g)||g===null)&&a.call(t,g,Nt.isString(y)?y.trim():y,v,p))===!0&&d(g,v?v.concat(y):[y])}),f.pop()}}if(!Nt.isObject(e))throw new TypeError("data must be an object");return d(e),t}function dB(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function SS(e,t){this._pairs=[],e&&x1(e,this,t)}const mB=SS.prototype;mB.append=function(t,n){this._pairs.push([t,n])},mB.toString=function(t){const n=t?function(r){return t.call(this,r,dB)}:dB;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function Yte(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vB(e,t,n){if(!t)return e;const r=n&&n.encode||Yte,a=n&&n.serialize;let o;if(a?o=a(t,n):o=Nt.isURLSearchParams(t)?t.toString():new SS(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Jte{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Nt.forEach(this.handlers,function(r){r!==null&&t(r)})}}const gB=Jte,yB={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Zte=typeof URLSearchParams<"u"?URLSearchParams:SS,Qte=typeof FormData<"u"?FormData:null,qte=typeof Blob<"u"?Blob:null,$te=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),ene=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Xl={isBrowser:!0,classes:{URLSearchParams:Zte,FormData:Qte,Blob:qte},isStandardBrowserEnv:$te,isStandardBrowserWebWorkerEnv:ene,protocols:["http","https","file","blob","url","data"]};function tne(e,t){return x1(e,new Xl.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,o){return Xl.isNode&&Nt.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function nne(e){return Nt.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rne(e){const t={},n=Object.keys(e);let r;const a=n.length;let o;for(r=0;r<a;r++)o=n[r],t[o]=e[o];return t}function bB(e){function t(n,r,a,o){let i=n[o++];const u=Number.isFinite(+i),l=o>=n.length;return i=!i&&Nt.isArray(a)?a.length:i,l?(Nt.hasOwnProp(a,i)?a[i]=[a[i],r]:a[i]=r,!u):((!a[i]||!Nt.isObject(a[i]))&&(a[i]=[]),t(n,r,a[i],o)&&Nt.isArray(a[i])&&(a[i]=rne(a[i])),!u)}if(Nt.isFormData(e)&&Nt.isFunction(e.entries)){const n={};return Nt.forEachEntry(e,(r,a)=>{t(nne(r),a,n,0)}),n}return null}const ine={"Content-Type":void 0};function ane(e,t,n){if(Nt.isString(e))try{return(t||JSON.parse)(e),Nt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const w1={transitional:yB,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,o=Nt.isObject(t);if(o&&Nt.isHTMLForm(t)&&(t=new FormData(t)),Nt.isFormData(t))return a&&a?JSON.stringify(bB(t)):t;if(Nt.isArrayBuffer(t)||Nt.isBuffer(t)||Nt.isStream(t)||Nt.isFile(t)||Nt.isBlob(t))return t;if(Nt.isArrayBufferView(t))return t.buffer;if(Nt.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return tne(t,this.formSerializer).toString();if((u=Nt.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return x1(u?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||a?(n.setContentType("application/json",!1),ane(t)):t}],transformResponse:[function(t){const n=this.transitional||w1.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(t&&Nt.isString(t)&&(r&&!this.responseType||a)){const i=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(u){if(i)throw u.name==="SyntaxError"?Mr.from(u,Mr.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xl.classes.FormData,Blob:Xl.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Nt.forEach(["delete","get","head"],function(t){w1.headers[t]={}}),Nt.forEach(["post","put","patch"],function(t){w1.headers[t]=Nt.merge(ine)});const CS=w1,one=Nt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),sne=e=>{const t={};let n,r,a;return e&&e.split(`
24
24
  `).forEach(function(i){a=i.indexOf(":"),n=i.substring(0,a).trim().toLowerCase(),r=i.substring(a+1).trim(),!(!n||t[n]&&one[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},_B=Symbol("internals");function ym(e){return e&&String(e).trim().toLowerCase()}function E1(e){return e===!1||e==null?e:Nt.isArray(e)?e.map(E1):String(e)}function lne(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const une=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function AS(e,t,n,r,a){if(Nt.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!Nt.isString(t)){if(Nt.isString(r))return t.indexOf(r)!==-1;if(Nt.isRegExp(r))return r.test(t)}}function cne(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function fne(e,t){const n=Nt.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,o,i){return this[r].call(this,t,a,o,i)},configurable:!0})})}class S1{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function o(u,l,s){const c=ym(l);if(!c)throw new Error("header name must be a non-empty string");const f=Nt.findKey(a,c);(!f||a[f]===void 0||s===!0||s===void 0&&a[f]!==!1)&&(a[f||l]=E1(u))}const i=(u,l)=>Nt.forEach(u,(s,c)=>o(s,c,l));return Nt.isPlainObject(t)||t instanceof this.constructor?i(t,n):Nt.isString(t)&&(t=t.trim())&&!une(t)?i(sne(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=ym(t),t){const r=Nt.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return lne(a);if(Nt.isFunction(n))return n.call(this,a,r);if(Nt.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ym(t),t){const r=Nt.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||AS(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function o(i){if(i=ym(i),i){const u=Nt.findKey(r,i);u&&(!n||AS(r,r[u],u,n))&&(delete r[u],a=!0)}}return Nt.isArray(t)?t.forEach(o):o(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const o=n[r];(!t||AS(this,this[o],o,t,!0))&&(delete this[o],a=!0)}return a}normalize(t){const n=this,r={};return Nt.forEach(this,(a,o)=>{const i=Nt.findKey(r,o);if(i){n[i]=E1(a),delete n[o];return}const u=t?cne(o):String(o).trim();u!==o&&delete n[o],n[u]=E1(a),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Nt.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&Nt.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
25
25
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[_B]=this[_B]={accessors:{}}).accessors,a=this.prototype;function o(i){const u=ym(i);r[u]||(fne(a,i),r[u]=!0)}return Nt.isArray(t)?t.forEach(o):o(t),this}}S1.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Nt.freezeMethods(S1.prototype),Nt.freezeMethods(S1);const Bu=S1;function TS(e,t){const n=this||CS,r=t||n,a=Bu.from(r.headers);let o=r.data;return Nt.forEach(e,function(u){o=u.call(n,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function xB(e){return!!(e&&e.__CANCEL__)}function bm(e,t,n){Mr.call(this,e??"canceled",Mr.ERR_CANCELED,t,n),this.name="CanceledError"}Nt.inherits(bm,Mr,{__CANCEL__:!0});function pne(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Mr("Request failed with status code "+n.status,[Mr.ERR_BAD_REQUEST,Mr.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const hne=Xl.isStandardBrowserEnv?function(){return{write:function(n,r,a,o,i,u){const l=[];l.push(n+"="+encodeURIComponent(r)),Nt.isNumber(a)&&l.push("expires="+new Date(a).toGMTString()),Nt.isString(o)&&l.push("path="+o),Nt.isString(i)&&l.push("domain="+i),u===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function dne(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function mne(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function wB(e,t){return e&&!dne(t)?mne(e,t):t}const vne=Xl.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function a(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=a(window.location.href),function(i){const u=Nt.isString(i)?a(i):i;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}();function gne(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function yne(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,o=0,i;return t=t!==void 0?t:1e3,function(l){const s=Date.now(),c=r[o];i||(i=s),n[a]=l,r[a]=s;let f=o,p=0;for(;f!==a;)p+=n[f++],f=f%e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),s-i<t)return;const d=c&&s-c;return d?Math.round(p*1e3/d):void 0}}function EB(e,t){let n=0;const r=yne(50,250);return a=>{const o=a.loaded,i=a.lengthComputable?a.total:void 0,u=o-n,l=r(u),s=o<=i;n=o;const c={loaded:o,total:i,progress:i?o/i:void 0,bytes:u,rate:l||void 0,estimated:l&&i&&s?(i-o)/l:void 0,event:a};c[t?"download":"upload"]=!0,e(c)}}const C1={http:Wte,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){let a=e.data;const o=Bu.from(e.headers).normalize(),i=e.responseType;let u;function l(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}Nt.isFormData(a)&&(Xl.isStandardBrowserEnv||Xl.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let s=new XMLHttpRequest;if(e.auth){const d=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(d+":"+m))}const c=wB(e.baseURL,e.url);s.open(e.method.toUpperCase(),vB(c,e.params,e.paramsSerializer),!0),s.timeout=e.timeout;function f(){if(!s)return;const d=Bu.from("getAllResponseHeaders"in s&&s.getAllResponseHeaders()),v={data:!i||i==="text"||i==="json"?s.responseText:s.response,status:s.status,statusText:s.statusText,headers:d,config:e,request:s};pne(function(g){n(g),l()},function(g){r(g),l()},v),s=null}if("onloadend"in s?s.onloadend=f:s.onreadystatechange=function(){!s||s.readyState!==4||s.status===0&&!(s.responseURL&&s.responseURL.indexOf("file:")===0)||setTimeout(f)},s.onabort=function(){s&&(r(new Mr("Request aborted",Mr.ECONNABORTED,e,s)),s=null)},s.onerror=function(){r(new Mr("Network Error",Mr.ERR_NETWORK,e,s)),s=null},s.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||yB;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),r(new Mr(m,v.clarifyTimeoutError?Mr.ETIMEDOUT:Mr.ECONNABORTED,e,s)),s=null},Xl.isStandardBrowserEnv){const d=(e.withCredentials||vne(c))&&e.xsrfCookieName&&hne.read(e.xsrfCookieName);d&&o.set(e.xsrfHeaderName,d)}a===void 0&&o.setContentType(null),"setRequestHeader"in s&&Nt.forEach(o.toJSON(),function(m,v){s.setRequestHeader(v,m)}),Nt.isUndefined(e.withCredentials)||(s.withCredentials=!!e.withCredentials),i&&i!=="json"&&(s.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&s.addEventListener("progress",EB(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&s.upload&&s.upload.addEventListener("progress",EB(e.onUploadProgress)),(e.cancelToken||e.signal)&&(u=d=>{s&&(r(!d||d.type?new bm(null,e,s):d),s.abort(),s=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u)));const p=gne(c);if(p&&Xl.protocols.indexOf(p)===-1){r(new Mr("Unsupported protocol "+p+":",Mr.ERR_BAD_REQUEST,e));return}s.send(a||null)})}};Nt.forEach(C1,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bne={getAdapter:e=>{e=Nt.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let a=0;a<t&&(n=e[a],!(r=Nt.isString(n)?C1[n.toLowerCase()]:n));a++);if(!r)throw r===!1?new Mr(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(Nt.hasOwnProp(C1,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!Nt.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:C1};function DS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new bm(null,e)}function SB(e){return DS(e),e.headers=Bu.from(e.headers),e.data=TS.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),bne.getAdapter(e.adapter||CS.adapter)(e).then(function(r){return DS(e),r.data=TS.call(e,e.transformResponse,r),r.headers=Bu.from(r.headers),r},function(r){return xB(r)||(DS(e),r&&r.response&&(r.response.data=TS.call(e,e.transformResponse,r.response),r.response.headers=Bu.from(r.response.headers))),Promise.reject(r)})}const CB=e=>e instanceof Bu?e.toJSON():e;function Xh(e,t){t=t||{};const n={};function r(s,c,f){return Nt.isPlainObject(s)&&Nt.isPlainObject(c)?Nt.merge.call({caseless:f},s,c):Nt.isPlainObject(c)?Nt.merge({},c):Nt.isArray(c)?c.slice():c}function a(s,c,f){if(Nt.isUndefined(c)){if(!Nt.isUndefined(s))return r(void 0,s,f)}else return r(s,c,f)}function o(s,c){if(!Nt.isUndefined(c))return r(void 0,c)}function i(s,c){if(Nt.isUndefined(c)){if(!Nt.isUndefined(s))return r(void 0,s)}else return r(void 0,c)}function u(s,c,f){if(f in t)return r(s,c);if(f in e)return r(void 0,s)}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:u,headers:(s,c)=>a(CB(s),CB(c),!0)};return Nt.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||a,p=f(e[c],t[c],c);Nt.isUndefined(p)&&f!==u||(n[c]=p)}),n}const AB="1.4.0",kS={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{kS[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const TB={};kS.transitional=function(t,n,r){function a(o,i){return"[Axios v"+AB+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,u)=>{if(t===!1)throw new Mr(a(i," has been removed"+(n?" in "+n:"")),Mr.ERR_DEPRECATED);return n&&!TB[i]&&(TB[i]=!0,console.warn(a(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,u):!0}};function _ne(e,t,n){if(typeof e!="object")throw new Mr("options must be an object",Mr.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const o=r[a],i=t[o];if(i){const u=e[o],l=u===void 0||i(u,o,e);if(l!==!0)throw new Mr("option "+o+" must be "+l,Mr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Mr("Unknown option "+o,Mr.ERR_BAD_OPTION)}}const PS={assertOptions:_ne,validators:kS},Ec=PS.validators;class A1{constructor(t){this.defaults=t,this.interceptors={request:new gB,response:new gB}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Xh(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:o}=n;r!==void 0&&PS.assertOptions(r,{silentJSONParsing:Ec.transitional(Ec.boolean),forcedJSONParsing:Ec.transitional(Ec.boolean),clarifyTimeoutError:Ec.transitional(Ec.boolean)},!1),a!=null&&(Nt.isFunction(a)?n.paramsSerializer={serialize:a}:PS.assertOptions(a,{encode:Ec.function,serialize:Ec.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=o&&Nt.merge(o.common,o[n.method]),i&&Nt.forEach(["delete","get","head","post","put","patch","common"],m=>{delete o[m]}),n.headers=Bu.concat(i,o);const u=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,u.unshift(v.fulfilled,v.rejected))});const s=[];this.interceptors.response.forEach(function(v){s.push(v.fulfilled,v.rejected)});let c,f=0,p;if(!l){const m=[SB.bind(this),void 0];for(m.unshift.apply(m,u),m.push.apply(m,s),p=m.length,c=Promise.resolve(n);f<p;)c=c.then(m[f++],m[f++]);return c}p=u.length;let d=n;for(f=0;f<p;){const m=u[f++],v=u[f++];try{d=m(d)}catch(h){v.call(this,h);break}}try{c=SB.call(this,d)}catch(m){return Promise.reject(m)}for(f=0,p=s.length;f<p;)c=c.then(s[f++],s[f++]);return c}getUri(t){t=Xh(this.defaults,t);const n=wB(t.baseURL,t.url);return vB(n,t.params,t.paramsSerializer)}}Nt.forEach(["delete","get","head","options"],function(t){A1.prototype[t]=function(n,r){return this.request(Xh(r||{},{method:t,url:n,data:(r||{}).data}))}}),Nt.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,u){return this.request(Xh(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}A1.prototype[t]=n(),A1.prototype[t+"Form"]=n(!0)});const T1=A1;class OS{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(a=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](a);r._listeners=null}),this.promise.then=a=>{let o;const i=new Promise(u=>{r.subscribe(u),o=u}).then(a);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,u){r.reason||(r.reason=new bm(o,i,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new OS(function(a){t=a}),cancel:t}}}const xne=OS;function wne(e){return function(n){return e.apply(null,n)}}function Ene(e){return Nt.isObject(e)&&e.isAxiosError===!0}const BS={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(BS).forEach(([e,t])=>{BS[t]=e});const Sne=BS;function DB(e){const t=new T1(e),n=eB(T1.prototype.request,t);return Nt.extend(n,T1.prototype,t,{allOwnKeys:!0}),Nt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return DB(Xh(e,a))},n}const la=DB(CS);la.Axios=T1,la.CanceledError=bm,la.CancelToken=xne,la.isCancel=xB,la.VERSION=AB,la.toFormData=x1,la.AxiosError=Mr,la.Cancel=la.CanceledError,la.all=function(t){return Promise.all(t)},la.spread=wne,la.isAxiosError=Ene,la.mergeConfig=Xh,la.AxiosHeaders=Bu,la.formToJSON=e=>bB(Nt.isHTMLForm(e)?new FormData(e):e),la.HttpStatusCode=Sne,la.default=la;const IS=la,Cne=e=>{let t={};return e.map(n=>{t[n.name]=n.value}),t},Ane=e=>({moduleCache:{vue:aee},getFile(t){return Promise.resolve(e)},addStyle(t){const n=Object.assign(document.createElement("style"),{textContent:t}),r=document.head.getElementsByTagName("style")[0]||null;document.head.insertBefore(n,r)}}),kB=e=>{var n;if(!e)return null;(n=e==null?void 0:e.trim())!=null&&n.includes("<template>")||(e=`<template>${e}</template>`);const t=Ane(e);return b.defineAsyncComponent({loader:async()=>{const r=await Promise.resolve().then(()=>Bpe),{loadModule:a}=r;return a("/myComponent.vue",t)}})},Tne=e=>{var r;if(!e)return"";var t=/<template>(?<templateBody>[^*]+)<\/template>/,n=t.exec(e);if(n&&(n==null?void 0:n.length)>0)try{return((r=n.groups)==null?void 0:r.templateBody)||""}catch{}return""};function po(e){var l,s,c;const t=()=>b.getCurrentInstance(),n=e||t(),r=(c=(s=(l=n==null?void 0:n.appContext)==null?void 0:l.app)==null?void 0:s.config)==null?void 0:c.globalProperties,a=r==null?void 0:r.$message,o=r==null?void 0:r.$confirm,i=r==null?void 0:r.$prompt,u=n==null?void 0:n.proxy;return{getInstance:t,instance:n,proxy:u,$message:a,$confirm:o,$prompt:i,globalProperties:r}}const Dne=function(e){return PB(window.location.href,e)},PB=function(e,t){const n=D1(e);return n==null?void 0:n[t]},kne=e=>/^(?:%[0-9A-Fa-f]{2}|[A-Za-z0-9\-_.!~*'()]|%20)*$/.test(e),OB=function(){return D1(window.location.href)},BB=e=>{var t;return((t=e==null?void 0:e.split("?"))==null?void 0:t[0])||e||""},D1=e=>{var a;const t={};let n=(a=e==null?void 0:e.split("?"))==null?void 0:a[1],r=n==null?void 0:n.split("&");for(let o=0;o<((r==null?void 0:r.length)||0);o++){let i=r==null?void 0:r[o].split("="),u=(i==null?void 0:i[0])||"",l=(i==null?void 0:i[1])||"";kne(l)?t[u]=decodeURIComponent(l):t[u]=l}return t},IB=(e,t,n)=>{t=Object.assign(t,D1(e)||{}),e=BB(e);const r=Object.entries(t).map(([a,o])=>n===!1?`${a}=${o==null?void 0:o.toString()}`:`${encodeURIComponent(a)}=${encodeURIComponent(o==null?void 0:o.toString())}`).join("&");return r?`${e}?${r}`:e},Pne=e=>IB(e,OB()),NB=e=>{try{return new URL(e),!0}catch{return!1}},One=()=>{location.reload()},Bne=()=>{function e(l,s,c="",f=!1){const p=S=>{const[C,D=""]=S.split("#",2),[A,k=""]=C.split("?",2);return{path:A.replace(/^#/,"").replace(/\/+$/,""),searchParams:new URLSearchParams(k),hashFragment:D}},d=p(l),m=p(s),v=f?new URLSearchParams(d.searchParams):new URLSearchParams;m.searchParams.forEach((S,C)=>{v.set(C,S)});const h=(S,C)=>{const D=S.split("/").filter(Boolean),A=C.split("/").filter(Boolean);for(const k of A)k!=="."&&(k===".."?D.length>0&&D.pop():D.push(k));return`/${D.join("/")}`},y=((S,C)=>C.startsWith("/")?`/${C.replace(/^\/+/,"")}`:h(S,m.path))(d.path,m.path),x=v.toString(),w=`${`${y}${x?`?${x}`:""}`}${m.hashFragment?`#${m.hashFragment}`:""}`;return(a()?`/${c}#/${w}`:w).replace(/\/+/g,"/").replace(/^#\//,"#").replace(/%20/g,"+").replace(/[?#]/g,S=>S)}function t(l,s,c=""){return e(s,l,c)}const n=()=>window.location.hash,r=()=>window.location.pathname,a=()=>!!n();function o(l){const s=new URL(l);return s.pathname=s.pathname.replace(/\/{2,}/g,"/"),s.toString()}const i=l=>{const s="/";var c=window.location.href,[f]=c.split(/\/[^/]*#\//g,2);return[f,l].join(s)};return{resolveByCurrentUrl:(l,s="")=>{var f;if(NB(l))return l;const c=t(l,((f=n())==null?void 0:f.substring(1))||r(),s);return o(i(c))}}},{resolveByCurrentUrl:Ine}=Bne(),Yl={buildUrl:IB,getBaseUrl:BB,getQueryParam:PB,getLocationQueryParam:Dne,getQueryParams:D1,getLocationQueryParams:OB,buildUrlByLocalQuery:Pne,isUrl:NB,refresh:One,resolveByCurrentUrl:Ine};class NS{constructor(){V(this,"type","ok");V(this,"body")}}class Nne{constructor(t){V(this,"_app");this._app=t}open(t,n,r){if(!this._app)return;const a=document.createElement("div");document.body.appendChild(a);const o=()=>{document.body.removeChild(a)},i=b.h(t,{...n,onOk:u=>{r==null||r(this.ok({props:u,destroyDialog:o}))},onCancel:u=>{r==null||r(this.cancel({props:u,destroyDialog:o}))},onClose:u=>{r==null||r(this.close({props:u,destroyDialog:o}))}});i.appContext=this._app._context,b.render(i,a)}ok(t){const n=new NS;return n.type="ok",n.body=t,n}cancel(t){const n=new NS;return n.type="cancel",n.body=t,n}close(t){const n=new NS;return n.type="close",n.body=t,n}}function Mne(e){var n,r,a,o;var t=(o=(a=(r=(n=e==null?void 0:e.appContext)==null?void 0:n.app)==null?void 0:r.config)==null?void 0:a.globalProperties)==null?void 0:o.$dzModal;if(!t)throw new Error("No DzModal installed");return t}const Fne={install(e,t){const n=new Nne(e);e.config.globalProperties.$dzModal=n}},Lne=b.defineAsyncComponent(()=>Promise.resolve().then(()=>bM));class Rne{constructor(){V(this,"fullscreen",{type:Boolean,default:!1});V(this,"width",{type:String});V(this,"height",{type:String});V(this,"title",{type:String});V(this,"url",{type:String});V(this,"dialogType",{type:Array});V(this,"callback",{type:Object})}}const jne=new Rne,MB=(e,t)=>{const n=Mne(e);n==null||n.open(Lne,t,r=>{var u,l;const a=It(t==null?void 0:t.callback),o=r.body,i=()=>{var s;(s=o==null?void 0:o.destroyDialog)==null||s.call(o)};r.type==="ok"?(u=a==null?void 0:a.okCallback)==null||u.call(a,{data:r.body}).then(s=>{i()}):r.type==="cancel"?(l=a==null?void 0:a.cancelCallback)==null||l.call(a,{data:r.body}).then(s=>{i()}):r.type==="close"&&i()})};class Yo{static findUp(t,n,r={includeSelf:!0}){try{let a=t;for(;a;){if((r.includeSelf||a!==t)&&a.name===n)return{window:a,iframe:a.frameElement};const o=a.frameElement;if((o==null?void 0:o.id)===n)return{window:a,iframe:o};if(a===a.parent)break;a=a.parent}return null}catch(a){return console.warn("findWindowUp",a),null}}static findDown(t,n){try{if(t.name===n)return{window:t,iframe:t.frameElement};if(t.frames)for(let r=0;r<t.frames.length;r++){const a=t.frames[r],o=a.frameElement;if((o==null?void 0:o.id)===n)return{window:a,iframe:o};const i=Yo.findDown(a,n);if(i)return i}return null}catch(r){return console.warn("findWindowDown",r),null}}static find(t,n,r="both"){const a=Yo.findByIframeId(n,t);if(a)return a;if(r==="up"||r==="both"){const o=Yo.findUp(t,n);if(o)return o}if(r==="down"||r==="both"){const o=Yo.findDown(t,n);if(o)return o}if(r==="both"){const o=Yo.findDown(this.findTop(t),n);if(o)return o}return null}static findByIframeId(t,n=window){var a;const r=(a=n==null?void 0:n.document)==null?void 0:a.getElementById(t);return r?{window:r==null?void 0:r.contentWindow,iframe:r}:null}static findTop(t=window){try{let n=t;for(;n!==n.parent;)n=n.parent;return n}catch{return t}}}const k1=(e,t)=>e?(e.postMessage(ai(t),"*"),!0):!1,Vne=(e,t)=>{const n=Yo.find(window,e);if(n)return k1(n.window,t)},zne=(e,t)=>k1(e==null?void 0:e.contentWindow,t),Une=e=>k1(window.parent,e),Hne=(e,t=!1)=>{const n=r=>{e==null||e(r),t&&window.removeEventListener("message",n)};window.addEventListener("message",n)};function FB(){return{send:k1,receive:Hne,sendToIframe:zne,sendToIframeByName:Vne,sendToParent:Une}}var Yh={},Gne={get exports(){return Yh},set exports(e){Yh=e}};(function(e,t){(function(){var n,r=0xdeadbeefcafe,a=(r&16777215)==15715070;function o(Ee,Pe,ze){Ee!=null&&(typeof Ee=="number"?this.fromNumber(Ee,Pe,ze):Pe==null&&typeof Ee!="string"?this.fromString(Ee,256):this.fromString(Ee,Pe))}function i(){return new o(null)}function u(Ee,Pe,ze,tt,kt,jt){for(;--jt>=0;){var tn=Pe*this[Ee++]+ze[tt]+kt;kt=Math.floor(tn/67108864),ze[tt++]=tn&67108863}return kt}function l(Ee,Pe,ze,tt,kt,jt){for(var tn=Pe&32767,un=Pe>>15;--jt>=0;){var Fr=this[Ee]&32767,yi=this[Ee++]>>15,Wa=un*Fr+yi*tn;Fr=tn*Fr+((Wa&32767)<<15)+ze[tt]+(kt&1073741823),kt=(Fr>>>30)+(Wa>>>15)+un*yi+(kt>>>30),ze[tt++]=Fr&1073741823}return kt}function s(Ee,Pe,ze,tt,kt,jt){for(var tn=Pe&16383,un=Pe>>14;--jt>=0;){var Fr=this[Ee]&16383,yi=this[Ee++]>>14,Wa=un*Fr+yi*tn;Fr=tn*Fr+((Wa&16383)<<14)+ze[tt]+kt,kt=(Fr>>28)+(Wa>>14)+un*yi,ze[tt++]=Fr&268435455}return kt}var c=typeof navigator<"u";c&&a&&navigator.appName=="Microsoft Internet Explorer"?(o.prototype.am=l,n=30):c&&a&&navigator.appName!="Netscape"?(o.prototype.am=u,n=26):(o.prototype.am=s,n=28),o.prototype.DB=n,o.prototype.DM=(1<<n)-1,o.prototype.DV=1<<n;var f=52;o.prototype.FV=Math.pow(2,f),o.prototype.F1=f-n,o.prototype.F2=2*n-f;var p="0123456789abcdefghijklmnopqrstuvwxyz",d=new Array,m,v;for(m="0".charCodeAt(0),v=0;v<=9;++v)d[m++]=v;for(m="a".charCodeAt(0),v=10;v<36;++v)d[m++]=v;for(m="A".charCodeAt(0),v=10;v<36;++v)d[m++]=v;function h(Ee){return p.charAt(Ee)}function g(Ee,Pe){var ze=d[Ee.charCodeAt(Pe)];return ze??-1}function y(Ee){for(var Pe=this.t-1;Pe>=0;--Pe)Ee[Pe]=this[Pe];Ee.t=this.t,Ee.s=this.s}function x(Ee){this.t=1,this.s=Ee<0?-1:0,Ee>0?this[0]=Ee:Ee<-1?this[0]=Ee+this.DV:this.t=0}function _(Ee){var Pe=i();return Pe.fromInt(Ee),Pe}function w(Ee,Pe){var ze;if(Pe==16)ze=4;else if(Pe==8)ze=3;else if(Pe==256)ze=8;else if(Pe==2)ze=1;else if(Pe==32)ze=5;else if(Pe==4)ze=2;else{this.fromRadix(Ee,Pe);return}this.t=0,this.s=0;for(var tt=Ee.length,kt=!1,jt=0;--tt>=0;){var tn=ze==8?Ee[tt]&255:g(Ee,tt);if(tn<0){Ee.charAt(tt)=="-"&&(kt=!0);continue}kt=!1,jt==0?this[this.t++]=tn:jt+ze>this.DB?(this[this.t-1]|=(tn&(1<<this.DB-jt)-1)<<jt,this[this.t++]=tn>>this.DB-jt):this[this.t-1]|=tn<<jt,jt+=ze,jt>=this.DB&&(jt-=this.DB)}ze==8&&Ee[0]&128&&(this.s=-1,jt>0&&(this[this.t-1]|=(1<<this.DB-jt)-1<<jt)),this.clamp(),kt&&o.ZERO.subTo(this,this)}function E(){for(var Ee=this.s&this.DM;this.t>0&&this[this.t-1]==Ee;)--this.t}function S(Ee){if(this.s<0)return"-"+this.negate().toString(Ee);var Pe;if(Ee==16)Pe=4;else if(Ee==8)Pe=3;else if(Ee==2)Pe=1;else if(Ee==32)Pe=5;else if(Ee==4)Pe=2;else return this.toRadix(Ee);var ze=(1<<Pe)-1,tt,kt=!1,jt="",tn=this.t,un=this.DB-tn*this.DB%Pe;if(tn-- >0)for(un<this.DB&&(tt=this[tn]>>un)>0&&(kt=!0,jt=h(tt));tn>=0;)un<Pe?(tt=(this[tn]&(1<<un)-1)<<Pe-un,tt|=this[--tn]>>(un+=this.DB-Pe)):(tt=this[tn]>>(un-=Pe)&ze,un<=0&&(un+=this.DB,--tn)),tt>0&&(kt=!0),kt&&(jt+=h(tt));return kt?jt:"0"}function C(){var Ee=i();return o.ZERO.subTo(this,Ee),Ee}function D(){return this.s<0?this.negate():this}function A(Ee){var Pe=this.s-Ee.s;if(Pe!=0)return Pe;var ze=this.t;if(Pe=ze-Ee.t,Pe!=0)return this.s<0?-Pe:Pe;for(;--ze>=0;)if((Pe=this[ze]-Ee[ze])!=0)return Pe;return 0}function k(Ee){var Pe=1,ze;return(ze=Ee>>>16)!=0&&(Ee=ze,Pe+=16),(ze=Ee>>8)!=0&&(Ee=ze,Pe+=8),(ze=Ee>>4)!=0&&(Ee=ze,Pe+=4),(ze=Ee>>2)!=0&&(Ee=ze,Pe+=2),(ze=Ee>>1)!=0&&(Ee=ze,Pe+=1),Pe}function P(){return this.t<=0?0:this.DB*(this.t-1)+k(this[this.t-1]^this.s&this.DM)}function O(Ee,Pe){var ze;for(ze=this.t-1;ze>=0;--ze)Pe[ze+Ee]=this[ze];for(ze=Ee-1;ze>=0;--ze)Pe[ze]=0;Pe.t=this.t+Ee,Pe.s=this.s}function B(Ee,Pe){for(var ze=Ee;ze<this.t;++ze)Pe[ze-Ee]=this[ze];Pe.t=Math.max(this.t-Ee,0),Pe.s=this.s}function N(Ee,Pe){var ze=Ee%this.DB,tt=this.DB-ze,kt=(1<<tt)-1,jt=Math.floor(Ee/this.DB),tn=this.s<<ze&this.DM,un;for(un=this.t-1;un>=0;--un)Pe[un+jt+1]=this[un]>>tt|tn,tn=(this[un]&kt)<<ze;for(un=jt-1;un>=0;--un)Pe[un]=0;Pe[jt]=tn,Pe.t=this.t+jt+1,Pe.s=this.s,Pe.clamp()}function M(Ee,Pe){Pe.s=this.s;var ze=Math.floor(Ee/this.DB);if(ze>=this.t){Pe.t=0;return}var tt=Ee%this.DB,kt=this.DB-tt,jt=(1<<tt)-1;Pe[0]=this[ze]>>tt;for(var tn=ze+1;tn<this.t;++tn)Pe[tn-ze-1]|=(this[tn]&jt)<<kt,Pe[tn-ze]=this[tn]>>tt;tt>0&&(Pe[this.t-ze-1]|=(this.s&jt)<<kt),Pe.t=this.t-ze,Pe.clamp()}function R(Ee,Pe){for(var ze=0,tt=0,kt=Math.min(Ee.t,this.t);ze<kt;)tt+=this[ze]-Ee[ze],Pe[ze++]=tt&this.DM,tt>>=this.DB;if(Ee.t<this.t){for(tt-=Ee.s;ze<this.t;)tt+=this[ze],Pe[ze++]=tt&this.DM,tt>>=this.DB;tt+=this.s}else{for(tt+=this.s;ze<Ee.t;)tt-=Ee[ze],Pe[ze++]=tt&this.DM,tt>>=this.DB;tt-=Ee.s}Pe.s=tt<0?-1:0,tt<-1?Pe[ze++]=this.DV+tt:tt>0&&(Pe[ze++]=tt),Pe.t=ze,Pe.clamp()}function F(Ee,Pe){var ze=this.abs(),tt=Ee.abs(),kt=ze.t;for(Pe.t=kt+tt.t;--kt>=0;)Pe[kt]=0;for(kt=0;kt<tt.t;++kt)Pe[kt+ze.t]=ze.am(0,tt[kt],Pe,kt,0,ze.t);Pe.s=0,Pe.clamp(),this.s!=Ee.s&&o.ZERO.subTo(Pe,Pe)}function j(Ee){for(var Pe=this.abs(),ze=Ee.t=2*Pe.t;--ze>=0;)Ee[ze]=0;for(ze=0;ze<Pe.t-1;++ze){var tt=Pe.am(ze,Pe[ze],Ee,2*ze,0,1);(Ee[ze+Pe.t]+=Pe.am(ze+1,2*Pe[ze],Ee,2*ze+1,tt,Pe.t-ze-1))>=Pe.DV&&(Ee[ze+Pe.t]-=Pe.DV,Ee[ze+Pe.t+1]=1)}Ee.t>0&&(Ee[Ee.t-1]+=Pe.am(ze,Pe[ze],Ee,2*ze,0,1)),Ee.s=0,Ee.clamp()}function G(Ee,Pe,ze){var tt=Ee.abs();if(!(tt.t<=0)){var kt=this.abs();if(kt.t<tt.t){Pe!=null&&Pe.fromInt(0),ze!=null&&this.copyTo(ze);return}ze==null&&(ze=i());var jt=i(),tn=this.s,un=Ee.s,Fr=this.DB-k(tt[tt.t-1]);Fr>0?(tt.lShiftTo(Fr,jt),kt.lShiftTo(Fr,ze)):(tt.copyTo(jt),kt.copyTo(ze));var yi=jt.t,Wa=jt[yi-1];if(Wa!=0){var da=Wa*(1<<this.F1)+(yi>1?jt[yi-2]>>this.F2:0),Cn=this.FV/da,An=(1<<this.F1)/da,Gi=1<<this.F2,Bi=ze.t,vc=Bi-yi,ma=Pe??i();for(jt.dlShiftTo(vc,ma),ze.compareTo(ma)>=0&&(ze[ze.t++]=1,ze.subTo(ma,ze)),o.ONE.dlShiftTo(yi,ma),ma.subTo(jt,jt);jt.t<yi;)jt[jt.t++]=0;for(;--vc>=0;){var jf=ze[--Bi]==Wa?this.DM:Math.floor(ze[Bi]*Cn+(ze[Bi-1]+Gi)*An);if((ze[Bi]+=jt.am(0,jf,ze,vc,0,yi))<jf)for(jt.dlShiftTo(vc,ma),ze.subTo(ma,ze);ze[Bi]<--jf;)ze.subTo(ma,ze)}Pe!=null&&(ze.drShiftTo(yi,Pe),tn!=un&&o.ZERO.subTo(Pe,Pe)),ze.t=yi,ze.clamp(),Fr>0&&ze.rShiftTo(Fr,ze),tn<0&&o.ZERO.subTo(ze,ze)}}}function L(Ee){var Pe=i();return this.abs().divRemTo(Ee,null,Pe),this.s<0&&Pe.compareTo(o.ZERO)>0&&Ee.subTo(Pe,Pe),Pe}function z(Ee){this.m=Ee}function K(Ee){return Ee.s<0||Ee.compareTo(this.m)>=0?Ee.mod(this.m):Ee}function Y(Ee){return Ee}function J(Ee){Ee.divRemTo(this.m,null,Ee)}function Q(Ee,Pe,ze){Ee.multiplyTo(Pe,ze),this.reduce(ze)}function ce(Ee,Pe){Ee.squareTo(Pe),this.reduce(Pe)}z.prototype.convert=K,z.prototype.revert=Y,z.prototype.reduce=J,z.prototype.mulTo=Q,z.prototype.sqrTo=ce;function se(){if(this.t<1)return 0;var Ee=this[0];if(!(Ee&1))return 0;var Pe=Ee&3;return Pe=Pe*(2-(Ee&15)*Pe)&15,Pe=Pe*(2-(Ee&255)*Pe)&255,Pe=Pe*(2-((Ee&65535)*Pe&65535))&65535,Pe=Pe*(2-Ee*Pe%this.DV)%this.DV,Pe>0?this.DV-Pe:-Pe}function oe(Ee){this.m=Ee,this.mp=Ee.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<Ee.DB-15)-1,this.mt2=2*Ee.t}function ae(Ee){var Pe=i();return Ee.abs().dlShiftTo(this.m.t,Pe),Pe.divRemTo(this.m,null,Pe),Ee.s<0&&Pe.compareTo(o.ZERO)>0&&this.m.subTo(Pe,Pe),Pe}function ge(Ee){var Pe=i();return Ee.copyTo(Pe),this.reduce(Pe),Pe}function X(Ee){for(;Ee.t<=this.mt2;)Ee[Ee.t++]=0;for(var Pe=0;Pe<this.m.t;++Pe){var ze=Ee[Pe]&32767,tt=ze*this.mpl+((ze*this.mph+(Ee[Pe]>>15)*this.mpl&this.um)<<15)&Ee.DM;for(ze=Pe+this.m.t,Ee[ze]+=this.m.am(0,tt,Ee,Pe,0,this.m.t);Ee[ze]>=Ee.DV;)Ee[ze]-=Ee.DV,Ee[++ze]++}Ee.clamp(),Ee.drShiftTo(this.m.t,Ee),Ee.compareTo(this.m)>=0&&Ee.subTo(this.m,Ee)}function q(Ee,Pe){Ee.squareTo(Pe),this.reduce(Pe)}function re(Ee,Pe,ze){Ee.multiplyTo(Pe,ze),this.reduce(ze)}oe.prototype.convert=ae,oe.prototype.revert=ge,oe.prototype.reduce=X,oe.prototype.mulTo=re,oe.prototype.sqrTo=q;function he(){return(this.t>0?this[0]&1:this.s)==0}function de(Ee,Pe){if(Ee>4294967295||Ee<1)return o.ONE;var ze=i(),tt=i(),kt=Pe.convert(this),jt=k(Ee)-1;for(kt.copyTo(ze);--jt>=0;)if(Pe.sqrTo(ze,tt),(Ee&1<<jt)>0)Pe.mulTo(tt,kt,ze);else{var tn=ze;ze=tt,tt=tn}return Pe.revert(ze)}function be(Ee,Pe){var ze;return Ee<256||Pe.isEven()?ze=new z(Pe):ze=new oe(Pe),this.exp(Ee,ze)}o.prototype.copyTo=y,o.prototype.fromInt=x,o.prototype.fromString=w,o.prototype.clamp=E,o.prototype.dlShiftTo=O,o.prototype.drShiftTo=B,o.prototype.lShiftTo=N,o.prototype.rShiftTo=M,o.prototype.subTo=R,o.prototype.multiplyTo=F,o.prototype.squareTo=j,o.prototype.divRemTo=G,o.prototype.invDigit=se,o.prototype.isEven=he,o.prototype.exp=de,o.prototype.toString=S,o.prototype.negate=C,o.prototype.abs=D,o.prototype.compareTo=A,o.prototype.bitLength=P,o.prototype.mod=L,o.prototype.modPowInt=be,o.ZERO=_(0),o.ONE=_(1);function pe(){var Ee=i();return this.copyTo(Ee),Ee}function ve(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function Se(){return this.t==0?this.s:this[0]<<24>>24}function we(){return this.t==0?this.s:this[0]<<16>>16}function Te(Ee){return Math.floor(Math.LN2*this.DB/Math.log(Ee))}function Z(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1}function W(Ee){if(Ee==null&&(Ee=10),this.signum()==0||Ee<2||Ee>36)return"0";var Pe=this.chunkSize(Ee),ze=Math.pow(Ee,Pe),tt=_(ze),kt=i(),jt=i(),tn="";for(this.divRemTo(tt,kt,jt);kt.signum()>0;)tn=(ze+jt.intValue()).toString(Ee).substr(1)+tn,kt.divRemTo(tt,kt,jt);return jt.intValue().toString(Ee)+tn}function $(Ee,Pe){this.fromInt(0),Pe==null&&(Pe=10);for(var ze=this.chunkSize(Pe),tt=Math.pow(Pe,ze),kt=!1,jt=0,tn=0,un=0;un<Ee.length;++un){var Fr=g(Ee,un);if(Fr<0){Ee.charAt(un)=="-"&&this.signum()==0&&(kt=!0);continue}tn=Pe*tn+Fr,++jt>=ze&&(this.dMultiply(tt),this.dAddOffset(tn,0),jt=0,tn=0)}jt>0&&(this.dMultiply(Math.pow(Pe,jt)),this.dAddOffset(tn,0)),kt&&o.ZERO.subTo(this,this)}function ue(Ee,Pe,ze){if(typeof Pe=="number")if(Ee<2)this.fromInt(1);else for(this.fromNumber(Ee,ze),this.testBit(Ee-1)||this.bitwiseTo(o.ONE.shiftLeft(Ee-1),rt,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(Pe);)this.dAddOffset(2,0),this.bitLength()>Ee&&this.subTo(o.ONE.shiftLeft(Ee-1),this);else{var tt=new Array,kt=Ee&7;tt.length=(Ee>>3)+1,Pe.nextBytes(tt),kt>0?tt[0]&=(1<<kt)-1:tt[0]=0,this.fromString(tt,256)}}function Ce(){var Ee=this.t,Pe=new Array;Pe[0]=this.s;var ze=this.DB-Ee*this.DB%8,tt,kt=0;if(Ee-- >0)for(ze<this.DB&&(tt=this[Ee]>>ze)!=(this.s&this.DM)>>ze&&(Pe[kt++]=tt|this.s<<this.DB-ze);Ee>=0;)ze<8?(tt=(this[Ee]&(1<<ze)-1)<<8-ze,tt|=this[--Ee]>>(ze+=this.DB-8)):(tt=this[Ee]>>(ze-=8)&255,ze<=0&&(ze+=this.DB,--Ee)),tt&128&&(tt|=-256),kt==0&&(this.s&128)!=(tt&128)&&++kt,(kt>0||tt!=this.s)&&(Pe[kt++]=tt);return Pe}function Oe(Ee){return this.compareTo(Ee)==0}function Ne(Ee){return this.compareTo(Ee)<0?this:Ee}function Me(Ee){return this.compareTo(Ee)>0?this:Ee}function Ue(Ee,Pe,ze){var tt,kt,jt=Math.min(Ee.t,this.t);for(tt=0;tt<jt;++tt)ze[tt]=Pe(this[tt],Ee[tt]);if(Ee.t<this.t){for(kt=Ee.s&this.DM,tt=jt;tt<this.t;++tt)ze[tt]=Pe(this[tt],kt);ze.t=this.t}else{for(kt=this.s&this.DM,tt=jt;tt<Ee.t;++tt)ze[tt]=Pe(kt,Ee[tt]);ze.t=Ee.t}ze.s=Pe(this.s,Ee.s),ze.clamp()}function Ve(Ee,Pe){return Ee&Pe}function We(Ee){var Pe=i();return this.bitwiseTo(Ee,Ve,Pe),Pe}function rt(Ee,Pe){return Ee|Pe}function At(Ee){var Pe=i();return this.bitwiseTo(Ee,rt,Pe),Pe}function _t(Ee,Pe){return Ee^Pe}function Ot(Ee){var Pe=i();return this.bitwiseTo(Ee,_t,Pe),Pe}function wt(Ee,Pe){return Ee&~Pe}function Dt(Ee){var Pe=i();return this.bitwiseTo(Ee,wt,Pe),Pe}function pt(){for(var Ee=i(),Pe=0;Pe<this.t;++Pe)Ee[Pe]=this.DM&~this[Pe];return Ee.t=this.t,Ee.s=~this.s,Ee}function En(Ee){var Pe=i();return Ee<0?this.rShiftTo(-Ee,Pe):this.lShiftTo(Ee,Pe),Pe}function it(Ee){var Pe=i();return Ee<0?this.lShiftTo(-Ee,Pe):this.rShiftTo(Ee,Pe),Pe}function ut(Ee){if(Ee==0)return-1;var Pe=0;return Ee&65535||(Ee>>=16,Pe+=16),Ee&255||(Ee>>=8,Pe+=8),Ee&15||(Ee>>=4,Pe+=4),Ee&3||(Ee>>=2,Pe+=2),Ee&1||++Pe,Pe}function ne(){for(var Ee=0;Ee<this.t;++Ee)if(this[Ee]!=0)return Ee*this.DB+ut(this[Ee]);return this.s<0?this.t*this.DB:-1}function Ie(Ee){for(var Pe=0;Ee!=0;)Ee&=Ee-1,++Pe;return Pe}function ke(){for(var Ee=0,Pe=this.s&this.DM,ze=0;ze<this.t;++ze)Ee+=Ie(this[ze]^Pe);return Ee}function Fe(Ee){var Pe=Math.floor(Ee/this.DB);return Pe>=this.t?this.s!=0:(this[Pe]&1<<Ee%this.DB)!=0}function Ge(Ee,Pe){var ze=o.ONE.shiftLeft(Ee);return this.bitwiseTo(ze,Pe,ze),ze}function ft(Ee){return this.changeBit(Ee,rt)}function Et(Ee){return this.changeBit(Ee,wt)}function Bt(Ee){return this.changeBit(Ee,_t)}function Xt(Ee,Pe){for(var ze=0,tt=0,kt=Math.min(Ee.t,this.t);ze<kt;)tt+=this[ze]+Ee[ze],Pe[ze++]=tt&this.DM,tt>>=this.DB;if(Ee.t<this.t){for(tt+=Ee.s;ze<this.t;)tt+=this[ze],Pe[ze++]=tt&this.DM,tt>>=this.DB;tt+=this.s}else{for(tt+=this.s;ze<Ee.t;)tt+=Ee[ze],Pe[ze++]=tt&this.DM,tt>>=this.DB;tt+=Ee.s}Pe.s=tt<0?-1:0,tt>0?Pe[ze++]=tt:tt<-1&&(Pe[ze++]=this.DV+tt),Pe.t=ze,Pe.clamp()}function Sn(Ee){var Pe=i();return this.addTo(Ee,Pe),Pe}function br(Ee){var Pe=i();return this.subTo(Ee,Pe),Pe}function ci(Ee){var Pe=i();return this.multiplyTo(Ee,Pe),Pe}function Hr(){var Ee=i();return this.squareTo(Ee),Ee}function Ir(Ee){var Pe=i();return this.divRemTo(Ee,Pe,null),Pe}function Ca(Ee){var Pe=i();return this.divRemTo(Ee,null,Pe),Pe}function Nr(Ee){var Pe=i(),ze=i();return this.divRemTo(Ee,Pe,ze),new Array(Pe,ze)}function na(Ee){this[this.t]=this.am(0,Ee-1,this,0,0,this.t),++this.t,this.clamp()}function co(Ee,Pe){if(Ee!=0){for(;this.t<=Pe;)this[this.t++]=0;for(this[Pe]+=Ee;this[Pe]>=this.DV;)this[Pe]-=this.DV,++Pe>=this.t&&(this[this.t++]=0),++this[Pe]}}function fi(){}function Bo(Ee){return Ee}function ms(Ee,Pe,ze){Ee.multiplyTo(Pe,ze)}function fo(Ee,Pe){Ee.squareTo(Pe)}fi.prototype.convert=Bo,fi.prototype.revert=Bo,fi.prototype.mulTo=ms,fi.prototype.sqrTo=fo;function fl(Ee){return this.exp(Ee,new fi)}function ht(Ee,Pe,ze){var tt=Math.min(this.t+Ee.t,Pe);for(ze.s=0,ze.t=tt;tt>0;)ze[--tt]=0;var kt;for(kt=ze.t-this.t;tt<kt;++tt)ze[tt+this.t]=this.am(0,Ee[tt],ze,tt,0,this.t);for(kt=Math.min(Ee.t,Pe);tt<kt;++tt)this.am(0,Ee[tt],ze,tt,0,Pe-tt);ze.clamp()}function T(Ee,Pe,ze){--Pe;var tt=ze.t=this.t+Ee.t-Pe;for(ze.s=0;--tt>=0;)ze[tt]=0;for(tt=Math.max(Pe-this.t,0);tt<Ee.t;++tt)ze[this.t+tt-Pe]=this.am(Pe-tt,Ee[tt],ze,0,0,this.t+tt-Pe);ze.clamp(),ze.drShiftTo(1,ze)}function I(Ee){this.r2=i(),this.q3=i(),o.ONE.dlShiftTo(2*Ee.t,this.r2),this.mu=this.r2.divide(Ee),this.m=Ee}function U(Ee){if(Ee.s<0||Ee.t>2*this.m.t)return Ee.mod(this.m);if(Ee.compareTo(this.m)<0)return Ee;var Pe=i();return Ee.copyTo(Pe),this.reduce(Pe),Pe}function H(Ee){return Ee}function ee(Ee){for(Ee.drShiftTo(this.m.t-1,this.r2),Ee.t>this.m.t+1&&(Ee.t=this.m.t+1,Ee.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);Ee.compareTo(this.r2)<0;)Ee.dAddOffset(1,this.m.t+1);for(Ee.subTo(this.r2,Ee);Ee.compareTo(this.m)>=0;)Ee.subTo(this.m,Ee)}function me(Ee,Pe){Ee.squareTo(Pe),this.reduce(Pe)}function De(Ee,Pe,ze){Ee.multiplyTo(Pe,ze),this.reduce(ze)}I.prototype.convert=U,I.prototype.revert=H,I.prototype.reduce=ee,I.prototype.mulTo=De,I.prototype.sqrTo=me;function je(Ee,Pe){var ze=Ee.bitLength(),tt,kt=_(1),jt;if(ze<=0)return kt;ze<18?tt=1:ze<48?tt=3:ze<144?tt=4:ze<768?tt=5:tt=6,ze<8?jt=new z(Pe):Pe.isEven()?jt=new I(Pe):jt=new oe(Pe);var tn=new Array,un=3,Fr=tt-1,yi=(1<<tt)-1;if(tn[1]=jt.convert(this),tt>1){var Wa=i();for(jt.sqrTo(tn[1],Wa);un<=yi;)tn[un]=i(),jt.mulTo(Wa,tn[un-2],tn[un]),un+=2}var da=Ee.t-1,Cn,An=!0,Gi=i(),Bi;for(ze=k(Ee[da])-1;da>=0;){for(ze>=Fr?Cn=Ee[da]>>ze-Fr&yi:(Cn=(Ee[da]&(1<<ze+1)-1)<<Fr-ze,da>0&&(Cn|=Ee[da-1]>>this.DB+ze-Fr)),un=tt;!(Cn&1);)Cn>>=1,--un;if((ze-=un)<0&&(ze+=this.DB,--da),An)tn[Cn].copyTo(kt),An=!1;else{for(;un>1;)jt.sqrTo(kt,Gi),jt.sqrTo(Gi,kt),un-=2;un>0?jt.sqrTo(kt,Gi):(Bi=kt,kt=Gi,Gi=Bi),jt.mulTo(Gi,tn[Cn],kt)}for(;da>=0&&!(Ee[da]&1<<ze);)jt.sqrTo(kt,Gi),Bi=kt,kt=Gi,Gi=Bi,--ze<0&&(ze=this.DB-1,--da)}return jt.revert(kt)}function Qe(Ee){var Pe=this.s<0?this.negate():this.clone(),ze=Ee.s<0?Ee.negate():Ee.clone();if(Pe.compareTo(ze)<0){var tt=Pe;Pe=ze,ze=tt}var kt=Pe.getLowestSetBit(),jt=ze.getLowestSetBit();if(jt<0)return Pe;for(kt<jt&&(jt=kt),jt>0&&(Pe.rShiftTo(jt,Pe),ze.rShiftTo(jt,ze));Pe.signum()>0;)(kt=Pe.getLowestSetBit())>0&&Pe.rShiftTo(kt,Pe),(kt=ze.getLowestSetBit())>0&&ze.rShiftTo(kt,ze),Pe.compareTo(ze)>=0?(Pe.subTo(ze,Pe),Pe.rShiftTo(1,Pe)):(ze.subTo(Pe,ze),ze.rShiftTo(1,ze));return jt>0&&ze.lShiftTo(jt,ze),ze}function nt(Ee){if(Ee<=0)return 0;var Pe=this.DV%Ee,ze=this.s<0?Ee-1:0;if(this.t>0)if(Pe==0)ze=this[0]%Ee;else for(var tt=this.t-1;tt>=0;--tt)ze=(Pe*ze+this[tt])%Ee;return ze}function gt(Ee){var Pe=Ee.isEven();if(this.isEven()&&Pe||Ee.signum()==0)return o.ZERO;for(var ze=Ee.clone(),tt=this.clone(),kt=_(1),jt=_(0),tn=_(0),un=_(1);ze.signum()!=0;){for(;ze.isEven();)ze.rShiftTo(1,ze),Pe?((!kt.isEven()||!jt.isEven())&&(kt.addTo(this,kt),jt.subTo(Ee,jt)),kt.rShiftTo(1,kt)):jt.isEven()||jt.subTo(Ee,jt),jt.rShiftTo(1,jt);for(;tt.isEven();)tt.rShiftTo(1,tt),Pe?((!tn.isEven()||!un.isEven())&&(tn.addTo(this,tn),un.subTo(Ee,un)),tn.rShiftTo(1,tn)):un.isEven()||un.subTo(Ee,un),un.rShiftTo(1,un);ze.compareTo(tt)>=0?(ze.subTo(tt,ze),Pe&&kt.subTo(tn,kt),jt.subTo(un,jt)):(tt.subTo(ze,tt),Pe&&tn.subTo(kt,tn),un.subTo(jt,un))}if(tt.compareTo(o.ONE)!=0)return o.ZERO;if(un.compareTo(Ee)>=0)return un.subtract(Ee);if(un.signum()<0)un.addTo(Ee,un);else return un;return un.signum()<0?un.add(Ee):un}var vt=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],Tt=(1<<26)/vt[vt.length-1];function rn(Ee){var Pe,ze=this.abs();if(ze.t==1&&ze[0]<=vt[vt.length-1]){for(Pe=0;Pe<vt.length;++Pe)if(ze[0]==vt[Pe])return!0;return!1}if(ze.isEven())return!1;for(Pe=1;Pe<vt.length;){for(var tt=vt[Pe],kt=Pe+1;kt<vt.length&&tt<Tt;)tt*=vt[kt++];for(tt=ze.modInt(tt);Pe<kt;)if(tt%vt[Pe++]==0)return!1}return ze.millerRabin(Ee)}function mn(Ee){var Pe=this.subtract(o.ONE),ze=Pe.getLowestSetBit();if(ze<=0)return!1;var tt=Pe.shiftRight(ze);Ee=Ee+1>>1,Ee>vt.length&&(Ee=vt.length);for(var kt=i(),jt=0;jt<Ee;++jt){kt.fromInt(vt[Math.floor(Math.random()*vt.length)]);var tn=kt.modPow(tt,this);if(tn.compareTo(o.ONE)!=0&&tn.compareTo(Pe)!=0){for(var un=1;un++<ze&&tn.compareTo(Pe)!=0;)if(tn=tn.modPowInt(2,this),tn.compareTo(o.ONE)==0)return!1;if(tn.compareTo(Pe)!=0)return!1}}return!0}o.prototype.chunkSize=Te,o.prototype.toRadix=W,o.prototype.fromRadix=$,o.prototype.fromNumber=ue,o.prototype.bitwiseTo=Ue,o.prototype.changeBit=Ge,o.prototype.addTo=Xt,o.prototype.dMultiply=na,o.prototype.dAddOffset=co,o.prototype.multiplyLowerTo=ht,o.prototype.multiplyUpperTo=T,o.prototype.modInt=nt,o.prototype.millerRabin=mn,o.prototype.clone=pe,o.prototype.intValue=ve,o.prototype.byteValue=Se,o.prototype.shortValue=we,o.prototype.signum=Z,o.prototype.toByteArray=Ce,o.prototype.equals=Oe,o.prototype.min=Ne,o.prototype.max=Me,o.prototype.and=We,o.prototype.or=At,o.prototype.xor=Ot,o.prototype.andNot=Dt,o.prototype.not=pt,o.prototype.shiftLeft=En,o.prototype.shiftRight=it,o.prototype.getLowestSetBit=ne,o.prototype.bitCount=ke,o.prototype.testBit=Fe,o.prototype.setBit=ft,o.prototype.clearBit=Et,o.prototype.flipBit=Bt,o.prototype.add=Sn,o.prototype.subtract=br,o.prototype.multiply=ci,o.prototype.divide=Ir,o.prototype.remainder=Ca,o.prototype.divideAndRemainder=Nr,o.prototype.modPow=je,o.prototype.modInverse=gt,o.prototype.pow=fl,o.prototype.gcd=Qe,o.prototype.isProbablePrime=rn,o.prototype.square=Hr,o.prototype.Barrett=I;var Wt,Kt,bn;function Gn(Ee){Kt[bn++]^=Ee&255,Kt[bn++]^=Ee>>8&255,Kt[bn++]^=Ee>>16&255,Kt[bn++]^=Ee>>24&255,bn>=xt&&(bn-=xt)}function wr(){Gn(new Date().getTime())}if(Kt==null){Kt=new Array,bn=0;var _r;if(typeof window<"u"&&window.crypto){if(window.crypto.getRandomValues){var pi=new Uint8Array(32);for(window.crypto.getRandomValues(pi),_r=0;_r<32;++_r)Kt[bn++]=pi[_r]}else if(navigator.appName=="Netscape"&&navigator.appVersion<"5"){var vi=window.crypto.random(32);for(_r=0;_r<vi.length;++_r)Kt[bn++]=vi.charCodeAt(_r)&255}}for(;bn<xt;)_r=Math.floor(65536*Math.random()),Kt[bn++]=_r>>>8,Kt[bn++]=_r&255;bn=0,wr()}function Aa(){if(Wt==null){for(wr(),Wt=ct(),Wt.init(Kt),bn=0;bn<Kt.length;++bn)Kt[bn]=0;bn=0}return Wt.next()}function gi(Ee){var Pe;for(Pe=0;Pe<Ee.length;++Pe)Ee[Pe]=Aa()}function le(){}le.prototype.nextBytes=gi;function fe(){this.i=0,this.j=0,this.S=new Array}function Le(Ee){var Pe,ze,tt;for(Pe=0;Pe<256;++Pe)this.S[Pe]=Pe;for(ze=0,Pe=0;Pe<256;++Pe)ze=ze+this.S[Pe]+Ee[Pe%Ee.length]&255,tt=this.S[Pe],this.S[Pe]=this.S[ze],this.S[ze]=tt;this.i=0,this.j=0}function Ye(){var Ee;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,Ee=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=Ee,this.S[Ee+this.S[this.i]&255]}fe.prototype.init=Le,fe.prototype.next=Ye;function ct(){return new fe}var xt=256;e.exports={default:o,BigInteger:o,SecureRandom:le}}).call(Jn)})(Gne);const{BigInteger:Jh}=Yh;function Wne(e){let t=e.toString(16);if(t[0]!=="-")t.length%2===1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{t=t.substr(1);let n=t.length;n%2===1?n+=1:t.match(/^[0-7]/)||(n+=2);let r="";for(let a=0;a<n;a++)r+="f";r=new Jh(r,16),t=r.xor(e).add(Jh.ONE),t=t.toString(16).replace(/^-/,"")}return t}class LB{constructor(){this.tlv=null,this.t="00",this.l="00",this.v=""}getEncodedHex(){return this.tlv||(this.v=this.getValue(),this.l=this.getLength(),this.tlv=this.t+this.l+this.v),this.tlv}getLength(){const t=this.v.length/2;let n=t.toString(16);return n.length%2===1&&(n="0"+n),t<128?n:(128+n.length/2).toString(16)+n}getValue(){return""}}class RB extends LB{constructor(t){super(),this.t="02",t&&(this.v=Wne(t))}getValue(){return this.v}}class Kne extends LB{constructor(t){super(),this.t="30",this.asn1Array=t}getValue(){return this.v=this.asn1Array.map(t=>t.getEncodedHex()).join(""),this.v}}function jB(e,t){return+e[t+2]<8?1:+e.substr(t+2,2)&127+1}function VB(e,t){const n=jB(e,t),r=e.substr(t+2,n*2);return r?(+r[0]<8?new Jh(r,16):new Jh(r.substr(2),16)).intValue():-1}function MS(e,t){const n=jB(e,t);return t+(n+1)*2}var Xne={encodeDer(e,t){const n=new RB(e),r=new RB(t);return new Kne([n,r]).getEncodedHex()},decodeDer(e){const t=MS(e,0),n=MS(e,t),r=VB(e,t),a=e.substr(n,r*2),o=n+a.length,i=MS(e,o),u=VB(e,o),l=e.substr(i,u*2),s=new Jh(a,16),c=new Jh(l,16);return{r:s,s:c}}};const{BigInteger:ho}=Yh,zB=new ho("2"),UB=new ho("3");class Sc{constructor(t,n){this.x=n,this.q=t}equals(t){return t===this?!0:this.q.equals(t.q)&&this.x.equals(t.x)}toBigInteger(){return this.x}negate(){return new Sc(this.q,this.x.negate().mod(this.q))}add(t){return new Sc(this.q,this.x.add(t.toBigInteger()).mod(this.q))}subtract(t){return new Sc(this.q,this.x.subtract(t.toBigInteger()).mod(this.q))}multiply(t){return new Sc(this.q,this.x.multiply(t.toBigInteger()).mod(this.q))}divide(t){return new Sc(this.q,this.x.multiply(t.toBigInteger().modInverse(this.q)).mod(this.q))}square(){return new Sc(this.q,this.x.square().mod(this.q))}}class Cc{constructor(t,n,r,a){this.curve=t,this.x=n,this.y=r,this.z=a??ho.ONE,this.zinv=null}getX(){return this.zinv===null&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))}getY(){return this.zinv===null&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))}equals(t){return t===this?!0:this.isInfinity()?t.isInfinity():t.isInfinity()?this.isInfinity():t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(ho.ZERO)?t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(ho.ZERO):!1}isInfinity(){return this.x===null&&this.y===null?!0:this.z.equals(ho.ZERO)&&!this.y.toBigInteger().equals(ho.ZERO)}negate(){return new Cc(this.curve,this.x,this.y.negate(),this.z)}add(t){if(this.isInfinity())return t;if(t.isInfinity())return this;const n=this.x.toBigInteger(),r=this.y.toBigInteger(),a=this.z,o=t.x.toBigInteger(),i=t.y.toBigInteger(),u=t.z,l=this.curve.q,s=n.multiply(u).mod(l),c=o.multiply(a).mod(l),f=s.subtract(c),p=r.multiply(u).mod(l),d=i.multiply(a).mod(l),m=p.subtract(d);if(ho.ZERO.equals(f))return ho.ZERO.equals(m)?this.twice():this.curve.infinity;const v=s.add(c),h=a.multiply(u).mod(l),g=f.square().mod(l),y=f.multiply(g).mod(l),x=h.multiply(m.square()).subtract(v.multiply(g)).mod(l),_=f.multiply(x).mod(l),w=m.multiply(g.multiply(s).subtract(x)).subtract(p.multiply(y)).mod(l),E=y.multiply(h).mod(l);return new Cc(this.curve,this.curve.fromBigInteger(_),this.curve.fromBigInteger(w),E)}twice(){if(this.isInfinity())return this;if(!this.y.toBigInteger().signum())return this.curve.infinity;const t=this.x.toBigInteger(),n=this.y.toBigInteger(),r=this.z,a=this.curve.q,o=this.curve.a.toBigInteger(),i=t.square().multiply(UB).add(o.multiply(r.square())).mod(a),u=n.shiftLeft(1).multiply(r).mod(a),l=n.square().mod(a),s=l.multiply(t).multiply(r).mod(a),c=u.square().mod(a),f=i.square().subtract(s.shiftLeft(3)).mod(a),p=u.multiply(f).mod(a),d=i.multiply(s.shiftLeft(2).subtract(f)).subtract(c.shiftLeft(1).multiply(l)).mod(a),m=u.multiply(c).mod(a);return new Cc(this.curve,this.curve.fromBigInteger(p),this.curve.fromBigInteger(d),m)}multiply(t){if(this.isInfinity())return this;if(!t.signum())return this.curve.infinity;const n=t.multiply(UB),r=this.negate();let a=this;for(let o=n.bitLength()-2;o>0;o--){a=a.twice();const i=n.testBit(o),u=t.testBit(o);i!==u&&(a=a.add(i?this:r))}return a}}var Yne={ECPointFp:Cc,ECCurveFp:class{constructor(t,n,r){this.q=t,this.a=this.fromBigInteger(n),this.b=this.fromBigInteger(r),this.infinity=new Cc(this,null,null)}equals(t){return t===this?!0:this.q.equals(t.q)&&this.a.equals(t.a)&&this.b.equals(t.b)}fromBigInteger(t){return new Sc(this.q,t)}decodePointHex(t){switch(parseInt(t.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:const n=this.fromBigInteger(new ho(t.substr(2),16));let r=this.fromBigInteger(n.multiply(n.square()).add(n.multiply(this.a)).add(this.b).toBigInteger().modPow(this.q.divide(new ho("4")).add(ho.ONE),this.q));return r.toBigInteger().mod(zB).equals(new ho(t.substr(0,2),16).subtract(zB))||(r=r.negate()),new Cc(this,n,r);case 4:case 6:case 7:const a=(t.length-2)/2,o=t.substr(2,a),i=t.substr(a+2,a);return new Cc(this,this.fromBigInteger(new ho(o,16)),this.fromBigInteger(new ho(i,16)));default:return null}}}};const{BigInteger:gl,SecureRandom:Jne}=Yh,{ECCurveFp:Zne}=Yne,Qne=new Jne,{curve:Zh,G:qne,n:HB}=GB();function $ne(){return Zh}function GB(){const e=new gl("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFFFFFF",16),t=new gl("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFFFFFC",16),n=new gl("28E9FA9E9D9F5E344D5A9E4BCF6509A7F39789F515AB8F92DDBCBD414D940E93",16),r=new Zne(e,t,n),a="32C4AE2C1F1981195F9904466A39C9948FE30BBFF2660BE1715A4589334C74C7",o="BC3736A2F4F6779C59BDCEE36B692153D0A9877CC62A474002DF32E52139F0A0",i=r.decodePointHex("04"+a+o),u=new gl("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFF7203DF6B21C6052B53BBF40939D54123",16);return{curve:r,G:i,n:u}}function ere(e,t,n){const a=(e?new gl(e,t,n):new gl(HB.bitLength(),Qne)).mod(HB.subtract(gl.ONE)).add(gl.ONE),o=_m(a.toString(16),64),i=qne.multiply(a),u=_m(i.getX().toBigInteger().toString(16),64),l=_m(i.getY().toBigInteger().toString(16),64),s="04"+u+l;return{privateKey:o,publicKey:s}}function tre(e){if(e.length!==130)throw new Error("Invalid public key to compress");const t=(e.length-2)/2,n=e.substr(2,t),r=new gl(e.substr(t+2,t),16);let a="03";return r.mod(new gl("2")).equals(gl.ZERO)&&(a="02"),a+n}function nre(e){e=unescape(encodeURIComponent(e));const t=e.length,n=[];for(let a=0;a<t;a++)n[a>>>2]|=(e.charCodeAt(a)&255)<<24-a%4*8;const r=[];for(let a=0;a<t;a++){const o=n[a>>>2]>>>24-a%4*8&255;r.push((o>>>4).toString(16)),r.push((o&15).toString(16))}return r.join("")}function _m(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e}function rre(e){return e.map(t=>(t=t.toString(16),t.length===1?"0"+t:t)).join("")}function ire(e){const t=[];let n=0;for(let r=0;r<e.length*2;r+=2)t[r>>>3]|=parseInt(e[n],10)<<24-r%8*4,n++;try{const r=[];for(let a=0;a<e.length;a++){const o=t[a>>>2]>>>24-a%4*8&255;r.push(String.fromCharCode(o))}return decodeURIComponent(escape(r.join("")))}catch{throw new Error("Malformed UTF-8 data")}}function are(e){const t=[];let n=e.length;n%2!==0&&(e=_m(e,n+1)),n=e.length;for(let r=0;r<n;r+=2)t.push(parseInt(e.substr(r,2),16));return t}function ore(e){const t=Zh.decodePointHex(e);if(!t)return!1;const n=t.getX();return t.getY().square().equals(n.multiply(n.square()).add(n.multiply(Zh.a)).add(Zh.b))}function sre(e,t){const n=Zh.decodePointHex(e);if(!n)return!1;const r=Zh.decodePointHex(t);return r?n.equals(r):!1}var lre={getGlobalCurve:$ne,generateEcparam:GB,generateKeyPairHex:ere,compressPublicKeyHex:tre,utf8ToHex:nre,leftPad:_m,arrayToHex:rre,arrayToUtf8:ire,hexToArray:are,verifyPublicKey:ore,comparePublicKeyHex:sre};const yl=new Uint32Array(68),FS=new Uint32Array(64);function ws(e,t){const n=t&31;return e<<n|e>>>32-n}function WB(e,t){const n=[];for(let r=e.length-1;r>=0;r--)n[r]=(e[r]^t[r])&255;return n}function ure(e){return e^ws(e,9)^ws(e,17)}function cre(e){return e^ws(e,15)^ws(e,23)}function P1(e){let t=e.length*8,n=t%512;n=n>=448?512-n%448-1:448-n-1;const r=new Array((n-7)/8),a=new Array(8);for(let c=0,f=r.length;c<f;c++)r[c]=0;for(let c=0,f=a.length;c<f;c++)a[c]=0;t=t.toString(2);for(let c=7;c>=0;c--)if(t.length>8){const f=t.length-8;a[c]=parseInt(t.substr(f),2),t=t.substr(0,f)}else t.length>0&&(a[c]=parseInt(t,2),t="");const o=new Uint8Array([...e,128,...r,...a]),i=new DataView(o.buffer,0),u=o.length/64,l=new Uint32Array([1937774191,1226093241,388252375,3666478592,2842636476,372324522,3817729613,2969243214]);for(let c=0;c<u;c++){yl.fill(0),FS.fill(0);const f=16*c;for(let k=0;k<16;k++)yl[k]=i.getUint32((f+k)*4,!1);for(let k=16;k<68;k++)yl[k]=cre(yl[k-16]^yl[k-9]^ws(yl[k-3],15))^ws(yl[k-13],7)^yl[k-6];for(let k=0;k<64;k++)FS[k]=yl[k]^yl[k+4];const p=2043430169,d=2055708042;let m=l[0],v=l[1],h=l[2],g=l[3],y=l[4],x=l[5],_=l[6],w=l[7],E,S,C,D,A;for(let k=0;k<64;k++)A=k>=0&&k<=15?p:d,E=ws(ws(m,12)+y+ws(A,k),7),S=E^ws(m,12),C=(k>=0&&k<=15?m^v^h:m&v|m&h|v&h)+g+S+FS[k],D=(k>=0&&k<=15?y^x^_:y&x|~y&_)+w+E+yl[k],g=h,h=ws(v,9),v=m,m=C,w=_,_=ws(x,19),x=y,y=ure(D);l[0]^=m,l[1]^=v,l[2]^=h,l[3]^=g,l[4]^=y,l[5]^=x,l[6]^=_,l[7]^=w}const s=[];for(let c=0,f=l.length;c<f;c++){const p=l[c];s.push((p&4278190080)>>>24,(p&16711680)>>>16,(p&65280)>>>8,p&255)}return s}const xm=64,KB=new Uint8Array(xm),XB=new Uint8Array(xm);for(let e=0;e<xm;e++)KB[e]=54,XB[e]=92;function fre(e,t){for(t.length>xm&&(t=P1(t));t.length<xm;)t.push(0);const n=WB(t,KB),r=WB(t,XB),a=P1([...n,...e]);return P1([...r,...a])}var YB={sm3:P1,hmac:fre};const{BigInteger:Jo}=Yh,{encodeDer:pre,decodeDer:hre}=Xne,or=lre,Qh=YB.sm3,{G:Yf,curve:JB,n:qh}=or.generateEcparam(),ZB=0;function dre(e,t,n=1){e=typeof e=="string"?or.hexToArray(or.utf8ToHex(e)):Array.prototype.slice.call(e),t=or.getGlobalCurve().decodePointHex(t);const r=or.generateKeyPairHex(),a=new Jo(r.privateKey,16);let o=r.publicKey;o.length>128&&(o=o.substr(o.length-128));const i=t.multiply(a),u=or.hexToArray(or.leftPad(i.getX().toBigInteger().toRadix(16),64)),l=or.hexToArray(or.leftPad(i.getY().toBigInteger().toRadix(16),64)),s=or.arrayToHex(Qh([].concat(u,e,l)));let c=1,f=0,p=[];const d=[].concat(u,l),m=()=>{p=Qh([...d,c>>24&255,c>>16&255,c>>8&255,c&255]),c++,f=0};m();for(let h=0,g=e.length;h<g;h++)f===p.length&&m(),e[h]^=p[f++]&255;const v=or.arrayToHex(e);return n===ZB?o+v+s:o+s+v}function mre(e,t,n=1,{output:r="string"}={}){t=new Jo(t,16);let a=e.substr(128,64),o=e.substr(128+64);n===ZB&&(a=e.substr(e.length-64),o=e.substr(128,e.length-128-64));const i=or.hexToArray(o),l=or.getGlobalCurve().decodePointHex("04"+e.substr(0,128)).multiply(t),s=or.hexToArray(or.leftPad(l.getX().toBigInteger().toRadix(16),64)),c=or.hexToArray(or.leftPad(l.getY().toBigInteger().toRadix(16),64));let f=1,p=0,d=[];const m=[].concat(s,c),v=()=>{d=Qh([...m,f>>24&255,f>>16&255,f>>8&255,f&255]),f++,p=0};v();for(let g=0,y=i.length;g<y;g++)p===d.length&&v(),i[g]^=d[p++]&255;return or.arrayToHex(Qh([].concat(s,i,c)))===a.toLowerCase()?r==="array"?i:or.arrayToUtf8(i):r==="array"?[]:""}function vre(e,t,{pointPool:n,der:r,hash:a,publicKey:o,userId:i}={}){let u=typeof e=="string"?or.utf8ToHex(e):or.arrayToHex(e);a&&(o=o||qB(t),u=QB(u,o,i));const l=new Jo(t,16),s=new Jo(u,16);let c=null,f=null,p=null;do{do{let d;n&&n.length?d=n.pop():d=$B(),c=d.k,f=s.add(d.x1).mod(qh)}while(f.equals(Jo.ZERO)||f.add(c).equals(qh));p=l.add(Jo.ONE).modInverse(qh).multiply(c.subtract(f.multiply(l))).mod(qh)}while(p.equals(Jo.ZERO));return r?pre(f,p):or.leftPad(f.toString(16),64)+or.leftPad(p.toString(16),64)}function gre(e,t,n,{der:r,hash:a,userId:o}={}){let i=typeof e=="string"?or.utf8ToHex(e):or.arrayToHex(e);a&&(i=QB(i,n,o));let u,l;if(r){const m=hre(t);u=m.r,l=m.s}else u=new Jo(t.substring(0,64),16),l=new Jo(t.substring(64),16);const s=JB.decodePointHex(n),c=new Jo(i,16),f=u.add(l).mod(qh);if(f.equals(Jo.ZERO))return!1;const p=Yf.multiply(l).add(s.multiply(f)),d=c.add(p.getX().toBigInteger()).mod(qh);return u.equals(d)}function QB(e,t,n="1234567812345678"){n=or.utf8ToHex(n);const r=or.leftPad(Yf.curve.a.toBigInteger().toRadix(16),64),a=or.leftPad(Yf.curve.b.toBigInteger().toRadix(16),64),o=or.leftPad(Yf.getX().toBigInteger().toRadix(16),64),i=or.leftPad(Yf.getY().toBigInteger().toRadix(16),64);let u,l;if(t.length===128)u=t.substr(0,64),l=t.substr(64,64);else{const p=Yf.curve.decodePointHex(t);u=or.leftPad(p.getX().toBigInteger().toRadix(16),64),l=or.leftPad(p.getY().toBigInteger().toRadix(16),64)}const s=or.hexToArray(n+r+a+o+i+u+l),c=n.length*4;s.unshift(c&255),s.unshift(c>>8&255);const f=Qh(s);return or.arrayToHex(Qh(f.concat(or.hexToArray(e))))}function qB(e){const t=Yf.multiply(new Jo(e,16)),n=or.leftPad(t.getX().toBigInteger().toString(16),64),r=or.leftPad(t.getY().toBigInteger().toString(16),64);return"04"+n+r}function $B(){const e=or.generateKeyPairHex(),t=JB.decodePointHex(e.publicKey);return e.k=new Jo(e.privateKey,16),e.x1=t.getX().toBigInteger(),e}var yre={generateKeyPairHex:or.generateKeyPairHex,compressPublicKeyHex:or.compressPublicKeyHex,comparePublicKeyHex:or.comparePublicKeyHex,doEncrypt:dre,doDecrypt:mre,doSignature:vre,doVerifySignature:gre,getPublicKeyFromPrivateKey:qB,getPoint:$B,verifyPublicKey:or.verifyPublicKey};const{sm3:bre,hmac:_re}=YB;function xre(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e}function eI(e){return e.map(t=>(t=t.toString(16),t.length===1?"0"+t:t)).join("")}function wre(e){const t=[];let n=e.length;n%2!==0&&(e=xre(e,n+1)),n=e.length;for(let r=0;r<n;r+=2)t.push(parseInt(e.substr(r,2),16));return t}function Ere(e){const t=[];for(let n=0,r=e.length;n<r;n++){const a=e.codePointAt(n);if(a<=127)t.push(a);else if(a<=2047)t.push(192|a>>>6),t.push(128|a&63);else if(a<=55295||a>=57344&&a<=65535)t.push(224|a>>>12),t.push(128|a>>>6&63),t.push(128|a&63);else if(a>=65536&&a<=1114111)n++,t.push(240|a>>>18&28),t.push(128|a>>>12&63),t.push(128|a>>>6&63),t.push(128|a&63);else throw t.push(a),new Error("input is not supported")}return t}var Sre=function(e,t){if(e=typeof e=="string"?Ere(e):Array.prototype.slice.call(e),t){if((t.mode||"hmac")!=="hmac")throw new Error("invalid mode");let r=t.key;if(!r)throw new Error("invalid key");return r=typeof r=="string"?wre(r):Array.prototype.slice.call(r),eI(_re(e,r))}return eI(bre(e))};const Ac=0,Cre=32,Jf=16,O1=[214,144,233,254,204,225,61,183,22,182,20,194,40,251,44,5,43,103,154,118,42,190,4,195,170,68,19,38,73,134,6,153,156,66,80,244,145,239,152,122,51,84,11,67,237,207,172,98,228,179,28,169,201,8,232,149,128,223,148,250,117,143,63,166,71,7,167,252,243,115,23,186,131,89,60,25,230,133,79,168,104,107,129,178,113,100,218,139,248,235,15,75,112,86,157,53,30,36,14,94,99,88,209,162,37,34,124,59,1,33,120,135,212,0,70,87,159,211,39,82,76,54,2,231,160,196,200,158,234,191,138,210,64,199,56,181,163,247,242,206,249,97,21,161,224,174,93,164,155,52,26,85,173,147,50,48,245,140,177,227,29,246,226,46,130,102,202,96,192,41,35,171,13,83,78,111,213,219,55,69,222,253,142,47,3,255,106,114,109,108,91,81,141,27,175,146,187,221,188,127,17,217,92,65,31,16,90,216,10,193,49,136,165,205,123,189,45,116,208,18,184,229,180,176,137,105,151,74,12,150,119,126,101,185,241,9,197,110,198,132,24,240,125,236,58,220,77,32,121,238,95,62,215,203,57,72],B1=[462357,472066609,943670861,1415275113,1886879365,2358483617,2830087869,3301692121,3773296373,4228057617,404694573,876298825,1347903077,1819507329,2291111581,2762715833,3234320085,3705924337,4177462797,337322537,808926789,1280531041,1752135293,2223739545,2695343797,3166948049,3638552301,4110090761,269950501,741554753,1213159005,1684763257];function LS(e){const t=[];for(let n=0,r=e.length;n<r;n+=2)t.push(parseInt(e.substr(n,2),16));return t}function Are(e){return e.map(t=>(t=t.toString(16),t.length===1?"0"+t:t)).join("")}function Tre(e){const t=[];for(let n=0,r=e.length;n<r;n++){const a=e.codePointAt(n);if(a<=127)t.push(a);else if(a<=2047)t.push(192|a>>>6),t.push(128|a&63);else if(a<=55295||a>=57344&&a<=65535)t.push(224|a>>>12),t.push(128|a>>>6&63),t.push(128|a&63);else if(a>=65536&&a<=1114111)n++,t.push(240|a>>>18&28),t.push(128|a>>>12&63),t.push(128|a>>>6&63),t.push(128|a&63);else throw t.push(a),new Error("input is not supported")}return t}function Dre(e){const t=[];for(let n=0,r=e.length;n<r;n++)e[n]>=240&&e[n]<=247?(t.push(String.fromCodePoint(((e[n]&7)<<18)+((e[n+1]&63)<<12)+((e[n+2]&63)<<6)+(e[n+3]&63))),n+=3):e[n]>=224&&e[n]<=239?(t.push(String.fromCodePoint(((e[n]&15)<<12)+((e[n+1]&63)<<6)+(e[n+2]&63))),n+=2):e[n]>=192&&e[n]<=223?(t.push(String.fromCodePoint(((e[n]&31)<<6)+(e[n+1]&63))),n++):t.push(String.fromCodePoint(e[n]));return t.join("")}function $h(e,t){const n=t&31;return e<<n|e>>>32-n}function Tc(e){return(O1[e>>>24&255]&255)<<24|(O1[e>>>16&255]&255)<<16|(O1[e>>>8&255]&255)<<8|O1[e&255]&255}function I1(e){return e^$h(e,2)^$h(e,10)^$h(e,18)^$h(e,24)}function N1(e){return e^$h(e,13)^$h(e,23)}function kre(e,t,n){const r=new Array(4),a=new Array(4);for(let o=0;o<4;o++)a[0]=e[4*o]&255,a[1]=e[4*o+1]&255,a[2]=e[4*o+2]&255,a[3]=e[4*o+3]&255,r[o]=a[0]<<24|a[1]<<16|a[2]<<8|a[3];for(let o=0,i;o<32;o+=4)i=r[1]^r[2]^r[3]^n[o+0],r[0]^=I1(Tc(i)),i=r[2]^r[3]^r[0]^n[o+1],r[1]^=I1(Tc(i)),i=r[3]^r[0]^r[1]^n[o+2],r[2]^=I1(Tc(i)),i=r[0]^r[1]^r[2]^n[o+3],r[3]^=I1(Tc(i));for(let o=0;o<16;o+=4)t[o]=r[3-o/4]>>>24&255,t[o+1]=r[3-o/4]>>>16&255,t[o+2]=r[3-o/4]>>>8&255,t[o+3]=r[3-o/4]&255}function Pre(e,t,n){const r=new Array(4),a=new Array(4);for(let o=0;o<4;o++)a[0]=e[0+4*o]&255,a[1]=e[1+4*o]&255,a[2]=e[2+4*o]&255,a[3]=e[3+4*o]&255,r[o]=a[0]<<24|a[1]<<16|a[2]<<8|a[3];r[0]^=2746333894,r[1]^=1453994832,r[2]^=1736282519,r[3]^=2993693404;for(let o=0,i;o<32;o+=4)i=r[1]^r[2]^r[3]^B1[o+0],t[o+0]=r[0]^=N1(Tc(i)),i=r[2]^r[3]^r[0]^B1[o+1],t[o+1]=r[1]^=N1(Tc(i)),i=r[3]^r[0]^r[1]^B1[o+2],t[o+2]=r[2]^=N1(Tc(i)),i=r[0]^r[1]^r[2]^B1[o+3],t[o+3]=r[3]^=N1(Tc(i));if(n===Ac)for(let o=0,i;o<16;o++)i=t[o],t[o]=t[31-o],t[31-o]=i}function tI(e,t,n,{padding:r="pkcs#7",mode:a,iv:o=[],output:i="string"}={}){if(a==="cbc"&&(typeof o=="string"&&(o=LS(o)),o.length!==128/8))throw new Error("iv is invalid");if(typeof t=="string"&&(t=LS(t)),t.length!==128/8)throw new Error("key is invalid");if(typeof e=="string"?n!==Ac?e=Tre(e):e=LS(e):e=[...e],(r==="pkcs#5"||r==="pkcs#7")&&n!==Ac){const p=Jf-e.length%Jf;for(let d=0;d<p;d++)e.push(p)}const u=new Array(Cre);Pre(t,u,n);const l=[];let s=o,c=e.length,f=0;for(;c>=Jf;){const p=e.slice(f,f+16),d=new Array(16);if(a==="cbc")for(let m=0;m<Jf;m++)n!==Ac&&(p[m]^=s[m]);kre(p,d,u);for(let m=0;m<Jf;m++)a==="cbc"&&n===Ac&&(d[m]^=s[m]),l[f+m]=d[m];a==="cbc"&&(n!==Ac?s=d:s=p),c-=Jf,f+=Jf}if((r==="pkcs#5"||r==="pkcs#7")&&n===Ac){const p=l.length,d=l[p-1];for(let m=1;m<=d;m++)if(l[p-m]!==d)throw new Error("padding is invalid");l.splice(p-d,d)}return i!=="array"?n!==Ac?Are(l):Dre(l):l}var Ore={encrypt(e,t,n){return tI(e,t,1,n)},decrypt(e,t,n){return tI(e,t,0,n)}},M1={sm2:yre,sm3:Sre,sm4:Ore};const nI="04";function Bre(e,t){try{return nI+M1.sm2.doEncrypt(e,t,1)}catch{return null}}function Ire(e,t){if(e==null)return null;try{return M1.sm2.doDecrypt(e==null?void 0:e.substring(nI.length),t,1)}catch{return null}}const wm={encrypt:Bre,decrypt:Ire},Nre="049967b032226da56be01b804ed59e6753e2731994f4c97bb25d39c0d3166af07b73e2651d09b98ae934a70303138e859545e8314e2eda20971e222a444ecd3547",Mre="1e38a5c42fe3049bfbbcb2323a0cff3feb49e0b8156ac71eed525133603dbddb",rI=e=>(bs(e)&&(e=ai(e)),wm.encrypt(e,Nre)),iI=e=>wm.decrypt(e,Mre),aI=e=>`__${e}__mode`,Fre=(e,t)=>{const n=bs(t)?2:1;n===2&&(t=ai(t));const r=rI(t);return{[e]:r,[aI(e)]:n}},oI=e=>{e||(e=window.location.href);const t=Yl.getQueryParams(e);if(!t)return null;const n={};return Sr(t).map(r=>{let a=t[r];const o=t[aI(r)];return o!=null&&(a=iI(a),o==2&&(a=Kr(a))),n[r]=a,a}),n},F1={decryptFromLocation:()=>oI(window.location.href),decryptFromUrl:oI,encryptToUrl:Fre,decryptData:iI,encryptData:rI};var Zf=(e=>(e.year="year",e.month="month",e.day="day",e.hour="hour",e.minute="minute",e.second="second",e.week="week",e))(Zf||{});function Lre(e){return e%4===0&&e%100!==0||e%400===0}function Rre(e){return[0,31,Lre(e)?29:28,31,30,31,30,31,31,30,31,30]}function L1(e,t){var n=new Date(e),r=new Date(t),a;n>r&&(a=n,n=r,r=a);var o=Rre(n.getFullYear())[n.getMonth()];let i=r.getFullYear()-n.getFullYear();i>0&&(n.setFullYear(r.getFullYear()),r<n&&(i-=1,n.setFullYear(n.getFullYear()-1)));let u=r.getMonth()-n.getMonth();u>0&&(n.setMonth(r.getMonth()),r<n&&(u-=1,n.setMonth(n.getMonth()-1)));let l=o+r.getDate()-n.getDate();l>=o&&(l-=o,n.setDate(r.getDate()),r<n&&(l-=1,n.setDate(n.getDate()-1)));const s=Math.abs(r.getTime()-n.getTime()),c=Math.floor(s%(24*60*60*1e3)/(60*60*1e3)),f=Math.floor(s%(60*60*1e3)/(60*1e3)),p=Math.floor(s%(60*1e3)/1e3);return{years:i,months:u,days:l,hours:c,minutes:f,seconds:p}}function sI(e,t,n="day"){var r=new Date(e);switch(n){case"year":r.setFullYear(r.getFullYear()+t);break;case"month":r.setMonth(r.getMonth()+t);break;case"week":r.setDate(r.getDate()+t*7);break;case"day":r.setDate(r.getDate()+t);break;case"hour":r.setHours(r.getHours()+t);break;case"minute":r.setMinutes(r.getMinutes()+t);break;case"second":r.setSeconds(r.getSeconds()+t);break}return r}function Em(e,t,n="day"){var r=Math.abs(new Date(e).getTime()-new Date(t).getTime());const a=L1(e,t);switch(n){case"year":return a.years;case"month":return a.months+a.years*12;case"day":return Math.floor(r/(24*60*60*1e3));case"hour":return Math.floor(r/(60*60*1e3));case"minute":return Math.floor(r/(60*1e3));case"second":return Math.floor(r/1e3);case"week":return Math.floor(r/(7*24*60*60*1e3))}}function jre(e,t,n="day"){const r=L1(e,t);switch(n){case"year":return r.years;case"month":return r.months;case"day":return r.days;case"hour":return r.hours;case"minute":return r.minutes;case"second":return r.seconds}return 0}function bl(e,t="yyyy-MM-dd HH:mm:ss"){if(!t)return String(e);if(!e)return"";var n=new Date(e);const r={yyyy:n.getFullYear(),yy:n.getFullYear().toString().slice(-2),MM:(n.getMonth()+1).toString().padStart(2,"0"),M:n.getMonth()+1,dd:n.getDate().toString().padStart(2,"0"),d:n.getDate(),HH:n.getHours().toString().padStart(2,"0"),H:n.getHours(),mm:n.getMinutes().toString().padStart(2,"0"),m:n.getMinutes(),ss:n.getSeconds().toString().padStart(2,"0"),s:n.getSeconds(),SSS:n.getMilliseconds(),fff:n.getMilliseconds().toString().padStart(3,"0"),gg:"上午",aa:"下午"};let a=t;for(let o in r)a=a.replace(o,r[o]);return a}function lI(e){return!isNaN(Date.parse(e))}function Sm(e){if(lI(e))return new Date(e)}function uI(e,t){const n=Sm(e),r=ed(t);if(n===void 0)return;if(r===void 0)return n;const a=n==null?void 0:n.getFullYear(),o=n==null?void 0:n.getMonth(),i=n==null?void 0:n.getDate(),u=r==null?void 0:r.getHours(),l=r==null?void 0:r.getMinutes(),s=r==null?void 0:r.getSeconds();return new Date(a,o,i,u,l,s)}function Vre(e,t){if(!(!e||e.length<=0)){var n=e==null?void 0:e.map(r=>Sm(r));return!t||t.length<=0||(t==null?void 0:t.length)!==(e==null?void 0:e.length)?n:e==null?void 0:e.map((r,a)=>{const o=t[a];return uI(r,o)})}}function ed(e){if(e){if(lI(e))return new Date(e);var t=new Date,n=t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+e;return new Date(n)}}function Cm(e){return Array.isArray(e)?e.map(t=>ed(t)):typeof e=="string"?[ed(e)]:e}function zre(){return cI("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",/[xy]/g)}function Am(){return cI("xxxxxxxxxxxxxxxxxxxxxxxxxxxx",/[xy]/g)}function cI(e,t,n=16){return e.replace(t,r=>{const a=Math.floor(Math.random()*n);return(r==="x"?a:a&3|8).toString(n)})}const _l=function(){return Math.floor(Math.random()*1e5+Math.random()*2e4+Math.random()*5e3)},fI=()=>bl(new Date,"yyyyMMHHmmss")+"_"+_l();function RS(){return{addWindowName:()=>{window.name||(window.name=Am())},addWindowHook:(a,o)=>{_s(window,a,o)},openWindow:(a,o,i,u)=>{const l=o!=null&&o.target?"_blank":"_self",s=o!=null&&o.width&&(o!=null&&o.height)?`width=${o==null?void 0:o.width},height=${o==null?void 0:o.height}`:"";i||(i=window);var c=a;u&&(c=Yl.buildUrlByLocalQuery(a)),i==null||i.open(c,l,s)},disableFirefoxDefaultDrop:()=>{navigator.userAgent.toLowerCase().indexOf("firefox")!==-1&&(document.body.ondrop=function(o){o.stopPropagation(),o.preventDefault()})}}}const $r={info(e){Ii.ElMessage({type:"info",message:e,dangerouslyUseHTMLString:!0})},error(e){Ii.ElMessage({type:"error",message:e,dangerouslyUseHTMLString:!0})},success(e){Ii.ElMessage({type:"success",message:e,dangerouslyUseHTMLString:!0})},warning(e){Ii.ElMessage({type:"warning",message:e,dangerouslyUseHTMLString:!0})}},pI={delete(){return this.do(te.i18nt("designer.hint.confirmDelete"))},multiple(e){var t=e.map(n=>b.h("p",null,n));return this.do(b.h("p",null,t))},do(e){return Ii.ElMessageBox.confirm(e,te.i18nt("designer.hint.prompt"),{confirmButtonText:te.i18nt("designer.hint.confirm"),cancelButtonText:te.i18nt("designer.hint.cancel"),type:"warning",appendTo:"body"})}},hI={info(e){Ii.ElNotification({type:"info",message:e,dangerouslyUseHTMLString:!0})},error(e){Ii.ElNotification({type:"error",message:e,dangerouslyUseHTMLString:!0})},success(e){Ii.ElNotification({type:"success",message:e,dangerouslyUseHTMLString:!0})},warning(e){Ii.ElNotification({type:"warning",message:e,dangerouslyUseHTMLString:!0})}},R1=e=>{var a,o;const t=((a=e==null?void 0:e.exposed)==null?void 0:a.getRowScope())||{},n=((o=e==null?void 0:e.exposed)==null?void 0:o.getFormData())||{};var r=F1.decryptFromUrl(window.location.href);return{rowScope:t,formData:n,urlQuerys:r}};function Ure(e,t,n,r){var p,d;let a=Zr((p=e==null?void 0:e.content)==null?void 0:p.widgetId,!0),o=Zr((d=e==null?void 0:e.content)==null?void 0:d.sourceId,!0);if(!a||!o)return null;const i=()=>new Promise((m,v)=>{var y;let h={};if(!a||a.length<=0){m(h);return}const g=(y=a==null?void 0:a.filter(x=>{var _;return!!((_=n==null?void 0:n.exposed)!=null&&_.findRefById(x,n))}))==null?void 0:y.map(x=>{var _;return(_=n==null?void 0:n.exposed)==null?void 0:_.findRefById(x,n)});Promise.all(g==null?void 0:g.map(x=>{var _;return(_=x==null?void 0:x.exposed)==null?void 0:_.getValue(!0)})).then(x=>{x.forEach(_=>{_!=null&&_.isSuccess&&(h=Object.assign({},h,_==null?void 0:_.data))}),m(h)}).catch(x=>{var w;const _=Array.isArray(x==null?void 0:x.message)?(w=Array.from(x==null?void 0:x.message))==null?void 0:w.map(E=>`<p class="pLine">${E}</p>`).join(""):x==null?void 0:x.message;hI.error(_||ai(x))})}),u=m=>{var h;var v=(h=e==null?void 0:e.content)==null?void 0:h.schemaParamName;return v?{[v]:m}:{_formData:m}},l=(m,v,h)=>{if(!m)return h;const g=R1(n);return Gl(m,{formData:h||(g==null?void 0:g.formData)||{},arg:{urlQuery:g==null?void 0:g.urlQuerys,rowScope:g==null?void 0:g.rowScope},exp:v})},s=(m,v,h,g,y)=>{if(!m)return g;const x=R1(n);return Gl(m,{widgetId:y,respValue:g,respData:h,arg:{urlQuery:x==null?void 0:x.urlQuerys,rowScope:x==null?void 0:x.rowScope,formData:x==null?void 0:x.formData},exp:v})},c=()=>new Promise((m,v)=>{i().then(h=>{var x;var g=[];let y=u(l((x=e==null?void 0:e.content)==null?void 0:x.beforeFetch,t,h));o==null||o.forEach(_=>{var w=`${Xi.schema}.${_}`,E=ye.buildVariablePropValue(w,y);const S=ye.getValue(E,!1,!0,r);g.push({sourceId:_,params:y,resp:S})}),m(g)})}),f=m=>{m==null||m.forEach(v=>{let h=b.watch(v==null?void 0:v.resp,g=>{h==null||h(),a==null||a.forEach(y=>{var w,E,S,C,D,A;var x=(w=n==null?void 0:n.exposed)==null?void 0:w.findRefById(y);if(!x)return;const _=(E=e==null?void 0:e.content)==null?void 0:E.afterFetch;_?s(_,t,{...v,resp:g},g,y):(C=(S=x==null?void 0:x.exposed)==null?void 0:S.setValue)==null||C.call(S,g,!1),(A=(D=x==null?void 0:x.exposed)==null?void 0:D.clearChangeRecord)==null||A.call(D)})})})};c().then(m=>{f(m)})}function Hre(e,t,n,r){const a=(s,c,f)=>{const{sendToIframe:p,receive:d}=FB();return new Promise((m,v)=>{var g,y;const h=Am();d(x=>{f(h,x,_=>{_!=null&&_.isSuccess?m(!0):hI.error((_==null?void 0:_.message)||(x==null?void 0:x.data))})},!0),p((y=(g=s==null?void 0:s.data)==null?void 0:g.props)==null?void 0:y.iframeRef,{...c,msgId:h})})},o=(s,c)=>{var v,h;const f=((v=n==null?void 0:n.exposed)==null?void 0:v.getRowScope())||{},p=((h=n==null?void 0:n.exposed)==null?void 0:h.getFormData())||{};var d=F1.decryptFromUrl(window.location.href),m=Gl(s,{data:{urlQuery:d,rowScope:f,formData:p},exp:c});return m},i=()=>{var p,d,m,v;var s=(p=e==null?void 0:e.content)!=null&&p.withQuery?Yl.getLocationQueryParams():{};let c=Object.assign(s||{},o((d=e==null?void 0:e.content)==null?void 0:d.setQueryFn,t));const f=Yl.buildUrl((m=e==null?void 0:e.content)==null?void 0:m.url,c,(v=e==null?void 0:e.content)==null?void 0:v.encodeQuery);return Yl.resolveByCurrentUrl(f)},u=()=>{var s,c,f,p;switch((s=e==null?void 0:e.content)==null?void 0:s.windowTarget){case p1.self:return window;case p1.top:return window.top||window;case p1.parent:return window.parent;default:return(c=e==null?void 0:e.content)!=null&&c.windowTarget?(p=Yo.find(window,(f=e==null?void 0:e.content)==null?void 0:f.windowTarget))==null?void 0:p.window:window}};(()=>{var m,v;const{openWindow:s}=RS(),c=u(),f=i();if(((m=e==null?void 0:e.content)==null?void 0:m.windowModal)===NO.modal){var p={self:window==null?void 0:window.name,caller:c==null?void 0:c.name};const h=(C,D,A)=>{var P;const k=(P=e==null?void 0:e.content)==null?void 0:P.onReceive;k&&Gl(k,{data:{msgId:C,eventMsg:D},exp:t,callback:A})},g=C=>a(C,{command:"saveForm",args:{...p}},h),y=C=>a(C,{command:"cancelForm",args:{...p}},h),{fullscreen:x,width:_,height:w,title:E,dialogType:S}=(e==null?void 0:e.content)||{};var d={fullscreen:x,width:_,height:w,title:E,dialogType:S,url:f,callback:{okCallback:g,cancelCallback:y}};if(c)if(c!=null&&c.openModalAsync)(v=c==null?void 0:c.openModalAsync)==null||v.call(c,d);else{$r.error(te.i18nt("designer.hint.windowNotSupport"));return}else MB(n,d)}else s(f,e==null?void 0:e.content,c==null?void 0:c.window,!1)})()}function Gre(e,t,n,r){var c;let a=Zr((c=e==null?void 0:e.content)==null?void 0:c.sourceId,!0);if(!a)return null;const o=(f,p,d)=>{if(!f)return d;const m=R1(n);return Gl(f,{formData:d||(m==null?void 0:m.formData)||{},arg:{urlQuery:m==null?void 0:m.urlQuerys,rowScope:m==null?void 0:m.rowScope},exp:p})},i=()=>{var v,h,g;var f=[];const p=(v=e==null?void 0:e.content)==null?void 0:v.params,d=Kr(nle(p,r));let m=(h=e==null?void 0:e.content)!=null&&h.beforeFetch?o((g=e==null?void 0:e.content)==null?void 0:g.beforeFetch,t,d):p;return a==null||a.forEach(y=>{var x=`${Xi.schema}.${y}`,_=ye.buildVariablePropValue(x,m);const w=ye.getValue(_,!1,!0,r);f.push({sourceId:y,params:m,resp:w})}),f},u=(f,p,d,m)=>{if(!f)return m;const v=R1(n);return Gl(f,{respValue:m,respData:d,arg:{urlQuery:v==null?void 0:v.urlQuerys,rowScope:v==null?void 0:v.rowScope,formData:v==null?void 0:v.formData},exp:p})},l=f=>{f==null||f.forEach(p=>{let d=b.watch(p==null?void 0:p.resp,m=>{var v,h;d==null||d(),(v=e==null?void 0:e.content)!=null&&v.afterFetch&&u((h=e==null?void 0:e.content)==null?void 0:h.afterFetch,t,{...p,resp:m},m)})})};var s=i();return l(s),s}function Wre(e,t,n,r){var a,o,i,u,l,s,c;switch(e==null?void 0:e.type){case dl.actionCode:return Gl((a=e==null?void 0:e.content)==null?void 0:a.code,t);case dl.actionURL:return Hre(e,t,n);case dl.actionShowWidget:{let f=(o=e==null?void 0:e.content)==null?void 0:o.widgetId;Array.isArray(f)||(f=[f]),f==null||f.forEach(p=>{var d,m,v;(v=(m=(d=n==null?void 0:n.exposed)==null?void 0:d.findRefById(p,n))==null?void 0:m.exposed)==null||v.setHidden(!1)});return}case dl.actionHideWidget:{let f=(i=e==null?void 0:e.content)==null?void 0:i.widgetId;Array.isArray(f)||(f=[f]),f==null||f.forEach(p=>{var d,m,v;(v=(m=(d=n==null?void 0:n.exposed)==null?void 0:d.findRefById(p,n))==null?void 0:m.exposed)==null||v.setHidden(!0)});return}case dl.actionEnableWidget:{let f=(u=e==null?void 0:e.content)==null?void 0:u.widgetId;Array.isArray(f)||(f=[f]),f==null||f.forEach(p=>{var d,m,v;(v=(m=(d=n==null?void 0:n.exposed)==null?void 0:d.findRefById(p,n))==null?void 0:m.exposed)==null||v.setDisabled(!1)});return}case dl.actionDisableWidget:{let f=(l=e==null?void 0:e.content)==null?void 0:l.widgetId;Array.isArray(f)||(f=[f]),f==null||f.forEach(p=>{var d,m,v;(v=(m=(d=n==null?void 0:n.exposed)==null?void 0:d.findRefById(p,n))==null?void 0:m.exposed)==null||v.setDisabled(!0)});return}case dl.actionOpenDialog:{let f=(s=e==null?void 0:e.content)==null?void 0:s.widgetId;Array.isArray(f)||(f=[f]),f==null||f.forEach(p=>{var d,m,v;(v=(m=(d=n==null?void 0:n.exposed)==null?void 0:d.findRefById(p,n))==null?void 0:m.exposed)==null||v.setValue(!0)});return}case dl.actionCloseDialog:{let f=(c=e==null?void 0:e.content)==null?void 0:c.widgetId;Array.isArray(f)||(f=[f]),f==null||f.forEach(p=>{var d,m,v;(v=(m=(d=n==null?void 0:n.exposed)==null?void 0:d.findRefById(p,n))==null?void 0:m.exposed)==null||v.setValue(!1)});return}case dl.actionSendSchema:return Gre(e,t,n,r);case dl.actionSaveFormData:return Ure(e,t,n,r)}}const dI=(e,t)=>{const{state:n}=mS(async()=>{const r=await Promise.resolve().then(()=>hxe);var a=Object.entries(r).find(([o,i])=>o===e);if(a)return t!=null&&t.appContext.components[a[0]]||t==null||t.appContext.app.component(a[0],a[1]),a==null?void 0:a[1]},null);return n},Kre=(e,t,n)=>{e&&e.interceptors.request.use(function(r){var a=r;return n&&(a=n(t,r)),a},function(r){return Promise.reject(r)})},Xre=(e,t,n,r)=>{e&&e.interceptors.response.use(function(a){var o=a;return n&&(o=n(t,a)),o},function(a){var o=a;return r&&(o=r(t,a)),Promise.reject(o)})},jS=(e,t)=>{const n=IS.create(e);return Kre(n,t,e==null?void 0:e.willFetch),Xre(n,t,e==null?void 0:e.fitFetch,e==null?void 0:e.errorFetch),new Promise((r,a)=>{n.request({url:e==null?void 0:e.url,data:e==null?void 0:e.data}).then(o=>{let i=o;var u=e==null?void 0:e.fitFetch;u&&u(t,o),r(i)}).catch(o=>{a(o)})})},Yre={req:jS,get:(e,t)=>(e.method="get",jS(e,t)),post:(e,t)=>(e.method="post",jS(e,t))};class Jre{_emptyAndLength(t){return!!(t&&t.length===18)}_idCardRule(t){return/(^\d{17}(\d|X)$)/.test(t)}_checkProvince(t,n={}){const r={11:"北京市",12:"天津市",13:"河北省",14:"山西省",15:"内蒙古自治区",21:"辽宁省",22:"吉林省",23:"黑龙江省 ",31:"上海",32:"江苏省",33:"浙江省",34:"安徽省",35:"福建省",36:"江西省",37:"山东省",41:"河南省",42:"湖北省 ",43:"湖南省",44:"广东省",45:"广西壮族自治区",46:"海南省",50:"重庆",51:"四川省",52:"贵州省",53:"云南省",54:"西藏自治区 ",61:"陕西省",62:"甘肃省",63:"青海省",64:"宁夏回族自治区",65:"新疆维吾尔自治区",71:"台湾省",81:"香港特别行政区",82:"澳门特别行政区"},a=parseInt(t.substring(0,2));return n.provinceCode=a,n.provinceName=r[a],!!r[a]}_checkCity(t,n={}){const r=parseInt(t.substring(0,6)),a={};return n.cityCode=r,n.cityName=a[r],!0;//!!areaCodesObj[city]
26
26
  }_checkBirthday(t,n={}){const r=/^(\d{6})(\d{4})(\d{2})(\d{2})(\d{3})([0-9]|X)$/,a=t.match(r),o=parseInt(a[2]),i=parseInt(a[3]),u=parseInt(a[4]),l=new Date(o+"/"+(i<10?"0"+i:i)+"/"+(u<10?"0"+u:u));if(l.getFullYear()!=0&&(l.getMonth()<0||!l.getDate()))return!1;const s=new Date,c=L1(l,s);return n.birthday=l,n.birthdayText=o+"-"+i+"-"+u,n.age=c==null?void 0:c.years,n.dateDiff=c,l<=s}_checkSexCode(t,n={}){var r=t==null?void 0:t.substring(16,17);if(ar(r))return!1;const a=parseInt(r)%2==0;return n.sexCode=a?"2":"1",n.sexName=a?"女":"男",!0}_checkCode(t){const n=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],r=["1","0","X","9","8","7","6","5","4","3","2"];let a=0;for(let o=0;o<17;o++)a+=parseInt(t.substring(o,o+1))*n[o];return r[a%11]===t.substring(17,18)}_overallValid(t){return!No._emptyAndLength(t)||!No._idCardRule(t)||!No._checkProvince(t)||!No._checkCity(t)||!No._checkBirthday(t)?!1:No._checkCode(t)}}class Tm{static _convertTo18(t){if(t==null)return"";if(t.length!=15)return t;var n=t.substring(0,6)+"19"+t.substring(6),r=0;const a=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],o=n==null?void 0:n.split("");for(var i=0;i<o.length;i++)r+=(o[i].charCodeAt(0)-"0".charCodeAt(0))*a[i];var u=r%11,l=["1","0","X","9","8","7","6","5","4","3","2"];return n+l[u]}isValid(t){const n=Tm._convertTo18(t);return No._overallValid(n)}convertTo18(t){return Tm._convertTo18(t)}getInfo(t){const n=Tm._convertTo18(t);let r={},a={};return!No._emptyAndLength(n)||!No._idCardRule(n)||!No._checkProvince(n,r)||!No._checkCity(n,r)||!No._checkBirthday(n,r)||!No._checkCode(n)||!No._checkSexCode(n,r)?a:r}}const No=new Jre,Iu=new Tm;function mI(e){return{mode:"cbc",iv:e}}function Zre(e,t,n){if(e==null)return null;try{return M1.sm4.encrypt(e,t,mI(n))}catch{return null}}function Qre(e,t,n){if(e==null)return null;try{return M1.sm4.decrypt(e,t,mI(n))}catch{return null}}const VS={encrypt:Zre,decrypt:Qre},vI="3.7.7",qre=vI,td=typeof Buffer=="function",gI=typeof TextDecoder=="function"?new TextDecoder:void 0,yI=typeof TextEncoder=="function"?new TextEncoder:void 0,$re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Dm=Array.prototype.slice.call($re),j1=(e=>{let t={};return e.forEach((n,r)=>t[n]=r),t})(Dm),eie=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Pa=String.fromCharCode.bind(String),bI=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),_I=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),xI=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),wI=e=>{let t,n,r,a,o="";const i=e.length%3;for(let u=0;u<e.length;){if((n=e.charCodeAt(u++))>255||(r=e.charCodeAt(u++))>255||(a=e.charCodeAt(u++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|a,o+=Dm[t>>18&63]+Dm[t>>12&63]+Dm[t>>6&63]+Dm[t&63]}return i?o.slice(0,i-3)+"===".substring(i):o},zS=typeof btoa=="function"?e=>btoa(e):td?e=>Buffer.from(e,"binary").toString("base64"):wI,US=td?e=>Buffer.from(e).toString("base64"):e=>{let n=[];for(let r=0,a=e.length;r<a;r+=4096)n.push(Pa.apply(null,e.subarray(r,r+4096)));return zS(n.join(""))},V1=(e,t=!1)=>t?_I(US(e)):US(e),tie=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Pa(192|t>>>6)+Pa(128|t&63):Pa(224|t>>>12&15)+Pa(128|t>>>6&63)+Pa(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Pa(240|t>>>18&7)+Pa(128|t>>>12&63)+Pa(128|t>>>6&63)+Pa(128|t&63)}},nie=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,EI=e=>e.replace(nie,tie),SI=td?e=>Buffer.from(e,"utf8").toString("base64"):yI?e=>US(yI.encode(e)):e=>zS(EI(e)),nd=(e,t=!1)=>t?_I(SI(e)):SI(e),CI=e=>nd(e,!0),rie=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,iie=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return Pa((n>>>10)+55296)+Pa((n&1023)+56320);case 3:return Pa((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Pa((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},AI=e=>e.replace(rie,iie),TI=e=>{if(e=e.replace(/\s+/g,""),!eie.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(e.length&3));let t,n="",r,a;for(let o=0;o<e.length;)t=j1[e.charAt(o++)]<<18|j1[e.charAt(o++)]<<12|(r=j1[e.charAt(o++)])<<6|(a=j1[e.charAt(o++)]),n+=r===64?Pa(t>>16&255):a===64?Pa(t>>16&255,t>>8&255):Pa(t>>16&255,t>>8&255,t&255);return n},HS=typeof atob=="function"?e=>atob(xI(e)):td?e=>Buffer.from(e,"base64").toString("binary"):TI,DI=td?e=>bI(Buffer.from(e,"base64")):e=>bI(HS(e).split("").map(t=>t.charCodeAt(0))),kI=e=>DI(PI(e)),aie=td?e=>Buffer.from(e,"base64").toString("utf8"):gI?e=>gI.decode(DI(e)):e=>AI(HS(e)),PI=e=>xI(e.replace(/[-_]/g,t=>t=="-"?"+":"/")),GS=e=>aie(PI(e)),oie=e=>{if(typeof e!="string")return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},OI=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),BI=function(){const e=(t,n)=>Object.defineProperty(String.prototype,t,OI(n));e("fromBase64",function(){return GS(this)}),e("toBase64",function(t){return nd(this,t)}),e("toBase64URI",function(){return nd(this,!0)}),e("toBase64URL",function(){return nd(this,!0)}),e("toUint8Array",function(){return kI(this)})},II=function(){const e=(t,n)=>Object.defineProperty(Uint8Array.prototype,t,OI(n));e("toBase64",function(t){return V1(this,t)}),e("toBase64URI",function(){return V1(this,!0)}),e("toBase64URL",function(){return V1(this,!0)})},sie={version:vI,VERSION:qre,atob:HS,atobPolyfill:TI,btoa:zS,btoaPolyfill:wI,fromBase64:GS,toBase64:nd,encode:nd,encodeURI:CI,encodeURL:CI,utob:EI,btou:AI,decode:GS,isValid:oie,fromUint8Array:V1,toUint8Array:kI,extendString:BI,extendUint8Array:II,extendBuiltins:()=>{BI(),II()}};class lie{constructor(t,n){V(this,"hexcase",0);V(this,"b64pad","");this.hexcase=t||0,this.b64pad=n||""}hex_md5(t){return this.rstr2hex(this.rstr_md5(this.str2rstr_utf8(t)))}b64_md5(t){return this.rstr2b64(this.rstr_md5(this.str2rstr_utf8(t)))}any_md5(t,n){return this.rstr2any(this.rstr_md5(this.str2rstr_utf8(t)),n)}hex_hmac_md5(t,n){return this.rstr2hex(this.rstr_hmac_md5(this.str2rstr_utf8(t),this.str2rstr_utf8(n)))}b64_hmac_md5(t,n){return this.rstr2b64(this.rstr_hmac_md5(this.str2rstr_utf8(t),this.str2rstr_utf8(n)))}any_hmac_md5(t,n,r){return this.rstr2any(this.rstr_hmac_md5(this.str2rstr_utf8(t),this.str2rstr_utf8(n)),r)}md5_vm_test(){return this.hex_md5("abc").toLowerCase()=="900150983cd24fb0d6963f7d28e17f72"}rstr_md5(t){return this.binl2rstr(this.binl_md5(this.rstr2binl(t),t.length*8))}rstr_hmac_md5(t,n){var r=this.rstr2binl(t);r.length>16&&(r=this.binl_md5(r,t.length*8));for(var a=Array(16),o=Array(16),i=0;i<16;i++)a[i]=r[i]^909522486,o[i]=r[i]^1549556828;var u=this.binl_md5(a.concat(this.rstr2binl(n)),512+n.length*8);return this.binl2rstr(this.binl_md5(o.concat(u),512+128))}rstr2hex(t){try{this.hexcase}catch{this.hexcase=0}for(var n=this.hexcase?"0123456789ABCDEF":"0123456789abcdef",r="",a,o=0;o<t.length;o++)a=t.charCodeAt(o),r+=n.charAt(a>>>4&15)+n.charAt(a&15);return r}rstr2b64(t){try{this.b64pad}catch{this.b64pad=""}for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r="",a=t.length,o=0;o<a;o+=3)for(var i=t.charCodeAt(o)<<16|(o+1<a?t.charCodeAt(o+1)<<8:0)|(o+2<a?t.charCodeAt(o+2):0),u=0;u<4;u++)o*8+u*6>t.length*8?r+=this.b64pad:r+=n.charAt(i>>>6*(3-u)&63);return r}rstr2any(t,n){var r=n.length,a,o,i,u,l,s=Array(Math.ceil(t.length/2));for(a=0;a<s.length;a++)s[a]=t.charCodeAt(a*2)<<8|t.charCodeAt(a*2+1);var c=Math.ceil(t.length*8/(Math.log(n.length)/Math.log(2))),f=Array(c);for(o=0;o<c;o++){for(l=Array(),u=0,a=0;a<s.length;a++)u=(u<<16)+s[a],i=Math.floor(u/r),u-=i*r,(l.length>0||i>0)&&(l[l.length]=i);f[o]=u,s=l}var p="";for(a=f.length-1;a>=0;a--)p+=n.charAt(f[a]);return p}str2rstr_utf8(t){for(var n="",r=-1,a,o;++r<t.length;)a=t.charCodeAt(r),o=r+1<t.length?t.charCodeAt(r+1):0,55296<=a&&a<=56319&&56320<=o&&o<=57343&&(a=65536+((a&1023)<<10)+(o&1023),r++),a<=127?n+=String.fromCharCode(a):a<=2047?n+=String.fromCharCode(192|a>>>6&31,128|a&63):a<=65535?n+=String.fromCharCode(224|a>>>12&15,128|a>>>6&63,128|a&63):a<=2097151&&(n+=String.fromCharCode(240|a>>>18&7,128|a>>>12&63,128|a>>>6&63,128|a&63));return n}str2rstr_utf16le(t){for(var n="",r=0;r<t.length;r++)n+=String.fromCharCode(t.charCodeAt(r)&255,t.charCodeAt(r)>>>8&255);return n}str2rstr_utf16be(t){for(var n="",r=0;r<t.length;r++)n+=String.fromCharCode(t.charCodeAt(r)>>>8&255,t.charCodeAt(r)&255);return n}rstr2binl(t){for(var n=Array(t.length>>2),r=0;r<n.length;r++)n[r]=0;for(var r=0;r<t.length*8;r+=8)n[r>>5]|=(t.charCodeAt(r/8)&255)<<r%32;return n}binl2rstr(t){for(var n="",r=0;r<t.length*32;r+=8)n+=String.fromCharCode(t[r>>5]>>>r%32&255);return n}binl_md5(t,n){t[n>>5]|=128<<n%32,t[(n+64>>>9<<4)+14]=n;for(var r=1732584193,a=-271733879,o=-1732584194,i=271733878,u=0;u<t.length;u+=16){var l=r,s=a,c=o,f=i;r=this.md5_ff(r,a,o,i,t[u+0],7,-680876936),i=this.md5_ff(i,r,a,o,t[u+1],12,-389564586),o=this.md5_ff(o,i,r,a,t[u+2],17,606105819),a=this.md5_ff(a,o,i,r,t[u+3],22,-1044525330),r=this.md5_ff(r,a,o,i,t[u+4],7,-176418897),i=this.md5_ff(i,r,a,o,t[u+5],12,1200080426),o=this.md5_ff(o,i,r,a,t[u+6],17,-1473231341),a=this.md5_ff(a,o,i,r,t[u+7],22,-45705983),r=this.md5_ff(r,a,o,i,t[u+8],7,1770035416),i=this.md5_ff(i,r,a,o,t[u+9],12,-1958414417),o=this.md5_ff(o,i,r,a,t[u+10],17,-42063),a=this.md5_ff(a,o,i,r,t[u+11],22,-1990404162),r=this.md5_ff(r,a,o,i,t[u+12],7,1804603682),i=this.md5_ff(i,r,a,o,t[u+13],12,-40341101),o=this.md5_ff(o,i,r,a,t[u+14],17,-1502002290),a=this.md5_ff(a,o,i,r,t[u+15],22,1236535329),r=this.md5_gg(r,a,o,i,t[u+1],5,-165796510),i=this.md5_gg(i,r,a,o,t[u+6],9,-1069501632),o=this.md5_gg(o,i,r,a,t[u+11],14,643717713),a=this.md5_gg(a,o,i,r,t[u+0],20,-373897302),r=this.md5_gg(r,a,o,i,t[u+5],5,-701558691),i=this.md5_gg(i,r,a,o,t[u+10],9,38016083),o=this.md5_gg(o,i,r,a,t[u+15],14,-660478335),a=this.md5_gg(a,o,i,r,t[u+4],20,-405537848),r=this.md5_gg(r,a,o,i,t[u+9],5,568446438),i=this.md5_gg(i,r,a,o,t[u+14],9,-1019803690),o=this.md5_gg(o,i,r,a,t[u+3],14,-187363961),a=this.md5_gg(a,o,i,r,t[u+8],20,1163531501),r=this.md5_gg(r,a,o,i,t[u+13],5,-1444681467),i=this.md5_gg(i,r,a,o,t[u+2],9,-51403784),o=this.md5_gg(o,i,r,a,t[u+7],14,1735328473),a=this.md5_gg(a,o,i,r,t[u+12],20,-1926607734),r=this.md5_hh(r,a,o,i,t[u+5],4,-378558),i=this.md5_hh(i,r,a,o,t[u+8],11,-2022574463),o=this.md5_hh(o,i,r,a,t[u+11],16,1839030562),a=this.md5_hh(a,o,i,r,t[u+14],23,-35309556),r=this.md5_hh(r,a,o,i,t[u+1],4,-1530992060),i=this.md5_hh(i,r,a,o,t[u+4],11,1272893353),o=this.md5_hh(o,i,r,a,t[u+7],16,-155497632),a=this.md5_hh(a,o,i,r,t[u+10],23,-1094730640),r=this.md5_hh(r,a,o,i,t[u+13],4,681279174),i=this.md5_hh(i,r,a,o,t[u+0],11,-358537222),o=this.md5_hh(o,i,r,a,t[u+3],16,-722521979),a=this.md5_hh(a,o,i,r,t[u+6],23,76029189),r=this.md5_hh(r,a,o,i,t[u+9],4,-640364487),i=this.md5_hh(i,r,a,o,t[u+12],11,-421815835),o=this.md5_hh(o,i,r,a,t[u+15],16,530742520),a=this.md5_hh(a,o,i,r,t[u+2],23,-995338651),r=this.md5_ii(r,a,o,i,t[u+0],6,-198630844),i=this.md5_ii(i,r,a,o,t[u+7],10,1126891415),o=this.md5_ii(o,i,r,a,t[u+14],15,-1416354905),a=this.md5_ii(a,o,i,r,t[u+5],21,-57434055),r=this.md5_ii(r,a,o,i,t[u+12],6,1700485571),i=this.md5_ii(i,r,a,o,t[u+3],10,-1894986606),o=this.md5_ii(o,i,r,a,t[u+10],15,-1051523),a=this.md5_ii(a,o,i,r,t[u+1],21,-2054922799),r=this.md5_ii(r,a,o,i,t[u+8],6,1873313359),i=this.md5_ii(i,r,a,o,t[u+15],10,-30611744),o=this.md5_ii(o,i,r,a,t[u+6],15,-1560198380),a=this.md5_ii(a,o,i,r,t[u+13],21,1309151649),r=this.md5_ii(r,a,o,i,t[u+4],6,-145523070),i=this.md5_ii(i,r,a,o,t[u+11],10,-1120210379),o=this.md5_ii(o,i,r,a,t[u+2],15,718787259),a=this.md5_ii(a,o,i,r,t[u+9],21,-343485551),r=this.safe_add(r,l),a=this.safe_add(a,s),o=this.safe_add(o,c),i=this.safe_add(i,f)}return[r,a,o,i]}md5_cmn(t,n,r,a,o,i){return this.safe_add(this.bit_rol(this.safe_add(this.safe_add(n,t),this.safe_add(a,i)),o),r)}md5_ff(t,n,r,a,o,i,u){return this.md5_cmn(n&r|~n&a,t,n,o,i,u)}md5_gg(t,n,r,a,o,i,u){return this.md5_cmn(n&a|r&~a,t,n,o,i,u)}md5_hh(t,n,r,a,o,i,u){return this.md5_cmn(n^r^a,t,n,o,i,u)}md5_ii(t,n,r,a,o,i,u){return this.md5_cmn(r^(n|~a),t,n,o,i,u)}safe_add(t,n){var r=(t&65535)+(n&65535),a=(t>>16)+(n>>16)+(r>>16);return a<<16|r&65535}bit_rol(t,n){return t<<n|t>>>32-n}}const WS=new lie,KS=(e,t)=>{if(!e)return"";e.timeStamp=new Date().getTime();const n=bee(e),a=ai(n)+t,o=WS==null?void 0:WS.hex_md5(a),i=sie.encode(o);return n.dataDigest=i,n},uie={traceBody:KS,encodeSM2:(e,t,n)=>{const r=KS(e,t);return wm.encrypt(ai(r),n)},decodeSM2:(e,t)=>{if(ar(e))return null;const n=wm.decrypt(e,t);var r=Kr(n);return n!==null&&r===null&&Ki.info("decodeSM2",{sm2Decrypt:n}),r},encodeSM4:(e,t,n,r)=>{const a=KS(e,t);return VS.encrypt(ai(a),n,r)},decodeSM4:(e,t,n)=>{if(ar(e))return null;const r=VS.decrypt(e,t,n);var a=Kr(r);return r!==null&&a===null&&Ki.info("decodeSM4",{sm4Decrypt:r}),a}};var km={},cie={get exports(){return km},set exports(e){km=e}},z1={},fie={get exports(){return z1},set exports(e){z1=e}},Es={},oi={};oi.__esModule=!0,oi.extend=NI,oi.indexOf=vie,oi.escapeExpression=gie,oi.isEmpty=yie,oi.createFrame=bie,oi.blockParams=_ie,oi.appendContextPath=xie;var pie={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},hie=/[&<>"'`=]/g,die=/[&<>"'`=]/;function mie(e){return pie[e]}function NI(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var XS=Object.prototype.toString;oi.toString=XS;var YS=function(t){return typeof t=="function"};YS(/x/)&&(oi.isFunction=YS=function(e){return typeof e=="function"&&XS.call(e)==="[object Function]"}),oi.isFunction=YS;var MI=Array.isArray||function(e){return e&&typeof e=="object"?XS.call(e)==="[object Array]":!1};oi.isArray=MI;function vie(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function gie(e){if(typeof e!="string"){if(e&&e.toHTML)return e.toHTML();if(e==null)return"";if(!e)return e+"";e=""+e}return die.test(e)?e.replace(hie,mie):e}function yie(e){return!e&&e!==0?!0:!!(MI(e)&&e.length===0)}function bie(e){var t=NI({},e);return t._parent=e,t}function _ie(e,t){return e.path=t,e}function xie(e,t){return(e?e+".":"")+t}var Mo={},wie={get exports(){return Mo},set exports(e){Mo=e}};(function(e,t){t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function r(a,o){var i=o&&o.loc,u=void 0,l=void 0,s=void 0,c=void 0;i&&(u=i.start.line,l=i.end.line,s=i.start.column,c=i.end.column,a+=" - "+u+":"+s);for(var f=Error.prototype.constructor.call(this,a),p=0;p<n.length;p++)this[n[p]]=f[n[p]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{i&&(this.lineNumber=u,this.endLineNumber=l,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:c,enumerable:!0})):(this.column=s,this.endColumn=c))}catch{}}r.prototype=new Error,t.default=r,e.exports=t.default})(wie,Mo);var Pm={},U1={},Eie={get exports(){return U1},set exports(e){U1=e}};(function(e,t){t.__esModule=!0;var n=oi;t.default=function(r){r.registerHelper("blockHelperMissing",function(a,o){var i=o.inverse,u=o.fn;if(a===!0)return u(this);if(a===!1||a==null)return i(this);if(n.isArray(a))return a.length>0?(o.ids&&(o.ids=[o.name]),r.helpers.each(a,o)):i(this);if(o.data&&o.ids){var l=n.createFrame(o.data);l.contextPath=n.appendContextPath(o.data.contextPath,o.name),o={data:l}}return u(a,o)})},e.exports=t.default})(Eie,U1);var H1={},Sie={get exports(){return H1},set exports(e){H1=e}};(function(e,t){t.__esModule=!0;function n(i){return i&&i.__esModule?i:{default:i}}var r=oi,a=Mo,o=n(a);t.default=function(i){i.registerHelper("each",function(u,l){if(!l)throw new o.default("Must pass iterator to #each");var s=l.fn,c=l.inverse,f=0,p="",d=void 0,m=void 0;l.data&&l.ids&&(m=r.appendContextPath(l.data.contextPath,l.ids[0])+"."),r.isFunction(u)&&(u=u.call(this)),l.data&&(d=r.createFrame(l.data));function v(_,w,E){d&&(d.key=_,d.index=w,d.first=w===0,d.last=!!E,m&&(d.contextPath=m+_)),p=p+s(u[_],{data:d,blockParams:r.blockParams([u[_],_],[m+_,null])})}if(u&&typeof u=="object")if(r.isArray(u))for(var h=u.length;f<h;f++)f in u&&v(f,f,f===u.length-1);else if(typeof Symbol=="function"&&u[Symbol.iterator]){for(var g=[],y=u[Symbol.iterator](),x=y.next();!x.done;x=y.next())g.push(x.value);u=g;for(var h=u.length;f<h;f++)v(f,f,f===u.length-1)}else(function(){var _=void 0;Object.keys(u).forEach(function(w){_!==void 0&&v(_,f-1),_=w,f++}),_!==void 0&&v(_,f-1,!0)})();return f===0&&(p=c(this)),p})},e.exports=t.default})(Sie,H1);var G1={},Cie={get exports(){return G1},set exports(e){G1=e}};(function(e,t){t.__esModule=!0;function n(o){return o&&o.__esModule?o:{default:o}}var r=Mo,a=n(r);t.default=function(o){o.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new a.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default})(Cie,G1);var W1={},Aie={get exports(){return W1},set exports(e){W1=e}};(function(e,t){t.__esModule=!0;function n(i){return i&&i.__esModule?i:{default:i}}var r=oi,a=Mo,o=n(a);t.default=function(i){i.registerHelper("if",function(u,l){if(arguments.length!=2)throw new o.default("#if requires exactly one argument");return r.isFunction(u)&&(u=u.call(this)),!l.hash.includeZero&&!u||r.isEmpty(u)?l.inverse(this):l.fn(this)}),i.registerHelper("unless",function(u,l){if(arguments.length!=2)throw new o.default("#unless requires exactly one argument");return i.helpers.if.call(this,u,{fn:l.inverse,inverse:l.fn,hash:l.hash})})},e.exports=t.default})(Aie,W1);var K1={},Tie={get exports(){return K1},set exports(e){K1=e}};(function(e,t){t.__esModule=!0,t.default=function(n){n.registerHelper("log",function(){for(var r=[void 0],a=arguments[arguments.length-1],o=0;o<arguments.length-1;o++)r.push(arguments[o]);var i=1;a.hash.level!=null?i=a.hash.level:a.data&&a.data.level!=null&&(i=a.data.level),r[0]=i,n.log.apply(n,r)})},e.exports=t.default})(Tie,K1);var X1={},Die={get exports(){return X1},set exports(e){X1=e}};(function(e,t){t.__esModule=!0,t.default=function(n){n.registerHelper("lookup",function(r,a,o){return r&&o.lookupProperty(r,a)})},e.exports=t.default})(Die,X1);var Y1={},kie={get exports(){return Y1},set exports(e){Y1=e}};(function(e,t){t.__esModule=!0;function n(i){return i&&i.__esModule?i:{default:i}}var r=oi,a=Mo,o=n(a);t.default=function(i){i.registerHelper("with",function(u,l){if(arguments.length!=2)throw new o.default("#with requires exactly one argument");r.isFunction(u)&&(u=u.call(this));var s=l.fn;if(r.isEmpty(u))return l.inverse(this);var c=l.data;return l.data&&l.ids&&(c=r.createFrame(l.data),c.contextPath=r.appendContextPath(l.data.contextPath,l.ids[0])),s(u,{data:c,blockParams:r.blockParams([u],[c&&c.contextPath])})})},e.exports=t.default})(kie,Y1),Pm.__esModule=!0,Pm.registerDefaultHelpers=Gie,Pm.moveHelperToHooks=Wie;function Qf(e){return e&&e.__esModule?e:{default:e}}var Pie=U1,Oie=Qf(Pie),Bie=H1,Iie=Qf(Bie),Nie=G1,Mie=Qf(Nie),Fie=W1,Lie=Qf(Fie),Rie=K1,jie=Qf(Rie),Vie=X1,zie=Qf(Vie),Uie=Y1,Hie=Qf(Uie);function Gie(e){Oie.default(e),Iie.default(e),Mie.default(e),Lie.default(e),jie.default(e),zie.default(e),Hie.default(e)}function Wie(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])}var JS={},J1={},Kie={get exports(){return J1},set exports(e){J1=e}};(function(e,t){t.__esModule=!0;var n=oi;t.default=function(r){r.registerDecorator("inline",function(a,o,i,u){var l=a;return o.partials||(o.partials={},l=function(s,c){var f=i.partials;i.partials=n.extend({},f,o.partials);var p=a(s,c);return i.partials=f,p}),o.partials[u.args[0]]=u.fn,l})},e.exports=t.default})(Kie,J1),JS.__esModule=!0,JS.registerDefaultDecorators=Zie;function Xie(e){return e&&e.__esModule?e:{default:e}}var Yie=J1,Jie=Xie(Yie);function Zie(e){Jie.default(e)}var Om={},Qie={get exports(){return Om},set exports(e){Om=e}};(function(e,t){t.__esModule=!0;var n=oi,r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(o){if(typeof o=="string"){var i=n.indexOf(r.methodMap,o.toLowerCase());i>=0?o=i:o=parseInt(o,10)}return o},log:function(o){if(o=r.lookupLevel(o),typeof console<"u"&&r.lookupLevel(r.level)<=o){var i=r.methodMap[o];console[i]||(i="log");for(var u=arguments.length,l=Array(u>1?u-1:0),s=1;s<u;s++)l[s-1]=arguments[s];console[i].apply(console,l)}}};t.default=r,e.exports=t.default})(Qie,Om);var rd={},ZS={};ZS.__esModule=!0,ZS.createNewLookupObject=$ie;var qie=oi;function $ie(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return qie.extend.apply(void 0,[Object.create(null)].concat(t))}rd.__esModule=!0,rd.createProtoAccessControl=rae,rd.resultIsAllowed=iae,rd.resetLoggedProperties=oae;function eae(e){return e&&e.__esModule?e:{default:e}}var FI=ZS,tae=Om,nae=eae(tae),Z1=Object.create(null);function rae(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var n=Object.create(null);return n.__proto__=!1,{properties:{whitelist:FI.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:FI.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}}function iae(e,t,n){return LI(typeof e=="function"?t.methods:t.properties,n)}function LI(e,t){return e.whitelist[t]!==void 0?e.whitelist[t]===!0:e.defaultValue!==void 0?e.defaultValue:(aae(t),!1)}function aae(e){Z1[e]!==!0&&(Z1[e]=!0,nae.default.log("error",'Handlebars: Access has been denied to resolve the property "'+e+`" because it is not an "own property" of its parent.
@@ -58,7 +58,7 @@ Expecting `+k.join(", ")+", got '"+(this.terminals_[x]||x)+"'":P="Parse error on
58
58
  See the Apache Version 2.0 License for specific language governing permissions
59
59
  and limitations under the License.
60
60
  ***************************************************************************** */var u9;(function(e){(function(t){var n=typeof Jn=="object"?Jn:typeof self=="object"?self:typeof this=="object"?this:Function("return this;")(),r=a(e);typeof n.Reflect>"u"?n.Reflect=e:r=a(n.Reflect,r),t(r);function a(o,i){return function(u,l){typeof o[u]!="function"&&Object.defineProperty(o,u,{configurable:!0,writable:!0,value:l}),i&&i(u,l)}}})(function(t){var n=Object.prototype.hasOwnProperty,r=typeof Symbol=="function",a=r&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",o=r&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",i=typeof Object.create=="function",u={__proto__:[]}instanceof Array,l=!i&&!u,s={create:i?function(){return Z(Object.create(null))}:u?function(){return Z({__proto__:null})}:function(){return Z({})},has:l?function(W,$){return n.call(W,$)}:function(W,$){return $ in W},get:l?function(W,$){return n.call(W,$)?W[$]:void 0}:function(W,$){return W[$]}},c=Object.getPrototypeOf(Function),f=typeof process=="object"&&process.env&&process.env.REFLECT_METADATA_USE_MAP_POLYFILL==="true",p=!f&&typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:Se(),d=!f&&typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:we(),m=!f&&typeof WeakMap=="function"?WeakMap:Te(),v=new m;function h(W,$,ue,Ce){if(L(ue)){if(!ae(W))throw new TypeError;if(!X($))throw new TypeError;return A(W,$)}else{if(!ae(W))throw new TypeError;if(!Y($))throw new TypeError;if(!Y(Ce)&&!L(Ce)&&!z(Ce))throw new TypeError;return z(Ce)&&(Ce=void 0),ue=oe(ue),k(W,$,ue,Ce)}}t("decorate",h);function g(W,$){function ue(Ce,Oe){if(!Y(Ce))throw new TypeError;if(!L(Oe)&&!q(Oe))throw new TypeError;R(W,$,Ce,Oe)}return ue}t("metadata",g);function y(W,$,ue,Ce){if(!Y(ue))throw new TypeError;return L(Ce)||(Ce=oe(Ce)),R(W,$,ue,Ce)}t("defineMetadata",y);function x(W,$,ue){if(!Y($))throw new TypeError;return L(ue)||(ue=oe(ue)),O(W,$,ue)}t("hasMetadata",x);function _(W,$,ue){if(!Y($))throw new TypeError;return L(ue)||(ue=oe(ue)),B(W,$,ue)}t("hasOwnMetadata",_);function w(W,$,ue){if(!Y($))throw new TypeError;return L(ue)||(ue=oe(ue)),N(W,$,ue)}t("getMetadata",w);function E(W,$,ue){if(!Y($))throw new TypeError;return L(ue)||(ue=oe(ue)),M(W,$,ue)}t("getOwnMetadata",E);function S(W,$){if(!Y(W))throw new TypeError;return L($)||($=oe($)),F(W,$)}t("getMetadataKeys",S);function C(W,$){if(!Y(W))throw new TypeError;return L($)||($=oe($)),j(W,$)}t("getOwnMetadataKeys",C);function D(W,$,ue){if(!Y($))throw new TypeError;L(ue)||(ue=oe(ue));var Ce=P($,ue,!1);if(L(Ce)||!Ce.delete(W))return!1;if(Ce.size>0)return!0;var Oe=v.get($);return Oe.delete(ue),Oe.size>0||v.delete($),!0}t("deleteMetadata",D);function A(W,$){for(var ue=W.length-1;ue>=0;--ue){var Ce=W[ue],Oe=Ce($);if(!L(Oe)&&!z(Oe)){if(!X(Oe))throw new TypeError;$=Oe}}return $}function k(W,$,ue,Ce){for(var Oe=W.length-1;Oe>=0;--Oe){var Ne=W[Oe],Me=Ne($,ue,Ce);if(!L(Me)&&!z(Me)){if(!Y(Me))throw new TypeError;Ce=Me}}return Ce}function P(W,$,ue){var Ce=v.get(W);if(L(Ce)){if(!ue)return;Ce=new p,v.set(W,Ce)}var Oe=Ce.get($);if(L(Oe)){if(!ue)return;Oe=new p,Ce.set($,Oe)}return Oe}function O(W,$,ue){var Ce=B(W,$,ue);if(Ce)return!0;var Oe=ve($);return z(Oe)?!1:O(W,Oe,ue)}function B(W,$,ue){var Ce=P($,ue,!1);return L(Ce)?!1:ce(Ce.has(W))}function N(W,$,ue){var Ce=B(W,$,ue);if(Ce)return M(W,$,ue);var Oe=ve($);if(!z(Oe))return N(W,Oe,ue)}function M(W,$,ue){var Ce=P($,ue,!1);if(!L(Ce))return Ce.get(W)}function R(W,$,ue,Ce){var Oe=P(ue,Ce,!0);Oe.set(W,$)}function F(W,$){var ue=j(W,$),Ce=ve(W);if(Ce===null)return ue;var Oe=F(Ce,$);if(Oe.length<=0)return ue;if(ue.length<=0)return Oe;for(var Ne=new d,Me=[],Ue=0,Ve=ue;Ue<Ve.length;Ue++){var We=Ve[Ue],rt=Ne.has(We);rt||(Ne.add(We),Me.push(We))}for(var At=0,_t=Oe;At<_t.length;At++){var We=_t[At],rt=Ne.has(We);rt||(Ne.add(We),Me.push(We))}return Me}function j(W,$){var ue=[],Ce=P(W,$,!1);if(L(Ce))return ue;for(var Oe=Ce.keys(),Ne=he(Oe),Me=0;;){var Ue=be(Ne);if(!Ue)return ue.length=Me,ue;var Ve=de(Ue);try{ue[Me]=Ve}catch(We){try{pe(Ne)}finally{throw We}}Me++}}function G(W){if(W===null)return 1;switch(typeof W){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return W===null?1:6;default:return 6}}function L(W){return W===void 0}function z(W){return W===null}function K(W){return typeof W=="symbol"}function Y(W){return typeof W=="object"?W!==null:typeof W=="function"}function J(W,$){switch(G(W)){case 0:return W;case 1:return W;case 2:return W;case 3:return W;case 4:return W;case 5:return W}var ue=$===3?"string":$===5?"number":"default",Ce=re(W,a);if(Ce!==void 0){var Oe=Ce.call(W,ue);if(Y(Oe))throw new TypeError;return Oe}return Q(W,ue==="default"?"number":ue)}function Q(W,$){if($==="string"){var ue=W.toString;if(ge(ue)){var Ce=ue.call(W);if(!Y(Ce))return Ce}var Oe=W.valueOf;if(ge(Oe)){var Ce=Oe.call(W);if(!Y(Ce))return Ce}}else{var Oe=W.valueOf;if(ge(Oe)){var Ce=Oe.call(W);if(!Y(Ce))return Ce}var Ne=W.toString;if(ge(Ne)){var Ce=Ne.call(W);if(!Y(Ce))return Ce}}throw new TypeError}function ce(W){return!!W}function se(W){return""+W}function oe(W){var $=J(W,3);return K($)?$:se($)}function ae(W){return Array.isArray?Array.isArray(W):W instanceof Object?W instanceof Array:Object.prototype.toString.call(W)==="[object Array]"}function ge(W){return typeof W=="function"}function X(W){return typeof W=="function"}function q(W){switch(G(W)){case 3:return!0;case 4:return!0;default:return!1}}function re(W,$){var ue=W[$];if(ue!=null){if(!ge(ue))throw new TypeError;return ue}}function he(W){var $=re(W,o);if(!ge($))throw new TypeError;var ue=$.call(W);if(!Y(ue))throw new TypeError;return ue}function de(W){return W.value}function be(W){var $=W.next();return $.done?!1:$}function pe(W){var $=W.return;$&&$.call(W)}function ve(W){var $=Object.getPrototypeOf(W);if(typeof W!="function"||W===c||$!==c)return $;var ue=W.prototype,Ce=ue&&Object.getPrototypeOf(ue);if(Ce==null||Ce===Object.prototype)return $;var Oe=Ce.constructor;return typeof Oe!="function"||Oe===W?$:Oe}function Se(){var W={},$=[],ue=function(){function Me(Ue,Ve,We){this._index=0,this._keys=Ue,this._values=Ve,this._selector=We}return Me.prototype["@@iterator"]=function(){return this},Me.prototype[o]=function(){return this},Me.prototype.next=function(){var Ue=this._index;if(Ue>=0&&Ue<this._keys.length){var Ve=this._selector(this._keys[Ue],this._values[Ue]);return Ue+1>=this._keys.length?(this._index=-1,this._keys=$,this._values=$):this._index++,{value:Ve,done:!1}}return{value:void 0,done:!0}},Me.prototype.throw=function(Ue){throw this._index>=0&&(this._index=-1,this._keys=$,this._values=$),Ue},Me.prototype.return=function(Ue){return this._index>=0&&(this._index=-1,this._keys=$,this._values=$),{value:Ue,done:!0}},Me}();return function(){function Me(){this._keys=[],this._values=[],this._cacheKey=W,this._cacheIndex=-2}return Object.defineProperty(Me.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Me.prototype.has=function(Ue){return this._find(Ue,!1)>=0},Me.prototype.get=function(Ue){var Ve=this._find(Ue,!1);return Ve>=0?this._values[Ve]:void 0},Me.prototype.set=function(Ue,Ve){var We=this._find(Ue,!0);return this._values[We]=Ve,this},Me.prototype.delete=function(Ue){var Ve=this._find(Ue,!1);if(Ve>=0){for(var We=this._keys.length,rt=Ve+1;rt<We;rt++)this._keys[rt-1]=this._keys[rt],this._values[rt-1]=this._values[rt];return this._keys.length--,this._values.length--,Ue===this._cacheKey&&(this._cacheKey=W,this._cacheIndex=-2),!0}return!1},Me.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=W,this._cacheIndex=-2},Me.prototype.keys=function(){return new ue(this._keys,this._values,Ce)},Me.prototype.values=function(){return new ue(this._keys,this._values,Oe)},Me.prototype.entries=function(){return new ue(this._keys,this._values,Ne)},Me.prototype["@@iterator"]=function(){return this.entries()},Me.prototype[o]=function(){return this.entries()},Me.prototype._find=function(Ue,Ve){return this._cacheKey!==Ue&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=Ue)),this._cacheIndex<0&&Ve&&(this._cacheIndex=this._keys.length,this._keys.push(Ue),this._values.push(void 0)),this._cacheIndex},Me}();function Ce(Me,Ue){return Me}function Oe(Me,Ue){return Ue}function Ne(Me,Ue){return[Me,Ue]}}function we(){return function(){function W(){this._map=new p}return Object.defineProperty(W.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),W.prototype.has=function($){return this._map.has($)},W.prototype.add=function($){return this._map.set($,$),this},W.prototype.delete=function($){return this._map.delete($)},W.prototype.clear=function(){this._map.clear()},W.prototype.keys=function(){return this._map.keys()},W.prototype.values=function(){return this._map.values()},W.prototype.entries=function(){return this._map.entries()},W.prototype["@@iterator"]=function(){return this.keys()},W.prototype[o]=function(){return this.keys()},W}()}function Te(){var W=16,$=s.create(),ue=Ce();return function(){function Ve(){this._key=Ce()}return Ve.prototype.has=function(We){var rt=Oe(We,!1);return rt!==void 0?s.has(rt,this._key):!1},Ve.prototype.get=function(We){var rt=Oe(We,!1);return rt!==void 0?s.get(rt,this._key):void 0},Ve.prototype.set=function(We,rt){var At=Oe(We,!0);return At[this._key]=rt,this},Ve.prototype.delete=function(We){var rt=Oe(We,!1);return rt!==void 0?delete rt[this._key]:!1},Ve.prototype.clear=function(){this._key=Ce()},Ve}();function Ce(){var Ve;do Ve="@@WeakMap@@"+Ue();while(s.has($,Ve));return $[Ve]=!0,Ve}function Oe(Ve,We){if(!n.call(Ve,ue)){if(!We)return;Object.defineProperty(Ve,ue,{value:s.create()})}return Ve[ue]}function Ne(Ve,We){for(var rt=0;rt<We;++rt)Ve[rt]=Math.random()*255|0;return Ve}function Me(Ve){return typeof Uint8Array=="function"?typeof crypto<"u"?crypto.getRandomValues(new Uint8Array(Ve)):typeof msCrypto<"u"?msCrypto.getRandomValues(new Uint8Array(Ve)):Ne(new Uint8Array(Ve),Ve):Ne(new Array(Ve),Ve)}function Ue(){var Ve=Me(W);Ve[6]=Ve[6]&79|64,Ve[8]=Ve[8]&191|128;for(var We="",rt=0;rt<W;++rt){var At=Ve[rt];(rt===4||rt===6||rt===8)&&(We+="-"),At<16&&(We+="0"),We+=At.toString(16).toLowerCase()}return We}}function Z(W){return W.__=void 0,delete W.__,W}})})(u9||(u9={}));const p4=Symbol("design:className"),c9=Symbol("design:comment"),f9=Symbol("design:caller"),Hm=Symbol("design:params"),p9=Symbol("design:returns"),moe=(e,t)=>{try{if((e==null?void 0:e.length)<=0)return[];var n=e==null?void 0:e[e.length-1],r=[...e];return n==null||!Object.hasOwn(n,"lookupProperty")||(n==null?void 0:n.name)!==t?r:Array.prototype.slice.call(e,0,-1)}catch(a){return Ki.error("filterArgs",a,{args:e,keyName:t}),[]}},voe=(e,t)=>{var n=[],r=!0;return(t==null?void 0:t.length)>0&&(t==null||t.forEach(a=>{var i;var o=(i=Array.from(e))==null?void 0:i[a.index];a.required&&sa(o)&&(n.push(`${a.index} required`),r=!1)})),{msg:n,pass:r}};function $f(e){return t=>{Reflect.defineMetadata(p4,{name:e},t)}}function Vt(e){return(t,n,r)=>{var i;var a=[];const o=Reflect.getMetadata(Hm,t,n);a.push(`${te.i18nt("designer.expression.comment")}:${e}`),a.push(`${te.i18nt("designer.expression.useMethod")}:${n}(${((i=o==null?void 0:o.slice().reverse())==null?void 0:i.map(u=>u.comment).join(","))||""})`),Reflect.defineMetadata(c9,a.join(`
61
- `),t,n)}}function zt(){return(e,t,n)=>{var o;const r=Reflect.getMetadata(Hm,e,t),a=`${t}(${((o=r==null?void 0:r.slice().reverse())==null?void 0:o.map(i=>i.name).join(","))||""})`;Reflect.defineMetadata(f9,a,e,t)}}function Ht(){return(e,t,n)=>{const r=Reflect.getMetadata(Hm,e,t),a=n.value;return n.value=function(o){var l;var i=moe(arguments,t),u=voe(i,r);if(u&&!u.pass)throw new Error(`Parameter ${(l=u.msg)==null?void 0:l.join(",")} `);return a==null?void 0:a.apply(this,i)},n}}function dt(e=!1,t="",n="",r){return(a,o,i)=>{var u=Reflect.getMetadata(Hm,a,o+"")||[];u.push({index:i||0,required:e,comment:t,name:n,dataType:r}),Reflect.defineMetadata(Hm,u,a,o+"")}}function Ut(e="",t){return(n,r)=>{Reflect.defineMetadata(p9,{comment:e,dataType:t},n,r+"")}}class goe{constructor(t={}){V(this,"UPPERCASE","ABCDEFGHIJKLMNOPQRSTUVWXYZ");V(this,"LOWERCASE","abcdefghijklmnopqrstuvwxyz");V(this,"NUMBERS","0123456789");V(this,"SPECIAL_CHARS","!@#$%^&*()_+-=[]{}|;:,.<>?");V(this,"SIMILAR_CHARS","0O1lI8B5S2Z");V(this,"AMBIGUOUS_CHARS","{}[]()/\\'\"`~,;:.<>");V(this,"config");this.config={length:t.length??12,includeUppercase:t.includeUppercase??!0,includeLowercase:t.includeLowercase??!0,includeNumbers:t.includeNumbers??!0,includeSpecialChars:t.includeSpecialChars??!0,excludeSimilarChars:t.excludeSimilarChars??!1,excludeAmbiguousChars:t.excludeAmbiguousChars??!1,customSpecialChars:t.customSpecialChars??this.SPECIAL_CHARS}}generate(){this.validateConfig();let t=this.buildCharacterPool();if(t.length===0)throw new Error("至少需要包含一种字符类型");const n=[];if(this.config.includeUppercase){const a=this.filterCharacters(this.UPPERCASE);n.push(this.getRandomChar(a))}if(this.config.includeLowercase){const a=this.filterCharacters(this.LOWERCASE);n.push(this.getRandomChar(a))}if(this.config.includeNumbers){const a=this.filterCharacters(this.NUMBERS);n.push(this.getRandomChar(a))}if(this.config.includeSpecialChars){const a=this.filterCharacters(this.config.customSpecialChars);n.push(this.getRandomChar(a))}const r=this.config.length-n.length;for(let a=0;a<r;a++)n.push(this.getRandomChar(t));return this.shuffleArray(n).join("")}buildCharacterPool(){let t="";return this.config.includeUppercase&&(t+=this.filterCharacters(this.UPPERCASE)),this.config.includeLowercase&&(t+=this.filterCharacters(this.LOWERCASE)),this.config.includeNumbers&&(t+=this.filterCharacters(this.NUMBERS)),this.config.includeSpecialChars&&(t+=this.filterCharacters(this.config.customSpecialChars)),t}filterCharacters(t){let n=t;return this.config.excludeSimilarChars&&(n=n.split("").filter(r=>!this.SIMILAR_CHARS.includes(r)).join("")),this.config.excludeAmbiguousChars&&(n=n.split("").filter(r=>!this.AMBIGUOUS_CHARS.includes(r)).join("")),n}getRandomChar(t){const n=Math.floor(Math.random()*t.length);return t[n]}shuffleArray(t){const n=[...t];for(let r=n.length-1;r>0;r--){const a=Math.floor(Math.random()*(r+1));[n[r],n[a]]=[n[a],n[r]]}return n}validateConfig(){if(this.config.length<4)throw new Error("密码长度不能少于4个字符");if(this.config.length>128)throw new Error("密码长度不能超过128个字符");if([this.config.includeUppercase,this.config.includeLowercase,this.config.includeNumbers,this.config.includeSpecialChars].filter(Boolean).length>this.config.length)throw new Error("密码长度不足以包含所有要求的字符类型")}generateMultiple(t){return Array.from({length:t},()=>this.generate())}generateMemorablePassword(t=4,n="-"){const r=["apple","banana","cherry","dragon","elephant","flower","garden","happiness","island","jupiter","kitten","light","mountain","night","ocean","panda","queen","river","sunset","tiger","universe","victory","water","xray","yellow","zebra"],a=[];for(let i=0;i<t;i++){const u=Math.floor(Math.random()*r.length);a.push(r[u])}const o=a.map(i=>Math.random()>.5?i.charAt(0).toUpperCase()+i.slice(1):i);if(Math.random()>.3){const i=Math.floor(Math.random()*100),u=Math.floor(Math.random()*(o.length+1));o.splice(u,0,i.toString())}if(Math.random()>.5){const i=this.filterCharacters(this.config.customSpecialChars),u=this.getRandomChar(i);o.push(u)}return o.join(n)}}var yoe=Object.defineProperty,boe=Object.getOwnPropertyDescriptor,Lt=(e,t,n,r)=>{for(var a=r>1?void 0:r?boe(t,n):t,o=e.length-1,i;o>=0;o--)(i=e[o])&&(a=(r?i(t,n,a):i(a))||a);return r&&a&&yoe(t,n,a),a},mt=(e,t)=>(n,r)=>t(n,r,e);class xl{static dateToString(t){return bl(t,"yyyy-MM-dd HH:mm:ss")}static checkAllNum(t){return!(t!=null&&t.some(n=>n===""||n===null||n===void 0||isNaN(Number(n))))}}let Zo=class{static INCLUDES(e,t){const n=new Set;return e.forEach(r=>n.add(r)),Array.from(n).includes(t)}static INTERSECTIONSET(e,t){const n=new Set;let r=e,a=t;return(e==null?void 0:e.length)-(t==null?void 0:t.length)>0&&(r=e,a=t),a==null||a.forEach(o=>{r!=null&&r.includes(o)&&(n==null||n.add(o))}),Array.from(n)}static UNIONSET(e,t){const n=new Set;return e.forEach(r=>n.add(r)),t.forEach(r=>n.add(r)),Array.from(n)}static DIFFERENCESET(e,t){const n=new Set;return e.forEach(r=>{t.includes(r)||n.add(r)}),Array.from(n)}static SUBSET(e,t){if(e.length>t.length)return!1;let n=!0;return e.every(r=>t.includes(r)?!0:(n=!1,!1)),n}static ARRAYGET(e,t){return e==null?void 0:e[t-1]}static LARGE(e,t){var n=e==null?void 0:e.sort((r,a)=>Number(r)<Number(a)?1:-1);return n==null?void 0:n[t-1]}static SMALL(e,t){var n=e.sort((r,a)=>Number(r)>Number(a)?1:-1);return n==null?void 0:n[t-1]}static ARRAY(...e){return hl(...e)}static ARRAYLEN(e){return(e==null?void 0:e.length)||0}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.INCLUDES_func")),Ut(te.i18nt("designer.helper.INCLUDES_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.array"),"array",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.value"),"value",He.any))],Zo,"INCLUDES",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.INTERSECTIONSET_func")),Ut(te.i18nt("designer.helper.INTERSECTIONSET_return"),He.array),mt(0,dt(!0,te.i18nt("designer.helper.array1"),"array1",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.array2"),"array2",He.array))],Zo,"INTERSECTIONSET",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.UNIONSET_func")),Ut(te.i18nt("designer.helper.UNIONSET_return"),He.array),mt(0,dt(!0,te.i18nt("designer.helper.array1"),"array1",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.array2"),"array2",He.array))],Zo,"UNIONSET",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DIFFERENCESET_func")),Ut(te.i18nt("designer.helper.DIFFERENCESET_return"),He.array),mt(0,dt(!0,te.i18nt("designer.helper.array1"),"array1",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.array2"),"array2",He.array))],Zo,"DIFFERENCESET",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SUBSET_func")),Ut(te.i18nt("designer.helper.SUBSET_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.array1"),"array1",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.array2"),"array2",He.array))],Zo,"SUBSET",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ARRAYGET_func")),Ut(te.i18nt("designer.helper.ARRAYGET_return"),He.any),mt(0,dt(!0,te.i18nt("designer.helper.array"),"array",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.index"),"index",He.number))],Zo,"ARRAYGET",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LARGE_func")),Ut(te.i18nt("designer.helper.LARGE_return"),He.any),mt(0,dt(!0,te.i18nt("designer.helper.array"),"array",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.index"),"index",He.number))],Zo,"LARGE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SMALL_func")),Ut(te.i18nt("designer.helper.SMALL_return"),He.any),mt(0,dt(!0,te.i18nt("designer.helper.array"),"array",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.index"),"index",He.number))],Zo,"SMALL",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ARRAY_func")),Ut(te.i18nt("designer.helper.ARRAY_return"),He.array),mt(0,dt(!0,te.i18nt("designer.helper.array"),"array",He.array))],Zo,"ARRAY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ARRAYLEN_func")),Ut(te.i18nt("designer.helper.ARRAYLEN_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.array"),"array",He.array))],Zo,"ARRAYLEN",1),Zo=Lt([$f(te.i18nt("designer.expression.helpers_collection"))],Zo);let Za=class{static EQ(e,t){return e===t}static NE(e,t){return e!==t}static LT(e,t){return e<t}static GT(e,t){return e>t}static LTE(e,t){return e<=t}static GTE(e,t){return e>=t}static AND(...e){var t;return(t=hl(...e))==null?void 0:t.every(n=>!!n)}static OR(...e){var t;return(t=hl(...e))==null?void 0:t.some(n=>!n)}static NOT(e){return!e}static XOR(...e){var t;return!((t=hl(...e))!=null&&t.some(n=>!!n))}static TRUE(){return!0}static FALSE(){return!1}static IF(e,t,n){return e?t:n}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.EQ_func")),Ut(te.i18nt("designer.helper.EQ_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v2",He.any))],Za,"EQ",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.NE_func")),Ut(te.i18nt("designer.helper.NE_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v1",He.any))],Za,"NE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LT_func")),Ut(te.i18nt("designer.helper.LT_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v2",He.any))],Za,"LT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GT_func")),Ut(te.i18nt("designer.helper.GT_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v2",He.any))],Za,"GT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LTE_func")),Ut(te.i18nt("designer.helper.LTE_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v2",He.any))],Za,"LTE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GTE_func")),Ut(te.i18nt("designer.helper.GTE_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v2",He.any))],Za,"GTE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.AND_func")),Ut(te.i18nt("designer.helper.AND_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.logical_args"),"args",He.array))],Za,"AND",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.OR_func")),Ut(te.i18nt("designer.helper.OR_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.logical_args"),"args",He.array))],Za,"OR",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.NOT_func")),Ut(te.i18nt("designer.helper.NOT_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.logical_arg"),"v1",He.boolean))],Za,"NOT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.XOR_func")),Ut(te.i18nt("designer.helper.XOR_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.logical_args"),"args",He.array))],Za,"XOR",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TRUE_func")),Ut(te.i18nt("designer.helper.TRUE_return"),He.boolean)],Za,"TRUE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.FALSE_func")),Ut(te.i18nt("designer.helper.FALSE_return"),He.boolean)],Za,"FALSE",1),Lt([Ht(),zt(),Vt(""),Ut("",He.any),mt(0,dt(!0,te.i18nt("designer.helper.logical_arg"),"condition",He.boolean)),mt(1,dt(!0,te.i18nt("designer.helper.IF_trueValue"),"trueValue",He.boolean)),mt(2,dt(!0,te.i18nt("designer.helper.IF_falseValue"),"falseValue",He.boolean))],Za,"IF",1),Za=Lt([$f(te.i18nt("designer.expression.helpers_logical"))],Za);let Fi=class{static ADD(...e){var n;var t=0;return(n=hl(...e))==null||n.forEach(r=>t+=bc(r,!1)||0),t}static ADDNUM(...e){var t=0,n=hl(...e);return xl.checkAllNum(n)?(n==null||n.forEach(r=>{t+=bc(r,!1)||0}),t):null}static AVERAGE(...e){var t=0,n=hl(...e);if(!xl.checkAllNum(n))return null;n==null||n.forEach(a=>t+=bc(a,!1)||0);var r=e==null?void 0:e.length;return r?t/r:0}static MAX(...e){var t=hl(...e),n=t==null?void 0:t.map(r=>bc(r,!1)||0);return!n||n.length<=0?0:Math.max(...n)}static MIN(...e){var n;var t=(n=hl(...e))==null?void 0:n.map(r=>bc(r,!1)||0);return!t||t.length<=0?0:Math.min(...t)}static ABS(e){return Math.abs(e)}static ROUND(e,t=2){var n=Math.pow(10,t);return Math.round(e*n)/n}static CEILING(e,t=1){return Math.ceil(e/t)*t}static FLOOR(e,t=1){return Math.floor(e/t)*t}static INT(e){return Math.floor(e)}static LOG(e,t=10){return Math.log10(e)/Math.log10(t)}static POWER(e,t){return Math.pow(e,t)}static FIXED(e,t){return e===null?null:Number(e.toFixed(t))}static SQRT(e){return Math.sqrt(e)}static PRODUCT(...e){var t=hl(...e);if(!xl.checkAllNum(t))return null;var n=1;return t==null||t.forEach(r=>n*=Number(r)),n}static SUMPRODUCT(e,t){var n=0;return(e==null?void 0:e.length)!==(t==null?void 0:t.length)||e==null||e.forEach((r,a)=>{n+=Number(r)*Number(t[a])}),n}static NUMBERCOMPARE(e,t){return Number(e)===Number(t)}static NUMBERFORMATE(e,t){return LO(e,t)}static DIVISION(e,t){return t!=0?e/t:0}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ADD_func")),Ut(te.i18nt("designer.helper.ADD_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray"),"args",He.array))],Fi,"ADD",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ADDNUM_func")),Ut(te.i18nt("designer.helper.ADD_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray"),"args",He.array))],Fi,"ADDNUM",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.AVERAGE_func")),Ut(te.i18nt("designer.helper.AVERAGE_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray"),"args",He.array))],Fi,"AVERAGE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.MAX_func")),Ut(te.i18nt("designer.helper.MAX_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray"),"args",He.array))],Fi,"MAX",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.MIN_func")),Ut(te.i18nt("designer.helper.MIN_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray"),"args",He.array))],Fi,"MIN",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ABS_func")),Ut(te.i18nt("designer.helper.ABS_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number))],Fi,"ABS",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ROUND_func")),Ut(te.i18nt("designer.helper.ROUND_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number)),mt(1,dt(!1,te.i18nt("designer.helper.num_digits"),"num_digits",He.number))],Fi,"ROUND",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.CEILING_func")),Ut(te.i18nt("designer.helper.CEILING_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number)),mt(1,dt(!1,te.i18nt("designer.helper.significance"),"significance",He.number))],Fi,"CEILING",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.FLOOR_func")),Ut(te.i18nt("designer.helper.FLOOR_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number)),mt(1,dt(!1,te.i18nt("designer.helper.significance"),"significance",He.number))],Fi,"FLOOR",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.INT_func")),Ut(te.i18nt("designer.helper.INT_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number))],Fi,"INT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LOG_func")),Ut(te.i18nt("designer.helper.LOG_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number)),mt(1,dt(!1,te.i18nt("designer.helper.log_base"),"number",He.number))],Fi,"LOG",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.POWER_func")),Ut(te.i18nt("designer.helper.POWER_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.power_base"),"number",He.number)),mt(1,dt(!0,te.i18nt("designer.helper.power_num"),"power",He.number))],Fi,"POWER",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.FIXED_func")),Ut(te.i18nt("designer.helper.FIXED_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number)),mt(1,dt(!0,te.i18nt("designer.helper.decimals"),"decimals",He.number))],Fi,"FIXED",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SQRT_func")),Ut(te.i18nt("designer.helper.SQRT_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number))],Fi,"SQRT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.PRODUCT_func")),Ut(te.i18nt("designer.helper.PRODUCT_func"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray"),"args",He.array))],Fi,"PRODUCT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SUMPRODUCT_func")),Ut(te.i18nt("designer.helper.SUMPRODUCT_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray1"),"array1",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.numArray2"),"array2",He.array))],Fi,"SUMPRODUCT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.NUMBERCOMPARE_func")),Ut(te.i18nt("designer.helper.NUMBERCOMPARE_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.number)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v2",He.number))],Fi,"NUMBERCOMPARE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.NUMBERFORMATE_func")),Ut(te.i18nt("designer.helper.NUMBERFORMATE_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.value"),"value",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.pattern"),"pattern",He.string))],Fi,"NUMBERFORMATE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DIVISION_func")),Ut(te.i18nt("designer.helper.DIVISION_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.divisor"),"v1",He.number)),mt(1,dt(!0,te.i18nt("designer.helper.dividend"),"v2",He.number))],Fi,"DIVISION",1),Fi=Lt([$f(te.i18nt("designer.expression.helpers_math"))],Fi);let kc=class{static PREGNANTWEEKDAY(e,t,n){if(!e||!t)return 0;var r=sI(e,-280);switch(n){case"week":return Math.floor(Em(r,t)/7);case"day":return Math.floor(Em(r,t)%7)}}static PREGNANTWEEK(e,t){return this.PREGNANTWEEKDAY(e,t,"week")}static PREGNANTDAY(e,t){return this.PREGNANTWEEKDAY(e,t,"day")}static STOPMENSTRUALWEEK(e,t){return Math.floor(Em(e,t)/7)}static STOPMENSTRUALDAY(e,t){return Math.floor(Em(e,t)%7)}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.PREGNANTWEEKDAY_func")),Ut(te.i18nt("designer.helper.PREGNANTWEEKDAY_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.dateOfPrenatal"),"dateOfPrenatal",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.currentTime"),"currentTime",He.date)),mt(2,dt(!0,te.i18nt("designer.helper.PREGNANTWEEKDAY_mode"),"mode",He.string))],kc,"PREGNANTWEEKDAY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.PREGNANTWEEK_func")),Ut(te.i18nt("designer.helper.PREGNANTWEEK_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.dateOfPrenatal"),"dateOfPrenatal",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.currentTime"),"currentTime",He.date))],kc,"PREGNANTWEEK",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.PREGNANTDAY_func")),Ut(te.i18nt("designer.helper.PREGNANTDAY_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.dateOfPrenatal"),"dateOfPrenatal",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.currentTime"),"currentTime",He.date))],kc,"PREGNANTDAY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.STOPMENSTRUALWEEK_func")),Ut(te.i18nt("designer.helper.STOPMENSTRUALWEEK_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.lastMenstrualPeriod"),"lastMenstrualPeriod",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.currentTime"),"currentTime",He.date))],kc,"STOPMENSTRUALWEEK",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.STOPMENSTRUALDAY_func")),Ut(te.i18nt("designer.helper.STOPMENSTRUALDAY_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.lastMenstrualPeriod"),"lastMenstrualPeriod",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.currentTime"),"currentTime",He.date))],kc,"STOPMENSTRUALDAY",1),kc=Lt([$f(te.i18nt("designer.expression.helpers_medical"))],kc);let bi=class{static CONCATENATE(e,t,...n){var r,a;return(a=(r=hl(...n))==null?void 0:r.map(o=>(t==null?void 0:t.length)>0?Lee(t,o):o))==null?void 0:a.join(e||"")}static LEFT(e,t){var n=String(e),r=n==null?void 0:n.length;return t===void 0||t<=0||r<=0?"":r<=t?n:n==null?void 0:n.substring(0,t)}static RIGHT(e,t){var n=String(e),r=n==null?void 0:n.length;return t===void 0||t<=0||r<=0?"":r<t?n:n==null?void 0:n.substring(r-t,r)}static MID(e,t,n){var r=String(e),a=r==null?void 0:r.length;if(t<0||n===void 0||n<=0||a<=0||t>=a)return"";var o=t+n;return o>=a&&(o=a-1),t>o?"":r==null?void 0:r.substring(t,o)}static LEN(e){var t;return(t=String(e==null?void 0:e.trim()))==null?void 0:t.length}static LOWER(e){var t;return(t=String(e))==null?void 0:t.toLowerCase()}static UPPER(e){var t;return(t=String(e))==null?void 0:t.toUpperCase()}static REPLACE(e,t,n,r){if(t<0||n<0)return"";var a=this.LEN(e);if(a<=0)return"";var o=this.LEFT(e,t),i=Ko(r)?"":r,u=this.RIGHT(e,a-t-n);return[o,i,u].join("")}static REPT(e,t){var n;return(n=String(e))==null?void 0:n.repeat(t<0?0:t)}static SEARCH(e,t,n=0){return t==null?void 0:t.indexOf(e,n)}static TEXT(e,t){var n=String(e);return t?cee(e)?LO(It(e),t):bs(e)?bl(e,t):String(e):n}static VALUE(e){return Number(e)}static SPLIT(e,t,n){var r;return(r=String(e))==null?void 0:r.split(t,n)}static TRIM(e){var t;return(t=String(e))==null?void 0:t.trim()}static UUID(){return zre()}static ISNULL(e){return ar(e)}static GENERATESTRING(e=8){return new goe({length:e,includeUppercase:!0,includeLowercase:!0,includeNumbers:!0,includeSpecialChars:!0,excludeSimilarChars:!0,excludeAmbiguousChars:!0,customSpecialChars:"!@#$%&*"}).generate()}static ISEMPTY(e){return ar(e)||Ko(e)}static PRINT(e){return e}static STRINGCOMPARE(e,t){return String(e)===String(t)}static REPLACESTRING(e,t,n,r="*"){if(!e)return"";const a=Array.from(e);if(t<0||t>=a.length||n<0||n>=a.length||t>n)return e;for(var o=t;o<n;o++)a[o]=r;return a.join("")}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.CONCATENATE_func")),Ut(te.i18nt("designer.helper.CONCATENATE_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.separator"),"separator",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.format"),"format",He.string)),mt(2,dt(!0,te.i18nt("designer.helper.stringArray"),"args",He.array))],bi,"CONCATENATE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LEFT_func")),Ut(te.i18nt("designer.helper.LEFT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.orgText"),"text",He.string)),mt(1,dt(!1,te.i18nt("designer.helper.num_chars"),"num_chars",He.number))],bi,"LEFT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.RIGHT_func")),Ut(te.i18nt("designer.helper.RIGHT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.orgText"),"text",He.string)),mt(1,dt(!1,te.i18nt("designer.helper.num_chars"),"num_chars",He.number))],bi,"RIGHT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.MID_func")),Ut(te.i18nt("designer.helper.MID_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.orgText"),"text",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.MID_start_index"),"start_index",He.number)),mt(2,dt(!0,te.i18nt("designer.helper.num_chars"),"num_chars",He.number))],bi,"MID",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LEN_func")),Ut(te.i18nt("designer.helper.LEN_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string))],bi,"LEN",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LOWER_func")),Ut(te.i18nt("designer.helper.LOWER_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string))],bi,"LOWER",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.UPPER_func")),Ut(te.i18nt("designer.helper.UPPER_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string))],bi,"UPPER",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.REPLACE_func")),Ut(te.i18nt("designer.helper.REPLACE_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.orgText"),"old_text",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.REPLACE_start_index"),"start_index",He.number)),mt(2,dt(!0,te.i18nt("designer.helper.REPLACE_num_chars"),"num_chars",He.number)),mt(3,dt(!0,te.i18nt("designer.helper.REPLACE_new_text"),"new_text",He.string))],bi,"REPLACE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.REPT_func")),Ut(te.i18nt("designer.helper.REPT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.orgText"),"text",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.number_times"),"number_times",He.string))],bi,"REPT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SEARCH_func")),Ut(te.i18nt("designer.helper.SEARCH_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.orgText"),"find_text",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.SEARCH_within_text"),"within_text",He.string)),mt(2,dt(!1,te.i18nt("designer.helper.SEARCH_start_num"),"start_num",He.number))],bi,"SEARCH",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TEXT_func")),Ut(te.i18nt("designer.helper.TEXT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.value"),"value",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.pattern"),"pattern",He.string))],bi,"TEXT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.VALUE_func")),Ut(te.i18nt("designer.helper.VALUE_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string))],bi,"VALUE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SPLIT_func")),Ut(te.i18nt("designer.helper.SPLIT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.separator"),"separator",He.string)),mt(2,dt(!0,te.i18nt("designer.helper.SPLIT_limit"),"limit",He.number))],bi,"SPLIT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TRIM_func")),Ut(te.i18nt("designer.helper.TRIM_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string))],bi,"TRIM",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.UUID_func")),Ut(te.i18nt("designer.helper.UUID_return"),He.string)],bi,"UUID",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ISNULL_func")),Ut(te.i18nt("designer.helper.ISNULL_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"value",He.any))],bi,"ISNULL",1),Lt([zt(),Vt(te.i18nt("designer.helper.GENERATESTRING_func")),Ut(te.i18nt("designer.helper.GENERATESTRING_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.len"),"len",He.number))],bi,"GENERATESTRING",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ISEMPTY_func")),Ut(te.i18nt("designer.helper.ISEMPTY_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"value",He.any))],bi,"ISEMPTY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.PRINT_func")),Ut(te.i18nt("designer.helper.PRINT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string))],bi,"PRINT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.STRINGCOMPARE_func")),Ut(te.i18nt("designer.helper.STRINGCOMPARE_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text1"),"v1",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.text2"),"v2",He.string))],bi,"STRINGCOMPARE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.REPLACESTRING_func")),Ut(te.i18nt("designer.helper.REPLACESTRING_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.indexStart"),"indexStart",He.number)),mt(2,dt(!0,te.i18nt("designer.helper.indexEnd"),"indexEnd",He.number)),mt(3,dt(!0,te.i18nt("designer.helper.replacement"),"replacement",He.string))],bi,"REPLACESTRING",1),bi=Lt([$f(te.i18nt("designer.expression.helpers_string"))],bi);let si=class{static DATE(e){return new Date(e)}static DATEFORMAT(e,t){return bl(e,t)}static TIMESTAMP(e){var t;return(t=new Date(e))==null?void 0:t.getTime()}static TIME(e=0,t=0,n=0){return Number(((e*60*60+t*60+n)*1/(24*60*60)).toPrecision(1))}static TODAY(){var e=new Date;return xl.dateToString(new Date(e.getFullYear(),e.getMonth(),e.getDate()))}static NOW(){return xl.dateToString(new Date)}static YEAR(e){var t;return(t=new Date(e))==null?void 0:t.getFullYear()}static MONTH(e){var t;return(t=new Date(e))==null?void 0:t.getMonth()}static DAY(e){var t;return(t=new Date(e))==null?void 0:t.getDate()}static HOUR(e){var t;return(t=new Date(e))==null?void 0:t.getHours()}static MINUTE(e){var t;return(t=new Date(e))==null?void 0:t.getMinutes()}static SECOND(e){var t;return(t=new Date(e))==null?void 0:t.getSeconds()}static DATEADD(e,t,n=Zf.day){var r=sI(e,t,n);return Ni(e)?xl.dateToString(r):r}static DATEDIFF(e,t,n=Zf.day){return Em(e,t,n)}static DATEDIFFPART(e,t,n=Zf.day){return jre(e,t,n)}static DAYS360(e,t,n=Zf.day){var r=new Date(e),a=new Date(t),o=Math.abs(a.getTime()-r.getTime());switch(n){case Zf.year:return o/(12*30*24*60*60*1e3);case Zf.month:return o/(30*24*60*60*1e3);default:return this.DATEDIFF(r,a,n)}}static DAYBEGIN(e){var t=new Date(e);return xl.dateToString(new Date(t.getFullYear(),t.getMonth(),t.getDate()))}static DAYEND(e){var t=new Date(e);return t=new Date(new Date(t.getFullYear(),t.getMonth(),t.getDate()+1).setSeconds(-1)),xl.dateToString(t)}static YEARBEGIN(e){var t=new Date(e);return xl.dateToString(new Date(t.getFullYear(),0,1))}static YEAREND(e){var t=new Date(e);return t=new Date(new Date(t.getFullYear()+1,0,1).setDate(0)),xl.dateToString(t)}static WEEKNUM(e,t=1){const n=new Date(e),r=new Date(n.getFullYear(),0,1);var a=24*60*60*1e3,o=7*a,i=(7-r.getDay())*a;return Math.ceil((n.getTime()-r.getTime()-i)/o)+t}static ISOWEEKNUM(e){return this.WEEKNUM(e,void 0)}static GETAGEBYBIRTH(e){const{years:t}=L1(Sm(e),new Date);return t}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DATE_func")),Ut(te.i18nt("designer.helper.DATE_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.DATE_date"),"date",He.any))],si,"DATE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DATEFORMAT_func")),Ut(te.i18nt("designer.helper.DATEFORMAT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"value",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.pattern"),"pattern",He.any))],si,"DATEFORMAT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TIMESTAMP_func")),Ut(te.i18nt("designer.helper.TIMESTAMP_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.TIMESTAMP_date"),"date",He.any))],si,"TIMESTAMP",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TIME_func")),Ut(te.i18nt("designer.helper.TIME_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.hour"),"hour",He.number)),mt(1,dt(!0,te.i18nt("designer.helper.minute"),"minute",He.number)),mt(2,dt(!0,te.i18nt("designer.helper.second"),"second",He.number))],si,"TIME",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TODAY_func")),Ut(te.i18nt("designer.helper.TODAY_return"),He.date)],si,"TODAY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.NOW_func")),Ut(te.i18nt("designer.helper.NOW_return"),He.date)],si,"NOW",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.YEAR_func")),Ut(te.i18nt("designer.helper.YEAR_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.any))],si,"YEAR",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.MONTH_func")),Ut(te.i18nt("designer.helper.MONTH_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.any))],si,"MONTH",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DAY_func")),Ut(te.i18nt("designer.helper.DAY_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.any))],si,"DAY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.HOUR_func")),Ut(te.i18nt("designer.helper.HOUR_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.any))],si,"HOUR",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.MINUTE_func")),Ut(te.i18nt("designer.helper.MINUTE_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.any))],si,"MINUTE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SECOND_func")),Ut(te.i18nt("designer.helper.SECOND_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.any))],si,"SECOND",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DATEADD_func")),Ut(te.i18nt("designer.helper.DATEADD_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.DATEADD_date"),"date",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.DATEADD_delta_num"),"delta_num",He.number)),mt(2,dt(!1,te.i18nt("designer.helper.DATEADD_delta_type"),"delta_type",He.string))],si,"DATEADD",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DATEDIFF_func")),Ut(te.i18nt("designer.helper.DATEDIFF_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date1"),"date1",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.date2"),"date2",He.date)),mt(2,dt(!1,te.i18nt("designer.helper.diff_type"),"diff_type",He.string))],si,"DATEDIFF",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DATEDIFFPART_func")),Ut(te.i18nt("designer.helper.DATEDIFFPART_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date1"),"date1",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.date2"),"date2",He.date)),mt(2,dt(!1,te.i18nt("designer.helper.diff_type"),"diff_type",He.string))],si,"DATEDIFFPART",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DAYS360_func")),Ut(te.i18nt("designer.helper.DAYS360_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date1"),"d1",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.date2"),"d2",He.date)),mt(2,dt(!1,te.i18nt("designer.helper.diff_type"),"diff_type",He.string))],si,"DAYS360",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DAYBEGIN_func")),Ut(te.i18nt("designer.helper.DAYBEGIN_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.date))],si,"DAYBEGIN",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DAYEND_func")),Ut(te.i18nt("designer.helper.DAYEND_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.date))],si,"DAYEND",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.YEARBEGIN_func")),Ut(te.i18nt("designer.helper.YEARBEGIN_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.date))],si,"YEARBEGIN",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.YEAREND_func")),Ut(te.i18nt("designer.helper.YEAREND_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.date))],si,"YEAREND",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.WEEKNUM_func")),Ut(te.i18nt("designer.helper.WEEKNUM_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.WEEKNUM_return_type"),"return_type",He.date))],si,"WEEKNUM",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ISOWEEKNUM_func")),Ut(te.i18nt("designer.helper.ISOWEEKNUM_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.date))],si,"ISOWEEKNUM",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETAGEBYBIRTH_func")),Ut(te.i18nt("designer.helper.GETAGEBYBIRTH_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.birthday"),"birthday",He.string))],si,"GETAGEBYBIRTH",1),si=Lt([$f(te.i18nt("designer.expression.helpers_time"))],si);let mo=class{static ASSIGN(...e){return!e||e.length<=0?null:Object.assign({},...e)}static TOJSON(e){return ai(e)}static FROMJSON(e){return Kr(e)}static VALIDIDCARD(e){return Iu.isValid(e)}static GETBIRTHDAY(e){const t=Iu.getInfo(e);return xl.dateToString(t==null?void 0:t.birthday)}static GETAGE(e){const t=Iu.getInfo(e);return t==null?void 0:t.age}static GETSEXCODE(e){const t=Iu.getInfo(e);return t==null?void 0:t.sexCode}static GETSEXNAME(e){const t=Iu.getInfo(e);return t==null?void 0:t.sexName}static GETPROVINCE(e){const t=Iu.getInfo(e);return t==null?void 0:t.provinceCode}static GETPROVINCENAME(e){const t=Iu.getInfo(e);return t==null?void 0:t.provinceName}static GETCHECKEDNAME(e,t="label"){var n;return(n=e==null?void 0:e[0])==null?void 0:n[t]}static GETCHECKEDNAMES(e,t="label"){return e==null?void 0:e.map(n=>n==null?void 0:n[t])}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ASSIGN_func")),Ut(te.i18nt("designer.helper.ASSIGN_return"),He.object),mt(0,dt(!0,te.i18nt("designer.helper.ASSIGN_args"),"array",He.array))],mo,"ASSIGN",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TOJSON_func")),Ut(te.i18nt("designer.helper.TOJSON_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.TOJSON_args"),"args",He.any))],mo,"TOJSON",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.FROMJSON_func")),Ut(te.i18nt("designer.helper.FROMJSON_return"),He.any),mt(0,dt(!0,te.i18nt("designer.helper.FROMJSON_args"),"text",He.string))],mo,"FROMJSON",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ISVALIDIDCARD_func")),Ut(te.i18nt("designer.helper.ISVALIDIDCARD_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"VALIDIDCARD",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETBIRTHDAY_func")),Ut(te.i18nt("designer.helper.GETBIRTHDAY_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"GETBIRTHDAY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETAGE_func")),Ut(te.i18nt("designer.helper.GETAGE_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"GETAGE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETSEXCODE_func")),Ut(te.i18nt("designer.helper.GETSEXCODE_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"GETSEXCODE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETSEXNAME_func")),Ut(te.i18nt("designer.helper.GETSEXNAME_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"GETSEXNAME",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETPROVINCE_func")),Ut(te.i18nt("designer.helper.GETPROVINCE_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"GETPROVINCE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETPROVINCENAME_func")),Ut(te.i18nt("designer.helper.GETPROVINCENAME_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"GETPROVINCENAME",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETCHECKEDNAME_func")),Ut(te.i18nt("designer.helper.GETCHECKEDNAME_return"),He.any),mt(0,dt(!0,te.i18nt("designer.helper.GETCHECKEDNAME_items"),"items",He.array)),mt(1,dt(!1,te.i18nt("designer.helper.GETCHECKEDNAME_itemName"),"itemName",He.string))],mo,"GETCHECKEDNAME",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETCHECKEDNAMES_func")),Ut(te.i18nt("designer.helper.GETCHECKEDNAMES_return"),He.array),mt(0,dt(!0,te.i18nt("designer.helper.GETCHECKEDNAMES_items"),"items",He.array)),mt(1,dt(!1,te.i18nt("designer.helper.GETCHECKEDNAMES_itemName"),"itemName",He.string))],mo,"GETCHECKEDNAMES",1),mo=Lt([$f(te.i18nt("designer.expression.helpers_other"))],mo);const h9=function(e="",t="",n="vform-custom-css"){if(!e)return;let r=document.getElementsByTagName("head")[0],a=document.getElementById(n);a&&r.removeChild(a),t&&(a=document.getElementById(n+"-"+t),a&&r.removeChild(a));let o=document.createElement("style");o.type="text/css",o.id=t?n+"-"+t:n;try{o.appendChild(document.createTextNode(e.toString()))}catch{o.innerHTML=e.toString()}r.appendChild(o)},_oe=function(e,t=""){let n=document.getElementsByTagName("body")[0];var r="v_form_global_functions";let a=document.getElementById(r);a&&n.removeChild(a),t&&(a=document.getElementById(r+"-"+t),a&&n.removeChild(a));let o=document.createElement("script");o.id=t?r+"-"+t:r,o.type="text/javascript",o.innerHTML=e.toString(),n.appendChild(o)},xoe=e=>{var n;var t=(n=Hn(e))==null?void 0:n.toString();return t==null?void 0:t.replace(/\r|\n/g,"<br />")},woe=e=>e&&(new DOMParser().parseFromString(e,"text/html").documentElement.textContent||"");var d9=[bi,si,Za,Fi,Zo,kc,mo];const Eoe=()=>{const e=[];return d9.forEach(t=>{var r,a;var n=Object.getOwnPropertyNames(t).filter(o=>["length","name","prototype"].indexOf(o)===-1).map(o=>{var i=Object.getOwnPropertyDescriptor(t,o);return km.registerHelper(o,i==null?void 0:i.value),o});e.push({label:(r=Reflect.getMetadata(p4,t))==null?void 0:r.name,comment:(a=Reflect.getMetadata(p4,t))==null?void 0:a.comment,children:n.map(o=>({label:o,comment:Reflect.getMetadata(c9,t,o),returnType:Reflect.getMetadata(p9,t,o),caller:Reflect.getMetadata(f9,t,o)}))})}),e},Soe=()=>{const e={};return d9.forEach(t=>{Object.getOwnPropertyNames(t).filter(n=>["length","name","prototype"].indexOf(n)===-1).map(n=>{var r=Object.getOwnPropertyDescriptor(t,n);e[n]=r==null?void 0:r.value})}),e},Coe=(e,t,n)=>{if(e){var r=km.compile(e);try{var a=r(t);return Aoe(woe(a),n)}catch(o){throw Ki.error("expression compile",o,{tmpl:e,data:t,funcName:n}),o}}},Aoe=(e,t)=>{if(!t)return e;let n,r;return h4==null||h4.forEach(a=>{var o;(o=Array.from(a==null?void 0:a.children))==null||o.forEach(i=>{var u;(i==null?void 0:i.label)===t&&(n=It((u=i==null?void 0:i.returnType)==null?void 0:u.dataType),r=Toe(e,n))})}),r},Toe=(e,t)=>{if(!sa(e))switch(t){case He.number:return e===null||e===""?void 0:bc(e);case He.boolean:return e==="true";case He.object:case He.array:return e!=null&&e.startsWith("[")?Zr(Kr(e),!0):Zr(e==null?void 0:e.split(","),!0);case He.string:default:return e}},h4=Eoe();var d4={},Doe={get exports(){return d4},set exports(e){d4=e}};function Gm(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var sb={},koe={get exports(){return sb},set exports(e){sb=e}};const Poe=YO(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var m9;function Or(){return m9||(m9=1,function(e,t){(function(n,r){e.exports=r()})(Jn,function(){var n=n||function(r,a){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Jn<"u"&&Jn.crypto&&(o=Jn.crypto),!o&&typeof Gm=="function")try{o=Poe}catch{}var i=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||function(){function y(){}return function(x){var _;return y.prototype=x,_=new y,y.prototype=null,_}}(),l={},s=l.lib={},c=s.Base=function(){return{extend:function(y){var x=u(this);return y&&x.mixIn(y),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var x in y)y.hasOwnProperty(x)&&(this[x]=y[x]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=s.WordArray=c.extend({init:function(y,x){y=this.words=y||[],x!=a?this.sigBytes=x:this.sigBytes=y.length*4},toString:function(y){return(y||d).stringify(this)},concat:function(y){var x=this.words,_=y.words,w=this.sigBytes,E=y.sigBytes;if(this.clamp(),w%4)for(var S=0;S<E;S++){var C=_[S>>>2]>>>24-S%4*8&255;x[w+S>>>2]|=C<<24-(w+S)%4*8}else for(var D=0;D<E;D+=4)x[w+D>>>2]=_[D>>>2];return this.sigBytes+=E,this},clamp:function(){var y=this.words,x=this.sigBytes;y[x>>>2]&=4294967295<<32-x%4*8,y.length=r.ceil(x/4)},clone:function(){var y=c.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var x=[],_=0;_<y;_+=4)x.push(i());return new f.init(x,y)}}),p=l.enc={},d=p.Hex={stringify:function(y){for(var x=y.words,_=y.sigBytes,w=[],E=0;E<_;E++){var S=x[E>>>2]>>>24-E%4*8&255;w.push((S>>>4).toString(16)),w.push((S&15).toString(16))}return w.join("")},parse:function(y){for(var x=y.length,_=[],w=0;w<x;w+=2)_[w>>>3]|=parseInt(y.substr(w,2),16)<<24-w%8*4;return new f.init(_,x/2)}},m=p.Latin1={stringify:function(y){for(var x=y.words,_=y.sigBytes,w=[],E=0;E<_;E++){var S=x[E>>>2]>>>24-E%4*8&255;w.push(String.fromCharCode(S))}return w.join("")},parse:function(y){for(var x=y.length,_=[],w=0;w<x;w++)_[w>>>2]|=(y.charCodeAt(w)&255)<<24-w%4*8;return new f.init(_,x)}},v=p.Utf8={stringify:function(y){try{return decodeURIComponent(escape(m.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return m.parse(unescape(encodeURIComponent(y)))}},h=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=v.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var x,_=this._data,w=_.words,E=_.sigBytes,S=this.blockSize,C=S*4,D=E/C;y?D=r.ceil(D):D=r.max((D|0)-this._minBufferSize,0);var A=D*S,k=r.min(A*4,E);if(A){for(var P=0;P<A;P+=S)this._doProcessBlock(w,P);x=w.splice(0,A),_.sigBytes-=k}return new f.init(x,k)},clone:function(){var y=c.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});s.Hasher=h.extend({cfg:c.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var x=this._doFinalize();return x},blockSize:16,_createHelper:function(y){return function(x,_){return new y.init(_).finalize(x)}},_createHmacHelper:function(y){return function(x,_){return new g.HMAC.init(y,_).finalize(x)}}});var g=l.algo={};return l}(Math);return n})}(koe)),sb}var lb={},Ooe={get exports(){return lb},set exports(e){lb=e}},v9;function ub(){return v9||(v9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(r){var a=n,o=a.lib,i=o.Base,u=o.WordArray,l=a.x64={};l.Word=i.extend({init:function(s,c){this.high=s,this.low=c}}),l.WordArray=i.extend({init:function(s,c){s=this.words=s||[],c!=r?this.sigBytes=c:this.sigBytes=s.length*8},toX32:function(){for(var s=this.words,c=s.length,f=[],p=0;p<c;p++){var d=s[p];f.push(d.high),f.push(d.low)}return u.create(f,this.sigBytes)},clone:function(){for(var s=i.clone.call(this),c=s.words=this.words.slice(0),f=c.length,p=0;p<f;p++)c[p]=c[p].clone();return s}})}(),n})}(Ooe)),lb}var cb={},Boe={get exports(){return cb},set exports(e){cb=e}},g9;function Ioe(){return g9||(g9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,a=r.lib,o=a.WordArray,i=o.init,u=o.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var s=l.byteLength,c=[],f=0;f<s;f++)c[f>>>2]|=l[f]<<24-f%4*8;i.call(this,c,s)}else i.apply(this,arguments)};u.prototype=o}}(),n.lib.WordArray})}(Boe)),cb}var fb={},Noe={get exports(){return fb},set exports(e){fb=e}},y9;function Moe(){return y9||(y9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.enc;i.Utf16=i.Utf16BE={stringify:function(l){for(var s=l.words,c=l.sigBytes,f=[],p=0;p<c;p+=2){var d=s[p>>>2]>>>16-p%4*8&65535;f.push(String.fromCharCode(d))}return f.join("")},parse:function(l){for(var s=l.length,c=[],f=0;f<s;f++)c[f>>>1]|=l.charCodeAt(f)<<16-f%2*16;return o.create(c,s*2)}},i.Utf16LE={stringify:function(l){for(var s=l.words,c=l.sigBytes,f=[],p=0;p<c;p+=2){var d=u(s[p>>>2]>>>16-p%4*8&65535);f.push(String.fromCharCode(d))}return f.join("")},parse:function(l){for(var s=l.length,c=[],f=0;f<s;f++)c[f>>>1]|=u(l.charCodeAt(f)<<16-f%2*16);return o.create(c,s*2)}};function u(l){return l<<8&4278255360|l>>>8&16711935}}(),n.enc.Utf16})}(Noe)),fb}var pb={},Foe={get exports(){return pb},set exports(e){pb=e}},b9;function ep(){return b9||(b9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.enc;i.Base64={stringify:function(l){var s=l.words,c=l.sigBytes,f=this._map;l.clamp();for(var p=[],d=0;d<c;d+=3)for(var m=s[d>>>2]>>>24-d%4*8&255,v=s[d+1>>>2]>>>24-(d+1)%4*8&255,h=s[d+2>>>2]>>>24-(d+2)%4*8&255,g=m<<16|v<<8|h,y=0;y<4&&d+y*.75<c;y++)p.push(f.charAt(g>>>6*(3-y)&63));var x=f.charAt(64);if(x)for(;p.length%4;)p.push(x);return p.join("")},parse:function(l){var s=l.length,c=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var p=0;p<c.length;p++)f[c.charCodeAt(p)]=p}var d=c.charAt(64);if(d){var m=l.indexOf(d);m!==-1&&(s=m)}return u(l,s,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function u(l,s,c){for(var f=[],p=0,d=0;d<s;d++)if(d%4){var m=c[l.charCodeAt(d-1)]<<d%4*2,v=c[l.charCodeAt(d)]>>>6-d%4*2,h=m|v;f[p>>>2]|=h<<24-p%4*8,p++}return o.create(f,p)}}(),n.enc.Base64})}(Foe)),pb}var hb={},Loe={get exports(){return hb},set exports(e){hb=e}},_9;function Roe(){return _9||(_9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.enc;i.Base64url={stringify:function(l,s){s===void 0&&(s=!0);var c=l.words,f=l.sigBytes,p=s?this._safe_map:this._map;l.clamp();for(var d=[],m=0;m<f;m+=3)for(var v=c[m>>>2]>>>24-m%4*8&255,h=c[m+1>>>2]>>>24-(m+1)%4*8&255,g=c[m+2>>>2]>>>24-(m+2)%4*8&255,y=v<<16|h<<8|g,x=0;x<4&&m+x*.75<f;x++)d.push(p.charAt(y>>>6*(3-x)&63));var _=p.charAt(64);if(_)for(;d.length%4;)d.push(_);return d.join("")},parse:function(l,s){s===void 0&&(s=!0);var c=l.length,f=s?this._safe_map:this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var d=0;d<f.length;d++)p[f.charCodeAt(d)]=d}var m=f.charAt(64);if(m){var v=l.indexOf(m);v!==-1&&(c=v)}return u(l,c,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function u(l,s,c){for(var f=[],p=0,d=0;d<s;d++)if(d%4){var m=c[l.charCodeAt(d-1)]<<d%4*2,v=c[l.charCodeAt(d)]>>>6-d%4*2,h=m|v;f[p>>>2]|=h<<24-p%4*8,p++}return o.create(f,p)}}(),n.enc.Base64url})}(Loe)),hb}var db={},joe={get exports(){return db},set exports(e){db=e}},x9;function tp(){return x9||(x9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(r){var a=n,o=a.lib,i=o.WordArray,u=o.Hasher,l=a.algo,s=[];(function(){for(var v=0;v<64;v++)s[v]=r.abs(r.sin(v+1))*4294967296|0})();var c=l.MD5=u.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,h){for(var g=0;g<16;g++){var y=h+g,x=v[y];v[y]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360}var _=this._hash.words,w=v[h+0],E=v[h+1],S=v[h+2],C=v[h+3],D=v[h+4],A=v[h+5],k=v[h+6],P=v[h+7],O=v[h+8],B=v[h+9],N=v[h+10],M=v[h+11],R=v[h+12],F=v[h+13],j=v[h+14],G=v[h+15],L=_[0],z=_[1],K=_[2],Y=_[3];L=f(L,z,K,Y,w,7,s[0]),Y=f(Y,L,z,K,E,12,s[1]),K=f(K,Y,L,z,S,17,s[2]),z=f(z,K,Y,L,C,22,s[3]),L=f(L,z,K,Y,D,7,s[4]),Y=f(Y,L,z,K,A,12,s[5]),K=f(K,Y,L,z,k,17,s[6]),z=f(z,K,Y,L,P,22,s[7]),L=f(L,z,K,Y,O,7,s[8]),Y=f(Y,L,z,K,B,12,s[9]),K=f(K,Y,L,z,N,17,s[10]),z=f(z,K,Y,L,M,22,s[11]),L=f(L,z,K,Y,R,7,s[12]),Y=f(Y,L,z,K,F,12,s[13]),K=f(K,Y,L,z,j,17,s[14]),z=f(z,K,Y,L,G,22,s[15]),L=p(L,z,K,Y,E,5,s[16]),Y=p(Y,L,z,K,k,9,s[17]),K=p(K,Y,L,z,M,14,s[18]),z=p(z,K,Y,L,w,20,s[19]),L=p(L,z,K,Y,A,5,s[20]),Y=p(Y,L,z,K,N,9,s[21]),K=p(K,Y,L,z,G,14,s[22]),z=p(z,K,Y,L,D,20,s[23]),L=p(L,z,K,Y,B,5,s[24]),Y=p(Y,L,z,K,j,9,s[25]),K=p(K,Y,L,z,C,14,s[26]),z=p(z,K,Y,L,O,20,s[27]),L=p(L,z,K,Y,F,5,s[28]),Y=p(Y,L,z,K,S,9,s[29]),K=p(K,Y,L,z,P,14,s[30]),z=p(z,K,Y,L,R,20,s[31]),L=d(L,z,K,Y,A,4,s[32]),Y=d(Y,L,z,K,O,11,s[33]),K=d(K,Y,L,z,M,16,s[34]),z=d(z,K,Y,L,j,23,s[35]),L=d(L,z,K,Y,E,4,s[36]),Y=d(Y,L,z,K,D,11,s[37]),K=d(K,Y,L,z,P,16,s[38]),z=d(z,K,Y,L,N,23,s[39]),L=d(L,z,K,Y,F,4,s[40]),Y=d(Y,L,z,K,w,11,s[41]),K=d(K,Y,L,z,C,16,s[42]),z=d(z,K,Y,L,k,23,s[43]),L=d(L,z,K,Y,B,4,s[44]),Y=d(Y,L,z,K,R,11,s[45]),K=d(K,Y,L,z,G,16,s[46]),z=d(z,K,Y,L,S,23,s[47]),L=m(L,z,K,Y,w,6,s[48]),Y=m(Y,L,z,K,P,10,s[49]),K=m(K,Y,L,z,j,15,s[50]),z=m(z,K,Y,L,A,21,s[51]),L=m(L,z,K,Y,R,6,s[52]),Y=m(Y,L,z,K,C,10,s[53]),K=m(K,Y,L,z,N,15,s[54]),z=m(z,K,Y,L,E,21,s[55]),L=m(L,z,K,Y,O,6,s[56]),Y=m(Y,L,z,K,G,10,s[57]),K=m(K,Y,L,z,k,15,s[58]),z=m(z,K,Y,L,F,21,s[59]),L=m(L,z,K,Y,D,6,s[60]),Y=m(Y,L,z,K,M,10,s[61]),K=m(K,Y,L,z,S,15,s[62]),z=m(z,K,Y,L,B,21,s[63]),_[0]=_[0]+L|0,_[1]=_[1]+z|0,_[2]=_[2]+K|0,_[3]=_[3]+Y|0},_doFinalize:function(){var v=this._data,h=v.words,g=this._nDataBytes*8,y=v.sigBytes*8;h[y>>>5]|=128<<24-y%32;var x=r.floor(g/4294967296),_=g;h[(y+64>>>9<<4)+15]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,h[(y+64>>>9<<4)+14]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,v.sigBytes=(h.length+1)*4,this._process();for(var w=this._hash,E=w.words,S=0;S<4;S++){var C=E[S];E[S]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}return w},clone:function(){var v=u.clone.call(this);return v._hash=this._hash.clone(),v}});function f(v,h,g,y,x,_,w){var E=v+(h&g|~h&y)+x+w;return(E<<_|E>>>32-_)+h}function p(v,h,g,y,x,_,w){var E=v+(h&y|g&~y)+x+w;return(E<<_|E>>>32-_)+h}function d(v,h,g,y,x,_,w){var E=v+(h^g^y)+x+w;return(E<<_|E>>>32-_)+h}function m(v,h,g,y,x,_,w){var E=v+(g^(h|~y))+x+w;return(E<<_|E>>>32-_)+h}a.MD5=u._createHelper(c),a.HmacMD5=u._createHmacHelper(c)}(Math),n.MD5})}(joe)),db}var mb={},Voe={get exports(){return mb},set exports(e){mb=e}},w9;function E9(){return w9||(w9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=a.Hasher,u=r.algo,l=[],s=u.SHA1=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,f){for(var p=this._hash.words,d=p[0],m=p[1],v=p[2],h=p[3],g=p[4],y=0;y<80;y++){if(y<16)l[y]=c[f+y]|0;else{var x=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=x<<1|x>>>31}var _=(d<<5|d>>>27)+g+l[y];y<20?_+=(m&v|~m&h)+1518500249:y<40?_+=(m^v^h)+1859775393:y<60?_+=(m&v|m&h|v&h)-1894007588:_+=(m^v^h)-899497514,g=h,h=v,v=m<<30|m>>>2,m=d,d=_}p[0]=p[0]+d|0,p[1]=p[1]+m|0,p[2]=p[2]+v|0,p[3]=p[3]+h|0,p[4]=p[4]+g|0},_doFinalize:function(){var c=this._data,f=c.words,p=this._nDataBytes*8,d=c.sigBytes*8;return f[d>>>5]|=128<<24-d%32,f[(d+64>>>9<<4)+14]=Math.floor(p/4294967296),f[(d+64>>>9<<4)+15]=p,c.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var c=i.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=i._createHelper(s),r.HmacSHA1=i._createHmacHelper(s)}(),n.SHA1})}(Voe)),mb}var vb={},zoe={get exports(){return vb},set exports(e){vb=e}},S9;function m4(){return S9||(S9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(r){var a=n,o=a.lib,i=o.WordArray,u=o.Hasher,l=a.algo,s=[],c=[];(function(){function d(g){for(var y=r.sqrt(g),x=2;x<=y;x++)if(!(g%x))return!1;return!0}function m(g){return(g-(g|0))*4294967296|0}for(var v=2,h=0;h<64;)d(v)&&(h<8&&(s[h]=m(r.pow(v,1/2))),c[h]=m(r.pow(v,1/3)),h++),v++})();var f=[],p=l.SHA256=u.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(d,m){for(var v=this._hash.words,h=v[0],g=v[1],y=v[2],x=v[3],_=v[4],w=v[5],E=v[6],S=v[7],C=0;C<64;C++){if(C<16)f[C]=d[m+C]|0;else{var D=f[C-15],A=(D<<25|D>>>7)^(D<<14|D>>>18)^D>>>3,k=f[C-2],P=(k<<15|k>>>17)^(k<<13|k>>>19)^k>>>10;f[C]=A+f[C-7]+P+f[C-16]}var O=_&w^~_&E,B=h&g^h&y^g&y,N=(h<<30|h>>>2)^(h<<19|h>>>13)^(h<<10|h>>>22),M=(_<<26|_>>>6)^(_<<21|_>>>11)^(_<<7|_>>>25),R=S+M+O+c[C]+f[C],F=N+B;S=E,E=w,w=_,_=x+R|0,x=y,y=g,g=h,h=R+F|0}v[0]=v[0]+h|0,v[1]=v[1]+g|0,v[2]=v[2]+y|0,v[3]=v[3]+x|0,v[4]=v[4]+_|0,v[5]=v[5]+w|0,v[6]=v[6]+E|0,v[7]=v[7]+S|0},_doFinalize:function(){var d=this._data,m=d.words,v=this._nDataBytes*8,h=d.sigBytes*8;return m[h>>>5]|=128<<24-h%32,m[(h+64>>>9<<4)+14]=r.floor(v/4294967296),m[(h+64>>>9<<4)+15]=v,d.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var d=u.clone.call(this);return d._hash=this._hash.clone(),d}});a.SHA256=u._createHelper(p),a.HmacSHA256=u._createHmacHelper(p)}(Math),n.SHA256})}(zoe)),vb}var gb={},Uoe={get exports(){return gb},set exports(e){gb=e}},C9;function Hoe(){return C9||(C9=1,function(e,t){(function(n,r,a){e.exports=r(Or(),m4())})(Jn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.algo,u=i.SHA256,l=i.SHA224=u.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var s=u._doFinalize.call(this);return s.sigBytes-=4,s}});r.SHA224=u._createHelper(l),r.HmacSHA224=u._createHmacHelper(l)}(),n.SHA224})}(Uoe)),gb}var yb={},Goe={get exports(){return yb},set exports(e){yb=e}},A9;function T9(){return A9||(A9=1,function(e,t){(function(n,r,a){e.exports=r(Or(),ub())})(Jn,function(n){return function(){var r=n,a=r.lib,o=a.Hasher,i=r.x64,u=i.Word,l=i.WordArray,s=r.algo;function c(){return u.create.apply(u,arguments)}var f=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],p=[];(function(){for(var m=0;m<80;m++)p[m]=c()})();var d=s.SHA512=o.extend({_doReset:function(){this._hash=new l.init([new u.init(1779033703,4089235720),new u.init(3144134277,2227873595),new u.init(1013904242,4271175723),new u.init(2773480762,1595750129),new u.init(1359893119,2917565137),new u.init(2600822924,725511199),new u.init(528734635,4215389547),new u.init(1541459225,327033209)])},_doProcessBlock:function(m,v){for(var h=this._hash.words,g=h[0],y=h[1],x=h[2],_=h[3],w=h[4],E=h[5],S=h[6],C=h[7],D=g.high,A=g.low,k=y.high,P=y.low,O=x.high,B=x.low,N=_.high,M=_.low,R=w.high,F=w.low,j=E.high,G=E.low,L=S.high,z=S.low,K=C.high,Y=C.low,J=D,Q=A,ce=k,se=P,oe=O,ae=B,ge=N,X=M,q=R,re=F,he=j,de=G,be=L,pe=z,ve=K,Se=Y,we=0;we<80;we++){var Te,Z,W=p[we];if(we<16)Z=W.high=m[v+we*2]|0,Te=W.low=m[v+we*2+1]|0;else{var $=p[we-15],ue=$.high,Ce=$.low,Oe=(ue>>>1|Ce<<31)^(ue>>>8|Ce<<24)^ue>>>7,Ne=(Ce>>>1|ue<<31)^(Ce>>>8|ue<<24)^(Ce>>>7|ue<<25),Me=p[we-2],Ue=Me.high,Ve=Me.low,We=(Ue>>>19|Ve<<13)^(Ue<<3|Ve>>>29)^Ue>>>6,rt=(Ve>>>19|Ue<<13)^(Ve<<3|Ue>>>29)^(Ve>>>6|Ue<<26),At=p[we-7],_t=At.high,Ot=At.low,wt=p[we-16],Dt=wt.high,pt=wt.low;Te=Ne+Ot,Z=Oe+_t+(Te>>>0<Ne>>>0?1:0),Te=Te+rt,Z=Z+We+(Te>>>0<rt>>>0?1:0),Te=Te+pt,Z=Z+Dt+(Te>>>0<pt>>>0?1:0),W.high=Z,W.low=Te}var En=q&he^~q&be,it=re&de^~re&pe,ut=J&ce^J&oe^ce&oe,ne=Q&se^Q&ae^se&ae,Ie=(J>>>28|Q<<4)^(J<<30|Q>>>2)^(J<<25|Q>>>7),ke=(Q>>>28|J<<4)^(Q<<30|J>>>2)^(Q<<25|J>>>7),Fe=(q>>>14|re<<18)^(q>>>18|re<<14)^(q<<23|re>>>9),Ge=(re>>>14|q<<18)^(re>>>18|q<<14)^(re<<23|q>>>9),ft=f[we],Et=ft.high,Bt=ft.low,Xt=Se+Ge,Sn=ve+Fe+(Xt>>>0<Se>>>0?1:0),Xt=Xt+it,Sn=Sn+En+(Xt>>>0<it>>>0?1:0),Xt=Xt+Bt,Sn=Sn+Et+(Xt>>>0<Bt>>>0?1:0),Xt=Xt+Te,Sn=Sn+Z+(Xt>>>0<Te>>>0?1:0),br=ke+ne,ci=Ie+ut+(br>>>0<ke>>>0?1:0);ve=be,Se=pe,be=he,pe=de,he=q,de=re,re=X+Xt|0,q=ge+Sn+(re>>>0<X>>>0?1:0)|0,ge=oe,X=ae,oe=ce,ae=se,ce=J,se=Q,Q=Xt+br|0,J=Sn+ci+(Q>>>0<Xt>>>0?1:0)|0}A=g.low=A+Q,g.high=D+J+(A>>>0<Q>>>0?1:0),P=y.low=P+se,y.high=k+ce+(P>>>0<se>>>0?1:0),B=x.low=B+ae,x.high=O+oe+(B>>>0<ae>>>0?1:0),M=_.low=M+X,_.high=N+ge+(M>>>0<X>>>0?1:0),F=w.low=F+re,w.high=R+q+(F>>>0<re>>>0?1:0),G=E.low=G+de,E.high=j+he+(G>>>0<de>>>0?1:0),z=S.low=z+pe,S.high=L+be+(z>>>0<pe>>>0?1:0),Y=C.low=Y+Se,C.high=K+ve+(Y>>>0<Se>>>0?1:0)},_doFinalize:function(){var m=this._data,v=m.words,h=this._nDataBytes*8,g=m.sigBytes*8;v[g>>>5]|=128<<24-g%32,v[(g+128>>>10<<5)+30]=Math.floor(h/4294967296),v[(g+128>>>10<<5)+31]=h,m.sigBytes=v.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var m=o.clone.call(this);return m._hash=this._hash.clone(),m},blockSize:1024/32});r.SHA512=o._createHelper(d),r.HmacSHA512=o._createHmacHelper(d)}(),n.SHA512})}(Goe)),yb}var bb={},Woe={get exports(){return bb},set exports(e){bb=e}},D9;function Koe(){return D9||(D9=1,function(e,t){(function(n,r,a){e.exports=r(Or(),ub(),T9())})(Jn,function(n){return function(){var r=n,a=r.x64,o=a.Word,i=a.WordArray,u=r.algo,l=u.SHA512,s=u.SHA384=l.extend({_doReset:function(){this._hash=new i.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=l._createHelper(s),r.HmacSHA384=l._createHmacHelper(s)}(),n.SHA384})}(Woe)),bb}var _b={},Xoe={get exports(){return _b},set exports(e){_b=e}},k9;function Yoe(){return k9||(k9=1,function(e,t){(function(n,r,a){e.exports=r(Or(),ub())})(Jn,function(n){return function(r){var a=n,o=a.lib,i=o.WordArray,u=o.Hasher,l=a.x64,s=l.Word,c=a.algo,f=[],p=[],d=[];(function(){for(var h=1,g=0,y=0;y<24;y++){f[h+5*g]=(y+1)*(y+2)/2%64;var x=g%5,_=(2*h+3*g)%5;h=x,g=_}for(var h=0;h<5;h++)for(var g=0;g<5;g++)p[h+5*g]=g+(2*h+3*g)%5*5;for(var w=1,E=0;E<24;E++){for(var S=0,C=0,D=0;D<7;D++){if(w&1){var A=(1<<D)-1;A<32?C^=1<<A:S^=1<<A-32}w&128?w=w<<1^113:w<<=1}d[E]=s.create(S,C)}})();var m=[];(function(){for(var h=0;h<25;h++)m[h]=s.create()})();var v=c.SHA3=u.extend({cfg:u.cfg.extend({outputLength:512}),_doReset:function(){for(var h=this._state=[],g=0;g<25;g++)h[g]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(h,g){for(var y=this._state,x=this.blockSize/2,_=0;_<x;_++){var w=h[g+2*_],E=h[g+2*_+1];w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360;var S=y[_];S.high^=E,S.low^=w}for(var C=0;C<24;C++){for(var D=0;D<5;D++){for(var A=0,k=0,P=0;P<5;P++){var S=y[D+5*P];A^=S.high,k^=S.low}var O=m[D];O.high=A,O.low=k}for(var D=0;D<5;D++)for(var B=m[(D+4)%5],N=m[(D+1)%5],M=N.high,R=N.low,A=B.high^(M<<1|R>>>31),k=B.low^(R<<1|M>>>31),P=0;P<5;P++){var S=y[D+5*P];S.high^=A,S.low^=k}for(var F=1;F<25;F++){var A,k,S=y[F],j=S.high,G=S.low,L=f[F];L<32?(A=j<<L|G>>>32-L,k=G<<L|j>>>32-L):(A=G<<L-32|j>>>64-L,k=j<<L-32|G>>>64-L);var z=m[p[F]];z.high=A,z.low=k}var K=m[0],Y=y[0];K.high=Y.high,K.low=Y.low;for(var D=0;D<5;D++)for(var P=0;P<5;P++){var F=D+5*P,S=y[F],J=m[F],Q=m[(D+1)%5+5*P],ce=m[(D+2)%5+5*P];S.high=J.high^~Q.high&ce.high,S.low=J.low^~Q.low&ce.low}var S=y[0],se=d[C];S.high^=se.high,S.low^=se.low}},_doFinalize:function(){var h=this._data,g=h.words;this._nDataBytes*8;var y=h.sigBytes*8,x=this.blockSize*32;g[y>>>5]|=1<<24-y%32,g[(r.ceil((y+1)/x)*x>>>5)-1]|=128,h.sigBytes=g.length*4,this._process();for(var _=this._state,w=this.cfg.outputLength/8,E=w/8,S=[],C=0;C<E;C++){var D=_[C],A=D.high,k=D.low;A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,S.push(k),S.push(A)}return new i.init(S,w)},clone:function(){for(var h=u.clone.call(this),g=h._state=this._state.slice(0),y=0;y<25;y++)g[y]=g[y].clone();return h}});a.SHA3=u._createHelper(v),a.HmacSHA3=u._createHmacHelper(v)}(Math),n.SHA3})}(Xoe)),_b}var xb={},Joe={get exports(){return xb},set exports(e){xb=e}},P9;function Zoe(){return P9||(P9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){/** @preserve
61
+ `),t,n)}}function zt(){return(e,t,n)=>{var o;const r=Reflect.getMetadata(Hm,e,t),a=`${t}(${((o=r==null?void 0:r.slice().reverse())==null?void 0:o.map(i=>i.name).join(","))||""})`;Reflect.defineMetadata(f9,a,e,t)}}function Ht(){return(e,t,n)=>{const r=Reflect.getMetadata(Hm,e,t),a=n.value;return n.value=function(o){var l;var i=moe(arguments,t),u=voe(i,r);if(u&&!u.pass)throw new Error(`Parameter ${(l=u.msg)==null?void 0:l.join(",")} `);return a==null?void 0:a.apply(this,i)},n}}function dt(e=!1,t="",n="",r){return(a,o,i)=>{var u=Reflect.getMetadata(Hm,a,o+"")||[];u.push({index:i||0,required:e,comment:t,name:n,dataType:r}),Reflect.defineMetadata(Hm,u,a,o+"")}}function Ut(e="",t){return(n,r)=>{Reflect.defineMetadata(p9,{comment:e,dataType:t},n,r+"")}}class goe{constructor(t={}){V(this,"UPPERCASE","ABCDEFGHIJKLMNOPQRSTUVWXYZ");V(this,"LOWERCASE","abcdefghijklmnopqrstuvwxyz");V(this,"NUMBERS","0123456789");V(this,"SPECIAL_CHARS","!@#$%^&*()_+-=[]{}|;:,.<>?");V(this,"SIMILAR_CHARS","0O1lI8B5S2Z");V(this,"AMBIGUOUS_CHARS","{}[]()/\\'\"`~,;:.<>");V(this,"config");this.config={length:t.length??12,includeUppercase:t.includeUppercase??!0,includeLowercase:t.includeLowercase??!0,includeNumbers:t.includeNumbers??!0,includeSpecialChars:t.includeSpecialChars??!0,excludeSimilarChars:t.excludeSimilarChars??!1,excludeAmbiguousChars:t.excludeAmbiguousChars??!1,customSpecialChars:t.customSpecialChars??this.SPECIAL_CHARS}}generate(){this.validateConfig();let t=this.buildCharacterPool();if(t.length===0)throw new Error("至少需要包含一种字符类型");const n=[];if(this.config.includeUppercase){const a=this.filterCharacters(this.UPPERCASE);n.push(this.getRandomChar(a))}if(this.config.includeLowercase){const a=this.filterCharacters(this.LOWERCASE);n.push(this.getRandomChar(a))}if(this.config.includeNumbers){const a=this.filterCharacters(this.NUMBERS);n.push(this.getRandomChar(a))}if(this.config.includeSpecialChars){const a=this.filterCharacters(this.config.customSpecialChars);n.push(this.getRandomChar(a))}const r=this.config.length-n.length;for(let a=0;a<r;a++)n.push(this.getRandomChar(t));return this.shuffleArray(n).join("")}buildCharacterPool(){let t="";return this.config.includeUppercase&&(t+=this.filterCharacters(this.UPPERCASE)),this.config.includeLowercase&&(t+=this.filterCharacters(this.LOWERCASE)),this.config.includeNumbers&&(t+=this.filterCharacters(this.NUMBERS)),this.config.includeSpecialChars&&(t+=this.filterCharacters(this.config.customSpecialChars)),t}filterCharacters(t){let n=t;return this.config.excludeSimilarChars&&(n=n.split("").filter(r=>!this.SIMILAR_CHARS.includes(r)).join("")),this.config.excludeAmbiguousChars&&(n=n.split("").filter(r=>!this.AMBIGUOUS_CHARS.includes(r)).join("")),n}getRandomChar(t){const n=Math.floor(Math.random()*t.length);return t[n]}shuffleArray(t){const n=[...t];for(let r=n.length-1;r>0;r--){const a=Math.floor(Math.random()*(r+1));[n[r],n[a]]=[n[a],n[r]]}return n}validateConfig(){if(this.config.length<4)throw new Error("密码长度不能少于4个字符");if(this.config.length>128)throw new Error("密码长度不能超过128个字符");if([this.config.includeUppercase,this.config.includeLowercase,this.config.includeNumbers,this.config.includeSpecialChars].filter(Boolean).length>this.config.length)throw new Error("密码长度不足以包含所有要求的字符类型")}generateMultiple(t){return Array.from({length:t},()=>this.generate())}generateMemorablePassword(t=4,n="-"){const r=["apple","banana","cherry","dragon","elephant","flower","garden","happiness","island","jupiter","kitten","light","mountain","night","ocean","panda","queen","river","sunset","tiger","universe","victory","water","xray","yellow","zebra"],a=[];for(let i=0;i<t;i++){const u=Math.floor(Math.random()*r.length);a.push(r[u])}const o=a.map(i=>Math.random()>.5?i.charAt(0).toUpperCase()+i.slice(1):i);if(Math.random()>.3){const i=Math.floor(Math.random()*100),u=Math.floor(Math.random()*(o.length+1));o.splice(u,0,i.toString())}if(Math.random()>.5){const i=this.filterCharacters(this.config.customSpecialChars),u=this.getRandomChar(i);o.push(u)}return o.join(n)}}var yoe=Object.defineProperty,boe=Object.getOwnPropertyDescriptor,Lt=(e,t,n,r)=>{for(var a=r>1?void 0:r?boe(t,n):t,o=e.length-1,i;o>=0;o--)(i=e[o])&&(a=(r?i(t,n,a):i(a))||a);return r&&a&&yoe(t,n,a),a},mt=(e,t)=>(n,r)=>t(n,r,e);class xl{static dateToString(t){return bl(t,"yyyy-MM-dd HH:mm:ss")}static checkAllNum(t){return!(t!=null&&t.some(n=>n===""||n===null||n===void 0||isNaN(Number(n))))}}let Zo=class{static INCLUDES(e,t){const n=new Set;return e==null||e.forEach(r=>n.add(r)),Array.from(n).includes(t)}static INTERSECTIONSET(e,t){const n=new Set;let r=e,a=t;return(e==null?void 0:e.length)-(t==null?void 0:t.length)>0&&(r=e,a=t),a==null||a.forEach(o=>{r!=null&&r.includes(o)&&(n==null||n.add(o))}),Array.from(n)}static UNIONSET(e,t){const n=new Set;return e.forEach(r=>n.add(r)),t.forEach(r=>n.add(r)),Array.from(n)}static DIFFERENCESET(e,t){const n=new Set;return e.forEach(r=>{t.includes(r)||n.add(r)}),Array.from(n)}static SUBSET(e,t){if(e.length>t.length)return!1;let n=!0;return e.every(r=>t.includes(r)?!0:(n=!1,!1)),n}static ARRAYGET(e,t){return e==null?void 0:e[t-1]}static LARGE(e,t){var n=e==null?void 0:e.sort((r,a)=>Number(r)<Number(a)?1:-1);return n==null?void 0:n[t-1]}static SMALL(e,t){var n=e.sort((r,a)=>Number(r)>Number(a)?1:-1);return n==null?void 0:n[t-1]}static ARRAY(...e){return hl(...e)}static ARRAYLEN(e){return(e==null?void 0:e.length)||0}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.INCLUDES_func")),Ut(te.i18nt("designer.helper.INCLUDES_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.array"),"array",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.value"),"value",He.any))],Zo,"INCLUDES",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.INTERSECTIONSET_func")),Ut(te.i18nt("designer.helper.INTERSECTIONSET_return"),He.array),mt(0,dt(!0,te.i18nt("designer.helper.array1"),"array1",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.array2"),"array2",He.array))],Zo,"INTERSECTIONSET",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.UNIONSET_func")),Ut(te.i18nt("designer.helper.UNIONSET_return"),He.array),mt(0,dt(!0,te.i18nt("designer.helper.array1"),"array1",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.array2"),"array2",He.array))],Zo,"UNIONSET",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DIFFERENCESET_func")),Ut(te.i18nt("designer.helper.DIFFERENCESET_return"),He.array),mt(0,dt(!0,te.i18nt("designer.helper.array1"),"array1",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.array2"),"array2",He.array))],Zo,"DIFFERENCESET",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SUBSET_func")),Ut(te.i18nt("designer.helper.SUBSET_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.array1"),"array1",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.array2"),"array2",He.array))],Zo,"SUBSET",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ARRAYGET_func")),Ut(te.i18nt("designer.helper.ARRAYGET_return"),He.any),mt(0,dt(!0,te.i18nt("designer.helper.array"),"array",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.index"),"index",He.number))],Zo,"ARRAYGET",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LARGE_func")),Ut(te.i18nt("designer.helper.LARGE_return"),He.any),mt(0,dt(!0,te.i18nt("designer.helper.array"),"array",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.index"),"index",He.number))],Zo,"LARGE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SMALL_func")),Ut(te.i18nt("designer.helper.SMALL_return"),He.any),mt(0,dt(!0,te.i18nt("designer.helper.array"),"array",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.index"),"index",He.number))],Zo,"SMALL",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ARRAY_func")),Ut(te.i18nt("designer.helper.ARRAY_return"),He.array),mt(0,dt(!0,te.i18nt("designer.helper.array"),"array",He.array))],Zo,"ARRAY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ARRAYLEN_func")),Ut(te.i18nt("designer.helper.ARRAYLEN_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.array"),"array",He.array))],Zo,"ARRAYLEN",1),Zo=Lt([$f(te.i18nt("designer.expression.helpers_collection"))],Zo);let Za=class{static EQ(e,t){return e===t}static NE(e,t){return e!==t}static LT(e,t){return e<t}static GT(e,t){return e>t}static LTE(e,t){return e<=t}static GTE(e,t){return e>=t}static AND(...e){var t;return(t=hl(...e))==null?void 0:t.every(n=>!!n)}static OR(...e){var t;return(t=hl(...e))==null?void 0:t.some(n=>!n)}static NOT(e){return!e}static XOR(...e){var t;return!((t=hl(...e))!=null&&t.some(n=>!!n))}static TRUE(){return!0}static FALSE(){return!1}static IF(e,t,n){return e?t:n}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.EQ_func")),Ut(te.i18nt("designer.helper.EQ_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v2",He.any))],Za,"EQ",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.NE_func")),Ut(te.i18nt("designer.helper.NE_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v1",He.any))],Za,"NE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LT_func")),Ut(te.i18nt("designer.helper.LT_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v2",He.any))],Za,"LT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GT_func")),Ut(te.i18nt("designer.helper.GT_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v2",He.any))],Za,"GT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LTE_func")),Ut(te.i18nt("designer.helper.LTE_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v2",He.any))],Za,"LTE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GTE_func")),Ut(te.i18nt("designer.helper.GTE_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v2",He.any))],Za,"GTE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.AND_func")),Ut(te.i18nt("designer.helper.AND_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.logical_args"),"args",He.array))],Za,"AND",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.OR_func")),Ut(te.i18nt("designer.helper.OR_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.logical_args"),"args",He.array))],Za,"OR",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.NOT_func")),Ut(te.i18nt("designer.helper.NOT_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.logical_arg"),"v1",He.boolean))],Za,"NOT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.XOR_func")),Ut(te.i18nt("designer.helper.XOR_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.logical_args"),"args",He.array))],Za,"XOR",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TRUE_func")),Ut(te.i18nt("designer.helper.TRUE_return"),He.boolean)],Za,"TRUE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.FALSE_func")),Ut(te.i18nt("designer.helper.FALSE_return"),He.boolean)],Za,"FALSE",1),Lt([Ht(),zt(),Vt(""),Ut("",He.any),mt(0,dt(!0,te.i18nt("designer.helper.logical_arg"),"condition",He.boolean)),mt(1,dt(!0,te.i18nt("designer.helper.IF_trueValue"),"trueValue",He.boolean)),mt(2,dt(!0,te.i18nt("designer.helper.IF_falseValue"),"falseValue",He.boolean))],Za,"IF",1),Za=Lt([$f(te.i18nt("designer.expression.helpers_logical"))],Za);let Fi=class{static ADD(...e){var n;var t=0;return(n=hl(...e))==null||n.forEach(r=>t+=bc(r,!1)||0),t}static ADDNUM(...e){var t=0,n=hl(...e);return xl.checkAllNum(n)?(n==null||n.forEach(r=>{t+=bc(r,!1)||0}),t):null}static AVERAGE(...e){var t=0,n=hl(...e);if(!xl.checkAllNum(n))return null;n==null||n.forEach(a=>t+=bc(a,!1)||0);var r=e==null?void 0:e.length;return r?t/r:0}static MAX(...e){var t=hl(...e),n=t==null?void 0:t.map(r=>bc(r,!1)||0);return!n||n.length<=0?0:Math.max(...n)}static MIN(...e){var n;var t=(n=hl(...e))==null?void 0:n.map(r=>bc(r,!1)||0);return!t||t.length<=0?0:Math.min(...t)}static ABS(e){return Math.abs(e)}static ROUND(e,t=2){var n=Math.pow(10,t);return Math.round(e*n)/n}static CEILING(e,t=1){return Math.ceil(e/t)*t}static FLOOR(e,t=1){return Math.floor(e/t)*t}static INT(e){return Math.floor(e)}static LOG(e,t=10){return Math.log10(e)/Math.log10(t)}static POWER(e,t){return Math.pow(e,t)}static FIXED(e,t){return e===null?null:Number(e.toFixed(t))}static SQRT(e){return Math.sqrt(e)}static PRODUCT(...e){var t=hl(...e);if(!xl.checkAllNum(t))return null;var n=1;return t==null||t.forEach(r=>n*=Number(r)),n}static SUMPRODUCT(e,t){var n=0;return(e==null?void 0:e.length)!==(t==null?void 0:t.length)||e==null||e.forEach((r,a)=>{n+=Number(r)*Number(t[a])}),n}static NUMBERCOMPARE(e,t){return Number(e)===Number(t)}static NUMBERFORMATE(e,t){return LO(e,t)}static DIVISION(e,t){return t!=0?e/t:0}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ADD_func")),Ut(te.i18nt("designer.helper.ADD_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray"),"args",He.array))],Fi,"ADD",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ADDNUM_func")),Ut(te.i18nt("designer.helper.ADD_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray"),"args",He.array))],Fi,"ADDNUM",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.AVERAGE_func")),Ut(te.i18nt("designer.helper.AVERAGE_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray"),"args",He.array))],Fi,"AVERAGE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.MAX_func")),Ut(te.i18nt("designer.helper.MAX_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray"),"args",He.array))],Fi,"MAX",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.MIN_func")),Ut(te.i18nt("designer.helper.MIN_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray"),"args",He.array))],Fi,"MIN",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ABS_func")),Ut(te.i18nt("designer.helper.ABS_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number))],Fi,"ABS",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ROUND_func")),Ut(te.i18nt("designer.helper.ROUND_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number)),mt(1,dt(!1,te.i18nt("designer.helper.num_digits"),"num_digits",He.number))],Fi,"ROUND",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.CEILING_func")),Ut(te.i18nt("designer.helper.CEILING_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number)),mt(1,dt(!1,te.i18nt("designer.helper.significance"),"significance",He.number))],Fi,"CEILING",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.FLOOR_func")),Ut(te.i18nt("designer.helper.FLOOR_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number)),mt(1,dt(!1,te.i18nt("designer.helper.significance"),"significance",He.number))],Fi,"FLOOR",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.INT_func")),Ut(te.i18nt("designer.helper.INT_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number))],Fi,"INT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LOG_func")),Ut(te.i18nt("designer.helper.LOG_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number)),mt(1,dt(!1,te.i18nt("designer.helper.log_base"),"number",He.number))],Fi,"LOG",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.POWER_func")),Ut(te.i18nt("designer.helper.POWER_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.power_base"),"number",He.number)),mt(1,dt(!0,te.i18nt("designer.helper.power_num"),"power",He.number))],Fi,"POWER",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.FIXED_func")),Ut(te.i18nt("designer.helper.FIXED_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number)),mt(1,dt(!0,te.i18nt("designer.helper.decimals"),"decimals",He.number))],Fi,"FIXED",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SQRT_func")),Ut(te.i18nt("designer.helper.SQRT_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.num"),"number",He.number))],Fi,"SQRT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.PRODUCT_func")),Ut(te.i18nt("designer.helper.PRODUCT_func"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray"),"args",He.array))],Fi,"PRODUCT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SUMPRODUCT_func")),Ut(te.i18nt("designer.helper.SUMPRODUCT_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.numArray1"),"array1",He.array)),mt(1,dt(!0,te.i18nt("designer.helper.numArray2"),"array2",He.array))],Fi,"SUMPRODUCT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.NUMBERCOMPARE_func")),Ut(te.i18nt("designer.helper.NUMBERCOMPARE_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.v1"),"v1",He.number)),mt(1,dt(!0,te.i18nt("designer.helper.v2"),"v2",He.number))],Fi,"NUMBERCOMPARE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.NUMBERFORMATE_func")),Ut(te.i18nt("designer.helper.NUMBERFORMATE_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.value"),"value",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.pattern"),"pattern",He.string))],Fi,"NUMBERFORMATE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DIVISION_func")),Ut(te.i18nt("designer.helper.DIVISION_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.divisor"),"v1",He.number)),mt(1,dt(!0,te.i18nt("designer.helper.dividend"),"v2",He.number))],Fi,"DIVISION",1),Fi=Lt([$f(te.i18nt("designer.expression.helpers_math"))],Fi);let kc=class{static PREGNANTWEEKDAY(e,t,n){if(!e||!t)return 0;var r=sI(e,-280);switch(n){case"week":return Math.floor(Em(r,t)/7);case"day":return Math.floor(Em(r,t)%7)}}static PREGNANTWEEK(e,t){return this.PREGNANTWEEKDAY(e,t,"week")}static PREGNANTDAY(e,t){return this.PREGNANTWEEKDAY(e,t,"day")}static STOPMENSTRUALWEEK(e,t){return Math.floor(Em(e,t)/7)}static STOPMENSTRUALDAY(e,t){return Math.floor(Em(e,t)%7)}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.PREGNANTWEEKDAY_func")),Ut(te.i18nt("designer.helper.PREGNANTWEEKDAY_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.dateOfPrenatal"),"dateOfPrenatal",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.currentTime"),"currentTime",He.date)),mt(2,dt(!0,te.i18nt("designer.helper.PREGNANTWEEKDAY_mode"),"mode",He.string))],kc,"PREGNANTWEEKDAY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.PREGNANTWEEK_func")),Ut(te.i18nt("designer.helper.PREGNANTWEEK_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.dateOfPrenatal"),"dateOfPrenatal",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.currentTime"),"currentTime",He.date))],kc,"PREGNANTWEEK",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.PREGNANTDAY_func")),Ut(te.i18nt("designer.helper.PREGNANTDAY_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.dateOfPrenatal"),"dateOfPrenatal",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.currentTime"),"currentTime",He.date))],kc,"PREGNANTDAY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.STOPMENSTRUALWEEK_func")),Ut(te.i18nt("designer.helper.STOPMENSTRUALWEEK_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.lastMenstrualPeriod"),"lastMenstrualPeriod",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.currentTime"),"currentTime",He.date))],kc,"STOPMENSTRUALWEEK",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.STOPMENSTRUALDAY_func")),Ut(te.i18nt("designer.helper.STOPMENSTRUALDAY_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.lastMenstrualPeriod"),"lastMenstrualPeriod",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.currentTime"),"currentTime",He.date))],kc,"STOPMENSTRUALDAY",1),kc=Lt([$f(te.i18nt("designer.expression.helpers_medical"))],kc);let bi=class{static CONCATENATE(e,t,...n){var r,a;return(a=(r=hl(...n))==null?void 0:r.map(o=>(t==null?void 0:t.length)>0?Lee(t,o):o))==null?void 0:a.join(e||"")}static LEFT(e,t){var n=String(e),r=n==null?void 0:n.length;return t===void 0||t<=0||r<=0?"":r<=t?n:n==null?void 0:n.substring(0,t)}static RIGHT(e,t){var n=String(e),r=n==null?void 0:n.length;return t===void 0||t<=0||r<=0?"":r<t?n:n==null?void 0:n.substring(r-t,r)}static MID(e,t,n){var r=String(e),a=r==null?void 0:r.length;if(t<0||n===void 0||n<=0||a<=0||t>=a)return"";var o=t+n;return o>=a&&(o=a-1),t>o?"":r==null?void 0:r.substring(t,o)}static LEN(e){var t;return(t=String(e==null?void 0:e.trim()))==null?void 0:t.length}static LOWER(e){var t;return(t=String(e))==null?void 0:t.toLowerCase()}static UPPER(e){var t;return(t=String(e))==null?void 0:t.toUpperCase()}static REPLACE(e,t,n,r){if(t<0||n<0)return"";var a=this.LEN(e);if(a<=0)return"";var o=this.LEFT(e,t),i=Ko(r)?"":r,u=this.RIGHT(e,a-t-n);return[o,i,u].join("")}static REPT(e,t){var n;return(n=String(e))==null?void 0:n.repeat(t<0?0:t)}static SEARCH(e,t,n=0){return t==null?void 0:t.indexOf(e,n)}static TEXT(e,t){var n=String(e);return t?cee(e)?LO(It(e),t):bs(e)?bl(e,t):String(e):n}static VALUE(e){return Number(e)}static SPLIT(e,t,n){var r;return(r=String(e))==null?void 0:r.split(t,n)}static TRIM(e){var t;return(t=String(e))==null?void 0:t.trim()}static UUID(){return zre()}static ISNULL(e){return ar(e)}static GENERATESTRING(e=8){return new goe({length:e,includeUppercase:!0,includeLowercase:!0,includeNumbers:!0,includeSpecialChars:!0,excludeSimilarChars:!0,excludeAmbiguousChars:!0,customSpecialChars:"!@#$%&*"}).generate()}static ISEMPTY(e){return ar(e)||Ko(e)}static PRINT(e){return e}static STRINGCOMPARE(e,t){return String(e)===String(t)}static REPLACESTRING(e,t,n,r="*"){if(!e)return"";const a=Array.from(e);if(t<0||t>=a.length||n<0||n>=a.length||t>n)return e;for(var o=t;o<n;o++)a[o]=r;return a.join("")}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.CONCATENATE_func")),Ut(te.i18nt("designer.helper.CONCATENATE_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.separator"),"separator",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.format"),"format",He.string)),mt(2,dt(!0,te.i18nt("designer.helper.stringArray"),"args",He.array))],bi,"CONCATENATE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LEFT_func")),Ut(te.i18nt("designer.helper.LEFT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.orgText"),"text",He.string)),mt(1,dt(!1,te.i18nt("designer.helper.num_chars"),"num_chars",He.number))],bi,"LEFT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.RIGHT_func")),Ut(te.i18nt("designer.helper.RIGHT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.orgText"),"text",He.string)),mt(1,dt(!1,te.i18nt("designer.helper.num_chars"),"num_chars",He.number))],bi,"RIGHT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.MID_func")),Ut(te.i18nt("designer.helper.MID_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.orgText"),"text",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.MID_start_index"),"start_index",He.number)),mt(2,dt(!0,te.i18nt("designer.helper.num_chars"),"num_chars",He.number))],bi,"MID",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LEN_func")),Ut(te.i18nt("designer.helper.LEN_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string))],bi,"LEN",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.LOWER_func")),Ut(te.i18nt("designer.helper.LOWER_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string))],bi,"LOWER",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.UPPER_func")),Ut(te.i18nt("designer.helper.UPPER_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string))],bi,"UPPER",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.REPLACE_func")),Ut(te.i18nt("designer.helper.REPLACE_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.orgText"),"old_text",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.REPLACE_start_index"),"start_index",He.number)),mt(2,dt(!0,te.i18nt("designer.helper.REPLACE_num_chars"),"num_chars",He.number)),mt(3,dt(!0,te.i18nt("designer.helper.REPLACE_new_text"),"new_text",He.string))],bi,"REPLACE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.REPT_func")),Ut(te.i18nt("designer.helper.REPT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.orgText"),"text",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.number_times"),"number_times",He.string))],bi,"REPT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SEARCH_func")),Ut(te.i18nt("designer.helper.SEARCH_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.orgText"),"find_text",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.SEARCH_within_text"),"within_text",He.string)),mt(2,dt(!1,te.i18nt("designer.helper.SEARCH_start_num"),"start_num",He.number))],bi,"SEARCH",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TEXT_func")),Ut(te.i18nt("designer.helper.TEXT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.value"),"value",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.pattern"),"pattern",He.string))],bi,"TEXT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.VALUE_func")),Ut(te.i18nt("designer.helper.VALUE_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string))],bi,"VALUE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SPLIT_func")),Ut(te.i18nt("designer.helper.SPLIT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.separator"),"separator",He.string)),mt(2,dt(!0,te.i18nt("designer.helper.SPLIT_limit"),"limit",He.number))],bi,"SPLIT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TRIM_func")),Ut(te.i18nt("designer.helper.TRIM_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string))],bi,"TRIM",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.UUID_func")),Ut(te.i18nt("designer.helper.UUID_return"),He.string)],bi,"UUID",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ISNULL_func")),Ut(te.i18nt("designer.helper.ISNULL_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"value",He.any))],bi,"ISNULL",1),Lt([zt(),Vt(te.i18nt("designer.helper.GENERATESTRING_func")),Ut(te.i18nt("designer.helper.GENERATESTRING_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.len"),"len",He.number))],bi,"GENERATESTRING",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ISEMPTY_func")),Ut(te.i18nt("designer.helper.ISEMPTY_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"value",He.any))],bi,"ISEMPTY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.PRINT_func")),Ut(te.i18nt("designer.helper.PRINT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string))],bi,"PRINT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.STRINGCOMPARE_func")),Ut(te.i18nt("designer.helper.STRINGCOMPARE_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text1"),"v1",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.text2"),"v2",He.string))],bi,"STRINGCOMPARE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.REPLACESTRING_func")),Ut(te.i18nt("designer.helper.REPLACESTRING_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"text",He.string)),mt(1,dt(!0,te.i18nt("designer.helper.indexStart"),"indexStart",He.number)),mt(2,dt(!0,te.i18nt("designer.helper.indexEnd"),"indexEnd",He.number)),mt(3,dt(!0,te.i18nt("designer.helper.replacement"),"replacement",He.string))],bi,"REPLACESTRING",1),bi=Lt([$f(te.i18nt("designer.expression.helpers_string"))],bi);let si=class{static DATE(e){return new Date(e)}static DATEFORMAT(e,t){return bl(e,t)}static TIMESTAMP(e){var t;return(t=new Date(e))==null?void 0:t.getTime()}static TIME(e=0,t=0,n=0){return Number(((e*60*60+t*60+n)*1/(24*60*60)).toPrecision(1))}static TODAY(){var e=new Date;return xl.dateToString(new Date(e.getFullYear(),e.getMonth(),e.getDate()))}static NOW(){return xl.dateToString(new Date)}static YEAR(e){var t;return(t=new Date(e))==null?void 0:t.getFullYear()}static MONTH(e){var t;return(t=new Date(e))==null?void 0:t.getMonth()}static DAY(e){var t;return(t=new Date(e))==null?void 0:t.getDate()}static HOUR(e){var t;return(t=new Date(e))==null?void 0:t.getHours()}static MINUTE(e){var t;return(t=new Date(e))==null?void 0:t.getMinutes()}static SECOND(e){var t;return(t=new Date(e))==null?void 0:t.getSeconds()}static DATEADD(e,t,n=Zf.day){var r=sI(e,t,n);return Ni(e)?xl.dateToString(r):r}static DATEDIFF(e,t,n=Zf.day){return Em(e,t,n)}static DATEDIFFPART(e,t,n=Zf.day){return jre(e,t,n)}static DAYS360(e,t,n=Zf.day){var r=new Date(e),a=new Date(t),o=Math.abs(a.getTime()-r.getTime());switch(n){case Zf.year:return o/(12*30*24*60*60*1e3);case Zf.month:return o/(30*24*60*60*1e3);default:return this.DATEDIFF(r,a,n)}}static DAYBEGIN(e){var t=new Date(e);return xl.dateToString(new Date(t.getFullYear(),t.getMonth(),t.getDate()))}static DAYEND(e){var t=new Date(e);return t=new Date(new Date(t.getFullYear(),t.getMonth(),t.getDate()+1).setSeconds(-1)),xl.dateToString(t)}static YEARBEGIN(e){var t=new Date(e);return xl.dateToString(new Date(t.getFullYear(),0,1))}static YEAREND(e){var t=new Date(e);return t=new Date(new Date(t.getFullYear()+1,0,1).setDate(0)),xl.dateToString(t)}static WEEKNUM(e,t=1){const n=new Date(e),r=new Date(n.getFullYear(),0,1);var a=24*60*60*1e3,o=7*a,i=(7-r.getDay())*a;return Math.ceil((n.getTime()-r.getTime()-i)/o)+t}static ISOWEEKNUM(e){return this.WEEKNUM(e,void 0)}static GETAGEBYBIRTH(e){const{years:t}=L1(Sm(e),new Date);return t}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DATE_func")),Ut(te.i18nt("designer.helper.DATE_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.DATE_date"),"date",He.any))],si,"DATE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DATEFORMAT_func")),Ut(te.i18nt("designer.helper.DATEFORMAT_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.text"),"value",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.pattern"),"pattern",He.any))],si,"DATEFORMAT",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TIMESTAMP_func")),Ut(te.i18nt("designer.helper.TIMESTAMP_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.TIMESTAMP_date"),"date",He.any))],si,"TIMESTAMP",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TIME_func")),Ut(te.i18nt("designer.helper.TIME_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.hour"),"hour",He.number)),mt(1,dt(!0,te.i18nt("designer.helper.minute"),"minute",He.number)),mt(2,dt(!0,te.i18nt("designer.helper.second"),"second",He.number))],si,"TIME",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TODAY_func")),Ut(te.i18nt("designer.helper.TODAY_return"),He.date)],si,"TODAY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.NOW_func")),Ut(te.i18nt("designer.helper.NOW_return"),He.date)],si,"NOW",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.YEAR_func")),Ut(te.i18nt("designer.helper.YEAR_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.any))],si,"YEAR",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.MONTH_func")),Ut(te.i18nt("designer.helper.MONTH_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.any))],si,"MONTH",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DAY_func")),Ut(te.i18nt("designer.helper.DAY_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.any))],si,"DAY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.HOUR_func")),Ut(te.i18nt("designer.helper.HOUR_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.any))],si,"HOUR",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.MINUTE_func")),Ut(te.i18nt("designer.helper.MINUTE_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.any))],si,"MINUTE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.SECOND_func")),Ut(te.i18nt("designer.helper.SECOND_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.any))],si,"SECOND",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DATEADD_func")),Ut(te.i18nt("designer.helper.DATEADD_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.DATEADD_date"),"date",He.any)),mt(1,dt(!0,te.i18nt("designer.helper.DATEADD_delta_num"),"delta_num",He.number)),mt(2,dt(!1,te.i18nt("designer.helper.DATEADD_delta_type"),"delta_type",He.string))],si,"DATEADD",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DATEDIFF_func")),Ut(te.i18nt("designer.helper.DATEDIFF_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date1"),"date1",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.date2"),"date2",He.date)),mt(2,dt(!1,te.i18nt("designer.helper.diff_type"),"diff_type",He.string))],si,"DATEDIFF",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DATEDIFFPART_func")),Ut(te.i18nt("designer.helper.DATEDIFFPART_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date1"),"date1",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.date2"),"date2",He.date)),mt(2,dt(!1,te.i18nt("designer.helper.diff_type"),"diff_type",He.string))],si,"DATEDIFFPART",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DAYS360_func")),Ut(te.i18nt("designer.helper.DAYS360_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date1"),"d1",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.date2"),"d2",He.date)),mt(2,dt(!1,te.i18nt("designer.helper.diff_type"),"diff_type",He.string))],si,"DAYS360",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DAYBEGIN_func")),Ut(te.i18nt("designer.helper.DAYBEGIN_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.date))],si,"DAYBEGIN",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.DAYEND_func")),Ut(te.i18nt("designer.helper.DAYEND_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.date))],si,"DAYEND",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.YEARBEGIN_func")),Ut(te.i18nt("designer.helper.YEARBEGIN_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.date))],si,"YEARBEGIN",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.YEAREND_func")),Ut(te.i18nt("designer.helper.YEAREND_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.date))],si,"YEAREND",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.WEEKNUM_func")),Ut(te.i18nt("designer.helper.WEEKNUM_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.date)),mt(1,dt(!0,te.i18nt("designer.helper.WEEKNUM_return_type"),"return_type",He.date))],si,"WEEKNUM",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ISOWEEKNUM_func")),Ut(te.i18nt("designer.helper.ISOWEEKNUM_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.date"),"date",He.date))],si,"ISOWEEKNUM",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETAGEBYBIRTH_func")),Ut(te.i18nt("designer.helper.GETAGEBYBIRTH_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.birthday"),"birthday",He.string))],si,"GETAGEBYBIRTH",1),si=Lt([$f(te.i18nt("designer.expression.helpers_time"))],si);let mo=class{static ASSIGN(...e){return!e||e.length<=0?null:Object.assign({},...e)}static TOJSON(e){return ai(e)}static FROMJSON(e){return Kr(e)}static VALIDIDCARD(e){return Iu.isValid(e)}static GETBIRTHDAY(e){const t=Iu.getInfo(e);return xl.dateToString(t==null?void 0:t.birthday)}static GETAGE(e){const t=Iu.getInfo(e);return t==null?void 0:t.age}static GETSEXCODE(e){const t=Iu.getInfo(e);return t==null?void 0:t.sexCode}static GETSEXNAME(e){const t=Iu.getInfo(e);return t==null?void 0:t.sexName}static GETPROVINCE(e){const t=Iu.getInfo(e);return t==null?void 0:t.provinceCode}static GETPROVINCENAME(e){const t=Iu.getInfo(e);return t==null?void 0:t.provinceName}static GETCHECKEDNAME(e,t="label"){var n;return(n=e==null?void 0:e[0])==null?void 0:n[t]}static GETCHECKEDNAMES(e,t="label"){return e==null?void 0:e.map(n=>n==null?void 0:n[t])}};Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ASSIGN_func")),Ut(te.i18nt("designer.helper.ASSIGN_return"),He.object),mt(0,dt(!0,te.i18nt("designer.helper.ASSIGN_args"),"array",He.array))],mo,"ASSIGN",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.TOJSON_func")),Ut(te.i18nt("designer.helper.TOJSON_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.TOJSON_args"),"args",He.any))],mo,"TOJSON",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.FROMJSON_func")),Ut(te.i18nt("designer.helper.FROMJSON_return"),He.any),mt(0,dt(!0,te.i18nt("designer.helper.FROMJSON_args"),"text",He.string))],mo,"FROMJSON",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.ISVALIDIDCARD_func")),Ut(te.i18nt("designer.helper.ISVALIDIDCARD_return"),He.boolean),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"VALIDIDCARD",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETBIRTHDAY_func")),Ut(te.i18nt("designer.helper.GETBIRTHDAY_return"),He.date),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"GETBIRTHDAY",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETAGE_func")),Ut(te.i18nt("designer.helper.GETAGE_return"),He.number),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"GETAGE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETSEXCODE_func")),Ut(te.i18nt("designer.helper.GETSEXCODE_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"GETSEXCODE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETSEXNAME_func")),Ut(te.i18nt("designer.helper.GETSEXNAME_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"GETSEXNAME",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETPROVINCE_func")),Ut(te.i18nt("designer.helper.GETPROVINCE_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"GETPROVINCE",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETPROVINCENAME_func")),Ut(te.i18nt("designer.helper.GETPROVINCENAME_return"),He.string),mt(0,dt(!0,te.i18nt("designer.helper.idcard"),"idcard",He.string))],mo,"GETPROVINCENAME",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETCHECKEDNAME_func")),Ut(te.i18nt("designer.helper.GETCHECKEDNAME_return"),He.any),mt(0,dt(!0,te.i18nt("designer.helper.GETCHECKEDNAME_items"),"items",He.array)),mt(1,dt(!1,te.i18nt("designer.helper.GETCHECKEDNAME_itemName"),"itemName",He.string))],mo,"GETCHECKEDNAME",1),Lt([Ht(),zt(),Vt(te.i18nt("designer.helper.GETCHECKEDNAMES_func")),Ut(te.i18nt("designer.helper.GETCHECKEDNAMES_return"),He.array),mt(0,dt(!0,te.i18nt("designer.helper.GETCHECKEDNAMES_items"),"items",He.array)),mt(1,dt(!1,te.i18nt("designer.helper.GETCHECKEDNAMES_itemName"),"itemName",He.string))],mo,"GETCHECKEDNAMES",1),mo=Lt([$f(te.i18nt("designer.expression.helpers_other"))],mo);const h9=function(e="",t="",n="vform-custom-css"){if(!e)return;let r=document.getElementsByTagName("head")[0],a=document.getElementById(n);a&&r.removeChild(a),t&&(a=document.getElementById(n+"-"+t),a&&r.removeChild(a));let o=document.createElement("style");o.type="text/css",o.id=t?n+"-"+t:n;try{o.appendChild(document.createTextNode(e.toString()))}catch{o.innerHTML=e.toString()}r.appendChild(o)},_oe=function(e,t=""){let n=document.getElementsByTagName("body")[0];var r="v_form_global_functions";let a=document.getElementById(r);a&&n.removeChild(a),t&&(a=document.getElementById(r+"-"+t),a&&n.removeChild(a));let o=document.createElement("script");o.id=t?r+"-"+t:r,o.type="text/javascript",o.innerHTML=e.toString(),n.appendChild(o)},xoe=e=>{var n;var t=(n=Hn(e))==null?void 0:n.toString();return t==null?void 0:t.replace(/\r|\n/g,"<br />")},woe=e=>e&&(new DOMParser().parseFromString(e,"text/html").documentElement.textContent||"");var d9=[bi,si,Za,Fi,Zo,kc,mo];const Eoe=()=>{const e=[];return d9.forEach(t=>{var r,a;var n=Object.getOwnPropertyNames(t).filter(o=>["length","name","prototype"].indexOf(o)===-1).map(o=>{var i=Object.getOwnPropertyDescriptor(t,o);return km.registerHelper(o,i==null?void 0:i.value),o});e.push({label:(r=Reflect.getMetadata(p4,t))==null?void 0:r.name,comment:(a=Reflect.getMetadata(p4,t))==null?void 0:a.comment,children:n.map(o=>({label:o,comment:Reflect.getMetadata(c9,t,o),returnType:Reflect.getMetadata(p9,t,o),caller:Reflect.getMetadata(f9,t,o)}))})}),e},Soe=()=>{const e={};return d9.forEach(t=>{Object.getOwnPropertyNames(t).filter(n=>["length","name","prototype"].indexOf(n)===-1).map(n=>{var r=Object.getOwnPropertyDescriptor(t,n);e[n]=r==null?void 0:r.value})}),e},Coe=(e,t,n)=>{if(e){var r=km.compile(e);try{var a=r(t);return Aoe(woe(a),n)}catch(o){throw Ki.error("expression compile",o,{tmpl:e,data:t,funcName:n}),o}}},Aoe=(e,t)=>{if(!t)return e;let n,r;return h4==null||h4.forEach(a=>{var o;(o=Array.from(a==null?void 0:a.children))==null||o.forEach(i=>{var u;(i==null?void 0:i.label)===t&&(n=It((u=i==null?void 0:i.returnType)==null?void 0:u.dataType),r=Toe(e,n))})}),r},Toe=(e,t)=>{if(!sa(e))switch(t){case He.number:return e===null||e===""?void 0:bc(e);case He.boolean:return e==="true";case He.object:case He.array:return e!=null&&e.startsWith("[")?Zr(Kr(e),!0):Zr(e==null?void 0:e.split(","),!0);case He.string:default:return e}},h4=Eoe();var d4={},Doe={get exports(){return d4},set exports(e){d4=e}};function Gm(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var sb={},koe={get exports(){return sb},set exports(e){sb=e}};const Poe=YO(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var m9;function Or(){return m9||(m9=1,function(e,t){(function(n,r){e.exports=r()})(Jn,function(){var n=n||function(r,a){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Jn<"u"&&Jn.crypto&&(o=Jn.crypto),!o&&typeof Gm=="function")try{o=Poe}catch{}var i=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||function(){function y(){}return function(x){var _;return y.prototype=x,_=new y,y.prototype=null,_}}(),l={},s=l.lib={},c=s.Base=function(){return{extend:function(y){var x=u(this);return y&&x.mixIn(y),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var x in y)y.hasOwnProperty(x)&&(this[x]=y[x]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=s.WordArray=c.extend({init:function(y,x){y=this.words=y||[],x!=a?this.sigBytes=x:this.sigBytes=y.length*4},toString:function(y){return(y||d).stringify(this)},concat:function(y){var x=this.words,_=y.words,w=this.sigBytes,E=y.sigBytes;if(this.clamp(),w%4)for(var S=0;S<E;S++){var C=_[S>>>2]>>>24-S%4*8&255;x[w+S>>>2]|=C<<24-(w+S)%4*8}else for(var D=0;D<E;D+=4)x[w+D>>>2]=_[D>>>2];return this.sigBytes+=E,this},clamp:function(){var y=this.words,x=this.sigBytes;y[x>>>2]&=4294967295<<32-x%4*8,y.length=r.ceil(x/4)},clone:function(){var y=c.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var x=[],_=0;_<y;_+=4)x.push(i());return new f.init(x,y)}}),p=l.enc={},d=p.Hex={stringify:function(y){for(var x=y.words,_=y.sigBytes,w=[],E=0;E<_;E++){var S=x[E>>>2]>>>24-E%4*8&255;w.push((S>>>4).toString(16)),w.push((S&15).toString(16))}return w.join("")},parse:function(y){for(var x=y.length,_=[],w=0;w<x;w+=2)_[w>>>3]|=parseInt(y.substr(w,2),16)<<24-w%8*4;return new f.init(_,x/2)}},m=p.Latin1={stringify:function(y){for(var x=y.words,_=y.sigBytes,w=[],E=0;E<_;E++){var S=x[E>>>2]>>>24-E%4*8&255;w.push(String.fromCharCode(S))}return w.join("")},parse:function(y){for(var x=y.length,_=[],w=0;w<x;w++)_[w>>>2]|=(y.charCodeAt(w)&255)<<24-w%4*8;return new f.init(_,x)}},v=p.Utf8={stringify:function(y){try{return decodeURIComponent(escape(m.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return m.parse(unescape(encodeURIComponent(y)))}},h=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=v.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var x,_=this._data,w=_.words,E=_.sigBytes,S=this.blockSize,C=S*4,D=E/C;y?D=r.ceil(D):D=r.max((D|0)-this._minBufferSize,0);var A=D*S,k=r.min(A*4,E);if(A){for(var P=0;P<A;P+=S)this._doProcessBlock(w,P);x=w.splice(0,A),_.sigBytes-=k}return new f.init(x,k)},clone:function(){var y=c.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});s.Hasher=h.extend({cfg:c.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var x=this._doFinalize();return x},blockSize:16,_createHelper:function(y){return function(x,_){return new y.init(_).finalize(x)}},_createHmacHelper:function(y){return function(x,_){return new g.HMAC.init(y,_).finalize(x)}}});var g=l.algo={};return l}(Math);return n})}(koe)),sb}var lb={},Ooe={get exports(){return lb},set exports(e){lb=e}},v9;function ub(){return v9||(v9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(r){var a=n,o=a.lib,i=o.Base,u=o.WordArray,l=a.x64={};l.Word=i.extend({init:function(s,c){this.high=s,this.low=c}}),l.WordArray=i.extend({init:function(s,c){s=this.words=s||[],c!=r?this.sigBytes=c:this.sigBytes=s.length*8},toX32:function(){for(var s=this.words,c=s.length,f=[],p=0;p<c;p++){var d=s[p];f.push(d.high),f.push(d.low)}return u.create(f,this.sigBytes)},clone:function(){for(var s=i.clone.call(this),c=s.words=this.words.slice(0),f=c.length,p=0;p<f;p++)c[p]=c[p].clone();return s}})}(),n})}(Ooe)),lb}var cb={},Boe={get exports(){return cb},set exports(e){cb=e}},g9;function Ioe(){return g9||(g9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,a=r.lib,o=a.WordArray,i=o.init,u=o.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var s=l.byteLength,c=[],f=0;f<s;f++)c[f>>>2]|=l[f]<<24-f%4*8;i.call(this,c,s)}else i.apply(this,arguments)};u.prototype=o}}(),n.lib.WordArray})}(Boe)),cb}var fb={},Noe={get exports(){return fb},set exports(e){fb=e}},y9;function Moe(){return y9||(y9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.enc;i.Utf16=i.Utf16BE={stringify:function(l){for(var s=l.words,c=l.sigBytes,f=[],p=0;p<c;p+=2){var d=s[p>>>2]>>>16-p%4*8&65535;f.push(String.fromCharCode(d))}return f.join("")},parse:function(l){for(var s=l.length,c=[],f=0;f<s;f++)c[f>>>1]|=l.charCodeAt(f)<<16-f%2*16;return o.create(c,s*2)}},i.Utf16LE={stringify:function(l){for(var s=l.words,c=l.sigBytes,f=[],p=0;p<c;p+=2){var d=u(s[p>>>2]>>>16-p%4*8&65535);f.push(String.fromCharCode(d))}return f.join("")},parse:function(l){for(var s=l.length,c=[],f=0;f<s;f++)c[f>>>1]|=u(l.charCodeAt(f)<<16-f%2*16);return o.create(c,s*2)}};function u(l){return l<<8&4278255360|l>>>8&16711935}}(),n.enc.Utf16})}(Noe)),fb}var pb={},Foe={get exports(){return pb},set exports(e){pb=e}},b9;function ep(){return b9||(b9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.enc;i.Base64={stringify:function(l){var s=l.words,c=l.sigBytes,f=this._map;l.clamp();for(var p=[],d=0;d<c;d+=3)for(var m=s[d>>>2]>>>24-d%4*8&255,v=s[d+1>>>2]>>>24-(d+1)%4*8&255,h=s[d+2>>>2]>>>24-(d+2)%4*8&255,g=m<<16|v<<8|h,y=0;y<4&&d+y*.75<c;y++)p.push(f.charAt(g>>>6*(3-y)&63));var x=f.charAt(64);if(x)for(;p.length%4;)p.push(x);return p.join("")},parse:function(l){var s=l.length,c=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var p=0;p<c.length;p++)f[c.charCodeAt(p)]=p}var d=c.charAt(64);if(d){var m=l.indexOf(d);m!==-1&&(s=m)}return u(l,s,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function u(l,s,c){for(var f=[],p=0,d=0;d<s;d++)if(d%4){var m=c[l.charCodeAt(d-1)]<<d%4*2,v=c[l.charCodeAt(d)]>>>6-d%4*2,h=m|v;f[p>>>2]|=h<<24-p%4*8,p++}return o.create(f,p)}}(),n.enc.Base64})}(Foe)),pb}var hb={},Loe={get exports(){return hb},set exports(e){hb=e}},_9;function Roe(){return _9||(_9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.enc;i.Base64url={stringify:function(l,s){s===void 0&&(s=!0);var c=l.words,f=l.sigBytes,p=s?this._safe_map:this._map;l.clamp();for(var d=[],m=0;m<f;m+=3)for(var v=c[m>>>2]>>>24-m%4*8&255,h=c[m+1>>>2]>>>24-(m+1)%4*8&255,g=c[m+2>>>2]>>>24-(m+2)%4*8&255,y=v<<16|h<<8|g,x=0;x<4&&m+x*.75<f;x++)d.push(p.charAt(y>>>6*(3-x)&63));var _=p.charAt(64);if(_)for(;d.length%4;)d.push(_);return d.join("")},parse:function(l,s){s===void 0&&(s=!0);var c=l.length,f=s?this._safe_map:this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var d=0;d<f.length;d++)p[f.charCodeAt(d)]=d}var m=f.charAt(64);if(m){var v=l.indexOf(m);v!==-1&&(c=v)}return u(l,c,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function u(l,s,c){for(var f=[],p=0,d=0;d<s;d++)if(d%4){var m=c[l.charCodeAt(d-1)]<<d%4*2,v=c[l.charCodeAt(d)]>>>6-d%4*2,h=m|v;f[p>>>2]|=h<<24-p%4*8,p++}return o.create(f,p)}}(),n.enc.Base64url})}(Loe)),hb}var db={},joe={get exports(){return db},set exports(e){db=e}},x9;function tp(){return x9||(x9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(r){var a=n,o=a.lib,i=o.WordArray,u=o.Hasher,l=a.algo,s=[];(function(){for(var v=0;v<64;v++)s[v]=r.abs(r.sin(v+1))*4294967296|0})();var c=l.MD5=u.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,h){for(var g=0;g<16;g++){var y=h+g,x=v[y];v[y]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360}var _=this._hash.words,w=v[h+0],E=v[h+1],S=v[h+2],C=v[h+3],D=v[h+4],A=v[h+5],k=v[h+6],P=v[h+7],O=v[h+8],B=v[h+9],N=v[h+10],M=v[h+11],R=v[h+12],F=v[h+13],j=v[h+14],G=v[h+15],L=_[0],z=_[1],K=_[2],Y=_[3];L=f(L,z,K,Y,w,7,s[0]),Y=f(Y,L,z,K,E,12,s[1]),K=f(K,Y,L,z,S,17,s[2]),z=f(z,K,Y,L,C,22,s[3]),L=f(L,z,K,Y,D,7,s[4]),Y=f(Y,L,z,K,A,12,s[5]),K=f(K,Y,L,z,k,17,s[6]),z=f(z,K,Y,L,P,22,s[7]),L=f(L,z,K,Y,O,7,s[8]),Y=f(Y,L,z,K,B,12,s[9]),K=f(K,Y,L,z,N,17,s[10]),z=f(z,K,Y,L,M,22,s[11]),L=f(L,z,K,Y,R,7,s[12]),Y=f(Y,L,z,K,F,12,s[13]),K=f(K,Y,L,z,j,17,s[14]),z=f(z,K,Y,L,G,22,s[15]),L=p(L,z,K,Y,E,5,s[16]),Y=p(Y,L,z,K,k,9,s[17]),K=p(K,Y,L,z,M,14,s[18]),z=p(z,K,Y,L,w,20,s[19]),L=p(L,z,K,Y,A,5,s[20]),Y=p(Y,L,z,K,N,9,s[21]),K=p(K,Y,L,z,G,14,s[22]),z=p(z,K,Y,L,D,20,s[23]),L=p(L,z,K,Y,B,5,s[24]),Y=p(Y,L,z,K,j,9,s[25]),K=p(K,Y,L,z,C,14,s[26]),z=p(z,K,Y,L,O,20,s[27]),L=p(L,z,K,Y,F,5,s[28]),Y=p(Y,L,z,K,S,9,s[29]),K=p(K,Y,L,z,P,14,s[30]),z=p(z,K,Y,L,R,20,s[31]),L=d(L,z,K,Y,A,4,s[32]),Y=d(Y,L,z,K,O,11,s[33]),K=d(K,Y,L,z,M,16,s[34]),z=d(z,K,Y,L,j,23,s[35]),L=d(L,z,K,Y,E,4,s[36]),Y=d(Y,L,z,K,D,11,s[37]),K=d(K,Y,L,z,P,16,s[38]),z=d(z,K,Y,L,N,23,s[39]),L=d(L,z,K,Y,F,4,s[40]),Y=d(Y,L,z,K,w,11,s[41]),K=d(K,Y,L,z,C,16,s[42]),z=d(z,K,Y,L,k,23,s[43]),L=d(L,z,K,Y,B,4,s[44]),Y=d(Y,L,z,K,R,11,s[45]),K=d(K,Y,L,z,G,16,s[46]),z=d(z,K,Y,L,S,23,s[47]),L=m(L,z,K,Y,w,6,s[48]),Y=m(Y,L,z,K,P,10,s[49]),K=m(K,Y,L,z,j,15,s[50]),z=m(z,K,Y,L,A,21,s[51]),L=m(L,z,K,Y,R,6,s[52]),Y=m(Y,L,z,K,C,10,s[53]),K=m(K,Y,L,z,N,15,s[54]),z=m(z,K,Y,L,E,21,s[55]),L=m(L,z,K,Y,O,6,s[56]),Y=m(Y,L,z,K,G,10,s[57]),K=m(K,Y,L,z,k,15,s[58]),z=m(z,K,Y,L,F,21,s[59]),L=m(L,z,K,Y,D,6,s[60]),Y=m(Y,L,z,K,M,10,s[61]),K=m(K,Y,L,z,S,15,s[62]),z=m(z,K,Y,L,B,21,s[63]),_[0]=_[0]+L|0,_[1]=_[1]+z|0,_[2]=_[2]+K|0,_[3]=_[3]+Y|0},_doFinalize:function(){var v=this._data,h=v.words,g=this._nDataBytes*8,y=v.sigBytes*8;h[y>>>5]|=128<<24-y%32;var x=r.floor(g/4294967296),_=g;h[(y+64>>>9<<4)+15]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,h[(y+64>>>9<<4)+14]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,v.sigBytes=(h.length+1)*4,this._process();for(var w=this._hash,E=w.words,S=0;S<4;S++){var C=E[S];E[S]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}return w},clone:function(){var v=u.clone.call(this);return v._hash=this._hash.clone(),v}});function f(v,h,g,y,x,_,w){var E=v+(h&g|~h&y)+x+w;return(E<<_|E>>>32-_)+h}function p(v,h,g,y,x,_,w){var E=v+(h&y|g&~y)+x+w;return(E<<_|E>>>32-_)+h}function d(v,h,g,y,x,_,w){var E=v+(h^g^y)+x+w;return(E<<_|E>>>32-_)+h}function m(v,h,g,y,x,_,w){var E=v+(g^(h|~y))+x+w;return(E<<_|E>>>32-_)+h}a.MD5=u._createHelper(c),a.HmacMD5=u._createHmacHelper(c)}(Math),n.MD5})}(joe)),db}var mb={},Voe={get exports(){return mb},set exports(e){mb=e}},w9;function E9(){return w9||(w9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=a.Hasher,u=r.algo,l=[],s=u.SHA1=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,f){for(var p=this._hash.words,d=p[0],m=p[1],v=p[2],h=p[3],g=p[4],y=0;y<80;y++){if(y<16)l[y]=c[f+y]|0;else{var x=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=x<<1|x>>>31}var _=(d<<5|d>>>27)+g+l[y];y<20?_+=(m&v|~m&h)+1518500249:y<40?_+=(m^v^h)+1859775393:y<60?_+=(m&v|m&h|v&h)-1894007588:_+=(m^v^h)-899497514,g=h,h=v,v=m<<30|m>>>2,m=d,d=_}p[0]=p[0]+d|0,p[1]=p[1]+m|0,p[2]=p[2]+v|0,p[3]=p[3]+h|0,p[4]=p[4]+g|0},_doFinalize:function(){var c=this._data,f=c.words,p=this._nDataBytes*8,d=c.sigBytes*8;return f[d>>>5]|=128<<24-d%32,f[(d+64>>>9<<4)+14]=Math.floor(p/4294967296),f[(d+64>>>9<<4)+15]=p,c.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var c=i.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=i._createHelper(s),r.HmacSHA1=i._createHmacHelper(s)}(),n.SHA1})}(Voe)),mb}var vb={},zoe={get exports(){return vb},set exports(e){vb=e}},S9;function m4(){return S9||(S9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){return function(r){var a=n,o=a.lib,i=o.WordArray,u=o.Hasher,l=a.algo,s=[],c=[];(function(){function d(g){for(var y=r.sqrt(g),x=2;x<=y;x++)if(!(g%x))return!1;return!0}function m(g){return(g-(g|0))*4294967296|0}for(var v=2,h=0;h<64;)d(v)&&(h<8&&(s[h]=m(r.pow(v,1/2))),c[h]=m(r.pow(v,1/3)),h++),v++})();var f=[],p=l.SHA256=u.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(d,m){for(var v=this._hash.words,h=v[0],g=v[1],y=v[2],x=v[3],_=v[4],w=v[5],E=v[6],S=v[7],C=0;C<64;C++){if(C<16)f[C]=d[m+C]|0;else{var D=f[C-15],A=(D<<25|D>>>7)^(D<<14|D>>>18)^D>>>3,k=f[C-2],P=(k<<15|k>>>17)^(k<<13|k>>>19)^k>>>10;f[C]=A+f[C-7]+P+f[C-16]}var O=_&w^~_&E,B=h&g^h&y^g&y,N=(h<<30|h>>>2)^(h<<19|h>>>13)^(h<<10|h>>>22),M=(_<<26|_>>>6)^(_<<21|_>>>11)^(_<<7|_>>>25),R=S+M+O+c[C]+f[C],F=N+B;S=E,E=w,w=_,_=x+R|0,x=y,y=g,g=h,h=R+F|0}v[0]=v[0]+h|0,v[1]=v[1]+g|0,v[2]=v[2]+y|0,v[3]=v[3]+x|0,v[4]=v[4]+_|0,v[5]=v[5]+w|0,v[6]=v[6]+E|0,v[7]=v[7]+S|0},_doFinalize:function(){var d=this._data,m=d.words,v=this._nDataBytes*8,h=d.sigBytes*8;return m[h>>>5]|=128<<24-h%32,m[(h+64>>>9<<4)+14]=r.floor(v/4294967296),m[(h+64>>>9<<4)+15]=v,d.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var d=u.clone.call(this);return d._hash=this._hash.clone(),d}});a.SHA256=u._createHelper(p),a.HmacSHA256=u._createHmacHelper(p)}(Math),n.SHA256})}(zoe)),vb}var gb={},Uoe={get exports(){return gb},set exports(e){gb=e}},C9;function Hoe(){return C9||(C9=1,function(e,t){(function(n,r,a){e.exports=r(Or(),m4())})(Jn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.algo,u=i.SHA256,l=i.SHA224=u.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var s=u._doFinalize.call(this);return s.sigBytes-=4,s}});r.SHA224=u._createHelper(l),r.HmacSHA224=u._createHmacHelper(l)}(),n.SHA224})}(Uoe)),gb}var yb={},Goe={get exports(){return yb},set exports(e){yb=e}},A9;function T9(){return A9||(A9=1,function(e,t){(function(n,r,a){e.exports=r(Or(),ub())})(Jn,function(n){return function(){var r=n,a=r.lib,o=a.Hasher,i=r.x64,u=i.Word,l=i.WordArray,s=r.algo;function c(){return u.create.apply(u,arguments)}var f=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],p=[];(function(){for(var m=0;m<80;m++)p[m]=c()})();var d=s.SHA512=o.extend({_doReset:function(){this._hash=new l.init([new u.init(1779033703,4089235720),new u.init(3144134277,2227873595),new u.init(1013904242,4271175723),new u.init(2773480762,1595750129),new u.init(1359893119,2917565137),new u.init(2600822924,725511199),new u.init(528734635,4215389547),new u.init(1541459225,327033209)])},_doProcessBlock:function(m,v){for(var h=this._hash.words,g=h[0],y=h[1],x=h[2],_=h[3],w=h[4],E=h[5],S=h[6],C=h[7],D=g.high,A=g.low,k=y.high,P=y.low,O=x.high,B=x.low,N=_.high,M=_.low,R=w.high,F=w.low,j=E.high,G=E.low,L=S.high,z=S.low,K=C.high,Y=C.low,J=D,Q=A,ce=k,se=P,oe=O,ae=B,ge=N,X=M,q=R,re=F,he=j,de=G,be=L,pe=z,ve=K,Se=Y,we=0;we<80;we++){var Te,Z,W=p[we];if(we<16)Z=W.high=m[v+we*2]|0,Te=W.low=m[v+we*2+1]|0;else{var $=p[we-15],ue=$.high,Ce=$.low,Oe=(ue>>>1|Ce<<31)^(ue>>>8|Ce<<24)^ue>>>7,Ne=(Ce>>>1|ue<<31)^(Ce>>>8|ue<<24)^(Ce>>>7|ue<<25),Me=p[we-2],Ue=Me.high,Ve=Me.low,We=(Ue>>>19|Ve<<13)^(Ue<<3|Ve>>>29)^Ue>>>6,rt=(Ve>>>19|Ue<<13)^(Ve<<3|Ue>>>29)^(Ve>>>6|Ue<<26),At=p[we-7],_t=At.high,Ot=At.low,wt=p[we-16],Dt=wt.high,pt=wt.low;Te=Ne+Ot,Z=Oe+_t+(Te>>>0<Ne>>>0?1:0),Te=Te+rt,Z=Z+We+(Te>>>0<rt>>>0?1:0),Te=Te+pt,Z=Z+Dt+(Te>>>0<pt>>>0?1:0),W.high=Z,W.low=Te}var En=q&he^~q&be,it=re&de^~re&pe,ut=J&ce^J&oe^ce&oe,ne=Q&se^Q&ae^se&ae,Ie=(J>>>28|Q<<4)^(J<<30|Q>>>2)^(J<<25|Q>>>7),ke=(Q>>>28|J<<4)^(Q<<30|J>>>2)^(Q<<25|J>>>7),Fe=(q>>>14|re<<18)^(q>>>18|re<<14)^(q<<23|re>>>9),Ge=(re>>>14|q<<18)^(re>>>18|q<<14)^(re<<23|q>>>9),ft=f[we],Et=ft.high,Bt=ft.low,Xt=Se+Ge,Sn=ve+Fe+(Xt>>>0<Se>>>0?1:0),Xt=Xt+it,Sn=Sn+En+(Xt>>>0<it>>>0?1:0),Xt=Xt+Bt,Sn=Sn+Et+(Xt>>>0<Bt>>>0?1:0),Xt=Xt+Te,Sn=Sn+Z+(Xt>>>0<Te>>>0?1:0),br=ke+ne,ci=Ie+ut+(br>>>0<ke>>>0?1:0);ve=be,Se=pe,be=he,pe=de,he=q,de=re,re=X+Xt|0,q=ge+Sn+(re>>>0<X>>>0?1:0)|0,ge=oe,X=ae,oe=ce,ae=se,ce=J,se=Q,Q=Xt+br|0,J=Sn+ci+(Q>>>0<Xt>>>0?1:0)|0}A=g.low=A+Q,g.high=D+J+(A>>>0<Q>>>0?1:0),P=y.low=P+se,y.high=k+ce+(P>>>0<se>>>0?1:0),B=x.low=B+ae,x.high=O+oe+(B>>>0<ae>>>0?1:0),M=_.low=M+X,_.high=N+ge+(M>>>0<X>>>0?1:0),F=w.low=F+re,w.high=R+q+(F>>>0<re>>>0?1:0),G=E.low=G+de,E.high=j+he+(G>>>0<de>>>0?1:0),z=S.low=z+pe,S.high=L+be+(z>>>0<pe>>>0?1:0),Y=C.low=Y+Se,C.high=K+ve+(Y>>>0<Se>>>0?1:0)},_doFinalize:function(){var m=this._data,v=m.words,h=this._nDataBytes*8,g=m.sigBytes*8;v[g>>>5]|=128<<24-g%32,v[(g+128>>>10<<5)+30]=Math.floor(h/4294967296),v[(g+128>>>10<<5)+31]=h,m.sigBytes=v.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var m=o.clone.call(this);return m._hash=this._hash.clone(),m},blockSize:1024/32});r.SHA512=o._createHelper(d),r.HmacSHA512=o._createHmacHelper(d)}(),n.SHA512})}(Goe)),yb}var bb={},Woe={get exports(){return bb},set exports(e){bb=e}},D9;function Koe(){return D9||(D9=1,function(e,t){(function(n,r,a){e.exports=r(Or(),ub(),T9())})(Jn,function(n){return function(){var r=n,a=r.x64,o=a.Word,i=a.WordArray,u=r.algo,l=u.SHA512,s=u.SHA384=l.extend({_doReset:function(){this._hash=new i.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=l._createHelper(s),r.HmacSHA384=l._createHmacHelper(s)}(),n.SHA384})}(Woe)),bb}var _b={},Xoe={get exports(){return _b},set exports(e){_b=e}},k9;function Yoe(){return k9||(k9=1,function(e,t){(function(n,r,a){e.exports=r(Or(),ub())})(Jn,function(n){return function(r){var a=n,o=a.lib,i=o.WordArray,u=o.Hasher,l=a.x64,s=l.Word,c=a.algo,f=[],p=[],d=[];(function(){for(var h=1,g=0,y=0;y<24;y++){f[h+5*g]=(y+1)*(y+2)/2%64;var x=g%5,_=(2*h+3*g)%5;h=x,g=_}for(var h=0;h<5;h++)for(var g=0;g<5;g++)p[h+5*g]=g+(2*h+3*g)%5*5;for(var w=1,E=0;E<24;E++){for(var S=0,C=0,D=0;D<7;D++){if(w&1){var A=(1<<D)-1;A<32?C^=1<<A:S^=1<<A-32}w&128?w=w<<1^113:w<<=1}d[E]=s.create(S,C)}})();var m=[];(function(){for(var h=0;h<25;h++)m[h]=s.create()})();var v=c.SHA3=u.extend({cfg:u.cfg.extend({outputLength:512}),_doReset:function(){for(var h=this._state=[],g=0;g<25;g++)h[g]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(h,g){for(var y=this._state,x=this.blockSize/2,_=0;_<x;_++){var w=h[g+2*_],E=h[g+2*_+1];w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360;var S=y[_];S.high^=E,S.low^=w}for(var C=0;C<24;C++){for(var D=0;D<5;D++){for(var A=0,k=0,P=0;P<5;P++){var S=y[D+5*P];A^=S.high,k^=S.low}var O=m[D];O.high=A,O.low=k}for(var D=0;D<5;D++)for(var B=m[(D+4)%5],N=m[(D+1)%5],M=N.high,R=N.low,A=B.high^(M<<1|R>>>31),k=B.low^(R<<1|M>>>31),P=0;P<5;P++){var S=y[D+5*P];S.high^=A,S.low^=k}for(var F=1;F<25;F++){var A,k,S=y[F],j=S.high,G=S.low,L=f[F];L<32?(A=j<<L|G>>>32-L,k=G<<L|j>>>32-L):(A=G<<L-32|j>>>64-L,k=j<<L-32|G>>>64-L);var z=m[p[F]];z.high=A,z.low=k}var K=m[0],Y=y[0];K.high=Y.high,K.low=Y.low;for(var D=0;D<5;D++)for(var P=0;P<5;P++){var F=D+5*P,S=y[F],J=m[F],Q=m[(D+1)%5+5*P],ce=m[(D+2)%5+5*P];S.high=J.high^~Q.high&ce.high,S.low=J.low^~Q.low&ce.low}var S=y[0],se=d[C];S.high^=se.high,S.low^=se.low}},_doFinalize:function(){var h=this._data,g=h.words;this._nDataBytes*8;var y=h.sigBytes*8,x=this.blockSize*32;g[y>>>5]|=1<<24-y%32,g[(r.ceil((y+1)/x)*x>>>5)-1]|=128,h.sigBytes=g.length*4,this._process();for(var _=this._state,w=this.cfg.outputLength/8,E=w/8,S=[],C=0;C<E;C++){var D=_[C],A=D.high,k=D.low;A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,S.push(k),S.push(A)}return new i.init(S,w)},clone:function(){for(var h=u.clone.call(this),g=h._state=this._state.slice(0),y=0;y<25;y++)g[y]=g[y].clone();return h}});a.SHA3=u._createHelper(v),a.HmacSHA3=u._createHmacHelper(v)}(Math),n.SHA3})}(Xoe)),_b}var xb={},Joe={get exports(){return xb},set exports(e){xb=e}},P9;function Zoe(){return P9||(P9=1,function(e,t){(function(n,r){e.exports=r(Or())})(Jn,function(n){/** @preserve
62
62
  (c) 2012 by Cédric Mesnil. All rights reserved.
63
63
 
64
64
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: