ling-yun-custom-components 0.0.10

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 (123) hide show
  1. package/es/BatchImport.mjs +208 -0
  2. package/es/BuildComponents.mjs +190 -0
  3. package/es/CustomDialog.mjs +7 -0
  4. package/es/CustomDropdown.mjs +145 -0
  5. package/es/CustomPagination.mjs +7 -0
  6. package/es/CustomSelect.mjs +7 -0
  7. package/es/CustomTab.mjs +33 -0
  8. package/es/CustomTitle.mjs +7 -0
  9. package/es/FileList.mjs +7 -0
  10. package/es/GradientButton.mjs +120 -0
  11. package/es/IconEmpty.mjs +7 -0
  12. package/es/IconRenderer.mjs +42 -0
  13. package/es/IconSelect.mjs +120 -0
  14. package/es/PaginationTable.mjs +407 -0
  15. package/es/SearchBar.mjs +7 -0
  16. package/es/TreeSelect.mjs +406 -0
  17. package/es/TreeShowSelect.mjs +82 -0
  18. package/es/UpdatePasswordDialog.mjs +119 -0
  19. package/es/UploadFile.mjs +7 -0
  20. package/es/assets/BuildComponents.css +1 -0
  21. package/es/assets/CustomDropdown.css +1 -0
  22. package/es/assets/CustomTab.css +1 -0
  23. package/es/assets/GradientButton.css +1 -0
  24. package/es/assets/IconSelect.css +1 -0
  25. package/es/assets/PaginationTable.css +1 -0
  26. package/es/assets/TreeSelect.css +1 -0
  27. package/es/assets/TreeShowSelect.css +1 -0
  28. package/es/assets/UpdatePasswordDialog.css +1 -0
  29. package/es/assets/layout.css +0 -0
  30. package/es/assets/layout2.css +1 -0
  31. package/es/assets/layout3.css +1 -0
  32. package/es/assets/layout4.css +1 -0
  33. package/es/assets/layout5.css +1 -0
  34. package/es/assets/layout6.css +1 -0
  35. package/es/chunks/_plugin-vue_export-helper.CHgC5LLL.js +9 -0
  36. package/es/chunks/global.DVwnOczb.js +7828 -0
  37. package/es/chunks/index.D4Kbv-m1.js +8991 -0
  38. package/es/chunks/index.DfOANPhX.js +1729 -0
  39. package/es/chunks/index.DlooXR0t.js +9576 -0
  40. package/es/chunks/index.bCzIhWFw.js +7 -0
  41. package/es/chunks/layout.1y3OJ-ea.js +230 -0
  42. package/es/chunks/layout.2Mabaug0.js +121 -0
  43. package/es/chunks/layout.6MxjcpGc.js +584 -0
  44. package/es/chunks/layout.BJE8rMzK.js +230 -0
  45. package/es/chunks/layout.BKJPyxR8.js +39 -0
  46. package/es/chunks/layout.C0UEMbnF.js +98 -0
  47. package/es/chunks/layout.CTQtuC78.js +584 -0
  48. package/es/chunks/layout.CUOtHOHG.js +66 -0
  49. package/es/chunks/layout.CiNI5oQK.js +149 -0
  50. package/es/chunks/layout.CnANFnM1.js +584 -0
  51. package/es/chunks/layout.CtWHo87D.js +121 -0
  52. package/es/chunks/layout.Day1LJyl.js +234 -0
  53. package/es/chunks/layout.DeAFov0o.js +234 -0
  54. package/es/chunks/layout.Dvw3u-s5.js +234 -0
  55. package/es/chunks/layout.LCKaV7EX.js +230 -0
  56. package/es/chunks/layout.ZxPdKhRp.js +149 -0
  57. package/es/chunks/layout._A_rHZM7.js +149 -0
  58. package/es/chunks/layout.f58eO4Hr.js +98 -0
  59. package/es/chunks/layout.t3qD0LTW.js +121 -0
  60. package/es/chunks/layout.ypvwQzq5.js +98 -0
  61. package/es/index.mjs +81 -0
  62. package/lib/BatchImport.js +1 -0
  63. package/lib/BuildComponents.js +1 -0
  64. package/lib/CustomDialog.js +1 -0
  65. package/lib/CustomDropdown.js +1 -0
  66. package/lib/CustomPagination.js +1 -0
  67. package/lib/CustomSelect.js +1 -0
  68. package/lib/CustomTab.js +1 -0
  69. package/lib/CustomTitle.js +1 -0
  70. package/lib/FileList.js +1 -0
  71. package/lib/GradientButton.js +1 -0
  72. package/lib/IconEmpty.js +1 -0
  73. package/lib/IconRenderer.js +1 -0
  74. package/lib/IconSelect.js +1 -0
  75. package/lib/PaginationTable.js +1 -0
  76. package/lib/SearchBar.js +1 -0
  77. package/lib/TreeSelect.js +1 -0
  78. package/lib/TreeShowSelect.js +1 -0
  79. package/lib/UpdatePasswordDialog.js +1 -0
  80. package/lib/UploadFile.js +1 -0
  81. package/lib/assets/BuildComponents.css +1 -0
  82. package/lib/assets/CustomDropdown.css +1 -0
  83. package/lib/assets/CustomTab.css +1 -0
  84. package/lib/assets/GradientButton.css +1 -0
  85. package/lib/assets/IconSelect.css +1 -0
  86. package/lib/assets/PaginationTable.css +1 -0
  87. package/lib/assets/TreeSelect.css +1 -0
  88. package/lib/assets/TreeShowSelect.css +1 -0
  89. package/lib/assets/UpdatePasswordDialog.css +1 -0
  90. package/lib/assets/layout.css +0 -0
  91. package/lib/assets/layout2.css +1 -0
  92. package/lib/assets/layout3.css +1 -0
  93. package/lib/assets/layout4.css +1 -0
  94. package/lib/assets/layout5.css +1 -0
  95. package/lib/assets/layout6.css +1 -0
  96. package/lib/chunks/_plugin-vue_export-helper.BHFhmbuH.js +1 -0
  97. package/lib/chunks/global.Cv8u--Cy.js +1 -0
  98. package/lib/chunks/index.Bixsw9fA.js +23 -0
  99. package/lib/chunks/index.CkihWzK6.js +1 -0
  100. package/lib/chunks/index.CrvqvcN9.js +23 -0
  101. package/lib/chunks/index.DJKAT9lI.js +1 -0
  102. package/lib/chunks/layout.-yZzrp74.js +1 -0
  103. package/lib/chunks/layout.2PAIPzYY.js +1 -0
  104. package/lib/chunks/layout.5iOiFlVu.js +1 -0
  105. package/lib/chunks/layout.B-T_NE6r.js +1 -0
  106. package/lib/chunks/layout.BBNd1hLQ.js +1 -0
  107. package/lib/chunks/layout.BNJsxQ2g.js +1 -0
  108. package/lib/chunks/layout.BSF3ruxz.js +1 -0
  109. package/lib/chunks/layout.BXdjRFbn.js +1 -0
  110. package/lib/chunks/layout.BhL14Rqh.js +1 -0
  111. package/lib/chunks/layout.BmQYiD_b.js +1 -0
  112. package/lib/chunks/layout.CDg3sCTi.js +1 -0
  113. package/lib/chunks/layout.CeVldGUL.js +1 -0
  114. package/lib/chunks/layout.CjJiAY0w.js +1 -0
  115. package/lib/chunks/layout.CoSBrO12.js +1 -0
  116. package/lib/chunks/layout.CwA4IJ1g.js +1 -0
  117. package/lib/chunks/layout.DDTIwGYp.js +1 -0
  118. package/lib/chunks/layout.DOS2ezSW.js +1 -0
  119. package/lib/chunks/layout.D_TxPvRy.js +1 -0
  120. package/lib/chunks/layout.DfiLurg1.js +1 -0
  121. package/lib/chunks/layout.gqpUcAHO.js +1 -0
  122. package/lib/index.js +1 -0
  123. package/package.json +205 -0
@@ -0,0 +1,23 @@
1
+ "use strict";const r0=require("element-plus"),N=require("vue"),Oa=require("axios"),nt=require("vue-router"),La={},Ia=Object.freeze(Object.defineProperty({__proto__:null,default:La},Symbol.toStringTag,{value:"Module"}));function ue(e){"@babel/helpers - typeof";return ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ue(e)}function Ta(e,t){if(ue(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ue(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function uo(e){var t=Ta(e,"string");return ue(t)=="symbol"?t:t+""}function fe(e,t,r){return(t=uo(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D0(e,t,r,n,o,a,s){try{var l=e[a](s),u=l.value}catch(i){return void r(i)}l.done?t(u):Promise.resolve(u).then(n,o)}function le(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function s(u){D0(a,n,o,s,l,"next",u)}function l(u){D0(a,n,o,s,l,"throw",u)}s(void 0)})}}var mr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function lo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ka(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var o=!1;try{o=this instanceof n}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var gr={exports:{}},yr={exports:{}},F0;function fo(){return F0||(F0=1,(function(e){function t(r,n){this.v=r,this.k=n}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(yr)),yr.exports}var br={exports:{}},Cr={exports:{}},S0;function xo(){return S0||(S0=1,(function(e){function t(r,n,o,a){var s=Object.defineProperty;try{s({},"",{})}catch{s=0}e.exports=t=function(u,i,c,g){function f(x,d){t(u,x,function(E){return this._invoke(x,d,E)})}i?s?s(u,i,{value:c,enumerable:!g,configurable:!g,writable:!g}):u[i]=c:(f("next",0),f("throw",1),f("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n,o,a)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Cr)),Cr.exports}var R0;function vo(){return R0||(R0=1,(function(e){var t=xo();function r(){var n,o,a=typeof Symbol=="function"?Symbol:{},s=a.iterator||"@@iterator",l=a.toStringTag||"@@toStringTag";function u(p,y,v,h){var m=y&&y.prototype instanceof c?y:c,C=Object.create(m.prototype);return t(C,"_invoke",(function(A,_,D){var P,b,w,F=0,I=D||[],M=!1,H={p:0,n:0,v:n,a:R,f:R.bind(n,4),d:function(O,j){return P=O,b=0,w=n,H.n=j,i}};function R(S,O){for(b=S,w=O,o=0;!M&&F&&!j&&o<I.length;o++){var j,U=I[o],B=H.p,L=U[2];S>3?(j=L===O)&&(w=U[(b=U[4])?5:(b=3,3)],U[4]=U[5]=n):U[0]<=B&&((j=S<2&&B<U[1])?(b=0,H.v=O,H.n=U[1]):B<L&&(j=S<3||U[0]>O||O>L)&&(U[4]=S,U[5]=O,H.n=L,b=0))}if(j||S>1)return i;throw M=!0,O}return function(S,O,j){if(F>1)throw TypeError("Generator is already running");for(M&&O===1&&R(O,j),b=O,w=j;(o=b<2?n:w)||!M;){P||(b?b<3?(b>1&&(H.n=-1),R(b,w)):H.n=w:H.v=w);try{if(F=2,P){if(b||(S="next"),o=P[S]){if(!(o=o.call(P,w)))throw TypeError("iterator result is not an object");if(!o.done)return o;w=o.value,b<2&&(b=0)}else b===1&&(o=P.return)&&o.call(P),b<2&&(w=TypeError("The iterator does not provide a '"+S+"' method"),b=1);P=n}else if((o=(M=H.n<0)?w:A.call(_,H))!==i)break}catch(U){P=n,b=1,w=U}finally{F=1}}return{value:o,done:M}}})(p,v,h),!0),C}var i={};function c(){}function g(){}function f(){}o=Object.getPrototypeOf;var x=[][s]?o(o([][s]())):(t(o={},s,function(){return this}),o),d=f.prototype=c.prototype=Object.create(x);function E(p){return Object.setPrototypeOf?Object.setPrototypeOf(p,f):(p.__proto__=f,t(p,l,"GeneratorFunction")),p.prototype=Object.create(d),p}return g.prototype=f,t(d,"constructor",f),t(f,"constructor",g),g.displayName="GeneratorFunction",t(f,l,"GeneratorFunction"),t(d),t(d,l,"Generator"),t(d,s,function(){return this}),t(d,"toString",function(){return"[object Generator]"}),(e.exports=r=function(){return{w:u,m:E}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(br)),br.exports}var _r={exports:{}},Ar={exports:{}},wr={exports:{}},P0;function po(){return P0||(P0=1,(function(e){var t=fo(),r=xo();function n(o,a){function s(u,i,c,g){try{var f=o[u](i),x=f.value;return x instanceof t?a.resolve(x.v).then(function(d){s("next",d,c,g)},function(d){s("throw",d,c,g)}):a.resolve(x).then(function(d){f.value=d,c(f)},function(d){return s("throw",d,c,g)})}catch(d){g(d)}}var l;this.next||(r(n.prototype),r(n.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),r(this,"_invoke",function(u,i,c){function g(){return new a(function(f,x){s(u,c,f,x)})}return l=l?l.then(g,g):g()},!0)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(wr)),wr.exports}var O0;function ho(){return O0||(O0=1,(function(e){var t=vo(),r=po();function n(o,a,s,l,u){return new r(t().w(o,a,s,l),u||Promise)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Ar)),Ar.exports}var L0;function ja(){return L0||(L0=1,(function(e){var t=ho();function r(n,o,a,s,l){var u=t(n,o,a,s,l);return u.next().then(function(i){return i.done?i.value:u.next()})}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(_r)),_r.exports}var Br={exports:{}},I0;function Ua(){return I0||(I0=1,(function(e){function t(r){var n=Object(r),o=[];for(var a in n)o.unshift(a);return function s(){for(;o.length;)if((a=o.pop())in n)return s.value=a,s.done=!1,s;return s.done=!0,s}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Br)),Br.exports}var Dr={exports:{}},Fr={exports:{}},T0;function Ma(){return T0||(T0=1,(function(e){function t(r){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Fr)),Fr.exports}var k0;function Wa(){return k0||(k0=1,(function(e){var t=Ma().default;function r(n){if(n!=null){var o=n[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],a=0;if(o)return o.call(n);if(typeof n.next=="function")return n;if(!isNaN(n.length))return{next:function(){return n&&a>=n.length&&(n=void 0),{value:n&&n[a++],done:!n}}}}throw new TypeError(t(n)+" is not iterable")}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Dr)),Dr.exports}var j0;function Ha(){return j0||(j0=1,(function(e){var t=fo(),r=vo(),n=ja(),o=ho(),a=po(),s=Ua(),l=Wa();function u(){var i=r(),c=i.m(u),g=(Object.getPrototypeOf?Object.getPrototypeOf(c):c.__proto__).constructor;function f(E){var p=typeof E=="function"&&E.constructor;return!!p&&(p===g||(p.displayName||p.name)==="GeneratorFunction")}var x={throw:1,return:2,break:3,continue:3};function d(E){var p,y;return function(v){p||(p={stop:function(){return y(v.a,2)},catch:function(){return v.v},abrupt:function(m,C){return y(v.a,x[m],C)},delegateYield:function(m,C,A){return p.resultName=C,y(v.d,l(m),A)},finish:function(m){return y(v.f,m)}},y=function(m,C,A){v.p=p.prev,v.n=p.next;try{return m(C,A)}finally{p.next=v.n}}),p.resultName&&(p[p.resultName]=v.v,p.resultName=void 0),p.sent=v.v,p.next=v.n;try{return E.call(this,p)}finally{v.p=p.prev,v.n=p.next}}}return(e.exports=u=function(){return{wrap:function(y,v,h,m){return i.w(d(y),v,h,m&&m.reverse())},isGeneratorFunction:f,mark:i.m,awrap:function(y,v){return new t(y,v)},AsyncIterator:a,async:function(y,v,h,m,C){return(f(v)?o:n)(d(y),v,h,m,C)},keys:s,values:l}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(gr)),gr.exports}var Sr,U0;function Na(){if(U0)return Sr;U0=1;var e=Ha()();Sr=e;try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}return Sr}var qa=Na();const G=lo(qa);function $a(e){if(Array.isArray(e))return e}function za(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,a,s,l=[],u=!0,i=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);u=!0);}catch(c){i=!0,o=c}finally{try{if(!u&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(i)throw o}}return l}}function kr(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Eo(e,t){if(e){if(typeof e=="string")return kr(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?kr(e,t):void 0}}function Ja(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ct(e,t){return $a(e)||za(e,t)||Eo(e,t)||Ja()}function Ga(e){if(Array.isArray(e))return kr(e)}function Qa(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ya(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ur(e){return Ga(e)||Qa(e)||Eo(e)||Ya()}var ot="data-wujie-id",rr="data-wujie-script-id",mo="data-wujie-Flag",jr="data-container-position-flag",nr="data-container-overflow-flag",n0="data-loading-flag",M0="data-wujie-attach-css-flag",Xa="wujie_iframe",ft="_wujie_all_event",Va="position: fixed; z-index: 2147483647; visibility: hidden; inset: 0px; backface-visibility: hidden;",Za="position: absolute; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index:1;",Ka=`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="30px" viewBox="0 0 24 30">
4
+ <rect x="0" y="13" width="4" height="5" fill="#909090">
5
+ <animate attributeName="height" attributeType="XML" values="5;21;5" begin="0s" dur="0.6s" repeatCount="indefinite"></animate>
6
+ <animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0s" dur="0.6s" repeatCount="indefinite"></animate>
7
+ </rect>
8
+ <rect x="10" y="13" width="4" height="5" fill="#909090">
9
+ <animate attributeName="height" attributeType="XML" values="5;21;5" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate>
10
+ <animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate>
11
+ </rect>
12
+ <rect x="20" y="13" width="4" height="5" fill="#909090">
13
+ <animate attributeName="height" attributeType="XML" values="5;21;5" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate>
14
+ <animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate>
15
+ </rect>
16
+ </svg>`,ei="url参数为空",go="子应用调用reload无法生效",yo="此报错可以忽略,iframe主动中断主应用代码在子应用运行",ti=yo+",详见:https://github.com/Tencent/wujie/issues/54",W0="事件订阅数量为空",ri="window上不存在fetch属性,需要自行polyfill",ni="当前浏览器不支持无界,子应用将采用iframe方式渲染",tt="脚本请求出现错误",Rr="样式请求出现错误",H0="html请求出现错误",N0="无界组件短时间重复渲染了两次,可能存在性能问题请检查代码",oi="目标Script尚未准备好或已经被移除",ai="不支持document.getElementById()传入特殊字符,请参考document.querySelector文档";function be(e){return typeof e=="function"}function ii(e){return e?.toUpperCase()==="LINK"||e?.toUpperCase()==="STYLE"||e?.toUpperCase()==="SCRIPT"||e?.toUpperCase()==="IFRAME"}var bo=window.Proxy&&window.CustomElementRegistry,ci=typeof document.all=="function"&&typeof document.all>"u",q0=new WeakMap,or=function(t){if(q0.has(t))return!0;var r=ci?typeof t=="function"&&typeof t<"u":typeof t=="function";return r&&q0.set(t,r),r},Pr=new WeakMap;function Co(e){if(Pr.has(e))return Pr.get(e);var t=e.name.indexOf("bound ")===0&&!e.hasOwnProperty("prototype");return Pr.set(e,t),t}var Or=new WeakMap;function o0(e){var t=e.prototype&&e.prototype.constructor===e&&Object.getOwnPropertyNames(e.prototype).length>1;if(t)return!0;if(Or.has(e))return Or.get(e);var r=t;if(!r){var n=e.toString(),o=/^function\b\s[A-Z].*/,a=/^class\b/;r=o.test(n)||a.test(n)}return Or.set(e,r),r}var ne=new WeakMap;function si(e,t){or(t)&&!Co(t)&&!o0(t)&&(ne.has(e)?ne.get(e).has(t)||ne.get(e).set(t,t):(ne.set(e,new WeakMap),ne.get(e).set(t,t)))}function Ze(e,t){var r=e[t];if(ne.has(e)&&ne.get(e).has(r))return ne.get(e).get(r);if(or(r)&&!Co(r)&&!o0(r)){var n=Function.prototype.bind.call(r,e);ne.has(e)||ne.set(e,new WeakMap),ne.get(e).set(r,n);for(var o in r)n[o]=r[o];return r.hasOwnProperty("prototype")&&!n.hasOwnProperty("prototype")&&Object.defineProperty(n,"prototype",{value:r.prototype,enumerable:!1,writable:!0}),n}return r}function _o(e){return window.document.querySelector("iframe[".concat(ot,'="').concat(e,'"]'))}function lr(e,t){Object.keys(t).forEach(function(r){e.setAttribute(r,t[r])})}function Ao(e){if(!e)throw xe(ei),new Error;var t=de(e),r=t.protocol+"//"+t.host,n=t.pathname+t.search+t.hash;return n.startsWith("/")||(n="/"+n),{urlElement:t,appHostPath:r,appRoutePath:n}}function de(e){var t=window.document.createElement("a");return t.href=e,t.href=t.href,t}function ze(e){var t=e.search||"";return ur(new URLSearchParams(t).entries()).reduce(function(r,n){return r[n[0]]=n[1],r},{})}function wo(e){var t=ze(de(window.location.href));return Object.keys(t).includes(e)}function je(e,t,r){var n=e.Element.prototype.setAttribute;t.prototype.setAttribute=function(i,c){var g=c;i===r&&(g=Ce(c,this.baseURI||"",!0)),n.call(this,i,g)};var o=Object.getOwnPropertyDescriptor(t.prototype,r),a=o.enumerable,s=o.configurable,l=o.get,u=o.set;Object.defineProperty(t.prototype,r,{enumerable:a,configurable:s,get:function(){return l.call(this)},set:function(c){u.call(this,Ce(c,this.baseURI,!0))}})}function fr(e){var t=e;return t.protocol+"//"+t.host+t.pathname}function Ce(e,t,r){try{return e&&(r&&e.startsWith("#")?e:new URL(e,t).href)}catch{return e}}function ui(e,t){var r,n=de(window.location.href),o=ze(n);n=null;var a=o[e]||"",s=(r=a.match(/^{([^}]*)}/))===null||r===void 0?void 0:r[1];return t&&s?a.replace("{".concat(s,"}"),t[s]):a}var a0=window.requestIdleCallback||function(e){return setTimeout(e,1)};function Bo(e){return typeof e=="string"?document.querySelector(e):e}function K(e,t){var r;(r=console)===null||r===void 0||r.warn("[wujie warn]: ".concat(e),t)}function xe(e,t){var r;(r=console)===null||r===void 0||r.error("[wujie error]: ".concat(e),t)}function Ur(e){var t=e.indexOf(">")+1,r=e.lastIndexOf("<");return e.substring(t,r)}function li(e){if(ue(e)==="object")return"/";try{var t=new URL(e,location.href),r=t.origin,n=t.pathname,o=n.split("/");return o.pop(),"".concat(r).concat(o.join("/"),"/")}catch(a){return console.warn(a),""}}function xr(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return e.reduce(function(a,s){return be(s)?s.apply(void 0,[a].concat(n)):a},t||"")}}function Ke(e){Promise.resolve().then(e)}function oe(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];try{e&&e.length>0&&e.map(function(a){return a[t]}).filter(function(a){return be(a)}).forEach(function(a){return a.apply(void 0,n)})}catch(a){xe(a)}}function dr(e){var t;return((t=e.tagName)===null||t===void 0?void 0:t.toUpperCase())==="SCRIPT"}var fi=1;function Do(e,t){if(dr(e)){var r=t||String(fi++);e.setAttribute(rr,r)}}function Fo(e){return dr(e)?e.getAttribute(rr):null}function So(e,t){return{name:e.name,el:e.el||t?.el,url:e.url||t?.url,html:e.html||t?.html,exec:e.exec!==void 0?e.exec:t?.exec,replace:e.replace||t?.replace,fetch:e.fetch||t?.fetch,props:e.props||t?.props,sync:e.sync!==void 0?e.sync:t?.sync,prefix:e.prefix||t?.prefix,loading:e.loading||t?.loading,attrs:e.attrs!==void 0?e.attrs:t?.attrs||{},degradeAttrs:e.degradeAttrs!==void 0?e.degradeAttrs:t?.degradeAttrs||{},fiber:e.fiber!==void 0?e.fiber:t?.fiber!==void 0?t?.fiber:!0,alive:e.alive!==void 0?e.alive:t?.alive,degrade:e.degrade!==void 0?e.degrade:t?.degrade,plugins:e.plugins||t?.plugins,iframeAddEventListeners:e.iframeAddEventListeners||t?.iframeAddEventListeners||[],iframeOnEvents:e.iframeOnEvents||t?.iframeOnEvents||[],lifecycles:{beforeLoad:e.beforeLoad||t?.beforeLoad,beforeMount:e.beforeMount||t?.beforeMount,afterMount:e.afterMount||t?.afterMount,beforeUnmount:e.beforeUnmount||t?.beforeUnmount,afterUnmount:e.afterUnmount||t?.afterUnmount,activated:e.activated||t?.activated,deactivated:e.deactivated||t?.deactivated,loadError:e.loadError||t?.loadError}}}function xt(e,t,r){var n;typeof window.CustomEvent=="function"?n=new CustomEvent(t,{detail:r}):(n=document.createEvent("CustomEvent"),n.initCustomEvent(t,!0,!1,r)),e.dispatchEvent(n)}function Ro(){throw K(ti),new Error(yo)}var xi=/(<script[\s\S]*?>)[\s\S]*?<\/script>/gi,di=/<(script)\s+((?!type=('|")text\/ng-template\3)[^])*?>[^]*?<\/\1>/i,$0=/.*\ssrc=('|")?([^>'"\s]+)/,vi=/.*\stype=('|")?([^>'"\s]+)/,pi=/.*\sentry\s*.*/,hi=/.*\sasync\s*.*/,Ei=/.*\sdefer\s*.*/,mi=/.*\snomodule\s*.*/,gi=/.*\stype=('|")?module('|")?\s*.*/,yi=/<(link)\s+[^]*?>/gi,bi=/\srel=('|")?(preload|prefetch|modulepreload)\1/,z0=/.*\shref=('|")?([^>'"\s]+)/,Ci=/.*\sas=('|")?font\1.*/,_i=/<style[^>]*>[\s\S]*?<\/style>/gi,Ai=/\s+rel=('|")?stylesheet\1.*/,wi=/.*\shref=('|")?([^>'"\s]+)/,Bi=/<!--([\s\S]*?)-->/g,Di=/<link(\s+|\s+[^]+\s+)ignore(\s*|\s+[^]*|=[^]*)>/i,Fi=/<style(\s+|\s+[^]+\s+)ignore(\s*|\s+[^]*|=[^]*)>/i,Si=/<script(\s+|\s+[^]+\s+)ignore(\s*|\s+[^]*|=[^]*)>/i,Ri=/.*\scrossorigin=?('|")?(use-credentials|anonymous)?('|")?/i;function J0(e){return e.startsWith("//")||e.startsWith("http://")||e.startsWith("https://")}function G0(e,t){return new URL(e,t).toString()}function Pi(e){var t=["text/javascript","module","application/javascript","text/ecmascript","application/ecmascript","importmap"];return!e||t.indexOf(e)!==-1}function De(e){var t=/<[-\w]+\s+([^>]*)>/i,r=t.exec(e);if(!r)return{};for(var n=r[1],o=/([^\s=]+)\s*=\s*(['"])(.*?)\2/g,a={},s;(s=o.exec(n))!==null;){var l=s[1],u=s[3];a[l]=u}return a}function Oi(){var e=window.document.createElement("script");return"noModule"in e}var Mr=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return"<!-- ".concat(r?"prefetch/preload/modulepreload":""," link ").concat(t," replaced by wujie -->")},Po=function(t){return"<!-- inline-style-".concat(t," replaced by wujie -->")},Li=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"<!-- ".concat(r," script ").concat(t," replaced by wujie -->")},Ii="<!-- inline scripts replaced by wujie -->",dt=function(t){return"<!-- ignore asset ".concat(t||"file"," replaced by wujie -->")},Q0=function(t,r){return"<!-- ".concat(r?"nomodule":"module"," script ").concat(t," ignored by wujie -->")};function Ti(e,t,r){var n=[],o=[],a=null,s=Oi(),l=e.replace(Bi,"").replace(yi,function(i){var c=!!i.match(Ai);if(c){var g=i.match(wi),f=i.match(Di);if(g){var x=g&&g[2],d=x;return x&&!J0(x)&&(d=G0(x,t)),f?dt(d):(o.push({src:d}),Mr(d))}}var E=i.match(bi)&&i.match(z0)&&!i.match(Ci);if(E){var p=i.match(z0),y=ct(p,3),v=y[2];return Mr(v,!0)}return i}).replace(_i,function(i){if(Fi.test(i))return dt("style file");var c=Ur(i);return o.push({src:"",content:c}),Po(o.length-1)}).replace(xi,function(i,c){var g=c.match(Si),f=!!c.match(gi),x=c.match(Ri),d=x?.[2]||"",E=s&&!!c.match(mi)||!s&&f,p=c.match(vi),y=p&&p[2];if(!Pi(y))return i;if(di.test(i)&&c.match($0)){var v=c.match(pi),h=c.match($0),m=h&&h[2];if(a&&v)throw new SyntaxError("You should not set multiply entry script!");if(m&&!J0(m)&&(m=G0(m,t)),a=a||v&&m,g)return dt(m||"js file");if(E)return Q0(m||"js file",s);if(m){var C=!!c.match(hi),A=!!c.match(Ei);return n.push(C||A?{async:C,defer:A,src:m,module:f,crossorigin:!!x,crossoriginType:d,attrs:De(i)}:{src:m,module:f,crossorigin:!!x,crossoriginType:d,attrs:De(i)}),Li(m,C&&"async"||A&&"defer"||"")}return i}else{if(g)return dt("js file");if(E)return Q0("js file",s);var _=Ur(i),D=_.split(/[\r\n]+/).every(function(P){return!P.trim()||P.trim().startsWith("//")});return!D&&_&&n.push({src:"",content:_,module:f,crossorigin:!!x,crossoriginType:d,attrs:De(i)}),Ii}}),u={template:l,scripts:n,styles:o,entry:a||n[n.length-1]};return u}function Wr(e){var t=e.plugins,r=e.replace;return function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=arguments.length>2?arguments[2]:void 0;return xr(t.map(function(s){return s.cssLoader}))(r?r(n):n,o,a)}}function ki(e){var t=e.plugins,r=e.replace;return function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=arguments.length>2?arguments[2]:void 0;return xr(t.map(function(s){return s.jsLoader}))(r?r(n):n,o,a)}}function ar(e,t){var r=t.map(function(o){return o[e]}).filter(function(o){return o?.length}),n=r.reduce(function(o,a){return o.concat(a)},[]);return e==="cssBeforeLoaders"?n.reverse():n}function ge(e,t){return t.map(function(r){return r[e]}).filter(function(r){return r?.length}).reduce(function(r,n){return r.concat(n)},[])}function ye(e,t){return t.some(function(r){return typeof r=="string"?e===r:r.test(e)})}function ji(e,t,r){var n=t?Ce(t,r):r,o=/url\((['"]?)((?:[^()]+|\((?:[^()]+|\([^()]*\))*\))*)(\1)\)/g;return e.replace(o,function(a,s,l,u){var i=/^data:/,c=i.test(l);return c?a:"url(".concat(s).concat(Ce(l,n)).concat(u,")")})}var Y0={cssLoader:ji,cssBeforeLoaders:[{content:"html {view-transition-name: none;}"}]};function Oo(e){return Array.isArray(e)?[Y0].concat(ur(e)):[Y0]}function X0(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function He(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?X0(Object(r),!0).forEach(function(n){fe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X0(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Ui={},Lr={},Ir={};if(!window.fetch)throw xe(ri),new Error;var i0=window.fetch.bind(window);function Mi(e){return e}function Lo(e,t,r){return Hr.apply(this,arguments)}function Hr(){return Hr=le(G.mark(function e(t,r,n){var o,a,s,l;return G.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return o=fr(t.proxyLocation),a=xr(t.plugins.map(function(c){return c.cssLoader})),s=n().map(function(c){var g=c.src,f=c.ignore,x=c.contentPromise;return{src:g,ignore:f,contentPromise:x.then(function(d){return a(d,g,o)})}}),i.next=5,Wi(r,s);case 5:return l=i.sent,i.abrupt("return",t.replace?t.replace(l):l);case 7:case"end":return i.stop()}},e)})),Hr.apply(this,arguments)}function Wi(e,t){return Nr.apply(this,arguments)}function Nr(){return Nr=le(G.mark(function e(t,r){var n;return G.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return n=t,a.abrupt("return",Promise.all(r.map(function(s,l){return s.contentPromise.then(function(u){s.src?n=n.replace(Mr(s.src),s.ignore?'<link href="'.concat(s.src,'" rel="stylesheet" type="text/css">'):"<style>/* ".concat(s.src," */").concat(u,"</style>")):u&&(n=n.replace(Po(l),"<style>/* inline-style-".concat(l," */").concat(u,"</style>")))})})).then(function(){return n}));case 2:case"end":return a.stop()}},e)})),Nr.apply(this,arguments)}var Hi=function(t){return t.startsWith("<")},Et=function(t,r,n,o,a){return r[t]||(r[t]=n(t).then(function(s){if(s.status>=400){if(r[t]=null,o)return xe(Rr,{src:t,response:s}),a?.(t,new Error(Rr)),"";throw xe(tt,{src:t,response:s}),a?.(t,new Error(tt)),new Error(tt)}return s.text()}).catch(function(s){return r[t]=null,o?(xe(Rr,t),a?.(t,s),""):(xe(tt,t),a?.(t,s),"")}))};function ir(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i0,r=arguments.length>2?arguments[2]:void 0;return e.map(function(n){var o=n.src,a=n.content,s=n.ignore;return a?{src:"",contentPromise:Promise.resolve(a)}:Hi(o)?{src:"",contentPromise:Promise.resolve(Ur(o))}:{src:o,ignore:s,contentPromise:s?Promise.resolve(""):Et(o,Ui,t,!0,r)}})}function Io(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i0,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;return e.map(function(o){var a=o.src,s=o.async,l=o.defer,u=o.module,i=o.ignore,c=null;return(s||l)&&a&&!u?c=new Promise(function(g,f){return n?a0(function(){return Et(a,Lr,t,!1,r).then(g,f)}):Et(a,Lr,t,!1,r).then(g,f)}):u&&a||i?c=Promise.resolve(""):a?c=Et(a,Lr,t,!1,r):c=Promise.resolve(o.content),u&&!s&&(o.defer=!0),He(He({},o),{},{contentPromise:c})})}function qr(e){var t,r,n=e.url,o=e.opts,a=e.html,s=(t=o.fetch)!==null&&t!==void 0?t:i0,l=(r=o.fiber)!==null&&r!==void 0?r:!0,u=o.plugins,i=o.loadError,c=u?xr(u.map(function(y){return y.htmlLoader})):Mi,g=ge("jsExcludes",u),f=ge("cssExcludes",u),x=ge("jsIgnores",u),d=ge("cssIgnores",u),E=li,p=function(v,h,m){return(h?Promise.resolve(h):s(v).then(function(C){return C.status>=400?(xe(H0,{url:v,response:C}),i?.(v,new Error(H0)),""):C.text()}).catch(function(C){return Ir[v]=null,i?.(v,C),Promise.reject(C)})).then(function(C){var A=E(v),_=Ti(m(C),A),D=_.template,P=_.scripts,b=_.styles;return{template:D,assetPublicPath:A,getExternalScripts:function(){return Io(P.filter(function(F){return!F.src||!ye(F.src,g)}).map(function(F){return He(He({},F),{},{ignore:F.src&&ye(F.src,x)})}),s,i,l)},getExternalStyleSheets:function(){return ir(b.filter(function(F){return!F.src||!ye(F.src,f)}).map(function(F){return He(He({},F),{},{ignore:F.src&&ye(F.src,d)})}),s,i)}}})};return o!=null&&o.plugins.some(function(y){return y.htmlLoader})?p(n,a,c):Ir[n]||(Ir[n]=p(n,a,c))}function c0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ni(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,uo(n.key),n)}}function s0(e,t,r){return t&&Ni(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function qi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $i(e,t){if(t&&(ue(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return qi(e)}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},at(e)}function it(e,t){return it=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},it(e,t)}function zi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&it(e,t)}function Ji(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function To(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(To=function(){return!!e})()}function Gi(e,t,r){if(To())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&it(o,r.prototype),o}function $r(e){var t=typeof Map=="function"?new Map:void 0;return $r=function(n){if(n===null||!Ji(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Gi(n,arguments,at(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),it(o,n)},$r(e)}function V0(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function qe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?V0(Object(r),!0).forEach(function(n){fe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V0(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ae=(function(e){if((e=window.__WUJIE_INJECT)!==null&&e!==void 0&&e.idToSandboxMap)return window.__WUJIE_INJECT.idToSandboxMap;var t=window.__POWERED_BY_WUJIE__?window.__WUJIE.inject.idToSandboxMap:new Map;return window.__WUJIE_INJECT=qe(qe({},window.__WUJIE_INJECT),{},{idToSandboxMap:t}),t})();function pe(e){var t;return((t=ae.get(e))===null||t===void 0?void 0:t.wujie)||null}function ko(e){var t;return((t=ae.get(e))===null||t===void 0?void 0:t.options)||null}function Qi(e,t){var r=ae.get(e);r?ae.set(e,qe(qe({},r),{},{wujie:t})):ae.set(e,{wujie:t})}function Yi(e){var t=ae.get(e);t!=null&&t.options&&ae.set(e,{options:t.options}),ae.delete(e)}function Xi(e,t){var r=ae.get(e);r?ae.set(e,qe(qe({},r),{},{options:t})):ae.set(e,{options:t})}var Q={modifyLocalProperties:["createElement","createTextNode","documentURI","URL","getElementsByTagName","getElementById"],modifyProperties:["createElement","createTextNode","documentURI","URL","getElementsByTagName","getElementsByClassName","getElementsByName","getElementById","querySelector","querySelectorAll","documentElement","scrollingElement","forms","images","links"],shadowProperties:["activeElement","childElementCount","children","firstElementChild","firstChild","fullscreenElement","lastElementChild","pictureInPictureElement","pointerLockElement","styleSheets"],shadowMethods:["append","contains","getSelection","elementFromPoint","elementsFromPoint","getAnimations","replaceChildren"],documentProperties:["characterSet","compatMode","contentType","designMode","dir","doctype","embeds","fullscreenEnabled","hidden","implementation","lastModified","pictureInPictureEnabled","plugins","readyState","referrer","visibilityState","fonts"],documentMethods:["execCommand","caretPositionFromPoint","createRange","exitFullscreen","exitPictureInPicture","getElementsByTagNameNS","hasFocus","prepend"],documentEvents:["onpointerlockchange","onpointerlockerror","onbeforecopy","onbeforecut","onbeforepaste","onfreeze","onresume","onsearch","onfullscreenchange","onfullscreenerror","onsecuritypolicyviolation","onvisibilitychange"],ownerProperties:["head","body"]},Z0=["DOMContentLoaded","readystatechange"],Vi=["onreadystatechange"],K0=["fullscreenchange","fullscreenerror","selectionchange","visibilitychange","wheel","keydown","keypress","keyup"],en=["gotpointercapture","lostpointercapture"],tn=["hashchange","popstate","DOMContentLoaded","load","beforeunload","unload","message","error","unhandledrejection"],Zi=["onload","onbeforeunload","onunload","onerror","onunhandledrejection"],Ki={IMG:"src",A:"href",SOURCE:"src"},ec=["getComputedStyle","visualViewport","matchMedia","DOMParser"],tc=[/animationFrame$/i,/resizeObserver$|mutationObserver$|intersectionObserver$/i,/height$|width$|left$/i,/^screen/i,/CSSStyleSheet$/i,/X$|Y$/],jo=HTMLElement.prototype.appendChild,Uo=HTMLElement.prototype.removeChild,rn=HTMLElement.prototype.contains,rc=HTMLHeadElement.prototype.insertBefore,nc=HTMLBodyElement.prototype.insertBefore,nn=HTMLStyleElement.prototype.insertAdjacentElement,u0=Node.prototype.addEventListener,vr=Node.prototype.removeEventListener,on=window.addEventListener,an=window.removeEventListener,Fe=Node.prototype.appendChild,Se=window.__POWERED_BY_WUJIE__?window.__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR__:Document.prototype.querySelector;function cn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ue(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cn(Object(r),!0).forEach(function(n){fe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oc(e,t){return Object.defineProperties(e,{srcElement:{get:t},target:{get:t}}),e}function vt(e,t){var r=new CustomEvent(t),n=oc(r,function(){return e});be(e["on".concat(t)])?e["on".concat(t)](n):e.dispatchEvent(n)}function we(e,t){if(!(!e.innerHTML||t.degrade)){var r=function(){var o=zo([e.sheet]),a=ct(o,2),s=a[0],l=a[1];s&&t.shadowRoot.head.appendChild(s),l&&t.shadowRoot.host.appendChild(l),e._patcher=void 0};e._patcher&&clearTimeout(e._patcher),e._patcher=setTimeout(r,50)}}function ac(e,t,r,n){var o;if(e._hasPatchStyle)return;var a=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML"),s=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerText"),l=Object.getOwnPropertyDescriptor(Node.prototype,"textContent"),u=(o=e.sheet)===null||o===void 0?void 0:o.insertRule;function i(){u&&(e.sheet.insertRule=function(c,g){return a?e.innerHTML+=c:e.innerText+=c,u.call(e.sheet,c,g)})}i(),a&&Object.defineProperties(e,{innerHTML:{get:function(){return a.get.call(e)},set:function(g){var f=this;a.set.call(e,t(g,"",n)),Ke(function(){return we(f,r)})}}}),Object.defineProperties(e,{innerText:{get:function(){return s.get.call(e)},set:function(g){var f=this;s.set.call(e,t(g,"",n)),Ke(function(){return we(f,r)})}},textContent:{get:function(){return l.get.call(e)},set:function(g){var f=this;l.set.call(e,t(g,"",n)),Ke(function(){return we(f,r)})}},appendChild:{value:function(g){var f=this;if(Ke(function(){return we(f,r)}),g.nodeType===Node.TEXT_NODE){var x=Fe.call(e,e.ownerDocument.createTextNode(t(g.textContent,"",n)));return i(),x}else return Fe(g)}},insertAdjacentElement:{value:function(g,f){if(f.nodeName==="STYLE"){Ke(function(){return we(f,r)});var x=nn.call(this,g,f);return r.styleSheetElements.push(f),x}else return nn.call(this,g,f)}},_hasPatchStyle:{get:function(){return!0}}})}var sn=Promise.resolve();function pt(e){return function(r,n){var o=this,a=r,s=e.rawDOMAppendOrInsertBefore,l=e.wujieId,u=pe(l),i=u.styleSheetElements,c=u.replace,g=u.fetch,f=u.plugins,x=u.iframe,d=u.lifecycles,E=u.proxyLocation,p=u.fiber;if(!ii(a.tagName)||!l){var y=s.call(this,a,n);return ve(a,x.contentWindow),oe(f,"appendOrInsertElementHook",a,x.contentWindow),y}var v=x.contentDocument,h=fr(E);if(a.tagName){var m;switch((m=a.tagName)===null||m===void 0?void 0:m.toUpperCase()){case"LINK":{var C=a,A=C.href,_=C.rel,D=C.type,P=_==="stylesheet"||D==="text/css"||A.endsWith(".css");if(!P){var b=s.call(this,a,n);return oe(f,"appendOrInsertElementHook",a,x.contentWindow),b}A&&!ye(A,ge("cssExcludes",f))&&ir([{src:A,ignore:ye(A,ge("cssIgnores",f))}],g,d.loadError).forEach(function(J){var W=J.src,ee=J.ignore,ie=J.contentPromise;return ie.then(function(Je){var Ae=De(a.outerHTML);if(ee&&W)s.call(o,a,n);else{var V=v.createElement("style"),Z=Wr({plugins:f,replace:c});V.innerHTML=Z(Je,W,h),i.push(V),lr(V,Ae),s.call(o,V,n),we(V,u),vt(a,"load")}a=null},function(){vt(a,"error"),a=null})});var w=v.createComment("dynamic link ".concat(A," replaced by wujie"));return s.call(this,w,n)}case"STYLE":{var F=r;i.push(F);var I=F.innerHTML,M=Wr({plugins:f,replace:c});I&&(F.innerHTML=M(I,"",h));var H=s.call(this,a,n);return ac(F,M,u,h),we(F,u),oe(f,"appendOrInsertElementHook",a,x.contentWindow),H}case"SCRIPT":{Do(a);var R=a,S=R.src,O=R.text,j=R.type,U=R.crossOrigin;if(S&&!ye(S,ge("jsExcludes",f))){var B=function(W){if(u.iframe===null)return K(N0);var ee=function(){vt(a,"load"),a=null};se(Ue(Ue({},W),{},{onload:ee}),u.iframe.contentWindow,a)},L={src:S,module:j==="module",crossorigin:U!==null,crossoriginType:U||"",ignore:ye(S,ge("jsIgnores",f)),attrs:De(a.outerHTML)};Io([L],g,d.loadError,p).forEach(function(J){sn=sn.then(function(){return J.contentPromise.then(function(W){var ee;if(u.execQueue===null)return K(N0);var ie=(ee=u.execQueue)===null||ee===void 0?void 0:ee.length;u.execQueue.push(function(){return p?u.requestIdleCallback(function(){B(Ue(Ue({},J),{},{content:W}))}):B(Ue(Ue({},J),{},{content:W}))}),ie||u.execQueue.shift()()},function(){vt(a,"error"),a=null})})})}else{var k,T=(k=u.execQueue)===null||k===void 0?void 0:k.length;u.execQueue.push(function(){return p?u.requestIdleCallback(function(){se({src:null,content:O,attrs:De(a.outerHTML)},u.iframe.contentWindow,a)}):se({src:null,content:O,attrs:De(a.outerHTML)},u.iframe.contentWindow,a)}),T||u.execQueue.shift()()}var $=v.createComment("dynamic script ".concat(S," replaced by wujie"));return s.call(this,$,n)}case"IFRAME":{if(a.getAttribute(mo)==="")return Fe.call(Se.call(this.ownerDocument,"html"),a);var q=s.call(this,a,n);return oe(f,"appendOrInsertElementHook",a,x.contentWindow),q}}}}}function Mo(e,t){var r=Fo(e),n=pe(t),o=n.iframe,a=o.contentWindow.__WUJIE_RAW_DOCUMENT_HEAD__.querySelector("script[".concat(rr,"='").concat(r,"']"));return a===null&&K(oi,"<script ".concat(rr,"='").concat(r,"'/>")),{targetScript:a,iframe:o}}function un(e){return function(r){var n=r,o=e.rawElementContains,a=e.wujieId;if(n&&dr(n)){var s=Mo(n,a),l=s.targetScript;return l!==null}return o(n)}}function ic(e){return function(r){var n=r,o=e.rawElementRemoveChild,a=e.wujieId;if(n&&dr(n)){var s=Mo(n,a),l=s.targetScript,u=s.iframe;return l!==null?u.contentWindow.__WUJIE_RAW_DOCUMENT_HEAD__.removeChild(l):null}return o(n)}}function ln(e){var t=new Map;e._cacheListeners=t,e.addEventListener=function(r,n,o){var a=t.get(r)||[];return t.set(r,[].concat(ur(a),[n])),u0.call(e,r,n,o)},e.removeEventListener=function(r,n,o){var a=t.get(r),s=a?.indexOf(n);return a!=null&&a.length&&s!==-1&&a.splice(s,1),vr.call(e,r,n,o)}}function fn(e){var t=e._cacheListeners;ur(t.entries()).forEach(function(r){var n=ct(r,2),o=n[0],a=n[1];a.forEach(function(s){return vr.call(e,o,s)})})}function Wo(e,t,r){r||(ln(e.head),ln(e.body)),e.head.appendChild=pt({rawDOMAppendOrInsertBefore:Fe,wujieId:t}),e.head.insertBefore=pt({rawDOMAppendOrInsertBefore:rc,wujieId:t}),e.head.removeChild=ic({rawElementRemoveChild:Uo.bind(e.head),wujieId:t}),e.head.contains=un({rawElementContains:rn.bind(e.head),wujieId:t}),e.contains=un({rawElementContains:rn.bind(e),wujieId:t}),e.body.appendChild=pt({rawDOMAppendOrInsertBefore:Fe,wujieId:t}),e.body.insertBefore=pt({rawDOMAppendOrInsertBefore:nc,wujieId:t})}function xn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function dn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xn(Object(r),!0).forEach(function(n){fe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function cc(e,t,r){return t=at(t),$i(e,Ho()?Reflect.construct(t,r||[],at(e).constructor):t.apply(e,r))}function Ho(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ho=function(){return!!e})()}var sc={":root":":host"};function uc(){var e=window.customElements;if(e&&!(e!=null&&e.get("wujie-app"))){var t=(function(r){function n(){return c0(this,n),cc(this,n,arguments)}return zi(n,r),s0(n,[{key:"connectedCallback",value:function(){if(!this.shadowRoot){var a=this.attachShadow({mode:"open"}),s=pe(this.getAttribute(ot));ve(a,s.iframe.contentWindow),s.shadowRoot=a}}},{key:"disconnectedCallback",value:function(){var a=pe(this.getAttribute(ot));a?.unmount()}}])})($r(HTMLElement));e?.define("wujie-app",t)}}function lc(e){var t=window.document.createElement("wujie-app");return t.setAttribute(ot,e),t.classList.add(Xa),t}function Re(e,t){var r=Bo(t);return r&&!r.contains(e)&&(r.querySelector("div[".concat(n0,"]"))||Be(r),e&&jo.call(r,e)),r}function No(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=dc(e,r),o=Re(n,t),a=n.contentWindow.document;return a.open(),a.write("<!DOCTYPE html><html><head></head><body></body></html>"),a.close(),{iframe:n,container:o}}function qo(e,t){return zr.apply(this,arguments)}function zr(){return zr=le(G.mark(function e(t,r){var n,o,a,s,l,u,i,c;return G.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return n=t.iframe.contentDocument,o=t.plugins,a=t.replace,s=t.proxyLocation,l=Wr({plugins:o,replace:a}),u=ar("cssBeforeLoaders",o),i=ar("cssAfterLoaders",o),c=fr(s),f.next=8,Promise.all([Promise.all(ir(u,t.fetch,t.lifecycles.loadError).map(function(x){var d=x.src,E=x.contentPromise;return E.then(function(p){return{src:d,content:p}})})).then(function(x){x.forEach(function(d){var E=d.src,p=d.content;if(p){var y=n.createElement("style");y.setAttribute("type","text/css"),y.appendChild(n.createTextNode(p&&l(p,E,c)));var v=r.querySelector("head"),h=r.querySelector("body");r.insertBefore(y,v||h||r.firstChild)}})}),Promise.all(ir(i,t.fetch,t.lifecycles.loadError).map(function(x){var d=x.src,E=x.contentPromise;return E.then(function(p){return{src:d,content:p}})})).then(function(x){x.forEach(function(d){var E=d.src,p=d.content;if(p){var y=n.createElement("style");y.setAttribute("type","text/css"),y.appendChild(n.createTextNode(p&&l(p,E,c))),r.appendChild(y)}})})]).then(function(){return r},function(){return r});case 8:return f.abrupt("return",f.sent);case 9:case"end":return f.stop()}},e)})),zr.apply(this,arguments)}function fc(e,t,r){var n=e.querySelector("head"),o=e.querySelector("body");if(n){for(;n.firstChild;)Fe.call(t,n.firstChild.cloneNode(!0)),n.removeChild(n.firstChild);n.parentNode.replaceChild(t,n)}if(o){for(;o.firstChild;)Fe.call(r,o.firstChild.cloneNode(!0)),o.removeChild(o.firstChild);o.parentNode.replaceChild(r,o)}return e}function $o(e,t){var r=e.__WUJIE,n=r.head,o=r.body,a=r.alive,s=r.execFlag,l=e.document,u=new DOMParser,i=u.parseFromString(t,"text/html"),c=i.documentElement,g=c.attributes,f=l.createElement("html");f.innerHTML=t;for(var x=0;x<g.length;x++)f.setAttribute(g[x].name,g[x].value);!a&&s?f=fc(f,n,o):(r.head=f.querySelector("head"),r.body=f.querySelector("body"));for(var d=l.createTreeWalker(f,NodeFilter.SHOW_ELEMENT,null,!1),E=d.currentNode;E;){ve(E,e);var p=Ki[E.tagName],y=E[p];p&&E.setAttribute(p,Ce(y,E.baseURI||"")),E=d.nextNode()}if(!f.querySelector("head")){var v=l.createElement("head");f.appendChild(v)}if(!f.querySelector("body")){var h=l.createElement("body");f.appendChild(h)}return f}function xc(e,t,r){return Jr.apply(this,arguments)}function Jr(){return Jr=le(G.mark(function e(t,r,n){var o,a,s;return G.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return o=$o(r,n),u.next=3,qo(r.__WUJIE,o);case 3:a=u.sent,t.appendChild(a),s=document.createElement("div"),s.setAttribute("style",Va),a.insertBefore(s,a.firstChild),t.head=t.querySelector("head"),t.body=t.querySelector("body"),Object.defineProperty(t.firstChild,"parentNode",{enumerable:!0,configurable:!0,get:function(){return r.document}}),Wo(t,r.__WUJIE.id,!1);case 12:case"end":return u.stop()}},e)})),Jr.apply(this,arguments)}function dc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=document.createElement("iframe"),n="height:100%;width:100%";return lr(r,dn(dn({},t),{},fe({style:[n,t.style].join(";")},ot,e))),r}function vn(e,t,r){return Gr.apply(this,arguments)}function Gr(){return Gr=le(G.mark(function e(t,r,n){var o,a;return G.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return o=$o(r,n),l.next=3,qo(r.__WUJIE,o);case 3:a=l.sent,t.replaceChild(a,t.documentElement),Object.defineProperty(t.documentElement,"parentNode",{enumerable:!0,configurable:!0,get:function(){return r.document}}),Wo(t,r.__WUJIE.id,!0);case 7:case"end":return l.stop()}},e)})),Gr.apply(this,arguments)}function Be(e){for(;e!=null&&e.firstChild;)Uo.call(e,e.firstChild)}function vc(e,t){var r=Bo(e);Be(r);var n=null;try{n=window.getComputedStyle(r)}catch{return}n.position==="static"?(r.setAttribute(jr,n.position),r.setAttribute(nr,n.overflow==="visible"?"":n.overflow),r.style.setProperty("position","relative"),r.style.setProperty("overflow","hidden")):["relative","sticky"].includes(n.position)&&(r.setAttribute(nr,n.overflow==="visible"?"":n.overflow),r.style.setProperty("overflow","hidden"));var o=document.createElement("div");o.setAttribute(n0,""),o.setAttribute("style",Za),t?o.appendChild(t):o.innerHTML=Ka,r.appendChild(o)}function pn(e){var t=e.getAttribute(jr),r=e.getAttribute(nr);t&&e.style.removeProperty("position"),r!==null&&(r?e.style.setProperty("overflow",r):e.style.removeProperty("overflow")),e.removeAttribute(jr),e.removeAttribute(nr);var n=e.querySelector("div[".concat(n0,"]"));n&&e.removeChild(n)}function zo(e){for(var t=[],r=[],n=/:root/g,o=0;o<e.length;o++)for(var a,s,l=(a=(s=e[o])===null||s===void 0?void 0:s.cssRules)!==null&&a!==void 0?a:[],u=0;u<l.length;u++){var i=l[u].cssText;n.test(i)&&t.push(i.replace(n,function(f){return sc[f]})),l[u].type===CSSRule.FONT_FACE_RULE&&r.push(i)}var c=null,g=null;return t.length&&(c=window.document.createElement("style"),c.innerHTML=t.join("")),r.length&&(g=window.document.createElement("style"),g.innerHTML=r.join("")),[c,g]}function $e(e){var t=e.__WUJIE,r=t.sync,n=t.id,o=t.prefix,a=de(window.location.href),s=ze(a);if(!r&&!s[n])return a=null;var l=e.location.pathname+e.location.search+e.location.hash,u="";o&&Object.keys(o).forEach(function(c){var g=o[c];l.startsWith(g)&&(!u||g.length>o[u].length)&&(u=c)}),r?s[n]=window.encodeURIComponent(u?l.replace(o[u],"{".concat(u,"}")):l):delete s[n];var i="?"+Object.keys(s).map(function(c){return c+"="+s[c]}).join("&");a.search=i,a.href!==window.location.href&&window.history.replaceState(null,"",a.href),a=null}function pc(e){var t=e.location,r=t.pathname,n=t.search,o=t.hash,a=e.__WUJIE,s=a.id,l=a.url,u=a.sync,i=a.execFlag,c=a.prefix,g=a.inject,f=u&&!i?ui(s,c):l,x=(/^http/.test(f)?null:f)||l,d=Ao(x),E=d.appRoutePath,p=r+n+o;p!==E&&e.history.replaceState(null,"",g.mainHostPath+E)}function hc(){var e=de(window.location.href),t=ze(e);Object.keys(t).forEach(function(n){var o=pe(n);o&&o.execFlag&&o.sync&&!o.hrefFlag&&!o.activeFlag&&delete t[n]});var r="?"+Object.keys(t).map(function(n){return n+"="+window.decodeURIComponent(t[n])}).join("&");e.search=r,e.href!==window.location.href&&window.history.replaceState(null,"",e.href),e=null}function Ec(e,t){var r=de(window.location.href),n=ze(r);n[e]=window.encodeURIComponent(t);var o="?"+Object.keys(n).map(function(a){return a+"="+n[a]}).join("&");r.search=o,window.history.pushState(null,"",r.href),r=null}function mc(){window.addEventListener("popstate",function(){var e=de(window.location.href),t=ze(e);e=null,Object.keys(t).map(function(r){return pe(r)}).filter(function(r){return r}).forEach(function(r){var n=t[r.id],o=Se.call(r.iframe.contentDocument,"body");if(/http/.test(n))r.degrade?(Re(r.document.documentElement,o),sr(window.decodeURIComponent(n),_o(r.id).parentElement,r.degradeAttrs)):sr(window.decodeURIComponent(n),r.shadowRoot.host.parentElement,r.degradeAttrs),r.hrefFlag=!0;else if(r.hrefFlag){if(r.degrade){var a=No(r.id,r.el,r.degradeAttrs),s=a.iframe;Jo(s.contentWindow,r.iframe.contentWindow),s.contentWindow.onunload=function(){r.unmount()},s.contentDocument.appendChild(o.firstElementChild),r.document=s.contentDocument}else Re(r.shadowRoot.host,r.el);r.hrefFlag=!1}})})}function hn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function cr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hn(Object(r),!0).forEach(function(n){fe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function gc(e){e.__WUJIE_EVENTLISTENER__=e.__WUJIE_EVENTLISTENER__||new Set,e.addEventListener=function(r,n,o){if(oe(e.__WUJIE.plugins,"windowAddEventListenerHook",e,r,n,o),e.__WUJIE_EVENTLISTENER__.add({type:r,listener:n,options:o}),tn.concat(e.__WUJIE.iframeAddEventListeners).includes(r)||ue(o)==="object"&&o.targetWindow){var a=ue(o)==="object"&&o.targetWindow?o?.targetWindow:e;return on.call(a,r,n,o)}on.call(window.__WUJIE_RAW_WINDOW__||window,r,n,o)},e.removeEventListener=function(r,n,o){if(oe(e.__WUJIE.plugins,"windowRemoveEventListenerHook",e,r,n,o),e.__WUJIE_EVENTLISTENER__.forEach(function(s){s.listener===n&&s.type===r&&o==s.options&&e.__WUJIE_EVENTLISTENER__.delete(s)}),tn.concat(e.__WUJIE.iframeAddEventListeners).includes(r)||ue(o)==="object"&&o.targetWindow){var a=ue(o)==="object"&&o.targetWindow?o?.targetWindow:e;return an.call(a,r,n,o)}an.call(window.__WUJIE_RAW_WINDOW__||window,r,n,o)}}function En(e,t,r){e.__WUJIE=t,e.__WUJIE_PUBLIC_PATH__=r+"/",e.$wujie=t.provide,e.__WUJIE_RAW_WINDOW__=e}function yc(e,t,r){var n=e.history,o=n.pushState,a=n.replaceState;n.pushState=function(s,l,u){var i=r+e.location.pathname+e.location.search+e.location.hash,c=Ce(u?.replace(t,""),i),g=u===void 0;o.call(n,s,l,g?void 0:c),!g&&(mn(e,t,r),$e(e))},n.replaceState=function(s,l,u){var i=r+e.location.pathname+e.location.search+e.location.hash,c=Ce(u?.replace(t,""),i),g=u===void 0;a.call(n,s,l,g?void 0:c),!g&&(mn(e,t,r),$e(e))}}function mn(e,t,r){var n,o=new URL((n=e.location.href)===null||n===void 0?void 0:n.replace(r,""),t),a=Se.call(e.document,"base");a&&a.setAttribute("href",t+o.pathname)}function bc(e){function t(n){var o=e[n];try{return typeof o=="function"&&!o0(o)?e[n]=window[n].bind(window):e[n]=window[n],!0}catch(a){return K(a.message),!1}}Object.getOwnPropertyNames(e).forEach(function(n){if(n==="getSelection"){Object.defineProperty(e,n,{get:function(){return e.document[n]}});return}if(ec.includes(n)){t(n);return}tc.some(function(o){return o.test(n)&&n in e.parent?t(n):!1})});var r=Object.getOwnPropertyNames(window).filter(function(n){return/^on/.test(n)}).filter(function(n){return!Zi.concat(e.__WUJIE.iframeOnEvents).includes(n)});r.forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n)||{enumerable:!0,writable:!0};try{Object.defineProperty(e,n,{enumerable:o.enumerable,configurable:!0,get:function(){return window[n]},set:o.writable||o.set?function(a){window[n]=typeof a=="function"?a.bind(e):a}:void 0})}catch(a){K(a.message)}}),oe(e.__WUJIE.plugins,"windowPropertyOverride",e)}function Cc(e){var t=e.__WUJIE;e.Node.prototype.addEventListener=function(r,n,o){var a=t.elementEventCacheMap.get(this);return a?a.find(function(s){return s.type===r&&s.handler===n})||a.push({type:r,handler:n,options:o}):t.elementEventCacheMap.set(this,[{type:r,handler:n,options:o}]),u0.call(this,r,n,o)},e.Node.prototype.removeEventListener=function(r,n,o){var a=t.elementEventCacheMap.get(this);if(a){var s=a?.findIndex(function(l){return l.type===r&&l.handler===n});a.splice(s,1)}return a!=null&&a.length||t.elementEventCacheMap.delete(this),vr.call(this,r,n,o)}}function _c(e,t){for(var r=t.__WUJIE,n=new WeakMap,o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,null,!1),a=o.currentNode;a;){var s=r.elementEventCacheMap.get(a);s!=null&&s.length&&(n.set(a,s),s.forEach(function(l){a.addEventListener(l.type,l.handler,l.options)})),a=o.nextNode()}r.elementEventCacheMap=n}function Ac(e,t,r){var n=r.__WUJIE,o=new WeakMap,a=n.elementEventCacheMap.get(e);a!=null&&a.length&&(o.set(t,a),a.forEach(function(s){t.addEventListener(s.type,s.handler,s.options)})),n.elementEventCacheMap=o}function Jo(e,t){Object.defineProperty(e.Event.prototype,"timeStamp",{get:function(){return t.document.createEvent("Event").timeStamp}})}function wc(e){var t=e.__WUJIE,r=new WeakMap,n=new WeakMap;e.Document.prototype.addEventListener=function(x,d,E){if(d){var p=r.get(d),y=n.get(d);if(p||(p=typeof d=="function"?d.bind(this):d,r.set(d,p)),y?y.includes(x)||y.push(x):n.set(d,[x]),oe(e.__WUJIE.plugins,"documentAddEventListenerHook",e,x,p,E),Z0.includes(x))return u0.call(this,x,p,E);if(t.degrade)return t.document.addEventListener(x,p,E);if(K0.includes(x))return window.document.addEventListener(x,p,E);if(en.includes(x)){window.document.addEventListener(x,p,E),t.shadowRoot.addEventListener(x,p,E);return}t.shadowRoot.addEventListener(x,p,E)}},e.Document.prototype.removeEventListener=function(x,d,E){var p=r.get(d),y=n.get(d);if(p){if(y!=null&&y.includes(x)&&(y.splice(y.indexOf(x),1),y.length||(r.delete(d),n.delete(d))),oe(e.__WUJIE.plugins,"documentRemoveEventListenerHook",e,x,p,E),Z0.includes(x))return vr.call(this,x,p,E);if(t.degrade)return t.document.removeEventListener(x,p,E);if(K0.includes(x))return window.document.removeEventListener(x,p,E);if(en.includes(x)){window.document.removeEventListener(x,p,E),t.shadowRoot.removeEventListener(x,p,E);return}t.shadowRoot.removeEventListener(x,p,E)}};var o=Object.keys(e.HTMLElement.prototype).filter(function(x){return/^on/.test(x)}),a=Object.keys(e.Document.prototype).filter(function(x){return/^on/.test(x)}).filter(function(x){return!Vi.includes(x)});o.filter(function(x){return a.includes(x)}).forEach(function(x){var d=Object.getOwnPropertyDescriptor(e.Document.prototype,x)||{enumerable:!0,writable:!0};try{Object.defineProperty(e.Document.prototype,x,{enumerable:d.enumerable,configurable:!0,get:function(){return t.degrade?t.document[x]:t.shadowRoot.firstElementChild[x]},set:d.writable||d.set?function(E){var p=typeof E=="function"?E.bind(e.document):E;t.degrade?t.document[x]=p:t.shadowRoot.firstElementChild[x]=p}:void 0})}catch(E){K(E.message)}});var s=Q.ownerProperties,l=Q.modifyProperties,u=Q.shadowProperties,i=Q.shadowMethods,c=Q.documentProperties,g=Q.documentMethods,f=Q.documentEvents;l.concat(u,i,c,g).forEach(function(x){var d=Object.getOwnPropertyDescriptor(e.Document.prototype,x)||{enumerable:!0,writable:!0};try{Object.defineProperty(e.Document.prototype,x,{enumerable:d.enumerable,configurable:!0,get:function(){return t.proxyDocument[x]},set:void 0})}catch(E){K(E.message)}}),f.forEach(function(x){var d=Object.getOwnPropertyDescriptor(e.Document.prototype,x)||{enumerable:!0,writable:!0};try{Object.defineProperty(e.Document.prototype,x,{enumerable:d.enumerable,configurable:!0,get:function(){return(t.degrade?t:window).document[x]},set:d.writable||d.set?function(E){(t.degrade?t:window).document.removeEventListener(x,r.get(E)),(t.degrade?t:window).document.addEventListener(x,typeof E=="function"?E.bind(e.document):E),r.set(E,E.bind(e.document))}:void 0})}catch(E){K(E.message)}}),s.forEach(function(x){Object.defineProperty(e.document,x,{enumerable:!0,configurable:!0,get:function(){return t.proxyDocument[x]},set:void 0})}),oe(e.__WUJIE.plugins,"documentPropertyOverride",e)}function Bc(e){var t=e.Node.prototype.getRootNode,r=e.Node.prototype.appendChild,n=e.Node.prototype.insertBefore,o=e.Node.prototype.removeChild;e.Node.prototype.getRootNode=function(a){var s=t.call(this,a);return s===e.__WUJIE.shadowRoot?e.document:s},e.Node.prototype.appendChild=function(a){var s=r.call(this,a);return ve(a,e),s},e.Node.prototype.insertBefore=function(a,s){var l=n.call(this,a,s);return ve(a,e),l},e.Node.prototype.removeChild=function(a){var s;try{s=o.call(this,a)}catch{var l;console.warn("Failed to removeChild: ".concat(a.nodeName.toLowerCase()," is not a child of ").concat(this.nodeName.toLowerCase(),", try again with parentNode attribute. ")),a.isConnected&&be((l=a.parentNode)===null||l===void 0?void 0:l.removeChild)&&a.parentNode.removeChild(a)}return ve(a,e),s}}function Dc(e){je(e,e.HTMLImageElement,"src"),je(e,e.HTMLAnchorElement,"href"),je(e,e.HTMLSourceElement,"src"),je(e,e.HTMLLinkElement,"href"),je(e,e.HTMLScriptElement,"src"),je(e,e.HTMLMediaElement,"src")}function Fc(e,t){var r=e.document,n=r.createElement("base"),o=de(e.location.href),a=de(t);n.setAttribute("href",a.protocol+"//"+a.host+o.pathname),r.head.appendChild(n)}function Sc(e,t,r,n){var o=e.document,a=window.document.implementation.createHTMLDocument(""),s=o.importNode(a.documentElement,!0);o.documentElement?o.replaceChild(s,o.documentElement):o.appendChild(s),e.__WUJIE_RAW_DOCUMENT_HEAD__=o.head,e.__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR__=e.Document.prototype.querySelector,e.__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR_ALL__=e.Document.prototype.querySelectorAll,e.__WUJIE_RAW_DOCUMENT_CREATE_ELEMENT__=e.Document.prototype.createElement,e.__WUJIE_RAW_DOCUMENT_CREATE_TEXT_NODE__=e.Document.prototype.createTextNode,Fc(e,t.url),yc(e,n,r),gc(e),t.degrade&&Cc(e),Rc(e),bc(e),wc(e),Bc(e),Dc(e)}function Go(e,t){var r=e.contentWindow,n=r.document,o=Date.now()+5e3;return new Promise(function(a){function s(){setTimeout(function(){var l;try{l=r.document}catch{l=null}if((!l||l==n)&&Date.now()<o){s();return}if(t){var u=r.location.href;l.open(),l.close();var i=Date.now()+1e3,c=function(){if(Date.now()>i){Lc(),e.src=t.mainHostPath,Go(e,!1).then(a);return}r.location.href===u?setTimeout(c,1):a()};c();return}r.stop?r.stop():l.execCommand("Stop"),a()},1)}s()})}function ve(e,t){var r=t.__WUJIE.proxyLocation;if(!e._hasPatch){try{Object.defineProperties(e,{baseURI:{configurable:!0,get:function(){return r.protocol+"//"+r.host+r.pathname},set:void 0},ownerDocument:{configurable:!0,get:function(){return t.document}},_hasPatch:{get:function(){return!0}}})}catch(n){console.warn(n)}oe(t.__WUJIE.plugins,"patchElementHook",e,t)}}function Rc(e){e.addEventListener("hashchange",function(){return $e(e)}),e.addEventListener("popstate",function(){$e(e)})}function se(e,t,r){var n=e,o=n.src,a=n.module,s=n.content,l=n.crossorigin,u=n.crossoriginType,i=n.async,c=n.attrs,g=n.callback,f=n.onload,x=t.document.createElement("script"),d=t.document.createElement("script"),E=t.__WUJIE,p=E.replace,y=E.plugins,v=E.proxyLocation,h=ki({plugins:y,replace:p}),m=h(s,o,fr(v));if(c&&Object.keys(c).filter(function(b){return!Object.keys(e).includes(b)}).forEach(function(b){return x.setAttribute(b,String(c[b]))}),s){!t.__WUJIE.degrade&&!a&&c?.type!=="importmap"&&(m=`(function(window, self, global, location) {
17
+ `.concat(m,`
18
+ }).bind(window.__WUJIE.proxy)(
19
+ window.__WUJIE.proxy,
20
+ window.__WUJIE.proxy,
21
+ window.__WUJIE.proxy,
22
+ window.__WUJIE.proxyLocation,
23
+ );`));var C=Object.getOwnPropertyDescriptor(x,"src");if(C!=null&&C.configurable||!C)try{Object.defineProperty(x,"src",{get:function(){return o||""}})}catch(b){console.warn(b)}}else o&&x.setAttribute("src",o),l&&x.setAttribute("crossorigin",u);a&&x.setAttribute("type","module"),x.textContent=m||"",d.textContent="if(window.__WUJIE.execQueue && window.__WUJIE.execQueue.length){ window.__WUJIE.execQueue.shift()()}";var A=Se.call(t.document,"head"),_=function(){return!i&&A.appendChild(d)},D=function(){f?.(),_()};if(/^<!DOCTYPE html/i.test(m))return xe(tt,e),_();r&&Do(x,Fo(r));var P=!s&&o;P&&(x.onload=D,x.onerror=D),A.appendChild(x),g?.(t),oe(y,"appendOrInsertElementHook",x,t,r),!P&&D()}function sr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=window.document.createElement("iframe"),o="height:100%;width:100%";lr(n,cr(cr({},r),{},{src:e,style:[o,r.style].join(";")})),Re(n,t)}var Pc=(function(){var e="wujie:disableSandboxEmptyPageURL",t=!1;try{t=localStorage.getItem(e)==="true"}catch{}if(t||typeof URL>"u"||typeof URL.createObjectURL!="function")return[function(){return""},function(){}];var r="",n=function(){if(t)return"";if(r)return r;var s=new Blob(["<!DOCTYPE html><html><head></head><body></body></html>"],{type:"text/html"});return r=URL.createObjectURL(s),r},o=function(){t=!0;try{localStorage.setItem(e,"true")}catch{}};return[n,o]})(),Qo=ct(Pc,2),Oc=Qo[0],Lc=Qo[1];function Ic(e,t,r,n,o){var a=t&&t.src,s=!1;a||(a=Oc(),s=!!a,a||(a=r));var l=window.document.createElement("iframe"),u=cr(cr({style:"display: none"},t),{},fe({src:a,name:e.id},mo,""));lr(l,u),window.document.body.appendChild(l);var i=l.contentWindow;return En(i,e,n),e.iframeReady=Go(l,s&&{mainHostPath:r}).then(function(){i.__WUJIE||En(i,e,n),Sc(i,e,r,n),wo(i.__WUJIE.id)||i.history.replaceState(null,"",r+o)}),l}function Yo(e,t,r){var n=e.contentWindow.__WUJIE,o=n.shadowRoot,a=n.id,s=n.degrade,l=n.document,u=n.degradeAttrs,i=t;if(!/^http/.test(i)){var c=de(i);i=r+c.pathname+c.search+c.hash,c=null}if(e.contentWindow.__WUJIE.hrefFlag=!0,s){var g=Se.call(e.contentDocument,"body");Re(l.documentElement,g),sr(window.decodeURIComponent(i),_o(a).parentElement,u)}else sr(i,o.host.parentElement,u);return Ec(a,i),!0}function Tc(e,t,r,n){var o=new Proxy(e.contentWindow,{get:function(u,i){if(i==="location")return u.__WUJIE.proxyLocation;if(i==="self"||i==="window"&&Object.getOwnPropertyDescriptor(window,"window").get)return u.__WUJIE.proxy;if(i==="__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR__"||i==="__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR_ALL__")return u[i];var c=Object.getOwnPropertyDescriptor(u,i);return c?.configurable===!1&&c?.writable===!1?u[i]:Ze(u,i)},set:function(u,i,c){return si(u,c),u[i]=c,!0},has:function(u,i){return i in u}}),a=new Proxy({},{get:function(u,i){var c=window.document,g=e.contentWindow.__WUJIE,f=g.shadowRoot,x=g.proxyLocation;f||Ro();var d=e.contentWindow.__WUJIE_RAW_DOCUMENT_CREATE_ELEMENT__,E=e.contentWindow.__WUJIE_RAW_DOCUMENT_CREATE_TEXT_NODE__;if(i==="createElement"||i==="createTextNode")return new Proxy(c[i],{apply:function(D,P,b){var w=i==="createElement"?d:E,F=w.apply(e.contentDocument,b);return ve(F,e.contentWindow),F}});if(i==="documentURI"||i==="URL")return x.href;if(i==="getElementsByTagName"||i==="getElementsByClassName"||i==="getElementsByName")return new Proxy(f.querySelectorAll,{apply:function(D,P,b){var w=b[0];if(P!==e.contentDocument)return P[i].apply(P,b);if(i==="getElementsByTagName"&&w==="script")return e.contentDocument.scripts;i==="getElementsByClassName"&&(w="."+w),i==="getElementsByName"&&(w='[name="'.concat(w,'"]'));var F;try{F=D.call(f,w)}catch{F=[]}return F}});if(i==="getElementById")return new Proxy(f.querySelector,{apply:function(D,P,b){if(P!==e.contentDocument){var w;return(w=P[i])===null||w===void 0?void 0:w.apply(P,b)}try{return D.call(f,'[id="'.concat(b[0],'"]'))||e.contentWindow.__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR__.call(e.contentWindow.document,"#".concat(b[0]))}catch{return K(ai),null}}});if(i==="querySelector"||i==="querySelectorAll"){var p={querySelector:"__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR__",querySelectorAll:"__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR_ALL__"};return new Proxy(f[i],{apply:function(D,P,b){if(P!==e.contentDocument){var w;return(w=P[i])===null||w===void 0?void 0:w.apply(P,b)}return D.apply(f,b)||(b[0]==="base"?null:e.contentWindow[p[i]].call(e.contentWindow.document,b[0]))}})}if(i==="documentElement"||i==="scrollingElement")return f.firstElementChild;if(i==="forms")return f.querySelectorAll("form");if(i==="images")return f.querySelectorAll("img");if(i==="links")return f.querySelectorAll("a");var y=Q.ownerProperties,v=Q.shadowProperties,h=Q.shadowMethods,m=Q.documentProperties,C=Q.documentMethods;if(y.concat(v).includes(i.toString()))return i==="activeElement"&&f.activeElement===null?f.body:f[i];if(h.includes(i.toString())){var A;return(A=Ze(f,i))!==null&&A!==void 0?A:Ze(c,i)}if(m.includes(i.toString()))return c[i];if(C.includes(i.toString()))return Ze(c,i)}}),s=new Proxy({},{get:function(u,i){var c=e.contentWindow.location;return i==="host"||i==="hostname"||i==="protocol"||i==="port"||i==="origin"?t[i]:i==="href"?c[i].replace(r,n):i==="reload"?(K(go),function(){return null}):i==="replace"?new Proxy(c[i],{apply:function(f,x,d){var E;return f.call(c,(E=d[0])===null||E===void 0?void 0:E.replace(n,r))}}):Ze(c,i)},set:function(u,i,c){return i==="href"?Yo(e,c,n):(e.contentWindow.location[i]=c,!0)},ownKeys:function(){return Object.keys(e.contentWindow.location).filter(function(u){return u!=="reload"})},getOwnPropertyDescriptor:function(u,i){return{enumerable:!0,configurable:!0,value:this[i]}}});return{proxyWindow:o,proxyDocument:a,proxyLocation:s}}function kc(e,t,r,n){var o={},a=e.contentWindow.__WUJIE;Object.defineProperties(o,{createElement:{get:function(){return function(){for(var v=arguments.length,h=new Array(v),m=0;m<v;m++)h[m]=arguments[m];var C=e.contentWindow.__WUJIE_RAW_DOCUMENT_CREATE_ELEMENT__.apply(e.contentDocument,h);return ve(C,e.contentWindow),C}}},createTextNode:{get:function(){return function(){for(var v=arguments.length,h=new Array(v),m=0;m<v;m++)h[m]=arguments[m];var C=e.contentWindow.__WUJIE_RAW_DOCUMENT_CREATE_TEXT_NODE__.apply(e.contentDocument,h);return ve(C,e.contentWindow),C}}},documentURI:{get:function(){return a.proxyLocation.href}},URL:{get:function(){return a.proxyLocation.href}},getElementsByTagName:{get:function(){return function(){var v=arguments.length<=0?void 0:arguments[0];return v==="script"?e.contentDocument.scripts:a.document.getElementsByTagName(v)}}},getElementById:{get:function(){return function(){var v=arguments.length<=0?void 0:arguments[0];return a.document.getElementById(v)||e.contentWindow.__WUJIE_RAW_DOCUMENT_HEAD__.querySelector("#".concat(v))}}}});var s=Q.modifyLocalProperties,l=Q.modifyProperties,u=Q.ownerProperties,i=Q.shadowProperties,c=Q.shadowMethods,g=Q.documentProperties,f=Q.documentMethods;l.filter(function(y){return!s.includes(y)}).concat(u,i,c,g,f).forEach(function(y){Object.defineProperty(o,y,{get:function(){var h,m=(h=a.document)===null||h===void 0?void 0:h[y];return or(m)?m.bind(a.document):m}})});var x={},d=e.contentWindow.location,E=Object.keys(d),p=["host","hostname","port","protocol","port"];return p.forEach(function(y){x[y]=t[y]}),Object.defineProperties(x,{href:{get:function(){return d.href.replace(r,n)},set:function(v){Yo(e,v,n)}},reload:{get:function(){return K(go),function(){return null}}}}),E.filter(function(y){return!p.concat(["href","reload"]).includes(y)}).forEach(function(y){Object.defineProperty(x,y,{get:function(){return or(d[y])?d[y].bind(d):d[y]}})}),{proxyDocument:o,proxyLocation:x}}function gn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function yn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gn(Object(r),!0).forEach(function(n){fe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var We=(function(e){if((e=window.__WUJIE_INJECT)!==null&&e!==void 0&&e.appEventObjMap)return window.__WUJIE_INJECT.appEventObjMap;var t=window.__POWERED_BY_WUJIE__?window.__WUJIE.inject.appEventObjMap:new Map;return window.__WUJIE_INJECT=yn(yn({},window.__WUJIE_INJECT),{},{appEventObjMap:t}),t})(),Xo=(function(){function e(t){c0(this,e),this.id=t,this.$clear(),We.get(this.id)||We.set(this.id,{}),this.eventObj=We.get(this.id)}return s0(e,[{key:"$on",value:function(r,n){var o=this.eventObj[r];return o?(o.includes(n)||o.push(n),this):(this.eventObj[r]=[n],this)}},{key:"$onAll",value:function(r){return this.$on(ft,r)}},{key:"$once",value:function(r,n){var o=(function(){this.$off(r,o),n.apply(void 0,arguments)}).bind(this);this.$on(r,o)}},{key:"$off",value:function(r,n){var o=this.eventObj[r];if(!r||!o||!o.length)return K("".concat(r," ").concat(W0)),this;for(var a,s=o.length;s--;)if(a=o[s],a===n){o.splice(s,1);break}return this}},{key:"$offAll",value:function(r){return this.$off(ft,r)}},{key:"$emit",value:function(r){var n=[],o=[];if(We.forEach(function(d){d[r]&&(n=n.concat(d[r])),d[ft]&&(o=o.concat(d[ft]))}),!r||n.length===0&&o.length===0)K("".concat(r," ").concat(W0));else try{for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];for(var u=0,i=n.length;u<i;u++){var c;(c=n)[u].apply(c,s)}for(var g=0,f=o.length;g<f;g++){var x;(x=o)[g].apply(x,[r].concat(s))}}catch(d){xe(d)}return this}},{key:"$clear",value:function(){var r,n=(r=We.get(this.id))!==null&&r!==void 0?r:{},o=Object.keys(n);return o.forEach(function(a){return delete n[a]}),this}}])})();function bn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function me(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?bn(Object(r),!0).forEach(function(n){fe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Vo=(function(){function e(t){c0(this,e),fe(this,"elementEventCacheMap",new WeakMap),window.__POWERED_BY_WUJIE__?this.inject=window.__WUJIE.inject:this.inject={idToSandboxMap:ae,appEventObjMap:We,mainHostPath:window.location.protocol+"//"+window.location.host};var r=t.name,n=t.url,o=t.attrs,a=t.fiber,s=t.degradeAttrs,l=t.degrade,u=t.lifecycles,i=t.plugins;this.id=r,this.fiber=a,this.degrade=l||!bo,this.bus=new Xo(this.id),this.url=n,this.degradeAttrs=s,this.provide={bus:this.bus},this.styleSheetElements=[],this.execQueue=[],this.lifecycles=u,this.plugins=Oo(i),this.iframeAddEventListeners=t.iframeAddEventListeners,this.iframeOnEvents=t.iframeOnEvents;var c=Ao(n),g=c.urlElement,f=c.appHostPath,x=c.appRoutePath,d=this.inject.mainHostPath;if(this.iframe=Ic(this,o,d,f,x),this.degrade){var E=kc(this.iframe,g,d,f),p=E.proxyDocument,y=E.proxyLocation;this.proxyDocument=p,this.proxyLocation=y}else{var v=Tc(this.iframe,g,d,f),h=v.proxyWindow,m=v.proxyDocument,C=v.proxyLocation;this.proxy=h,this.proxyDocument=m,this.proxyLocation=C}this.provide.location=this.proxyLocation,Qi(this.id,this)}return s0(e,[{key:"active",value:(function(){var t=le(G.mark(function n(o){var a=this,s,l,u,i,c,g,f,x,d,E,p,y,v,h,m,C;return G.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return s=o.sync,l=o.url,u=o.el,i=o.template,c=o.props,g=o.alive,f=o.prefix,x=o.fetch,d=o.replace,this.url=l,this.sync=s,this.alive=g,this.hrefFlag=!1,this.prefix=f??this.prefix,this.replace=d??this.replace,this.provide.props=c??this.provide.props,this.activeFlag=!0,_.next=11,this.iframeReady;case 11:if(E=this.iframe.contentWindow,p=x?function(D,P){return x(typeof D=="string"?Ce(D,a.proxyLocation.href):D,P)}:this.fetch,p&&(E.fetch=p,this.fetch=p),this.execFlag&&this.alive||pc(E),$e(E),this.template=i??this.template,!this.degrade){_.next=38;break}if(y=Se.call(E.document,"body"),v=No(this.id,u??y,this.degradeAttrs),h=v.iframe,m=v.container,this.el=m,u&&Be(y),Jo(h.contentWindow,E),h.contentWindow.onunload=function(){a.unmount()},!this.document){_.next=34;break}if(!this.alive){_.next=29;break}h.contentDocument.replaceChild(this.document.documentElement,h.contentDocument.documentElement),_c(h.contentDocument.documentElement,E),_.next=32;break;case 29:return _.next=31,vn(h.contentDocument,this.iframe.contentWindow,this.template);case 31:Ac(this.document.documentElement,h.contentDocument.documentElement,E);case 32:_.next=36;break;case 34:return _.next=36,vn(h.contentDocument,this.iframe.contentWindow,this.template);case 36:return this.document=h.contentDocument,_.abrupt("return");case 38:if(!this.shadowRoot){_.next=44;break}if(this.el=Re(this.shadowRoot.host,u),!this.alive){_.next=42;break}return _.abrupt("return");case 42:_.next=46;break;case 44:C=Se.call(E.document,"body"),this.el=Re(lc(this.id),u??C);case 46:return _.next=48,xc(this.shadowRoot,E,this.template);case 48:this.patchCssRules(),this.provide.shadowRoot=this.shadowRoot;case 50:case"end":return _.stop()}},n,this)}));function r(n){return t.apply(this,arguments)}return r})()},{key:"requestIdleCallback",value:function(r){var n=this;return a0(function(){n.iframe&&r.apply(n)})}},{key:"start",value:(function(){var t=le(G.mark(function n(o){var a=this,s,l,u,i,c,g,f,x,d;return G.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return this.execFlag=!0,p.next=3,o();case 3:if(s=p.sent,this.iframe){p.next=6;break}return p.abrupt("return");case 6:return l=this.iframe.contentWindow,l.__POWERED_BY_WUJIE__=!0,u=ar("jsBeforeLoaders",this.plugins),i=ar("jsAfterLoaders",this.plugins),c=[],g=[],f=[],s.forEach(function(y){y.defer?f.push(y):y.async?g.push(y):c.push(y)}),u.forEach(function(y){a.execQueue.push(function(){return a.fiber?a.requestIdleCallback(function(){return se(y,l)}):se(y,l)})}),c.concat(f).forEach(function(y){a.execQueue.push(function(){return y.contentPromise.then(function(v){return a.fiber?a.requestIdleCallback(function(){return se(me(me({},y),{},{content:v}),l)}):se(me(me({},y),{},{content:v}),l)})})}),g.forEach(function(y){y.contentPromise.then(function(v){a.fiber?a.requestIdleCallback(function(){return se(me(me({},y),{},{content:v}),l)}):se(me(me({},y),{},{content:v}),l)})}),this.execQueue.push(this.fiber?function(){return a.requestIdleCallback(function(){return a.mount()})}:function(){return a.mount()}),x=function(){var v;xt(l.document,"DOMContentLoaded"),xt(l,"DOMContentLoaded"),(v=a.execQueue.shift())===null||v===void 0||v()},this.execQueue.push(this.fiber?function(){return a.requestIdleCallback(x)}:x),i.forEach(function(y){a.execQueue.push(function(){return a.fiber?a.requestIdleCallback(function(){return se(y,l)}):se(y,l)})}),d=function(){var v;xt(l.document,"readystatechange"),xt(l,"load"),(v=a.execQueue.shift())===null||v===void 0||v()},this.execQueue.push(this.fiber?function(){return a.requestIdleCallback(d)}:d),(this.alive||!be(this.iframe.contentWindow.__WUJIE_UNMOUNT))&&pn(this.el),this.execQueue.shift()(),p.abrupt("return",new Promise(function(y){a.execQueue.push(function(){var v;y(),(v=a.execQueue.shift())===null||v===void 0||v()})}));case 26:case"end":return p.stop()}},n,this)}));function r(n){return t.apply(this,arguments)}return r})()},{key:"mount",value:function(){var r;if(!this.mountFlag){if(be(this.iframe.contentWindow.__WUJIE_MOUNT)){var n,o,a,s;pn(this.el),(n=this.lifecycles)===null||n===void 0||(o=n.beforeMount)===null||o===void 0||o.call(n,this.iframe.contentWindow),this.iframe.contentWindow.__WUJIE_MOUNT(),(a=this.lifecycles)===null||a===void 0||(s=a.afterMount)===null||s===void 0||s.call(a,this.iframe.contentWindow),this.mountFlag=!0}if(this.alive){var l,u;(l=this.lifecycles)===null||l===void 0||(u=l.activated)===null||u===void 0||u.call(l,this.iframe.contentWindow)}(r=this.execQueue.shift())===null||r===void 0||r()}}},{key:"unmount",value:(function(){var t=le(G.mark(function n(){var o,a,s,l,u,i,c;return G.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(this.activeFlag=!1,hc(),this.alive&&((o=this.lifecycles)===null||o===void 0||(a=o.deactivated)===null||a===void 0||a.call(o,this.iframe.contentWindow)),this.mountFlag){f.next=5;break}return f.abrupt("return");case 5:if(!(be(this.iframe.contentWindow.__WUJIE_UNMOUNT)&&!this.alive&&!this.hrefFlag)){f.next=15;break}return(s=this.lifecycles)===null||s===void 0||(l=s.beforeUnmount)===null||l===void 0||l.call(s,this.iframe.contentWindow),f.next=9,this.iframe.contentWindow.__WUJIE_UNMOUNT();case 9:(u=this.lifecycles)===null||u===void 0||(i=u.afterUnmount)===null||i===void 0||i.call(u,this.iframe.contentWindow),this.mountFlag=!1,(c=this.bus)===null||c===void 0||c.$clear(),this.degrade||(Be(this.shadowRoot),fn(this.head),fn(this.body)),Be(this.head),Be(this.body);case 15:case"end":return f.stop()}},n,this)}));function r(){return t.apply(this,arguments)}return r})()},{key:"destroy",value:(function(){var t=le(G.mark(function n(){var o,a;return G.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,this.unmount();case 2:this.bus.$clear(),this.shadowRoot=null,this.proxy=null,this.proxyDocument=null,this.proxyLocation=null,this.execQueue=null,this.provide=null,this.degradeAttrs=null,this.styleSheetElements=null,this.bus=null,this.replace=null,this.fetch=null,this.execFlag=null,this.mountFlag=null,this.hrefFlag=null,this.document=null,this.head=null,this.body=null,this.elementEventCacheMap=null,this.lifecycles=null,this.plugins=null,this.provide=null,this.inject=null,this.execQueue=null,this.prefix=null,this.iframeAddEventListeners=null,this.iframeOnEvents=null,this.el&&(Be(this.el),this.el=null),this.iframe&&(a=this.iframe.contentWindow,a!=null&&a.__WUJIE_EVENTLISTENER__&&a.__WUJIE_EVENTLISTENER__.forEach(function(u){a.removeEventListener(u.type,u.listener,u.options)}),(o=this.iframe.parentNode)===null||o===void 0||o.removeChild(this.iframe),this.iframe=null),Yi(this.id);case 32:case"end":return l.stop()}},n,this)}));function r(){return t.apply(this,arguments)}return r})()},{key:"rebuildStyleSheets",value:function(){var r=this;this.styleSheetElements&&this.styleSheetElements.length&&this.styleSheetElements.forEach(function(n){jo.call(r.degrade?r.document.head:r.shadowRoot.head,n)}),this.patchCssRules()}},{key:"patchCssRules",value:function(){if(!this.degrade&&!this.shadowRoot.host.hasAttribute(M0)){var r=zo(Array.from(this.iframe.contentDocument.querySelectorAll("style")).map(function(s){return s.sheet})),n=ct(r,2),o=n[0],a=n[1];o&&(this.shadowRoot.head.appendChild(o),this.styleSheetElements.push(o)),a&&this.shadowRoot.host.appendChild(a),(o||a)&&this.shadowRoot.host.setAttribute(M0,"")}}}])})();function Cn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function jc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Cn(Object(r),!0).forEach(function(n){fe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Qr=new Xo(Date.now().toString());window.__WUJIE&&!window.__POWERED_BY_WUJIE__&&Ro();mc();uc();bo||K(ni);function Uc(e){e.name&&Xi(e.name,e)}function Mc(e){return Yr.apply(this,arguments)}function Yr(){return Yr=le(G.mark(function e(t){var r,n,o,a,s,l,u,i,c,g,f,x,d,E,p,y,v,h,m,C,A,_,D,P,b,w,F,I,M,H,R,S,O,j,U,B,L,k,T,$,q;return G.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(o=pe(t.name),a=ko(t.name),s=So(t,a),l=s.name,u=s.url,i=s.html,c=s.replace,g=s.fetch,f=s.props,x=s.attrs,d=s.degradeAttrs,E=s.fiber,p=s.alive,y=s.degrade,v=s.sync,h=s.prefix,m=s.el,C=s.loading,A=s.plugins,_=s.lifecycles,D=s.iframeAddEventListeners,P=s.iframeOnEvents,!o){W.next=41;break}if(o.plugins=Oo(A),o.lifecycles=_,b=o.iframe.contentWindow,!o.preload){W.next=11;break}return W.next=11,o.preload;case 11:if(!p){W.next=26;break}return W.next=14,o.active({url:u,sync:v,prefix:h,el:m,props:f,alive:p,fetch:g,replace:c});case 14:if(o.execFlag){W.next=22;break}return(I=o.lifecycles)===null||I===void 0||(M=I.beforeLoad)===null||M===void 0||M.call(I,o.iframe.contentWindow),W.next=18,qr({url:u,html:i,opts:{fetch:g||window.fetch,plugins:o.plugins,loadError:o.lifecycles.loadError,fiber:E}});case 18:return H=W.sent,R=H.getExternalScripts,W.next=22,o.start(R);case 22:return(w=o.lifecycles)===null||w===void 0||(F=w.activated)===null||F===void 0||F.call(w,o.iframe.contentWindow),W.abrupt("return",function(){return o.destroy()});case 26:if(!be(b.__WUJIE_MOUNT)){W.next=39;break}return W.next=29,o.unmount();case 29:return W.next=31,o.active({url:u,sync:v,prefix:h,el:m,props:f,alive:p,fetch:g,replace:c});case 31:return o.rebuildStyleSheets(),(S=o.lifecycles)===null||S===void 0||(O=S.beforeMount)===null||O===void 0||O.call(S,o.iframe.contentWindow),b.__WUJIE_MOUNT(),(j=o.lifecycles)===null||j===void 0||(U=j.afterMount)===null||U===void 0||U.call(j,o.iframe.contentWindow),o.mountFlag=!0,W.abrupt("return",function(){return o.destroy()});case 39:return W.next=41,o.destroy();case 41:return vc(m,C),B=new Vo({name:l,url:u,attrs:x,degradeAttrs:d,fiber:E,degrade:y,plugins:A,lifecycles:_,iframeAddEventListeners:D,iframeOnEvents:P}),(r=B.lifecycles)===null||r===void 0||(n=r.beforeLoad)===null||n===void 0||n.call(r,B.iframe.contentWindow),W.next=46,qr({url:u,html:i,opts:{fetch:g||window.fetch,plugins:B.plugins,loadError:B.lifecycles.loadError,fiber:E}});case 46:return L=W.sent,k=L.template,T=L.getExternalScripts,$=L.getExternalStyleSheets,W.next=52,Lo(B,k,$);case 52:return q=W.sent,W.next=55,B.active({url:u,sync:v,prefix:h,template:q,el:m,props:f,alive:p,fetch:g,replace:c});case 55:return W.next=57,B.start(T);case 57:return W.abrupt("return",function(){return B.destroy()});case 58:case"end":return W.stop()}},e)})),Yr.apply(this,arguments)}function Wc(e){a0(function(){if(!(pe(e.name)||wo(e.name))){var t=ko(e.name),r=So(jc({},e),t),n=r.name,o=r.url,a=r.html,s=r.props,l=r.alive,u=r.replace,i=r.fetch,c=r.exec,g=r.attrs,f=r.degradeAttrs,x=r.fiber,d=r.degrade,E=r.prefix,p=r.plugins,y=r.lifecycles,v=r.iframeAddEventListeners,h=r.iframeOnEvents,m=new Vo({name:n,url:o,attrs:g,degradeAttrs:f,fiber:x,degrade:d,plugins:p,lifecycles:y,iframeAddEventListeners:v,iframeOnEvents:h});if(m.preload)return m.preload;var C=(function(){var A=le(G.mark(function _(){var D,P,b,w,F,I,M;return G.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return(D=m.lifecycles)===null||D===void 0||(P=D.beforeLoad)===null||P===void 0||P.call(D,m.iframe.contentWindow),R.next=3,qr({url:o,html:a,opts:{fetch:i||window.fetch,plugins:m.plugins,loadError:m.lifecycles.loadError,fiber:x}});case 3:return b=R.sent,w=b.template,F=b.getExternalScripts,I=b.getExternalStyleSheets,R.next=9,Lo(m,w,I);case 9:return M=R.sent,R.next=12,m.active({url:o,props:s,prefix:E,alive:l,template:M,fetch:i,replace:u});case 12:if(!c){R.next=17;break}return R.next=15,m.start(F);case 15:R.next=19;break;case 17:return R.next=19,F();case 19:case"end":return R.stop()}},_)}));return function(){return A.apply(this,arguments)}})();m.preload=C()}})}function Zo(e){var t=pe(e);t&&t.destroy()}function Pe(e){"@babel/helpers - typeof";return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pe(e)}function _n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Hc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_n(Object(r),!0).forEach(function(n){Ko(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_n(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Xr(){Xr=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(R,S,O){R[S]=O.value},a=typeof Symbol=="function"?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function i(R,S,O){return Object.defineProperty(R,S,{value:O,enumerable:!0,configurable:!0,writable:!0}),R[S]}try{i({},"")}catch{i=function(O,j,U){return O[j]=U}}function c(R,S,O,j){var U=S&&S.prototype instanceof y?S:y,B=Object.create(U.prototype),L=new M(j||[]);return o(B,"_invoke",{value:b(R,O,L)}),B}function g(R,S,O){try{return{type:"normal",arg:R.call(S,O)}}catch(j){return{type:"throw",arg:j}}}t.wrap=c;var f="suspendedStart",x="suspendedYield",d="executing",E="completed",p={};function y(){}function v(){}function h(){}var m={};i(m,s,function(){return this});var C=Object.getPrototypeOf,A=C&&C(C(H([])));A&&A!==r&&n.call(A,s)&&(m=A);var _=h.prototype=y.prototype=Object.create(m);function D(R){["next","throw","return"].forEach(function(S){i(R,S,function(O){return this._invoke(S,O)})})}function P(R,S){function O(U,B,L,k){var T=g(R[U],R,B);if(T.type!=="throw"){var $=T.arg,q=$.value;return q&&Pe(q)=="object"&&n.call(q,"__await")?S.resolve(q.__await).then(function(J){O("next",J,L,k)},function(J){O("throw",J,L,k)}):S.resolve(q).then(function(J){$.value=J,L($)},function(J){return O("throw",J,L,k)})}k(T.arg)}var j;o(this,"_invoke",{value:function(B,L){function k(){return new S(function(T,$){O(B,L,T,$)})}return j=j?j.then(k,k):k()}})}function b(R,S,O){var j=f;return function(U,B){if(j===d)throw Error("Generator is already running");if(j===E){if(U==="throw")throw B;return{value:e,done:!0}}for(O.method=U,O.arg=B;;){var L=O.delegate;if(L){var k=w(L,O);if(k){if(k===p)continue;return k}}if(O.method==="next")O.sent=O._sent=O.arg;else if(O.method==="throw"){if(j===f)throw j=E,O.arg;O.dispatchException(O.arg)}else O.method==="return"&&O.abrupt("return",O.arg);j=d;var T=g(R,S,O);if(T.type==="normal"){if(j=O.done?E:x,T.arg===p)continue;return{value:T.arg,done:O.done}}T.type==="throw"&&(j=E,O.method="throw",O.arg=T.arg)}}}function w(R,S){var O=S.method,j=R.iterator[O];if(j===e)return S.delegate=null,O==="throw"&&R.iterator.return&&(S.method="return",S.arg=e,w(R,S),S.method==="throw")||O!=="return"&&(S.method="throw",S.arg=new TypeError("The iterator does not provide a '"+O+"' method")),p;var U=g(j,R.iterator,S.arg);if(U.type==="throw")return S.method="throw",S.arg=U.arg,S.delegate=null,p;var B=U.arg;return B?B.done?(S[R.resultName]=B.value,S.next=R.nextLoc,S.method!=="return"&&(S.method="next",S.arg=e),S.delegate=null,p):B:(S.method="throw",S.arg=new TypeError("iterator result is not an object"),S.delegate=null,p)}function F(R){var S={tryLoc:R[0]};1 in R&&(S.catchLoc=R[1]),2 in R&&(S.finallyLoc=R[2],S.afterLoc=R[3]),this.tryEntries.push(S)}function I(R){var S=R.completion||{};S.type="normal",delete S.arg,R.completion=S}function M(R){this.tryEntries=[{tryLoc:"root"}],R.forEach(F,this),this.reset(!0)}function H(R){if(R||R===""){var S=R[s];if(S)return S.call(R);if(typeof R.next=="function")return R;if(!isNaN(R.length)){var O=-1,j=function U(){for(;++O<R.length;)if(n.call(R,O))return U.value=R[O],U.done=!1,U;return U.value=e,U.done=!0,U};return j.next=j}}throw new TypeError(Pe(R)+" is not iterable")}return v.prototype=h,o(_,"constructor",{value:h,configurable:!0}),o(h,"constructor",{value:v,configurable:!0}),v.displayName=i(h,u,"GeneratorFunction"),t.isGeneratorFunction=function(R){var S=typeof R=="function"&&R.constructor;return!!S&&(S===v||(S.displayName||S.name)==="GeneratorFunction")},t.mark=function(R){return Object.setPrototypeOf?Object.setPrototypeOf(R,h):(R.__proto__=h,i(R,u,"GeneratorFunction")),R.prototype=Object.create(_),R},t.awrap=function(R){return{__await:R}},D(P.prototype),i(P.prototype,l,function(){return this}),t.AsyncIterator=P,t.async=function(R,S,O,j,U){U===void 0&&(U=Promise);var B=new P(c(R,S,O,j),U);return t.isGeneratorFunction(S)?B:B.next().then(function(L){return L.done?L.value:B.next()})},D(_),i(_,u,"Generator"),i(_,s,function(){return this}),i(_,"toString",function(){return"[object Generator]"}),t.keys=function(R){var S=Object(R),O=[];for(var j in S)O.push(j);return O.reverse(),function U(){for(;O.length;){var B=O.pop();if(B in S)return U.value=B,U.done=!1,U}return U.done=!0,U}},t.values=H,M.prototype={constructor:M,reset:function(S){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!S)for(var O in this)O.charAt(0)==="t"&&n.call(this,O)&&!isNaN(+O.slice(1))&&(this[O]=e)},stop:function(){this.done=!0;var S=this.tryEntries[0].completion;if(S.type==="throw")throw S.arg;return this.rval},dispatchException:function(S){if(this.done)throw S;var O=this;function j($,q){return L.type="throw",L.arg=S,O.next=$,q&&(O.method="next",O.arg=e),!!q}for(var U=this.tryEntries.length-1;U>=0;--U){var B=this.tryEntries[U],L=B.completion;if(B.tryLoc==="root")return j("end");if(B.tryLoc<=this.prev){var k=n.call(B,"catchLoc"),T=n.call(B,"finallyLoc");if(k&&T){if(this.prev<B.catchLoc)return j(B.catchLoc,!0);if(this.prev<B.finallyLoc)return j(B.finallyLoc)}else if(k){if(this.prev<B.catchLoc)return j(B.catchLoc,!0)}else{if(!T)throw Error("try statement without catch or finally");if(this.prev<B.finallyLoc)return j(B.finallyLoc)}}}},abrupt:function(S,O){for(var j=this.tryEntries.length-1;j>=0;--j){var U=this.tryEntries[j];if(U.tryLoc<=this.prev&&n.call(U,"finallyLoc")&&this.prev<U.finallyLoc){var B=U;break}}B&&(S==="break"||S==="continue")&&B.tryLoc<=O&&O<=B.finallyLoc&&(B=null);var L=B?B.completion:{};return L.type=S,L.arg=O,B?(this.method="next",this.next=B.finallyLoc,p):this.complete(L)},complete:function(S,O){if(S.type==="throw")throw S.arg;return S.type==="break"||S.type==="continue"?this.next=S.arg:S.type==="return"?(this.rval=this.arg=S.arg,this.method="return",this.next="end"):S.type==="normal"&&O&&(this.next=O),p},finish:function(S){for(var O=this.tryEntries.length-1;O>=0;--O){var j=this.tryEntries[O];if(j.finallyLoc===S)return this.complete(j.completion,j.afterLoc),I(j),p}},catch:function(S){for(var O=this.tryEntries.length-1;O>=0;--O){var j=this.tryEntries[O];if(j.tryLoc===S){var U=j.completion;if(U.type==="throw"){var B=U.arg;I(j)}return B}}throw Error("illegal catch attempt")},delegateYield:function(S,O,j){return this.delegate={iterator:H(S),resultName:O,nextLoc:j},this.method==="next"&&(this.arg=e),p}},t}function An(e,t,r,n,o,a,s){try{var l=e[a](s),u=l.value}catch(i){return void r(i)}l.done?t(u):Promise.resolve(u).then(n,o)}function Nc(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function s(u){An(a,n,o,s,l,"next",u)}function l(u){An(a,n,o,s,l,"throw",u)}s(void 0)})}}function Ko(e,t,r){return(t=qc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e){var t=$c(e,"string");return Pe(t)=="symbol"?t:t+""}function $c(e,t){if(Pe(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Pe(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var zc={name:"WujieVue",props:{width:{type:String,default:""},height:{type:String,default:""},name:{type:String,default:""},loading:{type:HTMLElement,default:void 0},url:{type:String,default:""},sync:{type:Boolean,default:void 0},prefix:{type:Object,default:void 0},alive:{type:Boolean,default:void 0},props:{type:Object,default:void 0},attrs:{type:Object,default:void 0},replace:{type:Function,default:void 0},fetch:{type:Function,default:void 0},fiber:{type:Boolean,default:void 0},degrade:{type:Boolean,default:void 0},plugins:{type:Array,default:null},beforeLoad:{type:Function,default:null},beforeMount:{type:Function,default:null},afterMount:{type:Function,default:null},beforeUnmount:{type:Function,default:null},afterUnmount:{type:Function,default:null},activated:{type:Function,default:null},deactivated:{type:Function,default:null},loadError:{type:Function,default:null},style:{type:Object,default:void 0},iframeAddEventListeners:{type:Array,default:null},iframeOnEvents:{type:Array,default:null}},data:function(){return{startAppQueue:Promise.resolve()}},mounted:function(){var t=this;this.name&&(window.__WUJIE_QUEUE?window.__WUJIE_QUEUE[this.name]?this.startAppQueue=window.__WUJIE_QUEUE[this.name]:window.__WUJIE_QUEUE[this.name]=this.startAppQueue:window.__WUJIE_QUEUE=Ko({},this.name,this.startAppQueue)),Qr.$onAll(this.handleEmit),this.execStartApp(),this.$watch(function(){return t.name+t.url},function(){return t.execStartApp()})},methods:{handleEmit:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];this.$emit.apply(this,[t].concat(n))},startApp:function(){var t=this;return Nc(Xr().mark(function r(){return Xr().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,Mc({name:t.name,url:t.url,el:t.$refs.wujie,loading:t.loading,alive:t.alive,fetch:t.fetch,props:t.props,attrs:t.attrs,replace:t.replace,sync:t.sync,prefix:t.prefix,fiber:t.fiber,degrade:t.degrade,plugins:t.plugins,beforeLoad:t.beforeLoad,beforeMount:t.beforeMount,afterMount:t.afterMount,beforeUnmount:t.beforeUnmount,afterUnmount:t.afterUnmount,activated:t.activated,deactivated:t.deactivated,loadError:t.loadError,iframeAddEventListeners:t.iframeAddEventListeners,iframeOnEvents:t.iframeOnEvents});case 3:o.next=8;break;case 5:o.prev=5,o.t0=o.catch(0),console.log(o.t0);case 8:case"end":return o.stop()}},r,null,[[0,5]])}))()},execStartApp:function(){this.startAppQueue=this.startAppQueue.then(this.startApp),window.__WUJIE_QUEUE[this.name]=this.startAppQueue},destroy:function(){Zo(this.name)}},beforeDestroy:function(){Qr.$offAll(this.handleEmit)},render:function(){return N.h("div",{style:Hc({width:this.width,height:this.height},this.style),ref:"wujie"})}},Oe=N.defineComponent(zc);Oe.setupApp=Uc;Oe.preloadApp=Wc;Oe.bus=Qr;Oe.destroyApp=Zo;Oe.install=function(e){e.component("WujieVue",Oe)};var mt={exports:{}};function Jc(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 gt={exports:{}};const Gc=ka(Ia);var Qc=gt.exports,wn;function z(){return wn||(wn=1,(function(e,t){(function(r,n){e.exports=n()})(Qc,function(){var r=r||(function(n,o){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof mr<"u"&&mr.crypto&&(a=mr.crypto),!a&&typeof Jc=="function")try{a=Gc}catch{}var s=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||(function(){function v(){}return function(h){var m;return v.prototype=h,m=new v,v.prototype=null,m}})(),u={},i=u.lib={},c=i.Base=(function(){return{extend:function(v){var h=l(this);return v&&h.mixIn(v),(!h.hasOwnProperty("init")||this.init===h.init)&&(h.init=function(){h.$super.init.apply(this,arguments)}),h.init.prototype=h,h.$super=this,h},create:function(){var v=this.extend();return v.init.apply(v,arguments),v},init:function(){},mixIn:function(v){for(var h in v)v.hasOwnProperty(h)&&(this[h]=v[h]);v.hasOwnProperty("toString")&&(this.toString=v.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),g=i.WordArray=c.extend({init:function(v,h){v=this.words=v||[],h!=o?this.sigBytes=h:this.sigBytes=v.length*4},toString:function(v){return(v||x).stringify(this)},concat:function(v){var h=this.words,m=v.words,C=this.sigBytes,A=v.sigBytes;if(this.clamp(),C%4)for(var _=0;_<A;_++){var D=m[_>>>2]>>>24-_%4*8&255;h[C+_>>>2]|=D<<24-(C+_)%4*8}else for(var P=0;P<A;P+=4)h[C+P>>>2]=m[P>>>2];return this.sigBytes+=A,this},clamp:function(){var v=this.words,h=this.sigBytes;v[h>>>2]&=4294967295<<32-h%4*8,v.length=n.ceil(h/4)},clone:function(){var v=c.clone.call(this);return v.words=this.words.slice(0),v},random:function(v){for(var h=[],m=0;m<v;m+=4)h.push(s());return new g.init(h,v)}}),f=u.enc={},x=f.Hex={stringify:function(v){for(var h=v.words,m=v.sigBytes,C=[],A=0;A<m;A++){var _=h[A>>>2]>>>24-A%4*8&255;C.push((_>>>4).toString(16)),C.push((_&15).toString(16))}return C.join("")},parse:function(v){for(var h=v.length,m=[],C=0;C<h;C+=2)m[C>>>3]|=parseInt(v.substr(C,2),16)<<24-C%8*4;return new g.init(m,h/2)}},d=f.Latin1={stringify:function(v){for(var h=v.words,m=v.sigBytes,C=[],A=0;A<m;A++){var _=h[A>>>2]>>>24-A%4*8&255;C.push(String.fromCharCode(_))}return C.join("")},parse:function(v){for(var h=v.length,m=[],C=0;C<h;C++)m[C>>>2]|=(v.charCodeAt(C)&255)<<24-C%4*8;return new g.init(m,h)}},E=f.Utf8={stringify:function(v){try{return decodeURIComponent(escape(d.stringify(v)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(v){return d.parse(unescape(encodeURIComponent(v)))}},p=i.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new g.init,this._nDataBytes=0},_append:function(v){typeof v=="string"&&(v=E.parse(v)),this._data.concat(v),this._nDataBytes+=v.sigBytes},_process:function(v){var h,m=this._data,C=m.words,A=m.sigBytes,_=this.blockSize,D=_*4,P=A/D;v?P=n.ceil(P):P=n.max((P|0)-this._minBufferSize,0);var b=P*_,w=n.min(b*4,A);if(b){for(var F=0;F<b;F+=_)this._doProcessBlock(C,F);h=C.splice(0,b),m.sigBytes-=w}return new g.init(h,w)},clone:function(){var v=c.clone.call(this);return v._data=this._data.clone(),v},_minBufferSize:0});i.Hasher=p.extend({cfg:c.extend(),init:function(v){this.cfg=this.cfg.extend(v),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(v){return this._append(v),this._process(),this},finalize:function(v){v&&this._append(v);var h=this._doFinalize();return h},blockSize:16,_createHelper:function(v){return function(h,m){return new v.init(m).finalize(h)}},_createHmacHelper:function(v){return function(h,m){return new y.HMAC.init(v,m).finalize(h)}}});var y=u.algo={};return u})(Math);return r})})(gt)),gt.exports}var yt={exports:{}},Yc=yt.exports,Bn;function pr(){return Bn||(Bn=1,(function(e,t){(function(r,n){e.exports=n(z())})(Yc,function(r){return(function(n){var o=r,a=o.lib,s=a.Base,l=a.WordArray,u=o.x64={};u.Word=s.extend({init:function(i,c){this.high=i,this.low=c}}),u.WordArray=s.extend({init:function(i,c){i=this.words=i||[],c!=n?this.sigBytes=c:this.sigBytes=i.length*8},toX32:function(){for(var i=this.words,c=i.length,g=[],f=0;f<c;f++){var x=i[f];g.push(x.high),g.push(x.low)}return l.create(g,this.sigBytes)},clone:function(){for(var i=s.clone.call(this),c=i.words=this.words.slice(0),g=c.length,f=0;f<g;f++)c[f]=c[f].clone();return i}})})(),r})})(yt)),yt.exports}var bt={exports:{}},Xc=bt.exports,Dn;function Vc(){return Dn||(Dn=1,(function(e,t){(function(r,n){e.exports=n(z())})(Xc,function(r){return(function(){if(typeof ArrayBuffer=="function"){var n=r,o=n.lib,a=o.WordArray,s=a.init,l=a.init=function(u){if(u instanceof ArrayBuffer&&(u=new Uint8Array(u)),(u instanceof Int8Array||typeof Uint8ClampedArray<"u"&&u instanceof Uint8ClampedArray||u instanceof Int16Array||u instanceof Uint16Array||u instanceof Int32Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array)&&(u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength)),u instanceof Uint8Array){for(var i=u.byteLength,c=[],g=0;g<i;g++)c[g>>>2]|=u[g]<<24-g%4*8;s.call(this,c,i)}else s.apply(this,arguments)};l.prototype=a}})(),r.lib.WordArray})})(bt)),bt.exports}var Ct={exports:{}},Zc=Ct.exports,Fn;function Kc(){return Fn||(Fn=1,(function(e,t){(function(r,n){e.exports=n(z())})(Zc,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,s=n.enc;s.Utf16=s.Utf16BE={stringify:function(u){for(var i=u.words,c=u.sigBytes,g=[],f=0;f<c;f+=2){var x=i[f>>>2]>>>16-f%4*8&65535;g.push(String.fromCharCode(x))}return g.join("")},parse:function(u){for(var i=u.length,c=[],g=0;g<i;g++)c[g>>>1]|=u.charCodeAt(g)<<16-g%2*16;return a.create(c,i*2)}},s.Utf16LE={stringify:function(u){for(var i=u.words,c=u.sigBytes,g=[],f=0;f<c;f+=2){var x=l(i[f>>>2]>>>16-f%4*8&65535);g.push(String.fromCharCode(x))}return g.join("")},parse:function(u){for(var i=u.length,c=[],g=0;g<i;g++)c[g>>>1]|=l(u.charCodeAt(g)<<16-g%2*16);return a.create(c,i*2)}};function l(u){return u<<8&4278255360|u>>>8&16711935}})(),r.enc.Utf16})})(Ct)),Ct.exports}var _t={exports:{}},es=_t.exports,Sn;function Le(){return Sn||(Sn=1,(function(e,t){(function(r,n){e.exports=n(z())})(es,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,s=n.enc;s.Base64={stringify:function(u){var i=u.words,c=u.sigBytes,g=this._map;u.clamp();for(var f=[],x=0;x<c;x+=3)for(var d=i[x>>>2]>>>24-x%4*8&255,E=i[x+1>>>2]>>>24-(x+1)%4*8&255,p=i[x+2>>>2]>>>24-(x+2)%4*8&255,y=d<<16|E<<8|p,v=0;v<4&&x+v*.75<c;v++)f.push(g.charAt(y>>>6*(3-v)&63));var h=g.charAt(64);if(h)for(;f.length%4;)f.push(h);return f.join("")},parse:function(u){var i=u.length,c=this._map,g=this._reverseMap;if(!g){g=this._reverseMap=[];for(var f=0;f<c.length;f++)g[c.charCodeAt(f)]=f}var x=c.charAt(64);if(x){var d=u.indexOf(x);d!==-1&&(i=d)}return l(u,i,g)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function l(u,i,c){for(var g=[],f=0,x=0;x<i;x++)if(x%4){var d=c[u.charCodeAt(x-1)]<<x%4*2,E=c[u.charCodeAt(x)]>>>6-x%4*2,p=d|E;g[f>>>2]|=p<<24-f%4*8,f++}return a.create(g,f)}})(),r.enc.Base64})})(_t)),_t.exports}var At={exports:{}},ts=At.exports,Rn;function rs(){return Rn||(Rn=1,(function(e,t){(function(r,n){e.exports=n(z())})(ts,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,s=n.enc;s.Base64url={stringify:function(u,i){i===void 0&&(i=!0);var c=u.words,g=u.sigBytes,f=i?this._safe_map:this._map;u.clamp();for(var x=[],d=0;d<g;d+=3)for(var E=c[d>>>2]>>>24-d%4*8&255,p=c[d+1>>>2]>>>24-(d+1)%4*8&255,y=c[d+2>>>2]>>>24-(d+2)%4*8&255,v=E<<16|p<<8|y,h=0;h<4&&d+h*.75<g;h++)x.push(f.charAt(v>>>6*(3-h)&63));var m=f.charAt(64);if(m)for(;x.length%4;)x.push(m);return x.join("")},parse:function(u,i){i===void 0&&(i=!0);var c=u.length,g=i?this._safe_map:this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var x=0;x<g.length;x++)f[g.charCodeAt(x)]=x}var d=g.charAt(64);if(d){var E=u.indexOf(d);E!==-1&&(c=E)}return l(u,c,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function l(u,i,c){for(var g=[],f=0,x=0;x<i;x++)if(x%4){var d=c[u.charCodeAt(x-1)]<<x%4*2,E=c[u.charCodeAt(x)]>>>6-x%4*2,p=d|E;g[f>>>2]|=p<<24-f%4*8,f++}return a.create(g,f)}})(),r.enc.Base64url})})(At)),At.exports}var wt={exports:{}},ns=wt.exports,Pn;function Ie(){return Pn||(Pn=1,(function(e,t){(function(r,n){e.exports=n(z())})(ns,function(r){return(function(n){var o=r,a=o.lib,s=a.WordArray,l=a.Hasher,u=o.algo,i=[];(function(){for(var E=0;E<64;E++)i[E]=n.abs(n.sin(E+1))*4294967296|0})();var c=u.MD5=l.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(E,p){for(var y=0;y<16;y++){var v=p+y,h=E[v];E[v]=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360}var m=this._hash.words,C=E[p+0],A=E[p+1],_=E[p+2],D=E[p+3],P=E[p+4],b=E[p+5],w=E[p+6],F=E[p+7],I=E[p+8],M=E[p+9],H=E[p+10],R=E[p+11],S=E[p+12],O=E[p+13],j=E[p+14],U=E[p+15],B=m[0],L=m[1],k=m[2],T=m[3];B=g(B,L,k,T,C,7,i[0]),T=g(T,B,L,k,A,12,i[1]),k=g(k,T,B,L,_,17,i[2]),L=g(L,k,T,B,D,22,i[3]),B=g(B,L,k,T,P,7,i[4]),T=g(T,B,L,k,b,12,i[5]),k=g(k,T,B,L,w,17,i[6]),L=g(L,k,T,B,F,22,i[7]),B=g(B,L,k,T,I,7,i[8]),T=g(T,B,L,k,M,12,i[9]),k=g(k,T,B,L,H,17,i[10]),L=g(L,k,T,B,R,22,i[11]),B=g(B,L,k,T,S,7,i[12]),T=g(T,B,L,k,O,12,i[13]),k=g(k,T,B,L,j,17,i[14]),L=g(L,k,T,B,U,22,i[15]),B=f(B,L,k,T,A,5,i[16]),T=f(T,B,L,k,w,9,i[17]),k=f(k,T,B,L,R,14,i[18]),L=f(L,k,T,B,C,20,i[19]),B=f(B,L,k,T,b,5,i[20]),T=f(T,B,L,k,H,9,i[21]),k=f(k,T,B,L,U,14,i[22]),L=f(L,k,T,B,P,20,i[23]),B=f(B,L,k,T,M,5,i[24]),T=f(T,B,L,k,j,9,i[25]),k=f(k,T,B,L,D,14,i[26]),L=f(L,k,T,B,I,20,i[27]),B=f(B,L,k,T,O,5,i[28]),T=f(T,B,L,k,_,9,i[29]),k=f(k,T,B,L,F,14,i[30]),L=f(L,k,T,B,S,20,i[31]),B=x(B,L,k,T,b,4,i[32]),T=x(T,B,L,k,I,11,i[33]),k=x(k,T,B,L,R,16,i[34]),L=x(L,k,T,B,j,23,i[35]),B=x(B,L,k,T,A,4,i[36]),T=x(T,B,L,k,P,11,i[37]),k=x(k,T,B,L,F,16,i[38]),L=x(L,k,T,B,H,23,i[39]),B=x(B,L,k,T,O,4,i[40]),T=x(T,B,L,k,C,11,i[41]),k=x(k,T,B,L,D,16,i[42]),L=x(L,k,T,B,w,23,i[43]),B=x(B,L,k,T,M,4,i[44]),T=x(T,B,L,k,S,11,i[45]),k=x(k,T,B,L,U,16,i[46]),L=x(L,k,T,B,_,23,i[47]),B=d(B,L,k,T,C,6,i[48]),T=d(T,B,L,k,F,10,i[49]),k=d(k,T,B,L,j,15,i[50]),L=d(L,k,T,B,b,21,i[51]),B=d(B,L,k,T,S,6,i[52]),T=d(T,B,L,k,D,10,i[53]),k=d(k,T,B,L,H,15,i[54]),L=d(L,k,T,B,A,21,i[55]),B=d(B,L,k,T,I,6,i[56]),T=d(T,B,L,k,U,10,i[57]),k=d(k,T,B,L,w,15,i[58]),L=d(L,k,T,B,O,21,i[59]),B=d(B,L,k,T,P,6,i[60]),T=d(T,B,L,k,R,10,i[61]),k=d(k,T,B,L,_,15,i[62]),L=d(L,k,T,B,M,21,i[63]),m[0]=m[0]+B|0,m[1]=m[1]+L|0,m[2]=m[2]+k|0,m[3]=m[3]+T|0},_doFinalize:function(){var E=this._data,p=E.words,y=this._nDataBytes*8,v=E.sigBytes*8;p[v>>>5]|=128<<24-v%32;var h=n.floor(y/4294967296),m=y;p[(v+64>>>9<<4)+15]=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,p[(v+64>>>9<<4)+14]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,E.sigBytes=(p.length+1)*4,this._process();for(var C=this._hash,A=C.words,_=0;_<4;_++){var D=A[_];A[_]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return C},clone:function(){var E=l.clone.call(this);return E._hash=this._hash.clone(),E}});function g(E,p,y,v,h,m,C){var A=E+(p&y|~p&v)+h+C;return(A<<m|A>>>32-m)+p}function f(E,p,y,v,h,m,C){var A=E+(p&v|y&~v)+h+C;return(A<<m|A>>>32-m)+p}function x(E,p,y,v,h,m,C){var A=E+(p^y^v)+h+C;return(A<<m|A>>>32-m)+p}function d(E,p,y,v,h,m,C){var A=E+(y^(p|~v))+h+C;return(A<<m|A>>>32-m)+p}o.MD5=l._createHelper(c),o.HmacMD5=l._createHmacHelper(c)})(Math),r.MD5})})(wt)),wt.exports}var Bt={exports:{}},os=Bt.exports,On;function ea(){return On||(On=1,(function(e,t){(function(r,n){e.exports=n(z())})(os,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,s=o.Hasher,l=n.algo,u=[],i=l.SHA1=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,g){for(var f=this._hash.words,x=f[0],d=f[1],E=f[2],p=f[3],y=f[4],v=0;v<80;v++){if(v<16)u[v]=c[g+v]|0;else{var h=u[v-3]^u[v-8]^u[v-14]^u[v-16];u[v]=h<<1|h>>>31}var m=(x<<5|x>>>27)+y+u[v];v<20?m+=(d&E|~d&p)+1518500249:v<40?m+=(d^E^p)+1859775393:v<60?m+=(d&E|d&p|E&p)-1894007588:m+=(d^E^p)-899497514,y=p,p=E,E=d<<30|d>>>2,d=x,x=m}f[0]=f[0]+x|0,f[1]=f[1]+d|0,f[2]=f[2]+E|0,f[3]=f[3]+p|0,f[4]=f[4]+y|0},_doFinalize:function(){var c=this._data,g=c.words,f=this._nDataBytes*8,x=c.sigBytes*8;return g[x>>>5]|=128<<24-x%32,g[(x+64>>>9<<4)+14]=Math.floor(f/4294967296),g[(x+64>>>9<<4)+15]=f,c.sigBytes=g.length*4,this._process(),this._hash},clone:function(){var c=s.clone.call(this);return c._hash=this._hash.clone(),c}});n.SHA1=s._createHelper(i),n.HmacSHA1=s._createHmacHelper(i)})(),r.SHA1})})(Bt)),Bt.exports}var Dt={exports:{}},as=Dt.exports,Ln;function l0(){return Ln||(Ln=1,(function(e,t){(function(r,n){e.exports=n(z())})(as,function(r){return(function(n){var o=r,a=o.lib,s=a.WordArray,l=a.Hasher,u=o.algo,i=[],c=[];(function(){function x(y){for(var v=n.sqrt(y),h=2;h<=v;h++)if(!(y%h))return!1;return!0}function d(y){return(y-(y|0))*4294967296|0}for(var E=2,p=0;p<64;)x(E)&&(p<8&&(i[p]=d(n.pow(E,1/2))),c[p]=d(n.pow(E,1/3)),p++),E++})();var g=[],f=u.SHA256=l.extend({_doReset:function(){this._hash=new s.init(i.slice(0))},_doProcessBlock:function(x,d){for(var E=this._hash.words,p=E[0],y=E[1],v=E[2],h=E[3],m=E[4],C=E[5],A=E[6],_=E[7],D=0;D<64;D++){if(D<16)g[D]=x[d+D]|0;else{var P=g[D-15],b=(P<<25|P>>>7)^(P<<14|P>>>18)^P>>>3,w=g[D-2],F=(w<<15|w>>>17)^(w<<13|w>>>19)^w>>>10;g[D]=b+g[D-7]+F+g[D-16]}var I=m&C^~m&A,M=p&y^p&v^y&v,H=(p<<30|p>>>2)^(p<<19|p>>>13)^(p<<10|p>>>22),R=(m<<26|m>>>6)^(m<<21|m>>>11)^(m<<7|m>>>25),S=_+R+I+c[D]+g[D],O=H+M;_=A,A=C,C=m,m=h+S|0,h=v,v=y,y=p,p=S+O|0}E[0]=E[0]+p|0,E[1]=E[1]+y|0,E[2]=E[2]+v|0,E[3]=E[3]+h|0,E[4]=E[4]+m|0,E[5]=E[5]+C|0,E[6]=E[6]+A|0,E[7]=E[7]+_|0},_doFinalize:function(){var x=this._data,d=x.words,E=this._nDataBytes*8,p=x.sigBytes*8;return d[p>>>5]|=128<<24-p%32,d[(p+64>>>9<<4)+14]=n.floor(E/4294967296),d[(p+64>>>9<<4)+15]=E,x.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var x=l.clone.call(this);return x._hash=this._hash.clone(),x}});o.SHA256=l._createHelper(f),o.HmacSHA256=l._createHmacHelper(f)})(Math),r.SHA256})})(Dt)),Dt.exports}var Ft={exports:{}},is=Ft.exports,In;function cs(){return In||(In=1,(function(e,t){(function(r,n,o){e.exports=n(z(),l0())})(is,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,s=n.algo,l=s.SHA256,u=s.SHA224=l.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var i=l._doFinalize.call(this);return i.sigBytes-=4,i}});n.SHA224=l._createHelper(u),n.HmacSHA224=l._createHmacHelper(u)})(),r.SHA224})})(Ft)),Ft.exports}var St={exports:{}},ss=St.exports,Tn;function ta(){return Tn||(Tn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),pr())})(ss,function(r){return(function(){var n=r,o=n.lib,a=o.Hasher,s=n.x64,l=s.Word,u=s.WordArray,i=n.algo;function c(){return l.create.apply(l,arguments)}var g=[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)],f=[];(function(){for(var d=0;d<80;d++)f[d]=c()})();var x=i.SHA512=a.extend({_doReset:function(){this._hash=new u.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(d,E){for(var p=this._hash.words,y=p[0],v=p[1],h=p[2],m=p[3],C=p[4],A=p[5],_=p[6],D=p[7],P=y.high,b=y.low,w=v.high,F=v.low,I=h.high,M=h.low,H=m.high,R=m.low,S=C.high,O=C.low,j=A.high,U=A.low,B=_.high,L=_.low,k=D.high,T=D.low,$=P,q=b,J=w,W=F,ee=I,ie=M,Je=H,Ae=R,V=S,Z=O,st=j,Ge=U,ut=B,Qe=L,Er=k,Ye=T,ce=0;ce<80;ce++){var re,he,lt=f[ce];if(ce<16)he=lt.high=d[E+ce*2]|0,re=lt.low=d[E+ce*2+1]|0;else{var p0=f[ce-15],Te=p0.high,Xe=p0.low,ga=(Te>>>1|Xe<<31)^(Te>>>8|Xe<<24)^Te>>>7,h0=(Xe>>>1|Te<<31)^(Xe>>>8|Te<<24)^(Xe>>>7|Te<<25),E0=f[ce-2],ke=E0.high,Ve=E0.low,ya=(ke>>>19|Ve<<13)^(ke<<3|Ve>>>29)^ke>>>6,m0=(Ve>>>19|ke<<13)^(Ve<<3|ke>>>29)^(Ve>>>6|ke<<26),g0=f[ce-7],ba=g0.high,Ca=g0.low,y0=f[ce-16],_a=y0.high,b0=y0.low;re=h0+Ca,he=ga+ba+(re>>>0<h0>>>0?1:0),re=re+m0,he=he+ya+(re>>>0<m0>>>0?1:0),re=re+b0,he=he+_a+(re>>>0<b0>>>0?1:0),lt.high=he,lt.low=re}var Aa=V&st^~V&ut,C0=Z&Ge^~Z&Qe,wa=$&J^$&ee^J&ee,Ba=q&W^q&ie^W&ie,Da=($>>>28|q<<4)^($<<30|q>>>2)^($<<25|q>>>7),_0=(q>>>28|$<<4)^(q<<30|$>>>2)^(q<<25|$>>>7),Fa=(V>>>14|Z<<18)^(V>>>18|Z<<14)^(V<<23|Z>>>9),Sa=(Z>>>14|V<<18)^(Z>>>18|V<<14)^(Z<<23|V>>>9),A0=g[ce],Ra=A0.high,w0=A0.low,te=Ye+Sa,Ee=Er+Fa+(te>>>0<Ye>>>0?1:0),te=te+C0,Ee=Ee+Aa+(te>>>0<C0>>>0?1:0),te=te+w0,Ee=Ee+Ra+(te>>>0<w0>>>0?1:0),te=te+re,Ee=Ee+he+(te>>>0<re>>>0?1:0),B0=_0+Ba,Pa=Da+wa+(B0>>>0<_0>>>0?1:0);Er=ut,Ye=Qe,ut=st,Qe=Ge,st=V,Ge=Z,Z=Ae+te|0,V=Je+Ee+(Z>>>0<Ae>>>0?1:0)|0,Je=ee,Ae=ie,ee=J,ie=W,J=$,W=q,q=te+B0|0,$=Ee+Pa+(q>>>0<te>>>0?1:0)|0}b=y.low=b+q,y.high=P+$+(b>>>0<q>>>0?1:0),F=v.low=F+W,v.high=w+J+(F>>>0<W>>>0?1:0),M=h.low=M+ie,h.high=I+ee+(M>>>0<ie>>>0?1:0),R=m.low=R+Ae,m.high=H+Je+(R>>>0<Ae>>>0?1:0),O=C.low=O+Z,C.high=S+V+(O>>>0<Z>>>0?1:0),U=A.low=U+Ge,A.high=j+st+(U>>>0<Ge>>>0?1:0),L=_.low=L+Qe,_.high=B+ut+(L>>>0<Qe>>>0?1:0),T=D.low=T+Ye,D.high=k+Er+(T>>>0<Ye>>>0?1:0)},_doFinalize:function(){var d=this._data,E=d.words,p=this._nDataBytes*8,y=d.sigBytes*8;E[y>>>5]|=128<<24-y%32,E[(y+128>>>10<<5)+30]=Math.floor(p/4294967296),E[(y+128>>>10<<5)+31]=p,d.sigBytes=E.length*4,this._process();var v=this._hash.toX32();return v},clone:function(){var d=a.clone.call(this);return d._hash=this._hash.clone(),d},blockSize:1024/32});n.SHA512=a._createHelper(x),n.HmacSHA512=a._createHmacHelper(x)})(),r.SHA512})})(St)),St.exports}var Rt={exports:{}},us=Rt.exports,kn;function ls(){return kn||(kn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),pr(),ta())})(us,function(r){return(function(){var n=r,o=n.x64,a=o.Word,s=o.WordArray,l=n.algo,u=l.SHA512,i=l.SHA384=u.extend({_doReset:function(){this._hash=new s.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var c=u._doFinalize.call(this);return c.sigBytes-=16,c}});n.SHA384=u._createHelper(i),n.HmacSHA384=u._createHmacHelper(i)})(),r.SHA384})})(Rt)),Rt.exports}var Pt={exports:{}},fs=Pt.exports,jn;function xs(){return jn||(jn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),pr())})(fs,function(r){return(function(n){var o=r,a=o.lib,s=a.WordArray,l=a.Hasher,u=o.x64,i=u.Word,c=o.algo,g=[],f=[],x=[];(function(){for(var p=1,y=0,v=0;v<24;v++){g[p+5*y]=(v+1)*(v+2)/2%64;var h=y%5,m=(2*p+3*y)%5;p=h,y=m}for(var p=0;p<5;p++)for(var y=0;y<5;y++)f[p+5*y]=y+(2*p+3*y)%5*5;for(var C=1,A=0;A<24;A++){for(var _=0,D=0,P=0;P<7;P++){if(C&1){var b=(1<<P)-1;b<32?D^=1<<b:_^=1<<b-32}C&128?C=C<<1^113:C<<=1}x[A]=i.create(_,D)}})();var d=[];(function(){for(var p=0;p<25;p++)d[p]=i.create()})();var E=c.SHA3=l.extend({cfg:l.cfg.extend({outputLength:512}),_doReset:function(){for(var p=this._state=[],y=0;y<25;y++)p[y]=new i.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(p,y){for(var v=this._state,h=this.blockSize/2,m=0;m<h;m++){var C=p[y+2*m],A=p[y+2*m+1];C=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360;var _=v[m];_.high^=A,_.low^=C}for(var D=0;D<24;D++){for(var P=0;P<5;P++){for(var b=0,w=0,F=0;F<5;F++){var _=v[P+5*F];b^=_.high,w^=_.low}var I=d[P];I.high=b,I.low=w}for(var P=0;P<5;P++)for(var M=d[(P+4)%5],H=d[(P+1)%5],R=H.high,S=H.low,b=M.high^(R<<1|S>>>31),w=M.low^(S<<1|R>>>31),F=0;F<5;F++){var _=v[P+5*F];_.high^=b,_.low^=w}for(var O=1;O<25;O++){var b,w,_=v[O],j=_.high,U=_.low,B=g[O];B<32?(b=j<<B|U>>>32-B,w=U<<B|j>>>32-B):(b=U<<B-32|j>>>64-B,w=j<<B-32|U>>>64-B);var L=d[f[O]];L.high=b,L.low=w}var k=d[0],T=v[0];k.high=T.high,k.low=T.low;for(var P=0;P<5;P++)for(var F=0;F<5;F++){var O=P+5*F,_=v[O],$=d[O],q=d[(P+1)%5+5*F],J=d[(P+2)%5+5*F];_.high=$.high^~q.high&J.high,_.low=$.low^~q.low&J.low}var _=v[0],W=x[D];_.high^=W.high,_.low^=W.low}},_doFinalize:function(){var p=this._data,y=p.words;this._nDataBytes*8;var v=p.sigBytes*8,h=this.blockSize*32;y[v>>>5]|=1<<24-v%32,y[(n.ceil((v+1)/h)*h>>>5)-1]|=128,p.sigBytes=y.length*4,this._process();for(var m=this._state,C=this.cfg.outputLength/8,A=C/8,_=[],D=0;D<A;D++){var P=m[D],b=P.high,w=P.low;b=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,_.push(w),_.push(b)}return new s.init(_,C)},clone:function(){for(var p=l.clone.call(this),y=p._state=this._state.slice(0),v=0;v<25;v++)y[v]=y[v].clone();return p}});o.SHA3=l._createHelper(E),o.HmacSHA3=l._createHmacHelper(E)})(Math),r.SHA3})})(Pt)),Pt.exports}var Ot={exports:{}},ds=Ot.exports,Un;function vs(){return Un||(Un=1,(function(e,t){(function(r,n){e.exports=n(z())})(ds,function(r){return(function(n){var o=r,a=o.lib,s=a.WordArray,l=a.Hasher,u=o.algo,i=s.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=s.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),g=s.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),f=s.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),x=s.create([0,1518500249,1859775393,2400959708,2840853838]),d=s.create([1352829926,1548603684,1836072691,2053994217,0]),E=u.RIPEMD160=l.extend({_doReset:function(){this._hash=s.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(A,_){for(var D=0;D<16;D++){var P=_+D,b=A[P];A[P]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360}var w=this._hash.words,F=x.words,I=d.words,M=i.words,H=c.words,R=g.words,S=f.words,O,j,U,B,L,k,T,$,q,J;k=O=w[0],T=j=w[1],$=U=w[2],q=B=w[3],J=L=w[4];for(var W,D=0;D<80;D+=1)W=O+A[_+M[D]]|0,D<16?W+=p(j,U,B)+F[0]:D<32?W+=y(j,U,B)+F[1]:D<48?W+=v(j,U,B)+F[2]:D<64?W+=h(j,U,B)+F[3]:W+=m(j,U,B)+F[4],W=W|0,W=C(W,R[D]),W=W+L|0,O=L,L=B,B=C(U,10),U=j,j=W,W=k+A[_+H[D]]|0,D<16?W+=m(T,$,q)+I[0]:D<32?W+=h(T,$,q)+I[1]:D<48?W+=v(T,$,q)+I[2]:D<64?W+=y(T,$,q)+I[3]:W+=p(T,$,q)+I[4],W=W|0,W=C(W,S[D]),W=W+J|0,k=J,J=q,q=C($,10),$=T,T=W;W=w[1]+U+q|0,w[1]=w[2]+B+J|0,w[2]=w[3]+L+k|0,w[3]=w[4]+O+T|0,w[4]=w[0]+j+$|0,w[0]=W},_doFinalize:function(){var A=this._data,_=A.words,D=this._nDataBytes*8,P=A.sigBytes*8;_[P>>>5]|=128<<24-P%32,_[(P+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,A.sigBytes=(_.length+1)*4,this._process();for(var b=this._hash,w=b.words,F=0;F<5;F++){var I=w[F];w[F]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}return b},clone:function(){var A=l.clone.call(this);return A._hash=this._hash.clone(),A}});function p(A,_,D){return A^_^D}function y(A,_,D){return A&_|~A&D}function v(A,_,D){return(A|~_)^D}function h(A,_,D){return A&D|_&~D}function m(A,_,D){return A^(_|~D)}function C(A,_){return A<<_|A>>>32-_}o.RIPEMD160=l._createHelper(E),o.HmacRIPEMD160=l._createHmacHelper(E)})(),r.RIPEMD160})})(Ot)),Ot.exports}var Lt={exports:{}},ps=Lt.exports,Mn;function f0(){return Mn||(Mn=1,(function(e,t){(function(r,n){e.exports=n(z())})(ps,function(r){(function(){var n=r,o=n.lib,a=o.Base,s=n.enc,l=s.Utf8,u=n.algo;u.HMAC=a.extend({init:function(i,c){i=this._hasher=new i.init,typeof c=="string"&&(c=l.parse(c));var g=i.blockSize,f=g*4;c.sigBytes>f&&(c=i.finalize(c)),c.clamp();for(var x=this._oKey=c.clone(),d=this._iKey=c.clone(),E=x.words,p=d.words,y=0;y<g;y++)E[y]^=1549556828,p[y]^=909522486;x.sigBytes=d.sigBytes=f,this.reset()},reset:function(){var i=this._hasher;i.reset(),i.update(this._iKey)},update:function(i){return this._hasher.update(i),this},finalize:function(i){var c=this._hasher,g=c.finalize(i);c.reset();var f=c.finalize(this._oKey.clone().concat(g));return f}})})()})})(Lt)),Lt.exports}var It={exports:{}},hs=It.exports,Wn;function Es(){return Wn||(Wn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),l0(),f0())})(hs,function(r){return(function(){var n=r,o=n.lib,a=o.Base,s=o.WordArray,l=n.algo,u=l.SHA256,i=l.HMAC,c=l.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:u,iterations:25e4}),init:function(g){this.cfg=this.cfg.extend(g)},compute:function(g,f){for(var x=this.cfg,d=i.create(x.hasher,g),E=s.create(),p=s.create([1]),y=E.words,v=p.words,h=x.keySize,m=x.iterations;y.length<h;){var C=d.update(f).finalize(p);d.reset();for(var A=C.words,_=A.length,D=C,P=1;P<m;P++){D=d.finalize(D),d.reset();for(var b=D.words,w=0;w<_;w++)A[w]^=b[w]}E.concat(C),v[0]++}return E.sigBytes=h*4,E}});n.PBKDF2=function(g,f,x){return c.create(x).compute(g,f)}})(),r.PBKDF2})})(It)),It.exports}var Tt={exports:{}},ms=Tt.exports,Hn;function _e(){return Hn||(Hn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),ea(),f0())})(ms,function(r){return(function(){var n=r,o=n.lib,a=o.Base,s=o.WordArray,l=n.algo,u=l.MD5,i=l.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:u,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,g){for(var f,x=this.cfg,d=x.hasher.create(),E=s.create(),p=E.words,y=x.keySize,v=x.iterations;p.length<y;){f&&d.update(f),f=d.update(c).finalize(g),d.reset();for(var h=1;h<v;h++)f=d.finalize(f),d.reset();E.concat(f)}return E.sigBytes=y*4,E}});n.EvpKDF=function(c,g,f){return i.create(f).compute(c,g)}})(),r.EvpKDF})})(Tt)),Tt.exports}var kt={exports:{}},gs=kt.exports,Nn;function X(){return Nn||(Nn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),_e())})(gs,function(r){r.lib.Cipher||(function(n){var o=r,a=o.lib,s=a.Base,l=a.WordArray,u=a.BufferedBlockAlgorithm,i=o.enc;i.Utf8;var c=i.Base64,g=o.algo,f=g.EvpKDF,x=a.Cipher=u.extend({cfg:s.extend(),createEncryptor:function(b,w){return this.create(this._ENC_XFORM_MODE,b,w)},createDecryptor:function(b,w){return this.create(this._DEC_XFORM_MODE,b,w)},init:function(b,w,F){this.cfg=this.cfg.extend(F),this._xformMode=b,this._key=w,this.reset()},reset:function(){u.reset.call(this),this._doReset()},process:function(b){return this._append(b),this._process()},finalize:function(b){b&&this._append(b);var w=this._doFinalize();return w},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function b(w){return typeof w=="string"?P:A}return function(w){return{encrypt:function(F,I,M){return b(I).encrypt(w,F,I,M)},decrypt:function(F,I,M){return b(I).decrypt(w,F,I,M)}}}})()});a.StreamCipher=x.extend({_doFinalize:function(){var b=this._process(!0);return b},blockSize:1});var d=o.mode={},E=a.BlockCipherMode=s.extend({createEncryptor:function(b,w){return this.Encryptor.create(b,w)},createDecryptor:function(b,w){return this.Decryptor.create(b,w)},init:function(b,w){this._cipher=b,this._iv=w}}),p=d.CBC=(function(){var b=E.extend();b.Encryptor=b.extend({processBlock:function(F,I){var M=this._cipher,H=M.blockSize;w.call(this,F,I,H),M.encryptBlock(F,I),this._prevBlock=F.slice(I,I+H)}}),b.Decryptor=b.extend({processBlock:function(F,I){var M=this._cipher,H=M.blockSize,R=F.slice(I,I+H);M.decryptBlock(F,I),w.call(this,F,I,H),this._prevBlock=R}});function w(F,I,M){var H,R=this._iv;R?(H=R,this._iv=n):H=this._prevBlock;for(var S=0;S<M;S++)F[I+S]^=H[S]}return b})(),y=o.pad={},v=y.Pkcs7={pad:function(b,w){for(var F=w*4,I=F-b.sigBytes%F,M=I<<24|I<<16|I<<8|I,H=[],R=0;R<I;R+=4)H.push(M);var S=l.create(H,I);b.concat(S)},unpad:function(b){var w=b.words[b.sigBytes-1>>>2]&255;b.sigBytes-=w}};a.BlockCipher=x.extend({cfg:x.cfg.extend({mode:p,padding:v}),reset:function(){var b;x.reset.call(this);var w=this.cfg,F=w.iv,I=w.mode;this._xformMode==this._ENC_XFORM_MODE?b=I.createEncryptor:(b=I.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==b?this._mode.init(this,F&&F.words):(this._mode=b.call(I,this,F&&F.words),this._mode.__creator=b)},_doProcessBlock:function(b,w){this._mode.processBlock(b,w)},_doFinalize:function(){var b,w=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(w.pad(this._data,this.blockSize),b=this._process(!0)):(b=this._process(!0),w.unpad(b)),b},blockSize:128/32});var h=a.CipherParams=s.extend({init:function(b){this.mixIn(b)},toString:function(b){return(b||this.formatter).stringify(this)}}),m=o.format={},C=m.OpenSSL={stringify:function(b){var w,F=b.ciphertext,I=b.salt;return I?w=l.create([1398893684,1701076831]).concat(I).concat(F):w=F,w.toString(c)},parse:function(b){var w,F=c.parse(b),I=F.words;return I[0]==1398893684&&I[1]==1701076831&&(w=l.create(I.slice(2,4)),I.splice(0,4),F.sigBytes-=16),h.create({ciphertext:F,salt:w})}},A=a.SerializableCipher=s.extend({cfg:s.extend({format:C}),encrypt:function(b,w,F,I){I=this.cfg.extend(I);var M=b.createEncryptor(F,I),H=M.finalize(w),R=M.cfg;return h.create({ciphertext:H,key:F,iv:R.iv,algorithm:b,mode:R.mode,padding:R.padding,blockSize:b.blockSize,formatter:I.format})},decrypt:function(b,w,F,I){I=this.cfg.extend(I),w=this._parse(w,I.format);var M=b.createDecryptor(F,I).finalize(w.ciphertext);return M},_parse:function(b,w){return typeof b=="string"?w.parse(b,this):b}}),_=o.kdf={},D=_.OpenSSL={execute:function(b,w,F,I,M){if(I||(I=l.random(64/8)),M)var H=f.create({keySize:w+F,hasher:M}).compute(b,I);else var H=f.create({keySize:w+F}).compute(b,I);var R=l.create(H.words.slice(w),F*4);return H.sigBytes=w*4,h.create({key:H,iv:R,salt:I})}},P=a.PasswordBasedCipher=A.extend({cfg:A.cfg.extend({kdf:D}),encrypt:function(b,w,F,I){I=this.cfg.extend(I);var M=I.kdf.execute(F,b.keySize,b.ivSize,I.salt,I.hasher);I.iv=M.iv;var H=A.encrypt.call(this,b,w,M.key,I);return H.mixIn(M),H},decrypt:function(b,w,F,I){I=this.cfg.extend(I),w=this._parse(w,I.format);var M=I.kdf.execute(F,b.keySize,b.ivSize,w.salt,I.hasher);I.iv=M.iv;var H=A.decrypt.call(this,b,w,M.key,I);return H}})})()})})(kt)),kt.exports}var jt={exports:{}},ys=jt.exports,qn;function bs(){return qn||(qn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),X())})(ys,function(r){return r.mode.CFB=(function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(a,s){var l=this._cipher,u=l.blockSize;o.call(this,a,s,u,l),this._prevBlock=a.slice(s,s+u)}}),n.Decryptor=n.extend({processBlock:function(a,s){var l=this._cipher,u=l.blockSize,i=a.slice(s,s+u);o.call(this,a,s,u,l),this._prevBlock=i}});function o(a,s,l,u){var i,c=this._iv;c?(i=c.slice(0),this._iv=void 0):i=this._prevBlock,u.encryptBlock(i,0);for(var g=0;g<l;g++)a[s+g]^=i[g]}return n})(),r.mode.CFB})})(jt)),jt.exports}var Ut={exports:{}},Cs=Ut.exports,$n;function _s(){return $n||($n=1,(function(e,t){(function(r,n,o){e.exports=n(z(),X())})(Cs,function(r){return r.mode.CTR=(function(){var n=r.lib.BlockCipherMode.extend(),o=n.Encryptor=n.extend({processBlock:function(a,s){var l=this._cipher,u=l.blockSize,i=this._iv,c=this._counter;i&&(c=this._counter=i.slice(0),this._iv=void 0);var g=c.slice(0);l.encryptBlock(g,0),c[u-1]=c[u-1]+1|0;for(var f=0;f<u;f++)a[s+f]^=g[f]}});return n.Decryptor=o,n})(),r.mode.CTR})})(Ut)),Ut.exports}var Mt={exports:{}},As=Mt.exports,zn;function ws(){return zn||(zn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),X())})(As,function(r){return r.mode.CTRGladman=(function(){var n=r.lib.BlockCipherMode.extend();function o(l){if((l>>24&255)===255){var u=l>>16&255,i=l>>8&255,c=l&255;u===255?(u=0,i===255?(i=0,c===255?c=0:++c):++i):++u,l=0,l+=u<<16,l+=i<<8,l+=c}else l+=1<<24;return l}function a(l){return(l[0]=o(l[0]))===0&&(l[1]=o(l[1])),l}var s=n.Encryptor=n.extend({processBlock:function(l,u){var i=this._cipher,c=i.blockSize,g=this._iv,f=this._counter;g&&(f=this._counter=g.slice(0),this._iv=void 0),a(f);var x=f.slice(0);i.encryptBlock(x,0);for(var d=0;d<c;d++)l[u+d]^=x[d]}});return n.Decryptor=s,n})(),r.mode.CTRGladman})})(Mt)),Mt.exports}var Wt={exports:{}},Bs=Wt.exports,Jn;function Ds(){return Jn||(Jn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),X())})(Bs,function(r){return r.mode.OFB=(function(){var n=r.lib.BlockCipherMode.extend(),o=n.Encryptor=n.extend({processBlock:function(a,s){var l=this._cipher,u=l.blockSize,i=this._iv,c=this._keystream;i&&(c=this._keystream=i.slice(0),this._iv=void 0),l.encryptBlock(c,0);for(var g=0;g<u;g++)a[s+g]^=c[g]}});return n.Decryptor=o,n})(),r.mode.OFB})})(Wt)),Wt.exports}var Ht={exports:{}},Fs=Ht.exports,Gn;function Ss(){return Gn||(Gn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),X())})(Fs,function(r){return r.mode.ECB=(function(){var n=r.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(o,a){this._cipher.encryptBlock(o,a)}}),n.Decryptor=n.extend({processBlock:function(o,a){this._cipher.decryptBlock(o,a)}}),n})(),r.mode.ECB})})(Ht)),Ht.exports}var Nt={exports:{}},Rs=Nt.exports,Qn;function Ps(){return Qn||(Qn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),X())})(Rs,function(r){return r.pad.AnsiX923={pad:function(n,o){var a=n.sigBytes,s=o*4,l=s-a%s,u=a+l-1;n.clamp(),n.words[u>>>2]|=l<<24-u%4*8,n.sigBytes+=l},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Ansix923})})(Nt)),Nt.exports}var qt={exports:{}},Os=qt.exports,Yn;function Ls(){return Yn||(Yn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),X())})(Os,function(r){return r.pad.Iso10126={pad:function(n,o){var a=o*4,s=a-n.sigBytes%a;n.concat(r.lib.WordArray.random(s-1)).concat(r.lib.WordArray.create([s<<24],1))},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Iso10126})})(qt)),qt.exports}var $t={exports:{}},Is=$t.exports,Xn;function Ts(){return Xn||(Xn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),X())})(Is,function(r){return r.pad.Iso97971={pad:function(n,o){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,o)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})})($t)),$t.exports}var zt={exports:{}},ks=zt.exports,Vn;function js(){return Vn||(Vn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),X())})(ks,function(r){return r.pad.ZeroPadding={pad:function(n,o){var a=o*4;n.clamp(),n.sigBytes+=a-(n.sigBytes%a||a)},unpad:function(n){for(var o=n.words,a=n.sigBytes-1,a=n.sigBytes-1;a>=0;a--)if(o[a>>>2]>>>24-a%4*8&255){n.sigBytes=a+1;break}}},r.pad.ZeroPadding})})(zt)),zt.exports}var Jt={exports:{}},Us=Jt.exports,Zn;function Ms(){return Zn||(Zn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),X())})(Us,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})})(Jt)),Jt.exports}var Gt={exports:{}},Ws=Gt.exports,Kn;function Hs(){return Kn||(Kn=1,(function(e,t){(function(r,n,o){e.exports=n(z(),X())})(Ws,function(r){return(function(n){var o=r,a=o.lib,s=a.CipherParams,l=o.enc,u=l.Hex,i=o.format;i.Hex={stringify:function(c){return c.ciphertext.toString(u)},parse:function(c){var g=u.parse(c);return s.create({ciphertext:g})}}})(),r.format.Hex})})(Gt)),Gt.exports}var Qt={exports:{}},Ns=Qt.exports,eo;function qs(){return eo||(eo=1,(function(e,t){(function(r,n,o){e.exports=n(z(),Le(),Ie(),_e(),X())})(Ns,function(r){return(function(){var n=r,o=n.lib,a=o.BlockCipher,s=n.algo,l=[],u=[],i=[],c=[],g=[],f=[],x=[],d=[],E=[],p=[];(function(){for(var h=[],m=0;m<256;m++)m<128?h[m]=m<<1:h[m]=m<<1^283;for(var C=0,A=0,m=0;m<256;m++){var _=A^A<<1^A<<2^A<<3^A<<4;_=_>>>8^_&255^99,l[C]=_,u[_]=C;var D=h[C],P=h[D],b=h[P],w=h[_]*257^_*16843008;i[C]=w<<24|w>>>8,c[C]=w<<16|w>>>16,g[C]=w<<8|w>>>24,f[C]=w;var w=b*16843009^P*65537^D*257^C*16843008;x[_]=w<<24|w>>>8,d[_]=w<<16|w>>>16,E[_]=w<<8|w>>>24,p[_]=w,C?(C=D^h[h[h[b^D]]],A^=h[h[A]]):C=A=1}})();var y=[0,1,2,4,8,16,32,64,128,27,54],v=s.AES=a.extend({_doReset:function(){var h;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var m=this._keyPriorReset=this._key,C=m.words,A=m.sigBytes/4,_=this._nRounds=A+6,D=(_+1)*4,P=this._keySchedule=[],b=0;b<D;b++)b<A?P[b]=C[b]:(h=P[b-1],b%A?A>6&&b%A==4&&(h=l[h>>>24]<<24|l[h>>>16&255]<<16|l[h>>>8&255]<<8|l[h&255]):(h=h<<8|h>>>24,h=l[h>>>24]<<24|l[h>>>16&255]<<16|l[h>>>8&255]<<8|l[h&255],h^=y[b/A|0]<<24),P[b]=P[b-A]^h);for(var w=this._invKeySchedule=[],F=0;F<D;F++){var b=D-F;if(F%4)var h=P[b];else var h=P[b-4];F<4||b<=4?w[F]=h:w[F]=x[l[h>>>24]]^d[l[h>>>16&255]]^E[l[h>>>8&255]]^p[l[h&255]]}}},encryptBlock:function(h,m){this._doCryptBlock(h,m,this._keySchedule,i,c,g,f,l)},decryptBlock:function(h,m){var C=h[m+1];h[m+1]=h[m+3],h[m+3]=C,this._doCryptBlock(h,m,this._invKeySchedule,x,d,E,p,u);var C=h[m+1];h[m+1]=h[m+3],h[m+3]=C},_doCryptBlock:function(h,m,C,A,_,D,P,b){for(var w=this._nRounds,F=h[m]^C[0],I=h[m+1]^C[1],M=h[m+2]^C[2],H=h[m+3]^C[3],R=4,S=1;S<w;S++){var O=A[F>>>24]^_[I>>>16&255]^D[M>>>8&255]^P[H&255]^C[R++],j=A[I>>>24]^_[M>>>16&255]^D[H>>>8&255]^P[F&255]^C[R++],U=A[M>>>24]^_[H>>>16&255]^D[F>>>8&255]^P[I&255]^C[R++],B=A[H>>>24]^_[F>>>16&255]^D[I>>>8&255]^P[M&255]^C[R++];F=O,I=j,M=U,H=B}var O=(b[F>>>24]<<24|b[I>>>16&255]<<16|b[M>>>8&255]<<8|b[H&255])^C[R++],j=(b[I>>>24]<<24|b[M>>>16&255]<<16|b[H>>>8&255]<<8|b[F&255])^C[R++],U=(b[M>>>24]<<24|b[H>>>16&255]<<16|b[F>>>8&255]<<8|b[I&255])^C[R++],B=(b[H>>>24]<<24|b[F>>>16&255]<<16|b[I>>>8&255]<<8|b[M&255])^C[R++];h[m]=O,h[m+1]=j,h[m+2]=U,h[m+3]=B},keySize:256/32});n.AES=a._createHelper(v)})(),r.AES})})(Qt)),Qt.exports}var Yt={exports:{}},$s=Yt.exports,to;function zs(){return to||(to=1,(function(e,t){(function(r,n,o){e.exports=n(z(),Le(),Ie(),_e(),X())})($s,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,s=o.BlockCipher,l=n.algo,u=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],i=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],g=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],f=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],x=l.DES=s.extend({_doReset:function(){for(var y=this._key,v=y.words,h=[],m=0;m<56;m++){var C=u[m]-1;h[m]=v[C>>>5]>>>31-C%32&1}for(var A=this._subKeys=[],_=0;_<16;_++){for(var D=A[_]=[],P=c[_],m=0;m<24;m++)D[m/6|0]|=h[(i[m]-1+P)%28]<<31-m%6,D[4+(m/6|0)]|=h[28+(i[m+24]-1+P)%28]<<31-m%6;D[0]=D[0]<<1|D[0]>>>31;for(var m=1;m<7;m++)D[m]=D[m]>>>(m-1)*4+3;D[7]=D[7]<<5|D[7]>>>27}for(var b=this._invSubKeys=[],m=0;m<16;m++)b[m]=A[15-m]},encryptBlock:function(y,v){this._doCryptBlock(y,v,this._subKeys)},decryptBlock:function(y,v){this._doCryptBlock(y,v,this._invSubKeys)},_doCryptBlock:function(y,v,h){this._lBlock=y[v],this._rBlock=y[v+1],d.call(this,4,252645135),d.call(this,16,65535),E.call(this,2,858993459),E.call(this,8,16711935),d.call(this,1,1431655765);for(var m=0;m<16;m++){for(var C=h[m],A=this._lBlock,_=this._rBlock,D=0,P=0;P<8;P++)D|=g[P][((_^C[P])&f[P])>>>0];this._lBlock=_,this._rBlock=A^D}var b=this._lBlock;this._lBlock=this._rBlock,this._rBlock=b,d.call(this,1,1431655765),E.call(this,8,16711935),E.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),y[v]=this._lBlock,y[v+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function d(y,v){var h=(this._lBlock>>>y^this._rBlock)&v;this._rBlock^=h,this._lBlock^=h<<y}function E(y,v){var h=(this._rBlock>>>y^this._lBlock)&v;this._lBlock^=h,this._rBlock^=h<<y}n.DES=s._createHelper(x);var p=l.TripleDES=s.extend({_doReset:function(){var y=this._key,v=y.words;if(v.length!==2&&v.length!==4&&v.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var h=v.slice(0,2),m=v.length<4?v.slice(0,2):v.slice(2,4),C=v.length<6?v.slice(0,2):v.slice(4,6);this._des1=x.createEncryptor(a.create(h)),this._des2=x.createEncryptor(a.create(m)),this._des3=x.createEncryptor(a.create(C))},encryptBlock:function(y,v){this._des1.encryptBlock(y,v),this._des2.decryptBlock(y,v),this._des3.encryptBlock(y,v)},decryptBlock:function(y,v){this._des3.decryptBlock(y,v),this._des2.encryptBlock(y,v),this._des1.decryptBlock(y,v)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=s._createHelper(p)})(),r.TripleDES})})(Yt)),Yt.exports}var Xt={exports:{}},Js=Xt.exports,ro;function Gs(){return ro||(ro=1,(function(e,t){(function(r,n,o){e.exports=n(z(),Le(),Ie(),_e(),X())})(Js,function(r){return(function(){var n=r,o=n.lib,a=o.StreamCipher,s=n.algo,l=s.RC4=a.extend({_doReset:function(){for(var c=this._key,g=c.words,f=c.sigBytes,x=this._S=[],d=0;d<256;d++)x[d]=d;for(var d=0,E=0;d<256;d++){var p=d%f,y=g[p>>>2]>>>24-p%4*8&255;E=(E+x[d]+y)%256;var v=x[d];x[d]=x[E],x[E]=v}this._i=this._j=0},_doProcessBlock:function(c,g){c[g]^=u.call(this)},keySize:256/32,ivSize:0});function u(){for(var c=this._S,g=this._i,f=this._j,x=0,d=0;d<4;d++){g=(g+1)%256,f=(f+c[g])%256;var E=c[g];c[g]=c[f],c[f]=E,x|=c[(c[g]+c[f])%256]<<24-d*8}return this._i=g,this._j=f,x}n.RC4=a._createHelper(l);var i=s.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)u.call(this)}});n.RC4Drop=a._createHelper(i)})(),r.RC4})})(Xt)),Xt.exports}var Vt={exports:{}},Qs=Vt.exports,no;function Ys(){return no||(no=1,(function(e,t){(function(r,n,o){e.exports=n(z(),Le(),Ie(),_e(),X())})(Qs,function(r){return(function(){var n=r,o=n.lib,a=o.StreamCipher,s=n.algo,l=[],u=[],i=[],c=s.Rabbit=a.extend({_doReset:function(){for(var f=this._key.words,x=this.cfg.iv,d=0;d<4;d++)f[d]=(f[d]<<8|f[d]>>>24)&16711935|(f[d]<<24|f[d]>>>8)&4278255360;var E=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],p=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var d=0;d<4;d++)g.call(this);for(var d=0;d<8;d++)p[d]^=E[d+4&7];if(x){var y=x.words,v=y[0],h=y[1],m=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,C=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,A=m>>>16|C&4294901760,_=C<<16|m&65535;p[0]^=m,p[1]^=A,p[2]^=C,p[3]^=_,p[4]^=m,p[5]^=A,p[6]^=C,p[7]^=_;for(var d=0;d<4;d++)g.call(this)}},_doProcessBlock:function(f,x){var d=this._X;g.call(this),l[0]=d[0]^d[5]>>>16^d[3]<<16,l[1]=d[2]^d[7]>>>16^d[5]<<16,l[2]=d[4]^d[1]>>>16^d[7]<<16,l[3]=d[6]^d[3]>>>16^d[1]<<16;for(var E=0;E<4;E++)l[E]=(l[E]<<8|l[E]>>>24)&16711935|(l[E]<<24|l[E]>>>8)&4278255360,f[x+E]^=l[E]},blockSize:128/32,ivSize:64/32});function g(){for(var f=this._X,x=this._C,d=0;d<8;d++)u[d]=x[d];x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0<u[0]>>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0<u[1]>>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0<u[2]>>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0<u[3]>>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0<u[4]>>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0<u[5]>>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0<u[6]>>>0?1:0)|0,this._b=x[7]>>>0<u[7]>>>0?1:0;for(var d=0;d<8;d++){var E=f[d]+x[d],p=E&65535,y=E>>>16,v=((p*p>>>17)+p*y>>>15)+y*y,h=((E&4294901760)*E|0)+((E&65535)*E|0);i[d]=v^h}f[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,f[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,f[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,f[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,f[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,f[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,f[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,f[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}n.Rabbit=a._createHelper(c)})(),r.Rabbit})})(Vt)),Vt.exports}var Zt={exports:{}},Xs=Zt.exports,oo;function Vs(){return oo||(oo=1,(function(e,t){(function(r,n,o){e.exports=n(z(),Le(),Ie(),_e(),X())})(Xs,function(r){return(function(){var n=r,o=n.lib,a=o.StreamCipher,s=n.algo,l=[],u=[],i=[],c=s.RabbitLegacy=a.extend({_doReset:function(){var f=this._key.words,x=this.cfg.iv,d=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],E=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var p=0;p<4;p++)g.call(this);for(var p=0;p<8;p++)E[p]^=d[p+4&7];if(x){var y=x.words,v=y[0],h=y[1],m=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,C=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,A=m>>>16|C&4294901760,_=C<<16|m&65535;E[0]^=m,E[1]^=A,E[2]^=C,E[3]^=_,E[4]^=m,E[5]^=A,E[6]^=C,E[7]^=_;for(var p=0;p<4;p++)g.call(this)}},_doProcessBlock:function(f,x){var d=this._X;g.call(this),l[0]=d[0]^d[5]>>>16^d[3]<<16,l[1]=d[2]^d[7]>>>16^d[5]<<16,l[2]=d[4]^d[1]>>>16^d[7]<<16,l[3]=d[6]^d[3]>>>16^d[1]<<16;for(var E=0;E<4;E++)l[E]=(l[E]<<8|l[E]>>>24)&16711935|(l[E]<<24|l[E]>>>8)&4278255360,f[x+E]^=l[E]},blockSize:128/32,ivSize:64/32});function g(){for(var f=this._X,x=this._C,d=0;d<8;d++)u[d]=x[d];x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0<u[0]>>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0<u[1]>>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0<u[2]>>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0<u[3]>>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0<u[4]>>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0<u[5]>>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0<u[6]>>>0?1:0)|0,this._b=x[7]>>>0<u[7]>>>0?1:0;for(var d=0;d<8;d++){var E=f[d]+x[d],p=E&65535,y=E>>>16,v=((p*p>>>17)+p*y>>>15)+y*y,h=((E&4294901760)*E|0)+((E&65535)*E|0);i[d]=v^h}f[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,f[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,f[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,f[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,f[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,f[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,f[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,f[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}n.RabbitLegacy=a._createHelper(c)})(),r.RabbitLegacy})})(Zt)),Zt.exports}var Kt={exports:{}},Zs=Kt.exports,ao;function Ks(){return ao||(ao=1,(function(e,t){(function(r,n,o){e.exports=n(z(),Le(),Ie(),_e(),X())})(Zs,function(r){return(function(){var n=r,o=n.lib,a=o.BlockCipher,s=n.algo;const l=16,u=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],i=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function g(p,y){let v=y>>24&255,h=y>>16&255,m=y>>8&255,C=y&255,A=p.sbox[0][v]+p.sbox[1][h];return A=A^p.sbox[2][m],A=A+p.sbox[3][C],A}function f(p,y,v){let h=y,m=v,C;for(let A=0;A<l;++A)h=h^p.pbox[A],m=g(p,h)^m,C=h,h=m,m=C;return C=h,h=m,m=C,m=m^p.pbox[l],h=h^p.pbox[l+1],{left:h,right:m}}function x(p,y,v){let h=y,m=v,C;for(let A=l+1;A>1;--A)h=h^p.pbox[A],m=g(p,h)^m,C=h,h=m,m=C;return C=h,h=m,m=C,m=m^p.pbox[1],h=h^p.pbox[0],{left:h,right:m}}function d(p,y,v){for(let _=0;_<4;_++){p.sbox[_]=[];for(let D=0;D<256;D++)p.sbox[_][D]=i[_][D]}let h=0;for(let _=0;_<l+2;_++)p.pbox[_]=u[_]^y[h],h++,h>=v&&(h=0);let m=0,C=0,A=0;for(let _=0;_<l+2;_+=2)A=f(p,m,C),m=A.left,C=A.right,p.pbox[_]=m,p.pbox[_+1]=C;for(let _=0;_<4;_++)for(let D=0;D<256;D+=2)A=f(p,m,C),m=A.left,C=A.right,p.sbox[_][D]=m,p.sbox[_][D+1]=C;return!0}var E=s.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var p=this._keyPriorReset=this._key,y=p.words,v=p.sigBytes/4;d(c,y,v)}},encryptBlock:function(p,y){var v=f(c,p[y],p[y+1]);p[y]=v.left,p[y+1]=v.right},decryptBlock:function(p,y){var v=x(c,p[y],p[y+1]);p[y]=v.left,p[y+1]=v.right},blockSize:64/32,keySize:128/32,ivSize:64/32});n.Blowfish=a._createHelper(E)})(),r.Blowfish})})(Kt)),Kt.exports}var eu=mt.exports,io;function tu(){return io||(io=1,(function(e,t){(function(r,n,o){e.exports=n(z(),pr(),Vc(),Kc(),Le(),rs(),Ie(),ea(),l0(),cs(),ta(),ls(),xs(),vs(),f0(),Es(),_e(),X(),bs(),_s(),ws(),Ds(),Ss(),Ps(),Ls(),Ts(),js(),Ms(),Hs(),qs(),zs(),Gs(),Ys(),Vs(),Ks())})(eu,function(r){return r})})(mt)),mt.exports}var ru=tu();const et=lo(ru),er={success:"0000",notLogin:401,canceled:"ERR_CANCELED"},ra={pageNum:1,pageSize:20},nu={text:"text",select:"select",date:"date",inputNumber:"inputNumber",switch:"switch",radio:"radio",checkbox:"checkbox",textarea:"textarea",upload:"upload"},ou={date:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss"},au={search:"search",reset:"reset",export:"export",import:"import",add:"add",edit:"edit",delete:"delete",cancel:"cancel",submit:"submit"},rt={year:"year",month:"month",date:"date",datetime:"datetime",week:"week",datetimerange:"datetimerange",daterange:"daterange",monthrange:"monthrange",dates:"dates",years:"years",months:"months",yearrange:"yearrange"},iu={[rt.datetimerange]:{rangeSeparator:"至",startPlaceholder:"开始时间",endPlaceholder:"结束时间"},[rt.daterange]:{rangeSeparator:"至",startPlaceholder:"开始日期",endPlaceholder:"结束日期"},[rt.monthrange]:{rangeSeparator:"至",startPlaceholder:"开始月份",endPlaceholder:"结束月份"},[rt.yearrange]:{rangeSeparator:"至",startPlaceholder:"开始年份",endPlaceholder:"结束年份"}},cu={label:"name",value:"id"},Vr={satoken:"satoken"},su={pageSizes:[ra.pageSize,50,100,200],layout:"total, sizes, prev, pager, next, jumper"},Y={png:"png",jpeg:"jpeg",jpg:"jpg",gif:"gif",bmp:"bmp",webp:"webp",pdf:"pdf",doc:"doc",docx:"docx",xls:"xls",xlsx:"xlsx",ppt:"ppt",pptx:"pptx",txt:"txt",md:"md",csv:"csv",json:"json"},co="image/jpeg",uu={[Y.png]:"image/png",[Y.jpeg]:co,[Y.jpg]:co,[Y.gif]:"image/gif",[Y.bmp]:"image/bmp",[Y.webp]:"image/webp",[Y.pdf]:"application/pdf",[Y.doc]:"application/msword",[Y.docx]:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",[Y.xls]:"application/vnd.ms-excel",[Y.xlsx]:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",[Y.ppt]:"application/vnd.ms-powerpoint",[Y.pptx]:"application/vnd.openxmlformats-officedocument.presentationml.presentation",[Y.txt]:"text/plain",[Y.md]:"text/markdown",[Y.csv]:"text/csv",[Y.json]:"application/json"},Zr={blob:"blob"},lu={max:4},na={keepAliveExclude:"keep-alive-exclude",keepAliveInclude:"keep-alive-include"},fu={complete:"complete"},oa={eventStream:"text/event-stream"},xu={horizontal:"horizontal",vertical:"vertical"},du={left:"left",right:"right",top:"top"},hr=()=>window.$wujie,vu=()=>{const e=window.innerWidth,t=window.innerHeight,r=e===1920,n=r?1:e/1920,o=r?1:t/1080,a=Math.min(n,o),s=Math.max(.9,a);return s>=1?1:s};function ht(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var pu={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Kr(e,t){function r(o,a,s){if(!(typeof document>"u")){s=ht({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var u in s)s[u]&&(l+="; "+u,s[u]!==!0&&(l+="="+s[u].split(";")[0]));return document.cookie=o+"="+e.write(a,o)+l}}function n(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var a=document.cookie?document.cookie.split("; "):[],s={},l=0;l<a.length;l++){var u=a[l].split("="),i=u.slice(1).join("=");try{var c=decodeURIComponent(u[0]);if(s[c]=e.read(i,c),o===c)break}catch{}}return o?s[o]:s}}return Object.create({set:r,get:n,remove:function(o,a){r(o,"",ht({},a,{expires:-1}))},withAttributes:function(o){return Kr(this.converter,ht({},this.attributes,o))},withConverter:function(o){return Kr(ht({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var x0=Kr(pu,{path:"/"});const aa=e=>x0.get(e),hu=(e,t)=>x0.set(e,t),ia=e=>x0.remove(e),tr={routerChange:"router-change",historyRoute:"history-route",provinceChange:"province-change"},ca=(e,t)=>t?`${e}-${t}`:e;var Eu=N.defineComponent({name:"IconBasicError",__name:"icon-basic-error",setup(e){return(t,r)=>(N.openBlock(),N.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",version:"1.1"},[N.createElementVNode("path",{d:"M512 962c248.52272695 0 450-201.47727305 450-450S760.52272695 62 512 62 62 263.47727305 62 512s201.47727305 450 450 450z m-179.14090869-321.70909131L461.19090869 512 332.9 383.70909131A35.91818174 35.91818174 0 1 1 383.70909131 332.81818174L512 461.19090869l128.29090869-128.33181738a35.91818174 35.91818174 0 0 1 50.85 50.85L562.80909131 512l128.33181738 128.29090869a35.91818174 35.91818174 0 1 1-50.80909043 50.85L512 562.80909131 383.70909131 691.18181826a35.91818174 35.91818174 0 1 1-50.85-50.85z","p-id":"1403"})]))}}),mu=Eu,gu=N.defineComponent({name:"IconBasicSuccess",__name:"icon-basic-success",setup(e){return(t,r)=>(N.openBlock(),N.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",version:"1.1"},[N.createElementVNode("path",{d:"M512 962c248.52272695 0 450-201.47727305 450-450S760.52272695 62 512 62 62 263.47727305 62 512s201.47727305 450 450 450z m-53.59090869-295.28181826l-146.20909131-120.06818174a32.60454521 32.60454521 0 0 1 41.4-50.4l121.09090869 99.40909131L665.81818174 361.86363652a32.60454521 32.60454521 0 1 1 50.52272695 41.31818174L504.63636347 662.13636348a32.60454521 32.60454521 0 0 1-29.98636347 11.61818173 32.60454521 32.60454521 0 0 1-16.24090869-7.07727216z","p-id":"1433"})]))}}),yu=gu,bu=N.defineComponent({name:"IconBasicWarn",__name:"icon-basic-warn",setup(e){return(t,r)=>(N.openBlock(),N.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",version:"1.1"},[N.createElementVNode("path",{d:"M512 962c248.52272695 0 450-201.47727305 450-450S760.52272695 62 512 62 62 263.47727305 62 512s201.47727305 450 450 450z m35.18181826-668.7v317.7a35.1 35.1 0 1 1-70.2 0V293.3a35.1 35.1 0 1 1 70.2 0zM512 765.8a35.18181826 35.18181826 0 1 1 0-70.40454521 35.18181826 35.18181826 0 0 1 0 70.36363652z","p-id":"1673"})]))}}),sa=bu,Cu=N.defineComponent({name:"IconClose",__name:"icon-close",setup(e){return(t,r)=>(N.openBlock(),N.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",version:"1.1"},[N.createElementVNode("path",{d:"M444.95186204 512L155.22644741 801.85435346a47.38499753 47.38499753 0 0 0 67.04815968 66.98369027L512.00002172 578.98369099l289.85435347 289.85435273a47.38499753 47.38499753 0 0 0 66.983691-67.04815967L578.98371272 512l289.85435347-289.85435346a47.38499753 47.38499753 0 0 0-67.04816041-66.98369027L512.00002172 445.01630901 222.14566827 155.16195627a47.38499753 47.38499753 0 1 0-66.98369027 67.04815967L445.01633146 512z","p-id":"1283"})]))}}),_u=Cu;const Ne={success:"success",error:"error",warning:"warning"},Au={[Ne.success]:N.markRaw(yu),[Ne.error]:N.markRaw(mu),[Ne.warning]:N.markRaw(sa)},d0=(e,t)=>{r0.ElMessage({grouping:!0,duration:5e3,type:t,message:e,offset:66,icon:Au[t]})},wu=e=>{d0(e,Ne.success)},e0=e=>{d0(e,Ne.error)},Bu=e=>{d0(e,Ne.warning)},Du=(e={})=>{const t=[];e?.text&&t.push(`<div class="text-202434 fz-14 weight-500">${e?.text}</div>`),e?.subText&&t.push(`<div class="text-74798c fz-12">${e?.subText}</div>`);const r={prompt:"提示",confirmButtonText:"删除",cancelButtonText:"取消",type:"warning",icon:N.markRaw(sa),closeIcon:N.markRaw(_u),confirmButtonClass:"el-button--danger"};return r0.ElMessageBox.confirm(t.join(""),e?.prompt||r.prompt,{confirmButtonText:e?.confirmButtonText||r.confirmButtonText,cancelButtonText:e?.cancelButtonText||r.cancelButtonText,type:e?.type||r.type,icon:e?.icon||r.icon,closeIcon:e?.closeIcon||r.closeIcon,dangerouslyUseHTMLString:!0,confirmButtonClass:e?.confirmButtonClass||r.confirmButtonClass}).then(()=>{e?.success?.()}).catch(()=>{e?.error?.()})},ua="/login",Fu=e=>e===ua||e==="/",la={cmos:"http://bigmodel.zhiduo.cmos:8080",cmcc:"http://aifly.cmos.cmcc:8010",online:"https://aifly.online-cmcc.cn:8020"},fa=()=>window.location.href.startsWith(la.cmos),t0=()=>fa()?"http://zx4a.cs.cmos":"http://zx4a.cmos.cmcc",Su={development:"development"},Me={get:"get",post:"post"},Ru=e=>`${hr()?window?.parent?.location?.origin:""}${e||""}`;class Pu{constructor(t,r){this.instance=Oa.create({baseURL:Ru(t),timeout:1e6,headers:{"Content-Type":"application/json;charset=utf-8"}}),this.loadCount=0,this.loadInstance=null,this.noCheckCode=r,this.config={},this.setupInterceptors()}setConfig(t){this.config={...t}}closeLoad(){this.loadCount--,this.loadCount===0&&this.loadInstance?.close()}setupInterceptors(){this.instance.interceptors.request.use(t=>(t?.noLoading||(this.loadCount===0&&(this.loadInstance=r0.ElLoading.service({fullscreen:!0,background:"transparent"})),this.loadCount++),t.noLogin||aa(Vr.satoken)?t:Promise.reject(t)),t=>(this.closeLoad(),Promise.reject(t))),this.instance.interceptors.response.use(t=>{if(t.config?.noLoading||this.closeLoad(),t.config.headers.Accept===oa.eventStream)return Promise.resolve(t);const{data:r}=t;if(t.config.responseType===Zr.blob||this.noCheckCode||t.config?.noCheckCode)return Promise.resolve(r);let n=(this.config||{}).hasOwnProperty("successCode")?this.config?.successCode:er.success;return r.code===n||r?.result==="success"?Promise.resolve(r):(r.msg&&e0(r.msg),Promise.reject(r))},t=>(this.closeLoad(),t?.message&&t.code!==er.canceled&&e0(t.message),t?.status===er.notLogin&&(ia(Vr.satoken),hr()?window.parent.location.href=t0():window.location.href=t0()),Promise.reject(t)))}get=({url:t,params:r,config:n={}})=>this.instance({url:t,method:Me.get,params:r,...n});post=({url:t,data:r,config:n={}})=>this.instance({url:t,method:Me.post,data:r,...n});importFile=({url:t,parameter:r,config:n={}})=>{const o=new FormData;return Object.keys(r).forEach(a=>{const s=r[a];s&&o.append(a,s)}),this.instance({url:t,method:Me.post,data:o,headers:{"Content-Type":"application/x-www-form-urlencoded"},...n})};downloadFile=({url:t,parameter:r,fileName:n,method:o=Me.get,config:a={}})=>{const s={[Me.get]:"params",[Me.post]:"data"};return this.instance({url:t,method:o,[s[o]]:r,responseType:Zr.blob,...a}).then(l=>{const u=new Blob([l]);"download"in document.createElement("a")?xa(u,n):navigator.msSaveBlob(u,n)})}}const xa=(e,t)=>{const r=document.createElement("a");r.download=t,r.style.display="none",r.href=URL.createObjectURL(e),document.body.appendChild(r),r.click(),URL.revokeObjectURL(r.href),document.body.removeChild(r)},da=(e,t=!1)=>new Pu(e,t),va={cslmYy:"/cslm-yy",cslmManagerOauth:"/cslm-manager-Oauth",cslmManagerRag:"/cslm-manager-rag",llmOperate:"/llmOperate",cslmModelManage:"/cslm-model-manage",cslmManagerApi:"/cslm-manager-api",cslmEngineProxy:"/cslm-engine-proxy",cslmFineTuning:"/cslm-fine-tuning",cslmManagerAgent:"/cslm-manager-agent"};function pa(e,t){return N.getCurrentScope()?(N.onScopeDispose(e,t),!0):!1}const v0=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ou=Object.prototype.toString,Lu=e=>Ou.call(e)==="[object Object]";function Iu(e){let t;function r(){return t||(t=e()),t}return r.reset=async()=>{const n=t;t=void 0,n&&await n},r}function Tr(e){return Array.isArray(e)?e:[e]}function Tu(e,t,r={}){const{immediate:n=!0,immediateCallback:o=!1}=r,a=N.shallowRef(!1);let s;function l(){s&&(clearTimeout(s),s=void 0)}function u(){a.value=!1,l()}function i(...c){o&&e(),l(),a.value=!0,s=setTimeout(()=>{a.value=!1,s=void 0,e(...c)},N.toValue(t))}return n&&(a.value=!0,v0&&i()),pa(u),{isPending:N.shallowReadonly(a),start:i,stop:u}}function ku(e,t,r){return N.watch(e,t,{...r,immediate:!0})}const ju=v0?window:void 0,ha=v0?window.navigator:void 0;function Uu(e){var t;const r=N.toValue(e);return(t=r?.$el)!==null&&t!==void 0?t:r}function Ea(...e){const t=[],r=()=>{t.forEach(l=>l()),t.length=0},n=(l,u,i,c)=>(l.addEventListener(u,i,c),()=>l.removeEventListener(u,i,c)),o=N.computed(()=>{const l=Tr(N.toValue(e[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),a=ku(()=>{var l,u;return[(l=(u=o.value)===null||u===void 0?void 0:u.map(i=>Uu(i)))!==null&&l!==void 0?l:[ju].filter(i=>i!=null),Tr(N.toValue(o.value?e[1]:e[0])),Tr(N.unref(o.value?e[2]:e[1])),N.toValue(o.value?e[3]:e[2])]},([l,u,i,c])=>{if(r(),!l?.length||!u?.length||!i?.length)return;const g=Lu(c)?{...c}:c;t.push(...l.flatMap(f=>u.flatMap(x=>i.map(d=>n(f,x,d,g)))))},{flush:"post"}),s=()=>{a(),r()};return pa(r),s}function Mu(){const e=N.shallowRef(!1),t=N.getCurrentInstance();return t&&N.onMounted(()=>{e.value=!0},t),e}function ma(e){const t=Mu();return N.computed(()=>(t.value,!!e()))}function so(e,t={}){const{controls:r=!1,navigator:n=ha}=t,o=ma(()=>n&&"permissions"in n),a=N.shallowRef(),s=typeof e=="string"?{name:e}:e,l=N.shallowRef(),u=()=>{var c,g;l.value=(c=(g=a.value)===null||g===void 0?void 0:g.state)!==null&&c!==void 0?c:"prompt"};Ea(a,"change",u,{passive:!0});const i=Iu(async()=>{if(o.value){if(!a.value)try{a.value=await n.permissions.query(s)}catch{a.value=void 0}finally{u()}if(r)return N.toRaw(a.value)}});return i(),r?{state:l,isSupported:o,query:i}:l}function Wu(e={}){const{navigator:t=ha,read:r=!1,source:n,copiedDuring:o=1500,legacy:a=!1}=e,s=ma(()=>t&&"clipboard"in t),l=so("clipboard-read"),u=so("clipboard-write"),i=N.computed(()=>s.value||a),c=N.shallowRef(""),g=N.shallowRef(!1),f=Tu(()=>g.value=!1,o,{immediate:!1});async function x(){let v=!(s.value&&y(l.value));if(!v)try{c.value=await t.clipboard.readText()}catch{v=!0}v&&(c.value=p())}i.value&&r&&Ea(["copy","cut"],x,{passive:!0});async function d(v=N.toValue(n)){if(i.value&&v!=null){let h=!(s.value&&y(u.value));if(!h)try{await t.clipboard.writeText(v)}catch{h=!0}h&&E(v),c.value=v,g.value=!0,f.start()}}function E(v){const h=document.createElement("textarea");h.value=v,h.style.position="absolute",h.style.opacity="0",document.body.appendChild(h),h.select(),document.execCommand("copy"),h.remove()}function p(){var v,h,m;return(v=(h=document)===null||h===void 0||(m=h.getSelection)===null||m===void 0||(m=m.call(h))===null||m===void 0?void 0:m.toString())!==null&&v!==void 0?v:""}function y(v){return v==="granted"||v==="prompt"}return{isSupported:i,text:N.readonly(c),copied:N.readonly(g),copy:d}}const Hu={sendMessage:"sendMessage",stopChat:"stopChat",generationStart:"generationStart",generationComplete:"generationComplete",delete:"delete",change:"change",updateModelValue:"update:modelValue",paginationChange:"pagination-change",operation:"operation",menuSelect:"menuSelect",updateData:"update-data",cancel:"cancel",confirm:"confirm",open:"open",opened:"opened",close:"close",closed:"closed",openAutoFocus:"open-auto-focus",closeAutoFocus:"close-auto-focus",updatePageSize:"update-page-size",updateCurrentPage:"update-current-page",sizeChange:"size-change",currentChange:"current-change"},Nu=(e="")=>{const t=window.$wujie?.props?.useRouter(),r=nt.useRouter(),n=o=>!o||e&&o.startsWith(`/${e}`)?o:o.startsWith("/")&&e?`/${e}${o}`:o;return{push(o){if(typeof o=="string")return t.push(n(o));if(typeof o=="object"){const a={...o};return o.path&&(a.path=n(o.path)),o.name&&(a.path=n(r.resolve(a)?.path),delete a.params,delete a.name),t.push(a)}return t.push(o)},replace(o){if(typeof o=="string")return t.replace(n(o));if(typeof o=="object"){const a={...o};return o.path&&(a.path=n(o.path)),o.name&&(a.path=n(r.resolve(a)?.path),delete a.params,delete a.name),t.replace(a)}return t.replace(o)},back(){return t.back()},forward(){return t.forward()},go(o){return t.go(o)},get currentRoute(){return t.currentRoute},beforeEach(o){return t.beforeEach(o)},beforeResolve(o){return t.beforeResolve(o)},afterEach(o){return t.afterEach(o)},addRoute(o,a){return t.addRoute(o,a)},getRoutes(){return t.getRoutes()},hasRoute(o){return t.hasRoute(o)},resolve(o,a,s){if(typeof o=="string")return t.resolve(n(o),a,s);if(typeof o=="object"){const l={...o};return o.path&&(l.path=n(o.path)),t.resolve(l,a,s)}return t.resolve(o,a,s)}}},qu=e=>{const t=window.$wujie?.props?.useRouter(),r=nt.useRouter(),n=o=>{if(!o)return o;let a="",s="";const l=o.substring(1).split("/");return a=l[0]||"",s=ca(a,e.VITE_SUB_APP_ENVIRONMENT?e.VITE_APP_PREFIX:""),l.shift(),l.unshift(`/${s}`),l.join("/")};return{push(o){if(typeof o=="string")return t.push(n(o));if(typeof o=="object"){const a={...o};return o.path&&(a.path=n(o.path)),o.name&&(a.path=n(r.resolve(a)?.path),delete a.params,delete a.name),t.push(a)}return t.push(o)},replace(o){if(typeof o=="string")return t.replace(n(o));if(typeof o=="object"){const a={...o};return o.path&&(a.path=n(o.path)),o.name&&(a.path=n(r.resolve(a)?.path),delete a.params,delete a.name),t.replace(a)}return t.replace(o)},back(){return t.back()},forward(){return t.forward()},go(o){return t.go(o)},get currentRoute(){return t.currentRoute},beforeEach(o){return t.beforeEach(o)},beforeResolve(o){return t.beforeResolve(o)},afterEach(o){return t.afterEach(o)},addRoute(o,a){return t.addRoute(o,a)},getRoutes(){return t.getRoutes()},hasRoute(o){return t.hasRoute(o)},resolve(o,a,s){if(typeof o=="string")return t.resolve(n(o),a,s);if(typeof o=="object"){const l={...o};return o.path&&(l.path=n(o.path)),t.resolve(l,a,s)}return t.resolve(o,a,s)}}},$u=(e,t)=>{const r=hr(),n=nt.useRoute(),o=r?Nu(e):nt.useRouter(),a=qu(t);return{vueRouter:o,vueRoute:n,watchRouter:()=>{r&&o.push(n)},jumpOtherAppRouter:a}},zu={primary:["var(--theme-color-5)","var(--theme-color-4)"]},Ju=(e,t,r)=>{const n=nt.useRouter(),{bus:o}=Oe,a=N.ref([]),s=N.ref([]),l=new Map,u=N.computed(()=>`${e}-${tr.routerChange}`),i=d=>{if(d)return r?.includes(d)&&t?.path?.includes(d)?`${d}-${new Date().getTime()}`:l.get(d)||d},c=d=>{l.set(d?.url,new Date().getTime()),a.value=[d?.url],setTimeout(()=>{a.value=[]})},g=({data:d})=>{switch(d?.refreshType){case na.keepAliveExclude:{c(d);break}}},f=d=>{const E=d.filter(p=>e===p.appName);s.value=E.map(p=>p.routePath).filter(p=>!r?.includes(p))},x=()=>{o.$on(u.value,d=>{n.push(d)})};return{excludedComponents:a,includedComponents:s,getComponentKey:i,setupEventListeners:()=>{x(),o.$on(tr.historyRoute,f),window.addEventListener("message",g)},cleanupEventListeners:()=>{o.$off(u.value),o.$off(tr.historyRoute,f),window.removeEventListener("message",g)}}},Gu=({prefixUrl:e,defineStore:t})=>{const r=da(e),n=o=>r.get({url:`${va.cslmManagerOauth}/v2/sys/user/home`,params:o});return()=>t("user",()=>{const o=N.ref({});return{getUserInfo:async()=>{const a=window?.$wujie?.props?.userInfoData;if(a?.userInfo?.id){o.value=a;return}await n({}).then(s=>{o.value=s?.data}).catch(()=>{})},userInfoData:o}})},Qu=()=>{setTimeout(()=>{const e=document.getElementById("app-loading");e&&e.parentNode&&e.parentNode.removeChild(e),window.$wujie?.props?.hideSkeleton&&window.$wujie.props.hideSkeleton?.()})};class Yu{static encrypt(t,r,n){const o=et.enc.Base64.parse(r),a=et.enc.Base64.parse(n);return et.AES.encrypt(t,o,{iv:a,mode:et.mode.CBC,padding:et.pad.Pkcs7}).toString()}}exports.$=tr;exports.A=er;exports.Be=la;exports.Ce=ia;exports.Ct=$u;exports.De=da;exports.Et=Qu;exports.Ie=fa;exports.J=t0;exports.K=Zr;exports.M=rt;exports.Mt=Yu;exports.N=e0;exports.Pe=ua;exports.Re=ca;exports.Rt=zu;exports.St=Ju;exports.Ue=va;exports.W=hr;exports._t=Gu;exports.at=cu;exports.be=aa;exports.bt=Hu;exports.ct=su;exports.dt=du;exports.ft=hu;exports.gt=wu;exports.ht=Bu;exports.it=uu;exports.lt=fu;exports.m=Y;exports.mt=vu;exports.nt=nu;exports.ot=ou;exports.pt=xu;exports.q=Vr;exports.rt=au;exports.st=iu;exports.ut=lu;exports.ve=ra;exports.vt=Du;exports.we=na;exports.wt=Fu;exports.xt=Wu;exports.ye=oa;exports.yt=Su;exports.ze=xa;
@@ -0,0 +1 @@
1
+ "use strict";const a=n=>(n.install=t=>{const s=n.name||n.__name;t.component(s,n)},n);exports.withInstall=a;