@arcblock/payment-service 1.29.8 → 1.29.9

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 (179) hide show
  1. package/dist/cf.d.ts +31 -0
  2. package/dist/cf.js +79 -60
  3. package/dist/index.js +163 -44
  4. package/package.json +4 -4
  5. package/web/assets/{account-DETfFe4_.js → account-Clbqiiw3.js} +1 -1
  6. package/web/assets/{action-B_DQJlip.js → action-DENqSeOa.js} +1 -1
  7. package/web/assets/{actions-BtaoyTWt.js → actions-0iWP2mcx.js} +1 -1
  8. package/web/assets/{actions-QPa-8lfB.js → actions-BD9BAp3M.js} +1 -1
  9. package/web/assets/{actions-jxGAdGfb.js → actions-BJDN6Op2.js} +1 -1
  10. package/web/assets/{actions-DJyfN5OU.js → actions-BSNy5bOd.js} +1 -1
  11. package/web/assets/{actions-Bt_jST94.js → actions-CDsj5j8l.js} +1 -1
  12. package/web/assets/{actions-D9MHLBFH.js → actions-CSpJGOX7.js} +1 -1
  13. package/web/assets/{actions-BknL4OyZ.js → actions-CZL47E9r.js} +1 -1
  14. package/web/assets/{actions-EPYeS5p4.js → actions-D3tJgrUn.js} +1 -1
  15. package/web/assets/{actions-BaDh4xWX.js → actions-DGQs8fFF.js} +1 -1
  16. package/web/assets/{add-price-CD-utowo.js → add-price-BpnICuHO.js} +1 -1
  17. package/web/assets/{admin-_nEB-lHn.js → admin-CD8ViZ7D.js} +1 -1
  18. package/web/assets/{assign-CkV5Q2LP.js → assign-0vMUDW_C.js} +1 -1
  19. package/web/assets/{attempts-DySeqBYU.js → attempts-CKlxkJuE.js} +1 -1
  20. package/web/assets/browser-DDv4_sgY.js +1 -0
  21. package/web/assets/{change-payment-CPUCUEER.js → change-payment-gAlRmJpv.js} +1 -1
  22. package/web/assets/{change-plan-CxE-XfWc.js → change-plan-C47wfWH8.js} +1 -1
  23. package/web/assets/{click-boundary-y8dVA_tr.js → click-boundary-CafubiPp.js} +1 -1
  24. package/web/assets/{connect-CC_l_f6Q.js → connect-BHHzrwLA.js} +1 -1
  25. package/web/assets/{copyable-DpX04wZz.js → copyable-QrCyyiou.js} +1 -1
  26. package/web/assets/{create-3SsWCAOC.js → create-0PUtkJZY.js} +1 -1
  27. package/web/assets/{create-BkQAaSvD.js → create-BJ1asdcy.js} +1 -1
  28. package/web/assets/{create-kG09X9gl.js → create-Bgv5ux17.js} +1 -1
  29. package/web/assets/{create-BmcRybZ5.js → create-C7GOgZZM.js} +1 -1
  30. package/web/assets/{create-tYebjhr9.js → create-DNar5UQD.js} +1 -1
  31. package/web/assets/{create-Bs65p5Ne.js → create-ke4FrPx1.js} +1 -1
  32. package/web/assets/{credit-grant-item-list-Bk27jIc7.js → credit-grant-item-list-CeDAM3qV.js} +1 -1
  33. package/web/assets/{credit-overview-DmMSEs14.js → credit-overview-4zh0H02x.js} +2 -2
  34. package/web/assets/{currency-restrictions-DYLv4YyW.js → currency-restrictions-BcEm8W45.js} +1 -1
  35. package/web/assets/{currency-select-DGS-62-L.js → currency-select-B4ieQBvv.js} +1 -1
  36. package/web/assets/{dayjs-B9tvQIKg.js → dayjs-DUTDpcNU.js} +1 -1
  37. package/web/assets/{description-Ym17DL48.js → description-SnR5WxWT.js} +1 -1
  38. package/web/assets/detail-46aLUdJj.js +1 -0
  39. package/web/assets/{detail-Cr2wG4Th.js → detail-B-ceWfZr.js} +1 -1
  40. package/web/assets/detail-B0IHl4MI.js +1 -0
  41. package/web/assets/detail-B8eOBVSQ.js +15 -0
  42. package/web/assets/{detail-DE3OOC5M.js → detail-BO3zglCn.js} +1 -1
  43. package/web/assets/{detail-DG4l2CqN.js → detail-BQpDGZJQ.js} +1 -1
  44. package/web/assets/{detail-CxYQYu_l.js → detail-BXTsnQny.js} +1 -1
  45. package/web/assets/{detail-CT9Unyrf.js → detail-B_lpOomD.js} +1 -1
  46. package/web/assets/{detail-Do9QO5L2.js → detail-Bfnkg0A1.js} +1 -1
  47. package/web/assets/detail-BwH0DwAi.js +1 -0
  48. package/web/assets/{detail-OZeeKI69.js → detail-C1FupF1D.js} +2 -2
  49. package/web/assets/{detail-cwHZbY62.js → detail-CMBRd4Ct.js} +1 -1
  50. package/web/assets/detail-C_Zdfa0y.js +1 -0
  51. package/web/assets/{detail-Cb9HBSMw.js → detail-Cg505nKX.js} +1 -1
  52. package/web/assets/{detail-DB56SG-k.js → detail-CsGZMimg.js} +1 -1
  53. package/web/assets/{detail-K9EVY3r2.js → detail-Ct5QNBqu.js} +1 -1
  54. package/web/assets/{detail-DuO_Jn5X.js → detail-CyMhK5K_.js} +1 -1
  55. package/web/assets/{detail-DuWdZIyp.js → detail-DACnmls3.js} +1 -1
  56. package/web/assets/{detail-BJTcK7mx.js → detail-DCTb8R7F.js} +1 -1
  57. package/web/assets/{detail-DPCTQLOx.js → detail-DNcp_u5S.js} +1 -1
  58. package/web/assets/detail-DbU3p040.js +1 -0
  59. package/web/assets/{detail-D5KRrQDx.js → detail-Tn2R5C8i.js} +1 -1
  60. package/web/assets/{detail-15zxCbV9.js → detail-wU4wNf4s.js} +1 -1
  61. package/web/assets/{drawer-form-Cl0T1Yyt.js → drawer-form-DspWWj3x.js} +1 -1
  62. package/web/assets/{edit-3HUAnaXW.js → edit-Bkj-OTJh.js} +1 -1
  63. package/web/assets/{editor-BF5I0siU.js → editor-AmthipP2.js} +1 -1
  64. package/web/assets/{embed-CsNqeCd0.js → embed-rRKjDoHi.js} +1 -1
  65. package/web/assets/{filter-toolbar-BydfQ-79.js → filter-toolbar-DXGSTq57.js} +1 -1
  66. package/web/assets/{form-DSzMo9UD.js → form-B5WW-lS5.js} +1 -1
  67. package/web/assets/form-BmQlJZ84.js +9 -0
  68. package/web/assets/{form-BGm5NPDn.js → form-CAPjlw7l.js} +1 -1
  69. package/web/assets/{form-CKfKLGXP.js → form-DD-EiA7W.js} +3 -3
  70. package/web/assets/{form-P4luyUpY.js → form-cX026J4G.js} +1 -1
  71. package/web/assets/{gas-Qf0SSUfS.js → gas-nyR96dB0.js} +1 -1
  72. package/web/assets/{generateCategoricalChart-BaWwaXky.js → generateCategoricalChart-BadryV3H.js} +1 -1
  73. package/web/assets/{home-HbrLyxJL.js → home-_eX1aim8.js} +1 -1
  74. package/web/assets/index-BBHMsIxJ.js +1 -0
  75. package/web/assets/{index-Dr_MwbKt.js → index-BQjlhCSt.js} +1 -1
  76. package/web/assets/{index-DPodCQ9c.js → index-BRENdB5m.js} +1 -1
  77. package/web/assets/{index-9xBRL_33.js → index-BTfJ08JU.js} +1 -1
  78. package/web/assets/{index-DgSc1Qy8.js → index-BarN7DfU.js} +17 -17
  79. package/web/assets/index-BhcoukR2.js +1 -0
  80. package/web/assets/index-BturOfxo.js +1 -0
  81. package/web/assets/{index-SYTpMMMH.js → index-BzABukCz.js} +1 -1
  82. package/web/assets/{index-2l22EYw9.js → index-C-RT84yb.js} +1 -1
  83. package/web/assets/{index-C0JaS08f.js → index-C136x0O2.js} +1 -1
  84. package/web/assets/{index-Cw0ugaQL.js → index-CCVDDX0c.js} +1 -1
  85. package/web/assets/index-CDVogp6E.js +1 -0
  86. package/web/assets/{index-Br7_mvEw.js → index-CW8VfoJO.js} +1 -1
  87. package/web/assets/{index-BIoSdRvX.js → index-CbSXdD6E.js} +3 -3
  88. package/web/assets/{index-CdkYrABk.js → index-Cd_BD9TM.js} +1 -1
  89. package/web/assets/index-D-bx9Kam.js +1 -0
  90. package/web/assets/index-D0mynT6_.js +1 -0
  91. package/web/assets/index-DEiuhiEo.js +14 -0
  92. package/web/assets/{index-DE2KzqXl.js → index-DNGmCIRP.js} +1 -1
  93. package/web/assets/{index-CI_EY4YS.js → index-DSe7Dot_.js} +1 -1
  94. package/web/assets/{index-BFML4-2u.js → index-DcddP3R9.js} +1 -1
  95. package/web/assets/index-DcrGSDby.js +1 -0
  96. package/web/assets/{index-fByZjxLy.js → index-DeK5Pqjv.js} +1 -1
  97. package/web/assets/{index-Clbt8nRm.js → index-DoX0A-rP.js} +1 -1
  98. package/web/assets/index-Du0Ieh1F.js +49 -0
  99. package/web/assets/index-Dybqd298.js +1 -0
  100. package/web/assets/index-EXZPddtw.js +1 -0
  101. package/web/assets/{index-Drav4oDH.js → index-Kd_qCyRG.js} +2 -2
  102. package/web/assets/{index-Dc954mDP.js → index-SOzRg0yJ.js} +1 -1
  103. package/web/assets/{index-BMKZToMM.js → index-UYeD8rTJ.js} +2 -2
  104. package/web/assets/{index-DZpJPE1Z.js → index-W2uZUlFs.js} +1 -1
  105. package/web/assets/{index-1y9kjPIr.js → index-XaFn2ySq.js} +1 -1
  106. package/web/assets/{index-fswPX_qe.js → index-YG5oc8O3.js} +1 -1
  107. package/web/assets/{index-B1pTTyGZ.js → index-ajD9Iotk.js} +1 -1
  108. package/web/assets/index-brUCsnBA.js +1 -0
  109. package/web/assets/{index-BP53rZV9.js → index-mn5Zdrtn.js} +1 -1
  110. package/web/assets/index-qulrJQ4J.js +1 -0
  111. package/web/assets/{index.es-BWnfUzLb.js → index.es-C8dcCHdW.js} +1 -1
  112. package/web/assets/{info-card-C1yxhxJG.js → info-card-BvIMFQo5.js} +1 -1
  113. package/web/assets/{info-metric-CNse3r66.js → info-metric-Dl4ZDm0Z.js} +1 -1
  114. package/web/assets/{info-row-group-BeUhWnnY.js → info-row-group-CFuMWJf1.js} +1 -1
  115. package/web/assets/{info-row-DOK2whMn.js → info-row-jI0h_hv4.js} +1 -1
  116. package/web/assets/{libphonenumber-CyphiuxQ.js → libphonenumber-Qs8PCdM-.js} +1 -1
  117. package/web/assets/{link-3eeclTeS.js → link-CmPoIweR.js} +1 -1
  118. package/web/assets/{list-DnePqZ2K.js → list-BdSkPjIa.js} +1 -1
  119. package/web/assets/{list-jHj_5yy3.js → list-CWMEf-_C.js} +1 -1
  120. package/web/assets/{list-C521zE_7.js → list-CkHExntK.js} +1 -1
  121. package/web/assets/{list-CO0X4L3-.js → list-DLB_hd0Q.js} +1 -1
  122. package/web/assets/{list-D-I0msRW.js → list-DVFJwd_I.js} +2 -2
  123. package/web/assets/{list-D1aevUOI.js → list-DaK9287Y.js} +2 -2
  124. package/web/assets/{list-1OG83xc4.js → list-DghnUOc4.js} +1 -1
  125. package/web/assets/{list-CNmzJKIQ.js → list-eFkvVlp5.js} +1 -1
  126. package/web/assets/metadata-BmQTVFku.js +55 -0
  127. package/web/assets/{meter-event-lmNMgmIu.js → meter-event-B1JIhVpb.js} +1 -1
  128. package/web/assets/{metrics-C7U41HWk.js → metrics-UvxyQbUF.js} +1 -1
  129. package/web/assets/{overview-Cs3-8n4e.js → overview-Cxc6WKba.js} +1 -1
  130. package/web/assets/{overview-CH1HnSP-.js → overview-DrMaIptb.js} +1 -1
  131. package/web/assets/{past-due-CGGRZmXY.js → past-due-CUXkxns0.js} +1 -1
  132. package/web/assets/pay-omLYkqRA.js +4 -0
  133. package/web/assets/{payment-method-info-BsOBbA3m.js → payment-method-info-Bsf89VxV.js} +2 -2
  134. package/web/assets/{preview-DjYRpRA8.js → preview-BifsgUGT.js} +1 -1
  135. package/web/assets/{preview-CjYh9dTg.js → preview-C-H8pGVw.js} +1 -1
  136. package/web/assets/{pricing-table-C3Lkhq46.js → pricing-table-B3QOaAB5.js} +2 -2
  137. package/web/assets/{pricing-table-edE6TJGX.js → pricing-table-BUJdtkMq.js} +1 -1
  138. package/web/assets/{product-select-0ScZE2e8.js → product-select-ChEyoJqJ.js} +1 -1
  139. package/web/assets/{recharge-DcPtT8vt.js → recharge-BVT4USAO.js} +1 -1
  140. package/web/assets/{related-credit-grants-BygNGPfb.js → related-credit-grants-JV2ICsR5.js} +22 -22
  141. package/web/assets/{safe-did-address-B0fFbUph.js → safe-did-address-CiG_V6Gy.js} +1 -1
  142. package/web/assets/{source-data-viewer-By_Utay-.js → source-data-viewer-i1q9wNIG.js} +1 -1
  143. package/web/assets/{status-l6pD08fw.js → status-CUVYrUIG.js} +1 -1
  144. package/web/assets/subscription-BYz_k9dq.js +1 -0
  145. package/web/assets/{subscription-Dq22e3D1.js → subscription-DrnSPIfs.js} +1 -1
  146. package/web/assets/table-BrtHemkA.js +1 -0
  147. package/web/assets/{tax-code-select-CWhIIiXi.js → tax-code-select-TS07I0rB.js} +1 -1
  148. package/web/assets/{tax-utils-DqNX34-r.js → tax-utils-bPjALcVG.js} +1 -1
  149. package/web/assets/{uploader-DRXDz_r0.js → uploader-CsQNHG4I.js} +1 -1
  150. package/web/assets/{usage-records-jjJMZ6DI.js → usage-records-DAUQMJAW.js} +1 -1
  151. package/web/assets/{util-mDHAL0lx.js → util-DxXTXkeY.js} +1 -1
  152. package/web/assets/{vendor-arcblock-ChFCRdyx.js → vendor-arcblock-BTCAQSUK.js} +1 -1
  153. package/web/assets/{vendor-blocklet-D_i_QeSo.js → vendor-blocklet-DcLR2Cyf.js} +43 -43
  154. package/web/index.html +1 -1
  155. package/web/assets/browser-DSLTxXlL.js +0 -1
  156. package/web/assets/detail-ASPdMJoW.js +0 -1
  157. package/web/assets/detail-CIx9vkir.js +0 -1
  158. package/web/assets/detail-D5NbV29V.js +0 -1
  159. package/web/assets/detail-DVVzYhdV.js +0 -1
  160. package/web/assets/detail-Dqc0OfCQ.js +0 -1
  161. package/web/assets/detail-uhlID8jD.js +0 -15
  162. package/web/assets/form-BXAuSawq.js +0 -9
  163. package/web/assets/index-0HK7CYm4.js +0 -1
  164. package/web/assets/index-BJ_E6bEO.js +0 -1
  165. package/web/assets/index-Bnyh4rlV.js +0 -1
  166. package/web/assets/index-BoQ7wf3O.js +0 -1
  167. package/web/assets/index-C68x-aau.js +0 -1
  168. package/web/assets/index-C8s2QKoe.js +0 -1
  169. package/web/assets/index-Cn7O-OP7.js +0 -49
  170. package/web/assets/index-DU39aG5u.js +0 -1
  171. package/web/assets/index-DtbqgSK4.js +0 -1
  172. package/web/assets/index-DuRu9NWB.js +0 -14
  173. package/web/assets/index-WMKOiUez.js +0 -1
  174. package/web/assets/index-dmHgoplS.js +0 -1
  175. package/web/assets/index-txVTkoDD.js +0 -1
  176. package/web/assets/metadata-CMSHcSXi.js +0 -55
  177. package/web/assets/pay-CSpHBUh_.js +0 -4
  178. package/web/assets/subscription-DcwhSOpa.js +0 -1
  179. package/web/assets/table-BRU4Enia.js +0 -1
@@ -1,4 +1,4 @@
1
- import{ct as Ba}from"./vendor-blocklet-D_i_QeSo.js";import{g as rl}from"./vendor-mui-BXZut9Pz.js";import"./vendor-react-BPknnnEA.js";var ln={},hn={},cr,vn;function Q(){if(vn)return cr;vn=1;var n=function(e){return e&&e.Math===Math&&e};return cr=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof globalThis=="object"&&globalThis)||n(typeof cr=="object"&&cr)||(function(){return this})()||Function("return this")(),cr}var Zr={},Jr,cn;function Z(){return cn||(cn=1,Jr=function(n){try{return!!n()}catch{return!0}}),Jr}var et,fn;function we(){if(fn)return et;fn=1;var n=Z();return et=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),et}var rt,gn;function Ar(){if(gn)return rt;gn=1;var n=Z();return rt=!n(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),rt}var tt,dn;function se(){if(dn)return tt;dn=1;var n=Ar(),e=Function.prototype.call;return tt=n?e.bind(e):function(){return e.apply(e,arguments)},tt}var it={},pn;function Hl(){if(pn)return it;pn=1;var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!n.call({1:2},1);return it.f=r?function(i){var a=e(this,i);return!!a&&a.enumerable}:n,it}var at,yn;function Fa(){return yn||(yn=1,at=function(n,e){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:e}}),at}var nt,mn;function J(){if(mn)return nt;mn=1;var n=Ar(),e=Function.prototype,r=e.call,t=n&&e.bind.bind(r,r);return nt=n?t:function(i){return function(){return r.apply(i,arguments)}},nt}var st,bn;function er(){if(bn)return st;bn=1;var n=J(),e=n({}.toString),r=n("".slice);return st=function(t){return r(e(t),8,-1)},st}var ot,xn;function tl(){if(xn)return ot;xn=1;var n=J(),e=Z(),r=er(),t=Object,i=n("".split);return ot=e(function(){return!t("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):t(a)}:t,ot}var ut,On;function Ir(){return On||(On=1,ut=function(n){return n==null}),ut}var lt,Tn;function Pe(){if(Tn)return lt;Tn=1;var n=Ir(),e=TypeError;return lt=function(r){if(n(r))throw new e("Can't call method on "+r);return r},lt}var ht,Sn;function dr(){if(Sn)return ht;Sn=1;var n=tl(),e=Pe();return ht=function(r){return n(e(r))},ht}var vt,En;function re(){if(En)return vt;En=1;var n=typeof document=="object"&&document.all;return vt=typeof n>"u"&&n!==void 0?function(e){return typeof e=="function"||e===n}:function(e){return typeof e=="function"},vt}var ct,Rn;function ye(){if(Rn)return ct;Rn=1;var n=re();return ct=function(e){return typeof e=="object"?e!==null:n(e)},ct}var ft,Cn;function rr(){if(Cn)return ft;Cn=1;var n=Q(),e=re(),r=function(t){return e(t)?t:void 0};return ft=function(t,i){return arguments.length<2?r(n[t]):n[t]&&n[t][i]},ft}var gt,wn;function Nr(){if(wn)return gt;wn=1;var n=J();return gt=n({}.isPrototypeOf),gt}var dt,Pn;function pr(){if(Pn)return dt;Pn=1;var n=Q(),e=n.navigator,r=e&&e.userAgent;return dt=r?String(r):"",dt}var pt,An;function Ua(){if(An)return pt;An=1;var n=Q(),e=pr(),r=n.process,t=n.Deno,i=r&&r.versions||t&&t.version,a=i&&i.v8,s,o;return a&&(s=a.split("."),o=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!o&&e&&(s=e.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=e.match(/Chrome\/(\d+)/),s&&(o=+s[1]))),pt=o,pt}var yt,In;function il(){if(In)return yt;In=1;var n=Ua(),e=Z(),r=Q(),t=r.String;return yt=!!Object.getOwnPropertySymbols&&!e(function(){var i=Symbol("symbol detection");return!t(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&n&&n<41}),yt}var mt,Nn;function al(){if(Nn)return mt;Nn=1;var n=il();return mt=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol",mt}var bt,_n;function nl(){if(_n)return bt;_n=1;var n=rr(),e=re(),r=Nr(),t=al(),i=Object;return bt=t?function(a){return typeof a=="symbol"}:function(a){var s=n("Symbol");return e(s)&&r(s.prototype,i(a))},bt}var xt,Mn;function _r(){if(Mn)return xt;Mn=1;var n=String;return xt=function(e){try{return n(e)}catch{return"Object"}},xt}var Ot,qn;function Fe(){if(qn)return Ot;qn=1;var n=re(),e=_r(),r=TypeError;return Ot=function(t){if(n(t))return t;throw new r(e(t)+" is not a function")},Ot}var Tt,Dn;function nr(){if(Dn)return Tt;Dn=1;var n=Fe(),e=Ir();return Tt=function(r,t){var i=r[t];return e(i)?void 0:n(i)},Tt}var St,Vn;function Wl(){if(Vn)return St;Vn=1;var n=se(),e=re(),r=ye(),t=TypeError;return St=function(i,a){var s,o;if(a==="string"&&e(s=i.toString)&&!r(o=n(s,i))||e(s=i.valueOf)&&!r(o=n(s,i))||a!=="string"&&e(s=i.toString)&&!r(o=n(s,i)))return o;throw new t("Can't convert object to primitive value")},St}var Et={exports:{}},Rt,Ln;function Me(){return Ln||(Ln=1,Rt=!1),Rt}var Ct,kn;function Ga(){if(kn)return Ct;kn=1;var n=Q(),e=Object.defineProperty;return Ct=function(r,t){try{e(n,r,{value:t,configurable:!0,writable:!0})}catch{n[r]=t}return t},Ct}var jn;function $a(){if(jn)return Et.exports;jn=1;var n=Me(),e=Q(),r=Ga(),t="__core-js_shared__",i=Et.exports=e[t]||r(t,{});return(i.versions||(i.versions=[])).push({version:"3.49.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Et.exports}var wt,Bn;function za(){if(Bn)return wt;Bn=1;var n=$a();return wt=function(e,r){return n[e]||(n[e]=r||{})},wt}var Pt,Fn;function Mr(){if(Fn)return Pt;Fn=1;var n=Pe(),e=Object;return Pt=function(r){return e(n(r))},Pt}var At,Un;function Ae(){if(Un)return At;Un=1;var n=J(),e=Mr(),r=n({}.hasOwnProperty);return At=Object.hasOwn||function(i,a){return r(e(i),a)},At}var It,Gn;function sl(){if(Gn)return It;Gn=1;var n=J(),e=0,r=Math.random(),t=n(1.1.toString);return It=function(i){return"Symbol("+(i===void 0?"":i)+")_"+t(++e+r,36)},It}var Nt,$n;function ne(){if($n)return Nt;$n=1;var n=Q(),e=za(),r=Ae(),t=sl(),i=il(),a=al(),s=n.Symbol,o=e("wks"),u=a?s.for||s:s&&s.withoutSetter||t;return Nt=function(l){return r(o,l)||(o[l]=i&&r(s,l)?s[l]:u("Symbol."+l)),o[l]},Nt}var _t,zn;function Yl(){if(zn)return _t;zn=1;var n=se(),e=ye(),r=nl(),t=nr(),i=Wl(),a=ne(),s=TypeError,o=a("toPrimitive");return _t=function(u,l){if(!e(u)||r(u))return u;var h=t(u,o),c;if(h){if(l===void 0&&(l="default"),c=n(h,u,l),!e(c)||r(c))return c;throw new s("Can't convert object to primitive value")}return l===void 0&&(l="number"),i(u,l)},_t}var Mt,Hn;function ol(){if(Hn)return Mt;Hn=1;var n=Yl(),e=nl();return Mt=function(r){var t=n(r,"string");return e(t)?t:t+""},Mt}var qt,Wn;function qr(){if(Wn)return qt;Wn=1;var n=Q(),e=ye(),r=n.document,t=e(r)&&e(r.createElement);return qt=function(i){return t?r.createElement(i):{}},qt}var Dt,Yn;function ul(){if(Yn)return Dt;Yn=1;var n=we(),e=Z(),r=qr();return Dt=!n&&!e(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),Dt}var Xn;function Dr(){if(Xn)return Zr;Xn=1;var n=we(),e=se(),r=Hl(),t=Fa(),i=dr(),a=ol(),s=Ae(),o=ul(),u=Object.getOwnPropertyDescriptor;return Zr.f=n?u:function(h,c){if(h=i(h),c=a(c),o)try{return u(h,c)}catch{}if(s(h,c))return t(!e(r.f,h,c),h[c])},Zr}var Vt={},Lt,Kn;function ll(){if(Kn)return Lt;Kn=1;var n=we(),e=Z();return Lt=n&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),Lt}var kt,Qn;function he(){if(Qn)return kt;Qn=1;var n=ye(),e=String,r=TypeError;return kt=function(t){if(n(t))return t;throw new r(e(t)+" is not an object")},kt}var Zn;function Ye(){if(Zn)return Vt;Zn=1;var n=we(),e=ul(),r=ll(),t=he(),i=ol(),a=TypeError,s=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",h="writable";return Vt.f=n?r?function(f,v,g){if(t(f),v=i(v),t(g),typeof f=="function"&&v==="prototype"&&"value"in g&&h in g&&!g[h]){var d=o(f,v);d&&d[h]&&(f[v]=g.value,g={configurable:l in g?g[l]:d[l],enumerable:u in g?g[u]:d[u],writable:!1})}return s(f,v,g)}:s:function(f,v,g){if(t(f),v=i(v),t(g),e)try{return s(f,v,g)}catch{}if("get"in g||"set"in g)throw new a("Accessors not supported");return"value"in g&&(f[v]=g.value),f},Vt}var jt,Jn;function yr(){if(Jn)return jt;Jn=1;var n=we(),e=Ye(),r=Fa();return jt=n?function(t,i,a){return e.f(t,i,r(1,a))}:function(t,i,a){return t[i]=a,t},jt}var Bt={exports:{}},Ft,es;function Vr(){if(es)return Ft;es=1;var n=we(),e=Ae(),r=Function.prototype,t=n&&Object.getOwnPropertyDescriptor,i=e(r,"name"),a=i&&(function(){}).name==="something",s=i&&(!n||n&&t(r,"name").configurable);return Ft={EXISTS:i,PROPER:a,CONFIGURABLE:s},Ft}var Ut,rs;function Ha(){if(rs)return Ut;rs=1;var n=J(),e=re(),r=$a(),t=n(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(i){return t(i)}),Ut=r.inspectSource,Ut}var Gt,ts;function Xl(){if(ts)return Gt;ts=1;var n=Q(),e=re(),r=n.WeakMap;return Gt=e(r)&&/native code/.test(String(r)),Gt}var $t,is;function Wa(){if(is)return $t;is=1;var n=za(),e=sl(),r=n("keys");return $t=function(t){return r[t]||(r[t]=e(t))},$t}var zt,as;function Ya(){return as||(as=1,zt={}),zt}var Ht,ns;function Lr(){if(ns)return Ht;ns=1;var n=Xl(),e=Q(),r=ye(),t=yr(),i=Ae(),a=$a(),s=Wa(),o=Ya(),u="Object already initialized",l=e.TypeError,h=e.WeakMap,c,f,v,g=function(m){return v(m)?f(m):c(m,{})},d=function(m){return function(b){var x;if(!r(b)||(x=f(b)).type!==m)throw new l("Incompatible receiver, "+m+" required");return x}};if(n||a.state){var p=a.state||(a.state=new h);p.get=p.get,p.has=p.has,p.set=p.set,c=function(m,b){if(p.has(m))throw new l(u);return b.facade=m,p.set(m,b),b},f=function(m){return p.get(m)||{}},v=function(m){return p.has(m)}}else{var y=s("state");o[y]=!0,c=function(m,b){if(i(m,y))throw new l(u);return b.facade=m,t(m,y,b),b},f=function(m){return i(m,y)?m[y]:{}},v=function(m){return i(m,y)}}return Ht={set:c,get:f,has:v,enforce:g,getterFor:d},Ht}var ss;function hl(){if(ss)return Bt.exports;ss=1;var n=J(),e=Z(),r=re(),t=Ae(),i=we(),a=Vr().CONFIGURABLE,s=Ha(),o=Lr(),u=o.enforce,l=o.get,h=String,c=Object.defineProperty,f=n("".slice),v=n("".replace),g=n([].join),d=i&&!e(function(){return c(function(){},"length",{value:8}).length!==8}),p=String(String).split("String"),y=Bt.exports=function(m,b,x){f(h(b),0,7)==="Symbol("&&(b="["+v(h(b),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(b="get "+b),x&&x.setter&&(b="set "+b),(!t(m,"name")||a&&m.name!==b)&&(i?c(m,"name",{value:b,configurable:!0}):m.name=b),d&&x&&t(x,"arity")&&m.length!==x.arity&&c(m,"length",{value:x.arity});try{x&&t(x,"constructor")&&x.constructor?i&&c(m,"prototype",{writable:!1}):m.prototype&&(m.prototype=void 0)}catch{}var S=u(m);return t(S,"source")||(S.source=g(p,typeof b=="string"?b:"")),m};return Function.prototype.toString=y(function(){return r(this)&&l(this).source||s(this)},"toString"),Bt.exports}var Wt,os;function tr(){if(os)return Wt;os=1;var n=re(),e=Ye(),r=hl(),t=Ga();return Wt=function(i,a,s,o){o||(o={});var u=o.enumerable,l=o.name!==void 0?o.name:a;if(n(s)&&r(s,l,o),o.global)u?i[a]=s:t(a,s);else{try{o.unsafe?i[a]&&(u=!0):delete i[a]}catch{}u?i[a]=s:e.f(i,a,{value:s,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return i},Wt}var Yt={},Xt,us;function Kl(){if(us)return Xt;us=1;var n=Math.ceil,e=Math.floor;return Xt=Math.trunc||function(t){var i=+t;return(i>0?e:n)(i)},Xt}var Kt,ls;function kr(){if(ls)return Kt;ls=1;var n=Kl();return Kt=function(e){var r=+e;return r!==r||r===0?0:n(r)},Kt}var Qt,hs;function Ql(){if(hs)return Qt;hs=1;var n=kr(),e=Math.max,r=Math.min;return Qt=function(t,i){var a=n(t);return a<0?e(a+i,0):r(a,i)},Qt}var Zt,vs;function sr(){if(vs)return Zt;vs=1;var n=kr(),e=Math.min;return Zt=function(r){var t=n(r);return t>0?e(t,9007199254740991):0},Zt}var Jt,cs;function Xa(){if(cs)return Jt;cs=1;var n=sr();return Jt=function(e){return n(e.length)},Jt}var ei,fs;function vl(){if(fs)return ei;fs=1;var n=dr(),e=Ql(),r=Xa(),t=function(i){return function(a,s,o){var u=n(a),l=r(u);if(l===0)return!i&&-1;var h=e(o,l),c;if(i&&s!==s){for(;l>h;)if(c=u[h++],c!==c)return!0}else for(;l>h;h++)if((i||h in u)&&u[h]===s)return i||h||0;return!i&&-1}};return ei={includes:t(!0),indexOf:t(!1)},ei}var ri,gs;function cl(){if(gs)return ri;gs=1;var n=J(),e=Ae(),r=dr(),t=vl().indexOf,i=Ya(),a=n([].push);return ri=function(s,o){var u=r(s),l=0,h=[],c;for(c in u)!e(i,c)&&e(u,c)&&a(h,c);for(;o.length>l;)e(u,c=o[l++])&&(~t(h,c)||a(h,c));return h},ri}var ti,ds;function Ka(){return ds||(ds=1,ti=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),ti}var ps;function Zl(){if(ps)return Yt;ps=1;var n=cl(),e=Ka(),r=e.concat("length","prototype");return Yt.f=Object.getOwnPropertyNames||function(i){return n(i,r)},Yt}var ii={},ys;function Jl(){return ys||(ys=1,ii.f=Object.getOwnPropertySymbols),ii}var ai,ms;function eh(){if(ms)return ai;ms=1;var n=rr(),e=J(),r=Zl(),t=Jl(),i=he(),a=e([].concat);return ai=n("Reflect","ownKeys")||function(o){var u=r.f(i(o)),l=t.f;return l?a(u,l(o)):u},ai}var ni,bs;function rh(){if(bs)return ni;bs=1;var n=Ae(),e=eh(),r=Dr(),t=Ye();return ni=function(i,a,s){for(var o=e(a),u=t.f,l=r.f,h=0;h<o.length;h++){var c=o[h];!n(i,c)&&!(s&&n(s,c))&&u(i,c,l(a,c))}},ni}var si,xs;function fl(){if(xs)return si;xs=1;var n=Z(),e=re(),r=/#|\.prototype\./,t=function(u,l){var h=a[i(u)];return h===o?!0:h===s?!1:e(l)?n(l):!!l},i=t.normalize=function(u){return String(u).replace(r,".").toLowerCase()},a=t.data={},s=t.NATIVE="N",o=t.POLYFILL="P";return si=t,si}var oi,Os;function ve(){if(Os)return oi;Os=1;var n=Q(),e=Dr().f,r=yr(),t=tr(),i=Ga(),a=rh(),s=fl();return oi=function(o,u){var l=o.target,h=o.global,c=o.stat,f,v,g,d,p,y;if(h?v=n:c?v=n[l]||i(l,{}):v=n[l]&&n[l].prototype,v)for(g in u){if(p=u[g],o.dontCallGetSet?(y=e(v,g),d=y&&y.value):d=v[g],f=s(h?g:l+(c?".":"#")+g,o.forced),!f&&d!==void 0){if(typeof p==typeof d)continue;a(p,d)}(o.sham||d&&d.sham)&&r(p,"sham",!0),t(v,g,p,o)}},oi}var ui,Ts;function gl(){if(Ts)return ui;Ts=1;var n=Q(),e=pr(),r=er(),t=function(i){return e.slice(0,i.length)===i};return ui=(function(){return t("Bun/")?"BUN":t("Cloudflare-Workers")?"CLOUDFLARE":t("Deno/")?"DENO":t("Node.js/")?"NODE":n.Bun&&typeof Bun.version=="string"?"BUN":n.Deno&&typeof Deno.version=="object"?"DENO":r(n.process)==="process"?"NODE":n.window&&n.document?"BROWSER":"REST"})(),ui}var li,Ss;function jr(){if(Ss)return li;Ss=1;var n=gl();return li=n==="NODE",li}var hi,Es;function th(){if(Es)return hi;Es=1;var n=Q();return hi=n,hi}var vi,Rs;function ih(){if(Rs)return vi;Rs=1;var n=J(),e=Fe();return vi=function(r,t,i){try{return n(e(Object.getOwnPropertyDescriptor(r,t)[i]))}catch{}},vi}var ci,Cs;function ah(){if(Cs)return ci;Cs=1;var n=ye();return ci=function(e){return n(e)||e===null},ci}var fi,ws;function nh(){if(ws)return fi;ws=1;var n=ah(),e=String,r=TypeError;return fi=function(t){if(n(t))return t;throw new r("Can't set "+e(t)+" as a prototype")},fi}var gi,Ps;function dl(){if(Ps)return gi;Ps=1;var n=ih(),e=ye(),r=Pe(),t=nh();return gi=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,a={},s;try{s=n(Object.prototype,"__proto__","set"),s(a,[]),i=a instanceof Array}catch{}return function(u,l){return r(u),t(l),e(u)&&(i?s(u,l):u.__proto__=l),u}})():void 0),gi}var di,As;function Br(){if(As)return di;As=1;var n=Ye().f,e=Ae(),r=ne(),t=r("toStringTag");return di=function(i,a,s){i&&!s&&(i=i.prototype),i&&!e(i,t)&&n(i,t,{configurable:!0,value:a})},di}var pi,Is;function sh(){if(Is)return pi;Is=1;var n=hl(),e=Ye();return pi=function(r,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),e.f(r,t,i)},pi}var yi,Ns;function oh(){if(Ns)return yi;Ns=1;var n=rr(),e=sh(),r=ne(),t=we(),i=r("species");return yi=function(a){var s=n(a);t&&s&&!s[i]&&e(s,i,{configurable:!0,get:function(){return this}})},yi}var mi,_s;function uh(){if(_s)return mi;_s=1;var n=Nr(),e=TypeError;return mi=function(r,t){if(n(t,r))return r;throw new e("Incorrect invocation")},mi}var bi,Ms;function lh(){if(Ms)return bi;Ms=1;var n=ne(),e=n("toStringTag"),r={};return r[e]="z",bi=String(r)==="[object z]",bi}var xi,qs;function Qa(){if(qs)return xi;qs=1;var n=lh(),e=re(),r=er(),t=ne(),i=t("toStringTag"),a=Object,s=r((function(){return arguments})())==="Arguments",o=function(u,l){try{return u[l]}catch{}};return xi=n?r:function(u){var l,h,c;return u===void 0?"Undefined":u===null?"Null":typeof(h=o(l=a(u),i))=="string"?h:s?r(l):(c=r(l))==="Object"&&e(l.callee)?"Arguments":c},xi}var Oi,Ds;function hh(){if(Ds)return Oi;Ds=1;var n=J(),e=Z(),r=re(),t=Qa(),i=rr(),a=Ha(),s=function(){},o=i("Reflect","construct"),u=/^\s*(?:class|function)\b/,l=n(u.exec),h=!u.test(s),c=function(g){if(!r(g))return!1;try{return o(s,[],g),!0}catch{return!1}},f=function(g){if(!r(g))return!1;switch(t(g)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!l(u,a(g))}catch{return!0}};return f.sham=!0,Oi=!o||e(function(){var v;return c(c.call)||!c(Object)||!c(function(){v=!0})||v})?f:c,Oi}var Ti,Vs;function vh(){if(Vs)return Ti;Vs=1;var n=hh(),e=_r(),r=TypeError;return Ti=function(t){if(n(t))return t;throw new r(e(t)+" is not a constructor")},Ti}var Si,Ls;function pl(){if(Ls)return Si;Ls=1;var n=he(),e=vh(),r=Ir(),t=ne(),i=t("species");return Si=function(a,s){var o=n(a).constructor,u;return o===void 0||r(u=n(o)[i])?s:e(u)},Si}var Ei,ks;function yl(){if(ks)return Ei;ks=1;var n=Ar(),e=Function.prototype,r=e.apply,t=e.call;return Ei=typeof Reflect=="object"&&Reflect.apply||(n?t.bind(r):function(){return t.apply(r,arguments)}),Ei}var Ri,js;function Fr(){if(js)return Ri;js=1;var n=er(),e=J();return Ri=function(r){if(n(r)==="Function")return e(r)},Ri}var Ci,Bs;function Za(){if(Bs)return Ci;Bs=1;var n=Fr(),e=Fe(),r=Ar(),t=n(n.bind);return Ci=function(i,a){return e(i),a===void 0?i:r?t(i,a):function(){return i.apply(a,arguments)}},Ci}var wi,Fs;function ml(){if(Fs)return wi;Fs=1;var n=rr();return wi=n("document","documentElement"),wi}var Pi,Us;function ch(){if(Us)return Pi;Us=1;var n=J();return Pi=n([].slice),Pi}var Ai,Gs;function fh(){if(Gs)return Ai;Gs=1;var n=TypeError;return Ai=function(e,r){if(e<r)throw new n("Not enough arguments");return e},Ai}var Ii,$s;function bl(){if($s)return Ii;$s=1;var n=pr();return Ii=/ipad|iphone|ipod/i.test(n)&&/applewebkit/i.test(n),Ii}var Ni,zs;function xl(){if(zs)return Ni;zs=1;var n=Q(),e=yl(),r=Za(),t=re(),i=Ae(),a=Z(),s=ml(),o=ch(),u=qr(),l=fh(),h=bl(),c=jr(),f=n.setImmediate,v=n.clearImmediate,g=n.process,d=n.Dispatch,p=n.Function,y=n.MessageChannel,m=n.String,b=0,x={},S="onreadystatechange",E,T,R,P;a(function(){E=n.location});var A=function(w){if(i(x,w)){var V=x[w];delete x[w],V()}},D=function(w){return function(){A(w)}},I=function(w){A(w.data)},k=function(w){n.postMessage(m(w),E.protocol+"//"+E.host)};return(!f||!v)&&(f=function(V){l(arguments.length,1);var B=t(V)?V:p(V),N=o(arguments,1);return x[++b]=function(){e(B,void 0,N)},T(b),b},v=function(V){delete x[V]},c?T=function(w){g.nextTick(D(w))}:d&&d.now?T=function(w){d.now(D(w))}:y&&!h?(R=new y,P=R.port2,R.port1.onmessage=I,T=r(P.postMessage,P)):n.addEventListener&&t(n.postMessage)&&!n.importScripts&&E&&E.protocol!=="file:"&&!a(k)?(T=k,n.addEventListener("message",I,!1)):S in u("script")?T=function(w){s.appendChild(u("script"))[S]=function(){s.removeChild(this),A(w)}}:T=function(w){setTimeout(D(w),0)}),Ni={set:f,clear:v},Ni}var _i,Hs;function gh(){if(Hs)return _i;Hs=1;var n=Q(),e=we(),r=Object.getOwnPropertyDescriptor;return _i=function(t){if(!e)return n[t];var i=r(n,t);return i&&i.value},_i}var Mi,Ws;function Ol(){if(Ws)return Mi;Ws=1;var n=function(){this.head=null,this.tail=null};return n.prototype={add:function(e){var r={item:e,next:null},t=this.tail;t?t.next=r:this.head=r,this.tail=r},get:function(){var e=this.head;if(e){var r=this.head=e.next;return r===null&&(this.tail=null),e.item}}},Mi=n,Mi}var qi,Ys;function dh(){if(Ys)return qi;Ys=1;var n=pr();return qi=/ipad|iphone|ipod/i.test(n)&&typeof Pebble<"u",qi}var Di,Xs;function ph(){if(Xs)return Di;Xs=1;var n=pr();return Di=/web0s(?!.*chrome)/i.test(n),Di}var Vi,Ks;function yh(){if(Ks)return Vi;Ks=1;var n=Q(),e=gh(),r=Za(),t=xl().set,i=Ol(),a=bl(),s=dh(),o=ph(),u=jr(),l=n.MutationObserver||n.WebKitMutationObserver,h=n.document,c=n.process,f=n.Promise,v=e("queueMicrotask"),g,d,p,y,m;if(!v){var b=new i,x=function(){var S,E;for(u&&(S=c.domain)&&S.exit();E=b.get();)try{E()}catch(T){throw b.head&&g(),T}S&&S.enter()};!a&&!u&&!o&&l&&h?(d=!0,p=h.createTextNode(""),new l(x).observe(p,{characterData:!0}),g=function(){p.data=d=!d}):!s&&f&&f.resolve?(y=f.resolve(void 0),y.constructor=f,m=r(y.then,y),g=function(){m(x)}):u?g=function(){c.nextTick(x)}:(t=r(t,n),g=function(){t(x)}),v=function(S){b.head||g(),b.add(S)}}return Vi=v,Vi}var Li,Qs;function mh(){return Qs||(Qs=1,Li=function(n,e){try{arguments.length===1?console.error(n):console.error(n,e)}catch{}}),Li}var ki,Zs;function Ja(){return Zs||(Zs=1,ki=function(n){try{return{error:!1,value:n()}}catch(e){return{error:!0,value:e}}}),ki}var ji,Js;function mr(){if(Js)return ji;Js=1;var n=Q();return ji=n.Promise,ji}var Bi,eo;function br(){if(eo)return Bi;eo=1;var n=Q(),e=mr(),r=re(),t=fl(),i=Ha(),a=ne(),s=gl(),o=Me(),u=Ua(),l=e&&e.prototype,h=a("species"),c=!1,f=r(n.PromiseRejectionEvent),v=t("Promise",function(){var g=i(e),d=g!==String(e);if(!d&&u===66||o&&!(l.catch&&l.finally))return!0;if(!u||u<51||!/native code/.test(g)){var p=new e(function(b){b(1)}),y=function(b){b(function(){},function(){})},m=p.constructor={};if(m[h]=y,c=p.then(function(){})instanceof y,!c)return!0}return!d&&(s==="BROWSER"||s==="DENO")&&!f});return Bi={CONSTRUCTOR:v,REJECTION_EVENT:f,SUBCLASSING:c},Bi}var Fi={},ro;function xr(){if(ro)return Fi;ro=1;var n=Fe(),e=TypeError,r=function(t){var i,a;this.promise=new t(function(s,o){if(i!==void 0||a!==void 0)throw new e("Bad Promise constructor");i=s,a=o}),this.resolve=n(i),this.reject=n(a)};return Fi.f=function(t){return new r(t)},Fi}var to;function bh(){if(to)return hn;to=1;var n=ve(),e=Me(),r=jr(),t=Q(),i=th(),a=se(),s=tr(),o=dl(),u=Br(),l=oh(),h=Fe(),c=re(),f=ye(),v=uh(),g=pl(),d=xl().set,p=yh(),y=mh(),m=Ja(),b=Ol(),x=Lr(),S=mr(),E=br(),T=xr(),R="Promise",P=E.CONSTRUCTOR,A=E.REJECTION_EVENT,D=E.SUBCLASSING,I=x.getterFor(R),k=x.set,w=S&&S.prototype,V=S,B=w,N=t.TypeError,j=t.document,_=t.process,q=T.f,U=q,L=!!(j&&j.createEvent&&t.dispatchEvent),$="unhandledrejection",X="rejectionhandled",ae=0,oe=1,ue=2,Ue=1,Ge=2,ce,Ne,_e,be,fe=function(C){var F;return f(C)&&c(F=C.then)?F:!1},xe=function(C,F){var z=F.value,H=F.state===oe,W=H?C.ok:C.fail,Te=C.resolve,Le=C.reject,Se=C.domain,Ee,lr,hr;try{W?(H||(F.rejection===Ge&&$e(F),F.rejection=Ue),W===!0?Ee=z:(Se&&Se.enter(),Ee=W(z),Se&&(Se.exit(),hr=!0)),Ee===C.promise?Le(new N("Promise-chain cycle")):(lr=fe(Ee))?a(lr,Ee,Te,Le):Te(Ee)):Le(z)}catch(vr){Se&&!hr&&Se.exit(),Le(vr)}},De=function(C,F){C.notified||(C.notified=!0,p(function(){for(var z=C.reactions,H;H=z.get();)xe(H,C);C.notified=!1,F&&!C.rejection&&Xe(C)}))},Ve=function(C,F,z){var H,W;L?(H=j.createEvent("Event"),H.promise=F,H.reason=z,H.initEvent(C,!1,!0),t.dispatchEvent(H)):H={promise:F,reason:z},!A&&(W=t["on"+C])?W(H):C===$&&y("Unhandled promise rejection",z)},Xe=function(C){a(d,t,function(){var F=C.facade,z=C.value,H=ur(C),W;if(H&&(W=m(function(){r?_.emit("unhandledRejection",z,F):Ve($,F,z)}),C.rejection=r||ur(C)?Ge:Ue,W.error))throw W.value})},ur=function(C){return C.rejection!==Ue&&!C.parent},$e=function(C){a(d,t,function(){var F=C.facade;r?_.emit("rejectionHandled",F):Ve(X,F,C.value)})},ge=function(C,F,z){return function(H){C(F,H,z)}},de=function(C,F,z){C.done||(C.done=!0,z&&(C=z),C.value=F,C.state=ue,De(C,!0))},Oe=function(C,F,z){if(!C.done){C.done=!0,z&&(C=z);try{if(C.facade===F)throw new N("Promise can't be resolved itself");var H=fe(F);H?p(function(){var W={done:!1};try{a(H,F,ge(Oe,W,C),ge(de,W,C))}catch(Te){de(W,Te,C)}}):(C.value=F,C.state=oe,De(C,!1))}catch(W){de({done:!1},W,C)}}};if(P&&(V=function(F){v(this,B),h(F),a(ce,this);var z=I(this);try{F(ge(Oe,z),ge(de,z))}catch(H){de(z,H)}},B=V.prototype,ce=function(F){k(this,{type:R,done:!1,notified:!1,parent:!1,reactions:new b,rejection:!1,state:ae,value:null})},ce.prototype=s(B,"then",function(F,z){var H=I(this),W=q(g(this,V));return H.parent=!0,W.ok=c(F)?F:!0,W.fail=c(z)&&z,W.domain=r?_.domain:void 0,H.state===ae?H.reactions.add(W):p(function(){xe(W,H)}),W.promise}),Ne=function(){var C=new ce,F=I(C);this.promise=C,this.resolve=ge(Oe,F),this.reject=ge(de,F)},T.f=q=function(C){return C===V||C===_e?new Ne(C):U(C)},!e&&c(S)&&w!==Object.prototype)){be=w.then,D||s(w,"then",function(F,z){var H=this;return new V(function(W,Te){a(be,H,W,Te)}).then(F,z)},{unsafe:!0});try{delete w.constructor}catch{}o&&o(w,B)}return n({global:!0,constructor:!0,wrap:!0,forced:P},{Promise:V}),_e=i.Promise,u(V,R,!1,!0),l(R),hn}var io={},Ui,ao;function Or(){return ao||(ao=1,Ui={}),Ui}var Gi,no;function xh(){if(no)return Gi;no=1;var n=ne(),e=Or(),r=n("iterator"),t=Array.prototype;return Gi=function(i){return i!==void 0&&(e.Array===i||t[r]===i)},Gi}var $i,so;function Tl(){if(so)return $i;so=1;var n=Qa(),e=nr(),r=Ir(),t=Or(),i=ne(),a=i("iterator");return $i=function(s){if(!r(s))return e(s,a)||e(s,"@@iterator")||t[n(s)]},$i}var zi,oo;function Oh(){if(oo)return zi;oo=1;var n=se(),e=Fe(),r=he(),t=_r(),i=Tl(),a=TypeError;return zi=function(s,o){var u=arguments.length<2?i(s):o;if(e(u))return r(n(u,s));throw new a(t(s)+" is not iterable")},zi}var Hi,uo;function Th(){if(uo)return Hi;uo=1;var n=se(),e=he(),r=nr();return Hi=function(t,i,a){var s,o;e(t);try{if(s=r(t,"return"),!s){if(i==="throw")throw a;return a}s=n(s,t)}catch(u){o=!0,s=u}if(i==="throw")throw a;if(o)throw s;return e(s),a},Hi}var Wi,lo;function Sl(){if(lo)return Wi;lo=1;var n=Za(),e=se(),r=he(),t=_r(),i=xh(),a=Xa(),s=Nr(),o=Oh(),u=Tl(),l=Th(),h=TypeError,c=function(v,g){this.stopped=v,this.result=g},f=c.prototype;return Wi=function(v,g,d){var p=d&&d.that,y=!!(d&&d.AS_ENTRIES),m=!!(d&&d.IS_RECORD),b=!!(d&&d.IS_ITERATOR),x=!!(d&&d.INTERRUPTED),S=n(g,p),E,T,R,P,A,D,I,k=function(B){var N=E;return E=void 0,N&&l(N,"normal"),new c(!0,B)},w=function(B){return y?(r(B),x?S(B[0],B[1],k):S(B[0],B[1])):x?S(B,k):S(B)};if(m)E=v.iterator;else if(b)E=v;else{if(T=u(v),!T)throw new h(t(v)+" is not iterable");if(i(T)){for(R=0,P=a(v);P>R;R++)if(A=w(v[R]),A&&s(f,A))return A;return new c(!1)}E=o(v,T)}for(D=m?v.next:E.next;!(I=e(D,E)).done;){var V=I.value;try{A=w(V)}catch(B){if(E)l(E,"throw",B);else throw B}if(typeof A=="object"&&A&&s(f,A))return A}return new c(!1)},Wi}var Yi,ho;function Sh(){if(ho)return Yi;ho=1;var n=ne(),e=n("iterator"),r=!1;try{var t=0,i={next:function(){return{done:!!t++}},return:function(){r=!0}};i[e]=function(){return this},Array.from(i,function(){throw 2})}catch{}return Yi=function(a,s){try{if(!s&&!r)return!1}catch{return!1}var o=!1;try{var u={};u[e]=function(){return{next:function(){return{done:o=!0}}}},a(u)}catch{}return o},Yi}var Xi,vo;function El(){if(vo)return Xi;vo=1;var n=mr(),e=Sh(),r=br().CONSTRUCTOR;return Xi=r||!e(function(t){n.all(t).then(void 0,function(){})}),Xi}var co;function Eh(){if(co)return io;co=1;var n=ve(),e=se(),r=Fe(),t=xr(),i=Ja(),a=Sl(),s=El();return n({target:"Promise",stat:!0,forced:s},{all:function(u){var l=this,h=t.f(l),c=h.resolve,f=h.reject,v=i(function(){var g=r(l.resolve),d=[],p=0,y=1;a(u,function(m){var b=p++,x=!1;y++,e(g,l,m).then(function(S){x||(x=!0,d[b]=S,--y||c(d))},f)}),--y||c(d)});return v.error&&f(v.value),h.promise}}),io}var fo={},go;function Rh(){if(go)return fo;go=1;var n=ve(),e=Me(),r=br().CONSTRUCTOR,t=mr(),i=rr(),a=re(),s=tr(),o=t&&t.prototype;if(n({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(l){return this.then(void 0,l)}}),!e&&a(t)){var u=i("Promise").prototype.catch;o.catch!==u&&s(o,"catch",u,{unsafe:!0})}return fo}var po={},yo;function Ch(){if(yo)return po;yo=1;var n=ve(),e=se(),r=Fe(),t=xr(),i=Ja(),a=Sl(),s=El();return n({target:"Promise",stat:!0,forced:s},{race:function(u){var l=this,h=t.f(l),c=h.reject,f=i(function(){var v=r(l.resolve);a(u,function(g){e(v,l,g).then(h.resolve,c)})});return f.error&&c(f.value),h.promise}}),po}var mo={},bo;function wh(){if(bo)return mo;bo=1;var n=ve(),e=xr(),r=br().CONSTRUCTOR;return n({target:"Promise",stat:!0,forced:r},{reject:function(i){var a=e.f(this),s=a.reject;return s(i),a.promise}}),mo}var xo={},Ki,Oo;function Ph(){if(Oo)return Ki;Oo=1;var n=he(),e=ye(),r=xr();return Ki=function(t,i){if(n(t),e(i)&&i.constructor===t)return i;var a=r.f(t),s=a.resolve;return s(i),a.promise},Ki}var To;function Ah(){if(To)return xo;To=1;var n=ve(),e=rr(),r=Me(),t=mr(),i=br().CONSTRUCTOR,a=Ph(),s=e("Promise"),o=r&&!i;return n({target:"Promise",stat:!0,forced:r||i},{resolve:function(l){return a(o&&this===s?t:this,l)}}),xo}var So;function Ih(){return So||(So=1,bh(),Eh(),Rh(),Ch(),wh(),Ah()),ln}Ih();function Eo(n,e,r,t,i,a,s){try{var o=n[a](s),u=o.value}catch(l){return void r(l)}o.done?e(u):Promise.resolve(u).then(t,i)}function Be(n){return function(){var e=this,r=arguments;return new Promise(function(t,i){var a=n.apply(e,r);function s(u){Eo(a,t,i,s,o,"next",u)}function o(u){Eo(a,t,i,s,o,"throw",u)}s(void 0)})}}var Ro={},Co={},Qi,wo;function qe(){if(wo)return Qi;wo=1;var n=Qa(),e=String;return Qi=function(r){if(n(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(r)},Qi}var Zi,Po;function Rl(){if(Po)return Zi;Po=1;var n=he();return Zi=function(){var e=n(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r},Zi}var Ji,Ao;function Cl(){if(Ao)return Ji;Ao=1;var n=Z(),e=Q(),r=e.RegExp,t=n(function(){var s=r("a","y");return s.lastIndex=2,s.exec("abcd")!==null}),i=t||n(function(){return!r("a","y").sticky}),a=t||n(function(){var s=r("^r","gy");return s.lastIndex=2,s.exec("str")!==null});return Ji={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:t},Ji}var ea={},ra,Io;function Nh(){if(Io)return ra;Io=1;var n=cl(),e=Ka();return ra=Object.keys||function(t){return n(t,e)},ra}var No;function _h(){if(No)return ea;No=1;var n=we(),e=ll(),r=Ye(),t=he(),i=dr(),a=Nh();return ea.f=n&&!e?Object.defineProperties:function(o,u){t(o);for(var l=i(u),h=a(u),c=h.length,f=0,v;c>f;)r.f(o,v=h[f++],l[v]);return o},ea}var ta,_o;function Ur(){if(_o)return ta;_o=1;var n=he(),e=_h(),r=Ka(),t=Ya(),i=ml(),a=qr(),s=Wa(),o=">",u="<",l="prototype",h="script",c=s("IE_PROTO"),f=function(){},v=function(m){return u+h+o+m+u+"/"+h+o},g=function(m){m.write(v("")),m.close();var b=m.parentWindow.Object;return m=null,b},d=function(){var m=a("iframe"),b="java"+h+":",x;return m.style.display="none",i.appendChild(m),m.src=String(b),x=m.contentWindow.document,x.open(),x.write(v("document.F=Object")),x.close(),x.F},p,y=function(){try{p=new ActiveXObject("htmlfile")}catch{}y=typeof document<"u"?document.domain&&p?g(p):d():g(p);for(var m=r.length;m--;)delete y[l][r[m]];return y()};return t[c]=!0,ta=Object.create||function(b,x){var S;return b!==null?(f[l]=n(b),S=new f,f[l]=null,S[c]=b):S=y(),x===void 0?S:e.f(S,x)},ta}var ia,Mo;function Mh(){if(Mo)return ia;Mo=1;var n=Z(),e=Q(),r=e.RegExp;return ia=n(function(){var t=r(".","s");return!(t.dotAll&&t.test(`
1
+ import{cu as Ba}from"./vendor-blocklet-DcLR2Cyf.js";import{g as rl}from"./vendor-mui-BXZut9Pz.js";import"./vendor-react-BPknnnEA.js";var ln={},hn={},cr,vn;function Q(){if(vn)return cr;vn=1;var n=function(e){return e&&e.Math===Math&&e};return cr=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof globalThis=="object"&&globalThis)||n(typeof cr=="object"&&cr)||(function(){return this})()||Function("return this")(),cr}var Zr={},Jr,cn;function Z(){return cn||(cn=1,Jr=function(n){try{return!!n()}catch{return!0}}),Jr}var et,fn;function we(){if(fn)return et;fn=1;var n=Z();return et=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),et}var rt,gn;function Ar(){if(gn)return rt;gn=1;var n=Z();return rt=!n(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),rt}var tt,dn;function se(){if(dn)return tt;dn=1;var n=Ar(),e=Function.prototype.call;return tt=n?e.bind(e):function(){return e.apply(e,arguments)},tt}var it={},pn;function Hl(){if(pn)return it;pn=1;var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!n.call({1:2},1);return it.f=r?function(i){var a=e(this,i);return!!a&&a.enumerable}:n,it}var at,yn;function Fa(){return yn||(yn=1,at=function(n,e){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:e}}),at}var nt,mn;function J(){if(mn)return nt;mn=1;var n=Ar(),e=Function.prototype,r=e.call,t=n&&e.bind.bind(r,r);return nt=n?t:function(i){return function(){return r.apply(i,arguments)}},nt}var st,bn;function er(){if(bn)return st;bn=1;var n=J(),e=n({}.toString),r=n("".slice);return st=function(t){return r(e(t),8,-1)},st}var ot,xn;function tl(){if(xn)return ot;xn=1;var n=J(),e=Z(),r=er(),t=Object,i=n("".split);return ot=e(function(){return!t("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):t(a)}:t,ot}var ut,On;function Ir(){return On||(On=1,ut=function(n){return n==null}),ut}var lt,Tn;function Pe(){if(Tn)return lt;Tn=1;var n=Ir(),e=TypeError;return lt=function(r){if(n(r))throw new e("Can't call method on "+r);return r},lt}var ht,Sn;function dr(){if(Sn)return ht;Sn=1;var n=tl(),e=Pe();return ht=function(r){return n(e(r))},ht}var vt,En;function re(){if(En)return vt;En=1;var n=typeof document=="object"&&document.all;return vt=typeof n>"u"&&n!==void 0?function(e){return typeof e=="function"||e===n}:function(e){return typeof e=="function"},vt}var ct,Rn;function ye(){if(Rn)return ct;Rn=1;var n=re();return ct=function(e){return typeof e=="object"?e!==null:n(e)},ct}var ft,Cn;function rr(){if(Cn)return ft;Cn=1;var n=Q(),e=re(),r=function(t){return e(t)?t:void 0};return ft=function(t,i){return arguments.length<2?r(n[t]):n[t]&&n[t][i]},ft}var gt,wn;function Nr(){if(wn)return gt;wn=1;var n=J();return gt=n({}.isPrototypeOf),gt}var dt,Pn;function pr(){if(Pn)return dt;Pn=1;var n=Q(),e=n.navigator,r=e&&e.userAgent;return dt=r?String(r):"",dt}var pt,An;function Ua(){if(An)return pt;An=1;var n=Q(),e=pr(),r=n.process,t=n.Deno,i=r&&r.versions||t&&t.version,a=i&&i.v8,s,o;return a&&(s=a.split("."),o=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!o&&e&&(s=e.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=e.match(/Chrome\/(\d+)/),s&&(o=+s[1]))),pt=o,pt}var yt,In;function il(){if(In)return yt;In=1;var n=Ua(),e=Z(),r=Q(),t=r.String;return yt=!!Object.getOwnPropertySymbols&&!e(function(){var i=Symbol("symbol detection");return!t(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&n&&n<41}),yt}var mt,Nn;function al(){if(Nn)return mt;Nn=1;var n=il();return mt=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol",mt}var bt,_n;function nl(){if(_n)return bt;_n=1;var n=rr(),e=re(),r=Nr(),t=al(),i=Object;return bt=t?function(a){return typeof a=="symbol"}:function(a){var s=n("Symbol");return e(s)&&r(s.prototype,i(a))},bt}var xt,Mn;function _r(){if(Mn)return xt;Mn=1;var n=String;return xt=function(e){try{return n(e)}catch{return"Object"}},xt}var Ot,qn;function Fe(){if(qn)return Ot;qn=1;var n=re(),e=_r(),r=TypeError;return Ot=function(t){if(n(t))return t;throw new r(e(t)+" is not a function")},Ot}var Tt,Dn;function nr(){if(Dn)return Tt;Dn=1;var n=Fe(),e=Ir();return Tt=function(r,t){var i=r[t];return e(i)?void 0:n(i)},Tt}var St,Vn;function Wl(){if(Vn)return St;Vn=1;var n=se(),e=re(),r=ye(),t=TypeError;return St=function(i,a){var s,o;if(a==="string"&&e(s=i.toString)&&!r(o=n(s,i))||e(s=i.valueOf)&&!r(o=n(s,i))||a!=="string"&&e(s=i.toString)&&!r(o=n(s,i)))return o;throw new t("Can't convert object to primitive value")},St}var Et={exports:{}},Rt,Ln;function Me(){return Ln||(Ln=1,Rt=!1),Rt}var Ct,kn;function Ga(){if(kn)return Ct;kn=1;var n=Q(),e=Object.defineProperty;return Ct=function(r,t){try{e(n,r,{value:t,configurable:!0,writable:!0})}catch{n[r]=t}return t},Ct}var jn;function $a(){if(jn)return Et.exports;jn=1;var n=Me(),e=Q(),r=Ga(),t="__core-js_shared__",i=Et.exports=e[t]||r(t,{});return(i.versions||(i.versions=[])).push({version:"3.49.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Et.exports}var wt,Bn;function za(){if(Bn)return wt;Bn=1;var n=$a();return wt=function(e,r){return n[e]||(n[e]=r||{})},wt}var Pt,Fn;function Mr(){if(Fn)return Pt;Fn=1;var n=Pe(),e=Object;return Pt=function(r){return e(n(r))},Pt}var At,Un;function Ae(){if(Un)return At;Un=1;var n=J(),e=Mr(),r=n({}.hasOwnProperty);return At=Object.hasOwn||function(i,a){return r(e(i),a)},At}var It,Gn;function sl(){if(Gn)return It;Gn=1;var n=J(),e=0,r=Math.random(),t=n(1.1.toString);return It=function(i){return"Symbol("+(i===void 0?"":i)+")_"+t(++e+r,36)},It}var Nt,$n;function ne(){if($n)return Nt;$n=1;var n=Q(),e=za(),r=Ae(),t=sl(),i=il(),a=al(),s=n.Symbol,o=e("wks"),u=a?s.for||s:s&&s.withoutSetter||t;return Nt=function(l){return r(o,l)||(o[l]=i&&r(s,l)?s[l]:u("Symbol."+l)),o[l]},Nt}var _t,zn;function Yl(){if(zn)return _t;zn=1;var n=se(),e=ye(),r=nl(),t=nr(),i=Wl(),a=ne(),s=TypeError,o=a("toPrimitive");return _t=function(u,l){if(!e(u)||r(u))return u;var h=t(u,o),c;if(h){if(l===void 0&&(l="default"),c=n(h,u,l),!e(c)||r(c))return c;throw new s("Can't convert object to primitive value")}return l===void 0&&(l="number"),i(u,l)},_t}var Mt,Hn;function ol(){if(Hn)return Mt;Hn=1;var n=Yl(),e=nl();return Mt=function(r){var t=n(r,"string");return e(t)?t:t+""},Mt}var qt,Wn;function qr(){if(Wn)return qt;Wn=1;var n=Q(),e=ye(),r=n.document,t=e(r)&&e(r.createElement);return qt=function(i){return t?r.createElement(i):{}},qt}var Dt,Yn;function ul(){if(Yn)return Dt;Yn=1;var n=we(),e=Z(),r=qr();return Dt=!n&&!e(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),Dt}var Xn;function Dr(){if(Xn)return Zr;Xn=1;var n=we(),e=se(),r=Hl(),t=Fa(),i=dr(),a=ol(),s=Ae(),o=ul(),u=Object.getOwnPropertyDescriptor;return Zr.f=n?u:function(h,c){if(h=i(h),c=a(c),o)try{return u(h,c)}catch{}if(s(h,c))return t(!e(r.f,h,c),h[c])},Zr}var Vt={},Lt,Kn;function ll(){if(Kn)return Lt;Kn=1;var n=we(),e=Z();return Lt=n&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),Lt}var kt,Qn;function he(){if(Qn)return kt;Qn=1;var n=ye(),e=String,r=TypeError;return kt=function(t){if(n(t))return t;throw new r(e(t)+" is not an object")},kt}var Zn;function Ye(){if(Zn)return Vt;Zn=1;var n=we(),e=ul(),r=ll(),t=he(),i=ol(),a=TypeError,s=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",h="writable";return Vt.f=n?r?function(f,v,g){if(t(f),v=i(v),t(g),typeof f=="function"&&v==="prototype"&&"value"in g&&h in g&&!g[h]){var d=o(f,v);d&&d[h]&&(f[v]=g.value,g={configurable:l in g?g[l]:d[l],enumerable:u in g?g[u]:d[u],writable:!1})}return s(f,v,g)}:s:function(f,v,g){if(t(f),v=i(v),t(g),e)try{return s(f,v,g)}catch{}if("get"in g||"set"in g)throw new a("Accessors not supported");return"value"in g&&(f[v]=g.value),f},Vt}var jt,Jn;function yr(){if(Jn)return jt;Jn=1;var n=we(),e=Ye(),r=Fa();return jt=n?function(t,i,a){return e.f(t,i,r(1,a))}:function(t,i,a){return t[i]=a,t},jt}var Bt={exports:{}},Ft,es;function Vr(){if(es)return Ft;es=1;var n=we(),e=Ae(),r=Function.prototype,t=n&&Object.getOwnPropertyDescriptor,i=e(r,"name"),a=i&&(function(){}).name==="something",s=i&&(!n||n&&t(r,"name").configurable);return Ft={EXISTS:i,PROPER:a,CONFIGURABLE:s},Ft}var Ut,rs;function Ha(){if(rs)return Ut;rs=1;var n=J(),e=re(),r=$a(),t=n(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(i){return t(i)}),Ut=r.inspectSource,Ut}var Gt,ts;function Xl(){if(ts)return Gt;ts=1;var n=Q(),e=re(),r=n.WeakMap;return Gt=e(r)&&/native code/.test(String(r)),Gt}var $t,is;function Wa(){if(is)return $t;is=1;var n=za(),e=sl(),r=n("keys");return $t=function(t){return r[t]||(r[t]=e(t))},$t}var zt,as;function Ya(){return as||(as=1,zt={}),zt}var Ht,ns;function Lr(){if(ns)return Ht;ns=1;var n=Xl(),e=Q(),r=ye(),t=yr(),i=Ae(),a=$a(),s=Wa(),o=Ya(),u="Object already initialized",l=e.TypeError,h=e.WeakMap,c,f,v,g=function(m){return v(m)?f(m):c(m,{})},d=function(m){return function(b){var x;if(!r(b)||(x=f(b)).type!==m)throw new l("Incompatible receiver, "+m+" required");return x}};if(n||a.state){var p=a.state||(a.state=new h);p.get=p.get,p.has=p.has,p.set=p.set,c=function(m,b){if(p.has(m))throw new l(u);return b.facade=m,p.set(m,b),b},f=function(m){return p.get(m)||{}},v=function(m){return p.has(m)}}else{var y=s("state");o[y]=!0,c=function(m,b){if(i(m,y))throw new l(u);return b.facade=m,t(m,y,b),b},f=function(m){return i(m,y)?m[y]:{}},v=function(m){return i(m,y)}}return Ht={set:c,get:f,has:v,enforce:g,getterFor:d},Ht}var ss;function hl(){if(ss)return Bt.exports;ss=1;var n=J(),e=Z(),r=re(),t=Ae(),i=we(),a=Vr().CONFIGURABLE,s=Ha(),o=Lr(),u=o.enforce,l=o.get,h=String,c=Object.defineProperty,f=n("".slice),v=n("".replace),g=n([].join),d=i&&!e(function(){return c(function(){},"length",{value:8}).length!==8}),p=String(String).split("String"),y=Bt.exports=function(m,b,x){f(h(b),0,7)==="Symbol("&&(b="["+v(h(b),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(b="get "+b),x&&x.setter&&(b="set "+b),(!t(m,"name")||a&&m.name!==b)&&(i?c(m,"name",{value:b,configurable:!0}):m.name=b),d&&x&&t(x,"arity")&&m.length!==x.arity&&c(m,"length",{value:x.arity});try{x&&t(x,"constructor")&&x.constructor?i&&c(m,"prototype",{writable:!1}):m.prototype&&(m.prototype=void 0)}catch{}var S=u(m);return t(S,"source")||(S.source=g(p,typeof b=="string"?b:"")),m};return Function.prototype.toString=y(function(){return r(this)&&l(this).source||s(this)},"toString"),Bt.exports}var Wt,os;function tr(){if(os)return Wt;os=1;var n=re(),e=Ye(),r=hl(),t=Ga();return Wt=function(i,a,s,o){o||(o={});var u=o.enumerable,l=o.name!==void 0?o.name:a;if(n(s)&&r(s,l,o),o.global)u?i[a]=s:t(a,s);else{try{o.unsafe?i[a]&&(u=!0):delete i[a]}catch{}u?i[a]=s:e.f(i,a,{value:s,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return i},Wt}var Yt={},Xt,us;function Kl(){if(us)return Xt;us=1;var n=Math.ceil,e=Math.floor;return Xt=Math.trunc||function(t){var i=+t;return(i>0?e:n)(i)},Xt}var Kt,ls;function kr(){if(ls)return Kt;ls=1;var n=Kl();return Kt=function(e){var r=+e;return r!==r||r===0?0:n(r)},Kt}var Qt,hs;function Ql(){if(hs)return Qt;hs=1;var n=kr(),e=Math.max,r=Math.min;return Qt=function(t,i){var a=n(t);return a<0?e(a+i,0):r(a,i)},Qt}var Zt,vs;function sr(){if(vs)return Zt;vs=1;var n=kr(),e=Math.min;return Zt=function(r){var t=n(r);return t>0?e(t,9007199254740991):0},Zt}var Jt,cs;function Xa(){if(cs)return Jt;cs=1;var n=sr();return Jt=function(e){return n(e.length)},Jt}var ei,fs;function vl(){if(fs)return ei;fs=1;var n=dr(),e=Ql(),r=Xa(),t=function(i){return function(a,s,o){var u=n(a),l=r(u);if(l===0)return!i&&-1;var h=e(o,l),c;if(i&&s!==s){for(;l>h;)if(c=u[h++],c!==c)return!0}else for(;l>h;h++)if((i||h in u)&&u[h]===s)return i||h||0;return!i&&-1}};return ei={includes:t(!0),indexOf:t(!1)},ei}var ri,gs;function cl(){if(gs)return ri;gs=1;var n=J(),e=Ae(),r=dr(),t=vl().indexOf,i=Ya(),a=n([].push);return ri=function(s,o){var u=r(s),l=0,h=[],c;for(c in u)!e(i,c)&&e(u,c)&&a(h,c);for(;o.length>l;)e(u,c=o[l++])&&(~t(h,c)||a(h,c));return h},ri}var ti,ds;function Ka(){return ds||(ds=1,ti=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),ti}var ps;function Zl(){if(ps)return Yt;ps=1;var n=cl(),e=Ka(),r=e.concat("length","prototype");return Yt.f=Object.getOwnPropertyNames||function(i){return n(i,r)},Yt}var ii={},ys;function Jl(){return ys||(ys=1,ii.f=Object.getOwnPropertySymbols),ii}var ai,ms;function eh(){if(ms)return ai;ms=1;var n=rr(),e=J(),r=Zl(),t=Jl(),i=he(),a=e([].concat);return ai=n("Reflect","ownKeys")||function(o){var u=r.f(i(o)),l=t.f;return l?a(u,l(o)):u},ai}var ni,bs;function rh(){if(bs)return ni;bs=1;var n=Ae(),e=eh(),r=Dr(),t=Ye();return ni=function(i,a,s){for(var o=e(a),u=t.f,l=r.f,h=0;h<o.length;h++){var c=o[h];!n(i,c)&&!(s&&n(s,c))&&u(i,c,l(a,c))}},ni}var si,xs;function fl(){if(xs)return si;xs=1;var n=Z(),e=re(),r=/#|\.prototype\./,t=function(u,l){var h=a[i(u)];return h===o?!0:h===s?!1:e(l)?n(l):!!l},i=t.normalize=function(u){return String(u).replace(r,".").toLowerCase()},a=t.data={},s=t.NATIVE="N",o=t.POLYFILL="P";return si=t,si}var oi,Os;function ve(){if(Os)return oi;Os=1;var n=Q(),e=Dr().f,r=yr(),t=tr(),i=Ga(),a=rh(),s=fl();return oi=function(o,u){var l=o.target,h=o.global,c=o.stat,f,v,g,d,p,y;if(h?v=n:c?v=n[l]||i(l,{}):v=n[l]&&n[l].prototype,v)for(g in u){if(p=u[g],o.dontCallGetSet?(y=e(v,g),d=y&&y.value):d=v[g],f=s(h?g:l+(c?".":"#")+g,o.forced),!f&&d!==void 0){if(typeof p==typeof d)continue;a(p,d)}(o.sham||d&&d.sham)&&r(p,"sham",!0),t(v,g,p,o)}},oi}var ui,Ts;function gl(){if(Ts)return ui;Ts=1;var n=Q(),e=pr(),r=er(),t=function(i){return e.slice(0,i.length)===i};return ui=(function(){return t("Bun/")?"BUN":t("Cloudflare-Workers")?"CLOUDFLARE":t("Deno/")?"DENO":t("Node.js/")?"NODE":n.Bun&&typeof Bun.version=="string"?"BUN":n.Deno&&typeof Deno.version=="object"?"DENO":r(n.process)==="process"?"NODE":n.window&&n.document?"BROWSER":"REST"})(),ui}var li,Ss;function jr(){if(Ss)return li;Ss=1;var n=gl();return li=n==="NODE",li}var hi,Es;function th(){if(Es)return hi;Es=1;var n=Q();return hi=n,hi}var vi,Rs;function ih(){if(Rs)return vi;Rs=1;var n=J(),e=Fe();return vi=function(r,t,i){try{return n(e(Object.getOwnPropertyDescriptor(r,t)[i]))}catch{}},vi}var ci,Cs;function ah(){if(Cs)return ci;Cs=1;var n=ye();return ci=function(e){return n(e)||e===null},ci}var fi,ws;function nh(){if(ws)return fi;ws=1;var n=ah(),e=String,r=TypeError;return fi=function(t){if(n(t))return t;throw new r("Can't set "+e(t)+" as a prototype")},fi}var gi,Ps;function dl(){if(Ps)return gi;Ps=1;var n=ih(),e=ye(),r=Pe(),t=nh();return gi=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,a={},s;try{s=n(Object.prototype,"__proto__","set"),s(a,[]),i=a instanceof Array}catch{}return function(u,l){return r(u),t(l),e(u)&&(i?s(u,l):u.__proto__=l),u}})():void 0),gi}var di,As;function Br(){if(As)return di;As=1;var n=Ye().f,e=Ae(),r=ne(),t=r("toStringTag");return di=function(i,a,s){i&&!s&&(i=i.prototype),i&&!e(i,t)&&n(i,t,{configurable:!0,value:a})},di}var pi,Is;function sh(){if(Is)return pi;Is=1;var n=hl(),e=Ye();return pi=function(r,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),e.f(r,t,i)},pi}var yi,Ns;function oh(){if(Ns)return yi;Ns=1;var n=rr(),e=sh(),r=ne(),t=we(),i=r("species");return yi=function(a){var s=n(a);t&&s&&!s[i]&&e(s,i,{configurable:!0,get:function(){return this}})},yi}var mi,_s;function uh(){if(_s)return mi;_s=1;var n=Nr(),e=TypeError;return mi=function(r,t){if(n(t,r))return r;throw new e("Incorrect invocation")},mi}var bi,Ms;function lh(){if(Ms)return bi;Ms=1;var n=ne(),e=n("toStringTag"),r={};return r[e]="z",bi=String(r)==="[object z]",bi}var xi,qs;function Qa(){if(qs)return xi;qs=1;var n=lh(),e=re(),r=er(),t=ne(),i=t("toStringTag"),a=Object,s=r((function(){return arguments})())==="Arguments",o=function(u,l){try{return u[l]}catch{}};return xi=n?r:function(u){var l,h,c;return u===void 0?"Undefined":u===null?"Null":typeof(h=o(l=a(u),i))=="string"?h:s?r(l):(c=r(l))==="Object"&&e(l.callee)?"Arguments":c},xi}var Oi,Ds;function hh(){if(Ds)return Oi;Ds=1;var n=J(),e=Z(),r=re(),t=Qa(),i=rr(),a=Ha(),s=function(){},o=i("Reflect","construct"),u=/^\s*(?:class|function)\b/,l=n(u.exec),h=!u.test(s),c=function(g){if(!r(g))return!1;try{return o(s,[],g),!0}catch{return!1}},f=function(g){if(!r(g))return!1;switch(t(g)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!l(u,a(g))}catch{return!0}};return f.sham=!0,Oi=!o||e(function(){var v;return c(c.call)||!c(Object)||!c(function(){v=!0})||v})?f:c,Oi}var Ti,Vs;function vh(){if(Vs)return Ti;Vs=1;var n=hh(),e=_r(),r=TypeError;return Ti=function(t){if(n(t))return t;throw new r(e(t)+" is not a constructor")},Ti}var Si,Ls;function pl(){if(Ls)return Si;Ls=1;var n=he(),e=vh(),r=Ir(),t=ne(),i=t("species");return Si=function(a,s){var o=n(a).constructor,u;return o===void 0||r(u=n(o)[i])?s:e(u)},Si}var Ei,ks;function yl(){if(ks)return Ei;ks=1;var n=Ar(),e=Function.prototype,r=e.apply,t=e.call;return Ei=typeof Reflect=="object"&&Reflect.apply||(n?t.bind(r):function(){return t.apply(r,arguments)}),Ei}var Ri,js;function Fr(){if(js)return Ri;js=1;var n=er(),e=J();return Ri=function(r){if(n(r)==="Function")return e(r)},Ri}var Ci,Bs;function Za(){if(Bs)return Ci;Bs=1;var n=Fr(),e=Fe(),r=Ar(),t=n(n.bind);return Ci=function(i,a){return e(i),a===void 0?i:r?t(i,a):function(){return i.apply(a,arguments)}},Ci}var wi,Fs;function ml(){if(Fs)return wi;Fs=1;var n=rr();return wi=n("document","documentElement"),wi}var Pi,Us;function ch(){if(Us)return Pi;Us=1;var n=J();return Pi=n([].slice),Pi}var Ai,Gs;function fh(){if(Gs)return Ai;Gs=1;var n=TypeError;return Ai=function(e,r){if(e<r)throw new n("Not enough arguments");return e},Ai}var Ii,$s;function bl(){if($s)return Ii;$s=1;var n=pr();return Ii=/ipad|iphone|ipod/i.test(n)&&/applewebkit/i.test(n),Ii}var Ni,zs;function xl(){if(zs)return Ni;zs=1;var n=Q(),e=yl(),r=Za(),t=re(),i=Ae(),a=Z(),s=ml(),o=ch(),u=qr(),l=fh(),h=bl(),c=jr(),f=n.setImmediate,v=n.clearImmediate,g=n.process,d=n.Dispatch,p=n.Function,y=n.MessageChannel,m=n.String,b=0,x={},S="onreadystatechange",E,T,R,P;a(function(){E=n.location});var A=function(w){if(i(x,w)){var V=x[w];delete x[w],V()}},D=function(w){return function(){A(w)}},I=function(w){A(w.data)},k=function(w){n.postMessage(m(w),E.protocol+"//"+E.host)};return(!f||!v)&&(f=function(V){l(arguments.length,1);var B=t(V)?V:p(V),N=o(arguments,1);return x[++b]=function(){e(B,void 0,N)},T(b),b},v=function(V){delete x[V]},c?T=function(w){g.nextTick(D(w))}:d&&d.now?T=function(w){d.now(D(w))}:y&&!h?(R=new y,P=R.port2,R.port1.onmessage=I,T=r(P.postMessage,P)):n.addEventListener&&t(n.postMessage)&&!n.importScripts&&E&&E.protocol!=="file:"&&!a(k)?(T=k,n.addEventListener("message",I,!1)):S in u("script")?T=function(w){s.appendChild(u("script"))[S]=function(){s.removeChild(this),A(w)}}:T=function(w){setTimeout(D(w),0)}),Ni={set:f,clear:v},Ni}var _i,Hs;function gh(){if(Hs)return _i;Hs=1;var n=Q(),e=we(),r=Object.getOwnPropertyDescriptor;return _i=function(t){if(!e)return n[t];var i=r(n,t);return i&&i.value},_i}var Mi,Ws;function Ol(){if(Ws)return Mi;Ws=1;var n=function(){this.head=null,this.tail=null};return n.prototype={add:function(e){var r={item:e,next:null},t=this.tail;t?t.next=r:this.head=r,this.tail=r},get:function(){var e=this.head;if(e){var r=this.head=e.next;return r===null&&(this.tail=null),e.item}}},Mi=n,Mi}var qi,Ys;function dh(){if(Ys)return qi;Ys=1;var n=pr();return qi=/ipad|iphone|ipod/i.test(n)&&typeof Pebble<"u",qi}var Di,Xs;function ph(){if(Xs)return Di;Xs=1;var n=pr();return Di=/web0s(?!.*chrome)/i.test(n),Di}var Vi,Ks;function yh(){if(Ks)return Vi;Ks=1;var n=Q(),e=gh(),r=Za(),t=xl().set,i=Ol(),a=bl(),s=dh(),o=ph(),u=jr(),l=n.MutationObserver||n.WebKitMutationObserver,h=n.document,c=n.process,f=n.Promise,v=e("queueMicrotask"),g,d,p,y,m;if(!v){var b=new i,x=function(){var S,E;for(u&&(S=c.domain)&&S.exit();E=b.get();)try{E()}catch(T){throw b.head&&g(),T}S&&S.enter()};!a&&!u&&!o&&l&&h?(d=!0,p=h.createTextNode(""),new l(x).observe(p,{characterData:!0}),g=function(){p.data=d=!d}):!s&&f&&f.resolve?(y=f.resolve(void 0),y.constructor=f,m=r(y.then,y),g=function(){m(x)}):u?g=function(){c.nextTick(x)}:(t=r(t,n),g=function(){t(x)}),v=function(S){b.head||g(),b.add(S)}}return Vi=v,Vi}var Li,Qs;function mh(){return Qs||(Qs=1,Li=function(n,e){try{arguments.length===1?console.error(n):console.error(n,e)}catch{}}),Li}var ki,Zs;function Ja(){return Zs||(Zs=1,ki=function(n){try{return{error:!1,value:n()}}catch(e){return{error:!0,value:e}}}),ki}var ji,Js;function mr(){if(Js)return ji;Js=1;var n=Q();return ji=n.Promise,ji}var Bi,eo;function br(){if(eo)return Bi;eo=1;var n=Q(),e=mr(),r=re(),t=fl(),i=Ha(),a=ne(),s=gl(),o=Me(),u=Ua(),l=e&&e.prototype,h=a("species"),c=!1,f=r(n.PromiseRejectionEvent),v=t("Promise",function(){var g=i(e),d=g!==String(e);if(!d&&u===66||o&&!(l.catch&&l.finally))return!0;if(!u||u<51||!/native code/.test(g)){var p=new e(function(b){b(1)}),y=function(b){b(function(){},function(){})},m=p.constructor={};if(m[h]=y,c=p.then(function(){})instanceof y,!c)return!0}return!d&&(s==="BROWSER"||s==="DENO")&&!f});return Bi={CONSTRUCTOR:v,REJECTION_EVENT:f,SUBCLASSING:c},Bi}var Fi={},ro;function xr(){if(ro)return Fi;ro=1;var n=Fe(),e=TypeError,r=function(t){var i,a;this.promise=new t(function(s,o){if(i!==void 0||a!==void 0)throw new e("Bad Promise constructor");i=s,a=o}),this.resolve=n(i),this.reject=n(a)};return Fi.f=function(t){return new r(t)},Fi}var to;function bh(){if(to)return hn;to=1;var n=ve(),e=Me(),r=jr(),t=Q(),i=th(),a=se(),s=tr(),o=dl(),u=Br(),l=oh(),h=Fe(),c=re(),f=ye(),v=uh(),g=pl(),d=xl().set,p=yh(),y=mh(),m=Ja(),b=Ol(),x=Lr(),S=mr(),E=br(),T=xr(),R="Promise",P=E.CONSTRUCTOR,A=E.REJECTION_EVENT,D=E.SUBCLASSING,I=x.getterFor(R),k=x.set,w=S&&S.prototype,V=S,B=w,N=t.TypeError,j=t.document,_=t.process,q=T.f,U=q,L=!!(j&&j.createEvent&&t.dispatchEvent),$="unhandledrejection",X="rejectionhandled",ae=0,oe=1,ue=2,Ue=1,Ge=2,ce,Ne,_e,be,fe=function(C){var F;return f(C)&&c(F=C.then)?F:!1},xe=function(C,F){var z=F.value,H=F.state===oe,W=H?C.ok:C.fail,Te=C.resolve,Le=C.reject,Se=C.domain,Ee,lr,hr;try{W?(H||(F.rejection===Ge&&$e(F),F.rejection=Ue),W===!0?Ee=z:(Se&&Se.enter(),Ee=W(z),Se&&(Se.exit(),hr=!0)),Ee===C.promise?Le(new N("Promise-chain cycle")):(lr=fe(Ee))?a(lr,Ee,Te,Le):Te(Ee)):Le(z)}catch(vr){Se&&!hr&&Se.exit(),Le(vr)}},De=function(C,F){C.notified||(C.notified=!0,p(function(){for(var z=C.reactions,H;H=z.get();)xe(H,C);C.notified=!1,F&&!C.rejection&&Xe(C)}))},Ve=function(C,F,z){var H,W;L?(H=j.createEvent("Event"),H.promise=F,H.reason=z,H.initEvent(C,!1,!0),t.dispatchEvent(H)):H={promise:F,reason:z},!A&&(W=t["on"+C])?W(H):C===$&&y("Unhandled promise rejection",z)},Xe=function(C){a(d,t,function(){var F=C.facade,z=C.value,H=ur(C),W;if(H&&(W=m(function(){r?_.emit("unhandledRejection",z,F):Ve($,F,z)}),C.rejection=r||ur(C)?Ge:Ue,W.error))throw W.value})},ur=function(C){return C.rejection!==Ue&&!C.parent},$e=function(C){a(d,t,function(){var F=C.facade;r?_.emit("rejectionHandled",F):Ve(X,F,C.value)})},ge=function(C,F,z){return function(H){C(F,H,z)}},de=function(C,F,z){C.done||(C.done=!0,z&&(C=z),C.value=F,C.state=ue,De(C,!0))},Oe=function(C,F,z){if(!C.done){C.done=!0,z&&(C=z);try{if(C.facade===F)throw new N("Promise can't be resolved itself");var H=fe(F);H?p(function(){var W={done:!1};try{a(H,F,ge(Oe,W,C),ge(de,W,C))}catch(Te){de(W,Te,C)}}):(C.value=F,C.state=oe,De(C,!1))}catch(W){de({done:!1},W,C)}}};if(P&&(V=function(F){v(this,B),h(F),a(ce,this);var z=I(this);try{F(ge(Oe,z),ge(de,z))}catch(H){de(z,H)}},B=V.prototype,ce=function(F){k(this,{type:R,done:!1,notified:!1,parent:!1,reactions:new b,rejection:!1,state:ae,value:null})},ce.prototype=s(B,"then",function(F,z){var H=I(this),W=q(g(this,V));return H.parent=!0,W.ok=c(F)?F:!0,W.fail=c(z)&&z,W.domain=r?_.domain:void 0,H.state===ae?H.reactions.add(W):p(function(){xe(W,H)}),W.promise}),Ne=function(){var C=new ce,F=I(C);this.promise=C,this.resolve=ge(Oe,F),this.reject=ge(de,F)},T.f=q=function(C){return C===V||C===_e?new Ne(C):U(C)},!e&&c(S)&&w!==Object.prototype)){be=w.then,D||s(w,"then",function(F,z){var H=this;return new V(function(W,Te){a(be,H,W,Te)}).then(F,z)},{unsafe:!0});try{delete w.constructor}catch{}o&&o(w,B)}return n({global:!0,constructor:!0,wrap:!0,forced:P},{Promise:V}),_e=i.Promise,u(V,R,!1,!0),l(R),hn}var io={},Ui,ao;function Or(){return ao||(ao=1,Ui={}),Ui}var Gi,no;function xh(){if(no)return Gi;no=1;var n=ne(),e=Or(),r=n("iterator"),t=Array.prototype;return Gi=function(i){return i!==void 0&&(e.Array===i||t[r]===i)},Gi}var $i,so;function Tl(){if(so)return $i;so=1;var n=Qa(),e=nr(),r=Ir(),t=Or(),i=ne(),a=i("iterator");return $i=function(s){if(!r(s))return e(s,a)||e(s,"@@iterator")||t[n(s)]},$i}var zi,oo;function Oh(){if(oo)return zi;oo=1;var n=se(),e=Fe(),r=he(),t=_r(),i=Tl(),a=TypeError;return zi=function(s,o){var u=arguments.length<2?i(s):o;if(e(u))return r(n(u,s));throw new a(t(s)+" is not iterable")},zi}var Hi,uo;function Th(){if(uo)return Hi;uo=1;var n=se(),e=he(),r=nr();return Hi=function(t,i,a){var s,o;e(t);try{if(s=r(t,"return"),!s){if(i==="throw")throw a;return a}s=n(s,t)}catch(u){o=!0,s=u}if(i==="throw")throw a;if(o)throw s;return e(s),a},Hi}var Wi,lo;function Sl(){if(lo)return Wi;lo=1;var n=Za(),e=se(),r=he(),t=_r(),i=xh(),a=Xa(),s=Nr(),o=Oh(),u=Tl(),l=Th(),h=TypeError,c=function(v,g){this.stopped=v,this.result=g},f=c.prototype;return Wi=function(v,g,d){var p=d&&d.that,y=!!(d&&d.AS_ENTRIES),m=!!(d&&d.IS_RECORD),b=!!(d&&d.IS_ITERATOR),x=!!(d&&d.INTERRUPTED),S=n(g,p),E,T,R,P,A,D,I,k=function(B){var N=E;return E=void 0,N&&l(N,"normal"),new c(!0,B)},w=function(B){return y?(r(B),x?S(B[0],B[1],k):S(B[0],B[1])):x?S(B,k):S(B)};if(m)E=v.iterator;else if(b)E=v;else{if(T=u(v),!T)throw new h(t(v)+" is not iterable");if(i(T)){for(R=0,P=a(v);P>R;R++)if(A=w(v[R]),A&&s(f,A))return A;return new c(!1)}E=o(v,T)}for(D=m?v.next:E.next;!(I=e(D,E)).done;){var V=I.value;try{A=w(V)}catch(B){if(E)l(E,"throw",B);else throw B}if(typeof A=="object"&&A&&s(f,A))return A}return new c(!1)},Wi}var Yi,ho;function Sh(){if(ho)return Yi;ho=1;var n=ne(),e=n("iterator"),r=!1;try{var t=0,i={next:function(){return{done:!!t++}},return:function(){r=!0}};i[e]=function(){return this},Array.from(i,function(){throw 2})}catch{}return Yi=function(a,s){try{if(!s&&!r)return!1}catch{return!1}var o=!1;try{var u={};u[e]=function(){return{next:function(){return{done:o=!0}}}},a(u)}catch{}return o},Yi}var Xi,vo;function El(){if(vo)return Xi;vo=1;var n=mr(),e=Sh(),r=br().CONSTRUCTOR;return Xi=r||!e(function(t){n.all(t).then(void 0,function(){})}),Xi}var co;function Eh(){if(co)return io;co=1;var n=ve(),e=se(),r=Fe(),t=xr(),i=Ja(),a=Sl(),s=El();return n({target:"Promise",stat:!0,forced:s},{all:function(u){var l=this,h=t.f(l),c=h.resolve,f=h.reject,v=i(function(){var g=r(l.resolve),d=[],p=0,y=1;a(u,function(m){var b=p++,x=!1;y++,e(g,l,m).then(function(S){x||(x=!0,d[b]=S,--y||c(d))},f)}),--y||c(d)});return v.error&&f(v.value),h.promise}}),io}var fo={},go;function Rh(){if(go)return fo;go=1;var n=ve(),e=Me(),r=br().CONSTRUCTOR,t=mr(),i=rr(),a=re(),s=tr(),o=t&&t.prototype;if(n({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(l){return this.then(void 0,l)}}),!e&&a(t)){var u=i("Promise").prototype.catch;o.catch!==u&&s(o,"catch",u,{unsafe:!0})}return fo}var po={},yo;function Ch(){if(yo)return po;yo=1;var n=ve(),e=se(),r=Fe(),t=xr(),i=Ja(),a=Sl(),s=El();return n({target:"Promise",stat:!0,forced:s},{race:function(u){var l=this,h=t.f(l),c=h.reject,f=i(function(){var v=r(l.resolve);a(u,function(g){e(v,l,g).then(h.resolve,c)})});return f.error&&c(f.value),h.promise}}),po}var mo={},bo;function wh(){if(bo)return mo;bo=1;var n=ve(),e=xr(),r=br().CONSTRUCTOR;return n({target:"Promise",stat:!0,forced:r},{reject:function(i){var a=e.f(this),s=a.reject;return s(i),a.promise}}),mo}var xo={},Ki,Oo;function Ph(){if(Oo)return Ki;Oo=1;var n=he(),e=ye(),r=xr();return Ki=function(t,i){if(n(t),e(i)&&i.constructor===t)return i;var a=r.f(t),s=a.resolve;return s(i),a.promise},Ki}var To;function Ah(){if(To)return xo;To=1;var n=ve(),e=rr(),r=Me(),t=mr(),i=br().CONSTRUCTOR,a=Ph(),s=e("Promise"),o=r&&!i;return n({target:"Promise",stat:!0,forced:r||i},{resolve:function(l){return a(o&&this===s?t:this,l)}}),xo}var So;function Ih(){return So||(So=1,bh(),Eh(),Rh(),Ch(),wh(),Ah()),ln}Ih();function Eo(n,e,r,t,i,a,s){try{var o=n[a](s),u=o.value}catch(l){return void r(l)}o.done?e(u):Promise.resolve(u).then(t,i)}function Be(n){return function(){var e=this,r=arguments;return new Promise(function(t,i){var a=n.apply(e,r);function s(u){Eo(a,t,i,s,o,"next",u)}function o(u){Eo(a,t,i,s,o,"throw",u)}s(void 0)})}}var Ro={},Co={},Qi,wo;function qe(){if(wo)return Qi;wo=1;var n=Qa(),e=String;return Qi=function(r){if(n(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(r)},Qi}var Zi,Po;function Rl(){if(Po)return Zi;Po=1;var n=he();return Zi=function(){var e=n(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r},Zi}var Ji,Ao;function Cl(){if(Ao)return Ji;Ao=1;var n=Z(),e=Q(),r=e.RegExp,t=n(function(){var s=r("a","y");return s.lastIndex=2,s.exec("abcd")!==null}),i=t||n(function(){return!r("a","y").sticky}),a=t||n(function(){var s=r("^r","gy");return s.lastIndex=2,s.exec("str")!==null});return Ji={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:t},Ji}var ea={},ra,Io;function Nh(){if(Io)return ra;Io=1;var n=cl(),e=Ka();return ra=Object.keys||function(t){return n(t,e)},ra}var No;function _h(){if(No)return ea;No=1;var n=we(),e=ll(),r=Ye(),t=he(),i=dr(),a=Nh();return ea.f=n&&!e?Object.defineProperties:function(o,u){t(o);for(var l=i(u),h=a(u),c=h.length,f=0,v;c>f;)r.f(o,v=h[f++],l[v]);return o},ea}var ta,_o;function Ur(){if(_o)return ta;_o=1;var n=he(),e=_h(),r=Ka(),t=Ya(),i=ml(),a=qr(),s=Wa(),o=">",u="<",l="prototype",h="script",c=s("IE_PROTO"),f=function(){},v=function(m){return u+h+o+m+u+"/"+h+o},g=function(m){m.write(v("")),m.close();var b=m.parentWindow.Object;return m=null,b},d=function(){var m=a("iframe"),b="java"+h+":",x;return m.style.display="none",i.appendChild(m),m.src=String(b),x=m.contentWindow.document,x.open(),x.write(v("document.F=Object")),x.close(),x.F},p,y=function(){try{p=new ActiveXObject("htmlfile")}catch{}y=typeof document<"u"?document.domain&&p?g(p):d():g(p);for(var m=r.length;m--;)delete y[l][r[m]];return y()};return t[c]=!0,ta=Object.create||function(b,x){var S;return b!==null?(f[l]=n(b),S=new f,f[l]=null,S[c]=b):S=y(),x===void 0?S:e.f(S,x)},ta}var ia,Mo;function Mh(){if(Mo)return ia;Mo=1;var n=Z(),e=Q(),r=e.RegExp;return ia=n(function(){var t=r(".","s");return!(t.dotAll&&t.test(`
2
2
  `)&&t.flags==="s")}),ia}var aa,qo;function qh(){if(qo)return aa;qo=1;var n=Z(),e=Q(),r=e.RegExp;return aa=n(function(){var t=r("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),aa}var na,Do;function en(){if(Do)return na;Do=1;var n=se(),e=J(),r=qe(),t=Rl(),i=Cl(),a=za(),s=Ur(),o=Lr().get,u=Mh(),l=qh(),h=a("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,f=c,v=e("".charAt),g=e("".indexOf),d=e("".replace),p=e("".slice),y=(function(){var E=/a/,T=/b*/g;return n(c,E,"a"),n(c,T,"a"),E.lastIndex!==0||T.lastIndex!==0})(),m=i.BROKEN_CARET,b=/()??/.exec("")[1]!==void 0,x=y||b||m||u||l,S=function(E,T){for(var R=E.groups=s(null),P=0;P<T.length;P++){var A=T[P];R[A[0]]=E[A[1]]}};return x&&(f=function(T){var R=this,P=o(R),A=r(T),D=P.raw,I,k,w;if(D)return D.lastIndex=R.lastIndex,I=n(f,D,A),R.lastIndex=D.lastIndex,I&&P.groups&&S(I,P.groups),I;var V=P.groups,B=m&&R.sticky,N=n(t,R),j=R.source,_=0,q=A;if(B){N=d(N,"y",""),g(N,"g")===-1&&(N+="g"),q=p(A,R.lastIndex);var U=R.lastIndex>0&&v(A,R.lastIndex-1);R.lastIndex>0&&(!R.multiline||R.multiline&&U!==`
3
3
  `&&U!=="\r"&&U!=="\u2028"&&U!=="\u2029")&&(j="(?: (?:"+j+"))",q=" "+q,_++),k=new RegExp("^(?:"+j+")",N)}b&&(k=new RegExp("^"+j+"$(?!\\s)",N)),y&&(w=R.lastIndex);var L=n(c,B?k:R,q);return B?L?(L.input=A,L[0]=p(L[0],_),L.index=R.lastIndex,R.lastIndex+=L[0].length):R.lastIndex=0:y&&L&&(R.lastIndex=R.global?L.index+L[0].length:w),b&&L&&L.length>1&&n(h,L[0],k,function(){for(var $=1;$<arguments.length-2;$++)arguments[$]===void 0&&(L[$]=void 0)}),L&&V&&S(L,V),L}),na=f,na}var Vo;function Dh(){if(Vo)return Co;Vo=1;var n=ve(),e=en();return n({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),Co}var sa,Lo;function rn(){if(Lo)return sa;Lo=1,Dh();var n=se(),e=tr(),r=en(),t=Z(),i=ne(),a=yr(),s=i("species"),o=RegExp.prototype;return sa=function(u,l,h,c){var f=i(u),v=!t(function(){var y={};return y[f]=function(){return 7},""[u](y)!==7}),g=v&&!t(function(){var y=!1,m=/a/;if(u==="split"){var b={};b[s]=function(){return m},m={constructor:b,flags:""},m[f]=/./[f]}return m.exec=function(){return y=!0,null},m[f](""),!y});if(!v||!g||h){var d=/./[f],p=l(f,""[u],function(y,m,b,x,S){var E=m.exec;return E===r||E===o.exec?v&&!S?{done:!0,value:n(d,m,b,x)}:{done:!0,value:n(y,b,m,x)}:{done:!1}});e(String.prototype,u,p[0]),e(o,f,p[1])}c&&a(o[f],"sham",!0)},sa}var oa,ko;function Vh(){if(ko)return oa;ko=1;var n=J(),e=kr(),r=qe(),t=Pe(),i=n("".charAt),a=n("".charCodeAt),s=n("".slice),o=function(u){return function(l,h){var c=r(t(l)),f=e(h),v=c.length,g,d;return f<0||f>=v?u?"":void 0:(g=a(c,f),g<55296||g>56319||f+1===v||(d=a(c,f+1))<56320||d>57343?u?i(c,f):g:u?s(c,f,f+2):(g-55296<<10)+(d-56320)+65536)}};return oa={codeAt:o(!1),charAt:o(!0)},oa}var ua,jo;function tn(){if(jo)return ua;jo=1;var n=Vh().charAt;return ua=function(e,r,t){return r+(t&&n(e,r).length||1)},ua}var la,Bo;function Lh(){if(Bo)return la;Bo=1;var n=Q(),e=Z(),r=n.RegExp,t=!e(function(){var i=!0;try{r(".","d")}catch{i=!1}var a={},s="",o=i?"dgimsy":"gimsy",u=function(f,v){Object.defineProperty(a,f,{get:function(){return s+=v,!0}})},l={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(l.hasIndices="d");for(var h in l)u(h,l[h]);var c=Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(a);return c!==o||s!==o});return la={correct:t},la}var ha,Fo;function Gr(){if(Fo)return ha;Fo=1;var n=se(),e=Ae(),r=Nr(),t=Lh(),i=Rl(),a=RegExp.prototype;return ha=t.correct?function(s){return s.flags}:function(s){return!t.correct&&r(a,s)&&!e(s,"flags")?n(i,s):s.flags},ha}var va,Uo;function an(){if(Uo)return va;Uo=1;var n=se(),e=he(),r=re(),t=er(),i=en(),a=TypeError;return va=function(s,o){var u=s.exec;if(r(u)){var l=n(u,s,o);return l!==null&&e(l),l}if(t(s)==="RegExp")return n(i,s,o);throw new a("RegExp#exec called on incompatible receiver")},va}var Go;function kh(){if(Go)return Ro;Go=1;var n=se(),e=J(),r=rn(),t=he(),i=ye(),a=sr(),s=qe(),o=Pe(),u=nr(),l=tn(),h=Gr(),c=an(),f=e("".indexOf);return r("match",function(v,g,d){return[function(y){var m=o(this),b=i(y)?u(y,v):void 0;return b?n(b,y,m):new RegExp(y)[v](s(m))},function(p){var y=t(this),m=s(p),b=d(g,y,m);if(b.done)return b.value;var x=s(h(y));if(!~f(x,"g"))return c(y,m);var S=!!~f(x,"u")||!!~f(x,"v");y.lastIndex=0;for(var E=[],T=0,R;(R=c(y,m))!==null;){var P=s(R[0]);E[T]=P,P===""&&(y.lastIndex=l(m,a(y.lastIndex),S)),T++}return T===0?null:E}]}),Ro}kh();var $o={},ca,zo;function jh(){if(zo)return ca;zo=1;var n=J(),e=Mr(),r=Math.floor,t=n("".charAt),i=n("".replace),a=n("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,o=/\$([$&'`]|\d{1,2})/g;return ca=function(u,l,h,c,f,v){var g=h+u.length,d=c.length,p=o;return f!==void 0&&(f=e(f),p=s),i(v,p,function(y,m){var b;switch(t(m,0)){case"$":return"$";case"&":return u;case"`":return a(l,0,h);case"'":return a(l,g);case"<":b=f[a(m,1,-1)];break;default:var x=+m;if(x===0)return y;if(x>d){var S=r(x/10);return S===0?y:S<=d?c[S-1]===void 0?t(m,1):c[S-1]+t(m,1):y}b=c[x-1]}return b===void 0?"":b})},ca}var Ho;function Bh(){if(Ho)return $o;Ho=1;var n=yl(),e=se(),r=J(),t=rn(),i=Z(),a=he(),s=re(),o=ye(),u=kr(),l=sr(),h=qe(),c=Pe(),f=tn(),v=nr(),g=jh(),d=Gr(),p=an(),y=ne(),m=y("replace"),b=Math.max,x=Math.min,S=r([].concat),E=r([].push),T=r("".indexOf),R=r("".slice),P=function(k){return k===void 0?k:String(k)},A=(function(){return"a".replace(/./,"$0")==="$0"})(),D=(function(){return/./[m]?/./[m]("a","$0")==="":!1})(),I=!i(function(){var k=/./;return k.exec=function(){var w=[];return w.groups={a:"7"},w},"".replace(k,"$<a>")!=="7"});return t("replace",function(k,w,V){var B=D?"$":"$0";return[function(j,_){var q=c(this),U=o(j)?v(j,m):void 0;return U?e(U,j,q,_):e(w,h(q),j,_)},function(N,j){var _=a(this),q=h(N),U=s(j);U||(j=h(j));var L=h(d(_));if(typeof j=="string"&&!~T(j,B)&&!~T(j,"$<")&&!~T(L,"y")){var $=V(w,_,q,j);if($.done)return $.value}var X=!!~T(L,"g"),ae;X&&(ae=!!~T(L,"u")||!!~T(L,"v"),_.lastIndex=0);for(var oe=[],ue;ue=p(_,q),!(ue===null||(E(oe,ue),!X));){var Ue=h(ue[0]);Ue===""&&(_.lastIndex=f(q,l(_.lastIndex),ae))}for(var Ge="",ce=0,Ne=0;Ne<oe.length;Ne++){ue=oe[Ne];for(var _e=h(ue[0]),be=b(x(u(ue.index),q.length),0),fe=[],xe,De=1;De<ue.length;De++)E(fe,P(ue[De]));var Ve=ue.groups;if(U){var Xe=S([_e],fe,be,q);Ve!==void 0&&E(Xe,Ve),xe=h(n(j,void 0,Xe))}else xe=g(_e,q,be,fe,Ve,j);be>=ce&&(Ge+=R(q,ce,be)+xe,ce=be+_e.length)}return Ge+R(q,ce)}]},!I||!A||D),$o}Bh();var Wo={},fa,Yo;function Fh(){if(Yo)return fa;Yo=1;var n=ye(),e=er(),r=ne(),t=r("match");return fa=function(i){var a;return n(i)&&((a=i[t])!==void 0?!!a:e(i)==="RegExp")},fa}var ga,Xo;function nn(){if(Xo)return ga;Xo=1;var n=Fh(),e=TypeError;return ga=function(r){if(n(r))throw new e("The method doesn't accept regular expressions");return r},ga}var da,Ko;function sn(){if(Ko)return da;Ko=1;var n=ne(),e=n("match");return da=function(r){var t=/./;try{"/./"[r](t)}catch{try{return t[e]=!1,"/./"[r](t)}catch{}}return!1},da}var Qo;function Uh(){if(Qo)return Wo;Qo=1;var n=ve(),e=Fr(),r=Dr().f,t=sr(),i=qe(),a=nn(),s=Pe(),o=sn(),u=Me(),l=e("".slice),h=Math.min,c=o("startsWith"),f=!u&&!c&&!!(function(){var v=r(String.prototype,"startsWith");return v&&!v.writable})();return n({target:"String",proto:!0,forced:!f&&!c},{startsWith:function(g){var d=i(s(this));a(g);var p=i(g),y=t(h(arguments.length>1?arguments[1]:void 0,d.length));return l(d,y,y+p.length)===p}}),Wo}Uh();var pa,Zo;function Gh(){if(Zo)return pa;Zo=1;var n=ne(),e=Ur(),r=Ye().f,t=n("unscopables"),i=Array.prototype;return i[t]===void 0&&r(i,t,{configurable:!0,value:e(null)}),pa=function(a){i[t][a]=!0},pa}var ya,Jo;function $h(){if(Jo)return ya;Jo=1;var n=Z();return ya=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),ya}var ma,eu;function wl(){if(eu)return ma;eu=1;var n=Ae(),e=re(),r=Mr(),t=Wa(),i=$h(),a=t("IE_PROTO"),s=Object,o=s.prototype;return ma=i?s.getPrototypeOf:function(u){var l=r(u);if(n(l,a))return l[a];var h=l.constructor;return e(h)&&l instanceof h?h.prototype:l instanceof s?o:null},ma}var ba,ru;function Pl(){if(ru)return ba;ru=1;var n=Z(),e=re(),r=ye(),t=Ur(),i=wl(),a=tr(),s=ne(),o=Me(),u=s("iterator"),l=!1,h,c,f;[].keys&&(f=[].keys(),"next"in f?(c=i(i(f)),c!==Object.prototype&&(h=c)):l=!0);var v=!r(h)||n(function(){var g={};return h[u].call(g)!==g});return v?h={}:o&&(h=t(h)),e(h[u])||a(h,u,function(){return this}),ba={IteratorPrototype:h,BUGGY_SAFARI_ITERATORS:l},ba}var xa,tu;function zh(){if(tu)return xa;tu=1;var n=Pl().IteratorPrototype,e=Ur(),r=Fa(),t=Br(),i=Or(),a=function(){return this};return xa=function(s,o,u,l){var h=o+" Iterator";return s.prototype=e(n,{next:r(+!l,u)}),t(s,h,!1,!0),i[h]=a,s},xa}var Oa,iu;function Hh(){if(iu)return Oa;iu=1;var n=ve(),e=se(),r=Me(),t=Vr(),i=re(),a=zh(),s=wl(),o=dl(),u=Br(),l=yr(),h=tr(),c=ne(),f=Or(),v=Pl(),g=t.PROPER,d=t.CONFIGURABLE,p=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,m=c("iterator"),b="keys",x="values",S="entries",E=function(){return this};return Oa=function(T,R,P,A,D,I,k){a(P,R,A);var w=function(X){if(X===D&&_)return _;if(!y&&X&&X in N)return N[X];switch(X){case b:return function(){return new P(this,X)};case x:return function(){return new P(this,X)};case S:return function(){return new P(this,X)}}return function(){return new P(this)}},V=R+" Iterator",B=!1,N=T.prototype,j=N[m]||N["@@iterator"]||D&&N[D],_=!y&&j||w(D),q=R==="Array"&&N.entries||j,U,L,$;if(q&&(U=s(q.call(new T)),U!==Object.prototype&&U.next&&(!r&&s(U)!==p&&(o?o(U,p):i(U[m])||h(U,m,E)),u(U,V,!0,!0),r&&(f[V]=E))),g&&D===x&&j&&j.name!==x&&(!r&&d?l(N,"name",x):(B=!0,_=function(){return e(j,this)})),D)if(L={values:w(x),keys:I?_:w(b),entries:w(S)},k)for($ in L)(y||B||!($ in N))&&h(N,$,L[$]);else n({target:R,proto:!0,forced:y||B},L);return(!r||k)&&N[m]!==_&&h(N,m,_,{name:D}),f[R]=_,L},Oa}var Ta,au;function Wh(){return au||(au=1,Ta=function(n,e){return{value:n,done:e}}),Ta}var Sa,nu;function Al(){if(nu)return Sa;nu=1;var n=dr(),e=Gh(),r=Or(),t=Lr(),i=Ye().f,a=Hh(),s=Wh(),o=Me(),u=we(),l="Array Iterator",h=t.set,c=t.getterFor(l);Sa=a(Array,"Array",function(v,g){h(this,{type:l,target:n(v),index:0,kind:g})},function(){var v=c(this),g=v.target,d=v.index++;if(!g||d>=g.length)return v.target=null,s(void 0,!0);switch(v.kind){case"keys":return s(d,!1);case"values":return s(g[d],!1)}return s([d,g[d]],!1)},"values");var f=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!o&&u&&f.name!=="values")try{i(f,"name",{value:"values"})}catch{}return Sa}Al();var su={},Ea,ou;function Yh(){return ou||(ou=1,Ea={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),Ea}var Ra,uu;function Xh(){if(uu)return Ra;uu=1;var n=qr(),e=n("span").classList,r=e&&e.constructor&&e.constructor.prototype;return Ra=r===Object.prototype?void 0:r,Ra}var lu;function Kh(){if(lu)return su;lu=1;var n=Q(),e=Yh(),r=Xh(),t=Al(),i=yr(),a=Br(),s=ne(),o=s("iterator"),u=t.values,l=function(c,f){if(c){if(c[o]!==u)try{i(c,o,u)}catch{c[o]=u}if(a(c,f,!0),e[f]){for(var v in t)if(c[v]!==t[v])try{i(c,v,t[v])}catch{c[v]=t[v]}}}};for(var h in e)l(n[h]&&n[h].prototype,h);return l(r,"DOMTokenList"),su}Kh();var hu={},Ca,vu;function Qh(){if(vu)return Ca;vu=1;var n=Fe(),e=Mr(),r=tl(),t=Xa(),i=TypeError,a="Reduce of empty array with no initial value",s=function(o){return function(u,l,h,c){var f=e(u),v=r(f),g=t(f);if(n(l),g===0&&h<2)throw new i(a);var d=o?g-1:0,p=o?-1:1;if(h<2)for(;;){if(d in v){c=v[d],d+=p;break}if(d+=p,o?d<0:g<=d)throw new i(a)}for(;o?d>=0:g>d;d+=p)d in v&&(c=l(c,v[d],d,f));return c}};return Ca={left:s(!1),right:s(!0)},Ca}var wa,cu;function Il(){if(cu)return wa;cu=1;var n=Z();return wa=function(e,r){var t=[][e];return!!t&&n(function(){t.call(null,r||function(){return 1},1)})},wa}var fu;function Zh(){if(fu)return hu;fu=1;var n=ve(),e=Qh().left,r=Il(),t=Ua(),i=jr(),a=!i&&t>79&&t<83,s=a||!r("reduce");return n({target:"Array",proto:!0,forced:s},{reduce:function(u){var l=arguments.length;return e(this,u,l,l>1?arguments[1]:void 0)}}),hu}Zh();var gu={},du;function Jh(){if(du)return gu;du=1;var n=ve(),e=Fr(),r=Dr().f,t=sr(),i=qe(),a=nn(),s=Pe(),o=sn(),u=Me(),l=e("".slice),h=Math.min,c=o("endsWith"),f=!u&&!c&&!!(function(){var v=r(String.prototype,"endsWith");return v&&!v.writable})();return n({target:"String",proto:!0,forced:!f&&!c},{endsWith:function(g){var d=i(s(this));a(g);var p=i(g),y=arguments.length>1?arguments[1]:void 0,m=d.length,b=y===void 0?m:h(t(y),m);return l(d,b-p.length,b)===p}}),gu}Jh();var pu={},yu;function ev(){if(yu)return pu;yu=1;var n=se(),e=J(),r=rn(),t=he(),i=ye(),a=Pe(),s=pl(),o=tn(),u=sr(),l=qe(),h=nr(),c=Gr(),f=an(),v=Cl(),g=Z(),d=v.UNSUPPORTED_Y,p=4294967295,y=Math.min,m=e([].push),b=e("".slice),x=e("".indexOf),S=!g(function(){var T=/(?:)/,R=T.exec;T.exec=function(){return R.apply(this,arguments)};var P="ab".split(T);return P.length!==2||P[0]!=="a"||P[1]!=="b"}),E="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;return r("split",function(T,R,P){var A="0".split(void 0,0).length?function(D,I){return D===void 0&&I===0?[]:n(R,this,D,I)}:R;return[function(I,k){var w=a(this),V=i(I)?h(I,T):void 0;return V?n(V,I,w,k):n(A,l(w),I,k)},function(D,I){var k=t(this),w=l(D);if(!E){var V=P(A,k,w,I,A!==R);if(V.done)return V.value}var B=s(k,RegExp),N=l(c(k)),j=!!~x(N,"u")||!!~x(N,"v");d?~x(N,"g")||(N+="g"):~x(N,"y")||(N+="y");var _=new B(d?"^(?:"+k.source+")":k,N),q=I===void 0?p:I>>>0;if(q===0)return[];if(w.length===0)return f(_,w)===null?[w]:[];for(var U=0,L=0,$=[];L<w.length;){_.lastIndex=d?0:L;var X=f(_,d?b(w,L):w),ae;if(X===null||(ae=y(u(_.lastIndex+(d?L:0)),w.length))===U)L=o(w,L,j);else{if(m($,b(w,U,L)),$.length===q)return $;for(var oe=1;oe<=X.length-1;oe++)if(m($,X[oe]),$.length===q)return $;L=U=ae}}return m($,b(w,U)),$}]},E||!S,d),pu}ev();var fr={exports:{}},Ze={exports:{}},rv=Ze.exports,mu;function tv(){return mu||(mu=1,(function(){var n,e,r,t,i,a;typeof performance<"u"&&performance!==null&&performance.now?Ze.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Ze.exports=function(){return(n()-i)/1e6},e=process.hrtime,n=function(){var s;return s=e(),s[0]*1e9+s[1]},t=n(),a=process.uptime()*1e9,i=t-a):Date.now?(Ze.exports=function(){return Date.now()-r},r=Date.now()):(Ze.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(rv)),Ze.exports}var bu;function iv(){if(bu)return fr.exports;bu=1;for(var n=tv(),e=typeof window>"u"?globalThis:window,r=["moz","webkit"],t="AnimationFrame",i=e["request"+t],a=e["cancel"+t]||e["cancelRequest"+t],s=0;!i&&s<r.length;s++)i=e[r[s]+"Request"+t],a=e[r[s]+"Cancel"+t]||e[r[s]+"CancelRequest"+t];if(!i||!a){var o=0,u=0,l=[],h=1e3/60;i=function(c){if(l.length===0){var f=n(),v=Math.max(0,h-(f-o));o=v+f,setTimeout(function(){var g=l.slice(0);l.length=0;for(var d=0;d<g.length;d++)if(!g[d].cancelled)try{g[d].callback(o)}catch(p){setTimeout(function(){throw p},0)}},Math.round(v))}return l.push({handle:++u,callback:c,cancelled:!1}),u},a=function(c){for(var f=0;f<l.length;f++)l[f].handle===c&&(l[f].cancelled=!0)}}return fr.exports=function(c){return i.call(e,c)},fr.exports.cancel=function(){a.apply(e,arguments)},fr.exports.polyfill=function(c){c||(c=e),c.requestAnimationFrame=i,c.cancelAnimationFrame=a},fr.exports}var av=iv();const Pa=rl(av);var xu={},Aa,Ou;function Nl(){return Ou||(Ou=1,Aa=`
4
4
  \v\f\r                 \u2028\u2029\uFEFF`),Aa}var Ia,Tu;function nv(){if(Tu)return Ia;Tu=1;var n=J(),e=Pe(),r=qe(),t=Nl(),i=n("".replace),a=RegExp("^["+t+"]+"),s=RegExp("(^|[^"+t+"])["+t+"]+$"),o=function(u){return function(l){var h=r(e(l));return u&1&&(h=i(h,a,"")),u&2&&(h=i(h,s,"$1")),h}};return Ia={start:o(1),end:o(2),trim:o(3)},Ia}var Na,Su;function sv(){if(Su)return Na;Su=1;var n=Vr().PROPER,e=Z(),r=Nl(),t="​…᠎";return Na=function(i){return e(function(){return!!r[i]()||t[i]()!==t||n&&r[i].name!==i})},Na}var Eu;function ov(){if(Eu)return xu;Eu=1;var n=ve(),e=nv().trim,r=sv();return n({target:"String",proto:!0,forced:r("trim")},{trim:function(){return e(this)}}),xu}ov();var _a,Ru;function uv(){return Ru||(Ru=1,_a=function(n){this.ok=!1,this.alpha=1,n.charAt(0)=="#"&&(n=n.substr(1,6)),n=n.replace(/ /g,""),n=n.toLowerCase();var e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};n=e[n]||n;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3]),parseFloat(u[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(u){return[parseInt(u[1],16),parseInt(u[2],16),parseInt(u[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(u){return[parseInt(u[1]+u[1],16),parseInt(u[2]+u[2],16),parseInt(u[3]+u[3],16)]}}],t=0;t<r.length;t++){var i=r[t].re,a=r[t].process,s=i.exec(n);if(s){var o=a(s);this.r=o[0],this.g=o[1],this.b=o[2],o.length>3&&(this.alpha=o[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var u=this.r.toString(16),l=this.g.toString(16),h=this.b.toString(16);return u.length==1&&(u="0"+u),l.length==1&&(l="0"+l),h.length==1&&(h="0"+h),"#"+u+l+h},this.getHelpXML=function(){for(var u=new Array,l=0;l<r.length;l++)for(var h=r[l].example,c=0;c<h.length;c++)u[u.length]=h[c];for(var f in e)u[u.length]=f;var v=document.createElement("ul");v.setAttribute("id","rgbcolor-examples");for(var l=0;l<u.length;l++)try{var g=document.createElement("li"),d=new RGBColor(u[l]),p=document.createElement("div");p.style.cssText="margin: 3px; border: 1px solid black; background:"+d.toHex()+"; color:"+d.toHex(),p.appendChild(document.createTextNode("test"));var y=document.createTextNode(" "+u[l]+" -> "+d.toRGB()+" -> "+d.toHex());g.appendChild(p),g.appendChild(y),v.appendChild(g)}catch{}return v}}),_a}var lv=uv();const Va=rl(lv);var Cu={},wu;function hv(){if(wu)return Cu;wu=1;var n=ve(),e=Fr(),r=vl().indexOf,t=Il(),i=e([].indexOf),a=!!i&&1/i([1],1,-0)<0,s=a||!t("indexOf");return n({target:"Array",proto:!0,forced:s},{indexOf:function(u){var l=arguments.length>1?arguments[1]:void 0;return a?i(this,u,l)||0:r(this,u,l)}}),Cu}hv();var Pu={},Au;function vv(){if(Au)return Pu;Au=1;var n=ve(),e=J(),r=nn(),t=Pe(),i=qe(),a=sn(),s=e("".indexOf);return n({target:"String",proto:!0,forced:!a("includes")},{includes:function(u){return!!~s(i(t(this)),i(r(u)),arguments.length>1?arguments[1]:void 0)}}),Pu}vv();var Iu={},Ma,Nu;function cv(){if(Nu)return Ma;Nu=1;var n=er();return Ma=Array.isArray||function(r){return n(r)==="Array"},Ma}var _u;function fv(){if(_u)return Iu;_u=1;var n=ve(),e=J(),r=cv(),t=e([].reverse),i=[1,2];return n({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),t(this)}}),Iu}fv();var _l=function(n,e){return(_l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])})(n,e)};function Ml(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}_l(n,e),n.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function gv(n){var e="";Array.isArray(n)||(n=[n]);for(var r=0;r<n.length;r++){var t=n[r];if(t.type===O.CLOSE_PATH)e+="z";else if(t.type===O.HORIZ_LINE_TO)e+=(t.relative?"h":"H")+t.x;else if(t.type===O.VERT_LINE_TO)e+=(t.relative?"v":"V")+t.y;else if(t.type===O.MOVE_TO)e+=(t.relative?"m":"M")+t.x+" "+t.y;else if(t.type===O.LINE_TO)e+=(t.relative?"l":"L")+t.x+" "+t.y;else if(t.type===O.CURVE_TO)e+=(t.relative?"c":"C")+t.x1+" "+t.y1+" "+t.x2+" "+t.y2+" "+t.x+" "+t.y;else if(t.type===O.SMOOTH_CURVE_TO)e+=(t.relative?"s":"S")+t.x2+" "+t.y2+" "+t.x+" "+t.y;else if(t.type===O.QUAD_TO)e+=(t.relative?"q":"Q")+t.x1+" "+t.y1+" "+t.x+" "+t.y;else if(t.type===O.SMOOTH_QUAD_TO)e+=(t.relative?"t":"T")+t.x+" "+t.y;else{if(t.type!==O.ARC)throw new Error('Unexpected command type "'+t.type+'" at index '+r+".");e+=(t.relative?"a":"A")+t.rX+" "+t.rY+" "+t.xRot+" "+ +t.lArcFlag+" "+ +t.sweepFlag+" "+t.x+" "+t.y}}return e}function La(n,e){var r=n[0],t=n[1];return[r*Math.cos(e)-t*Math.sin(e),r*Math.sin(e)+t*Math.cos(e)]}function Ce(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];for(var r=0;r<n.length;r++)if(typeof n[r]!="number")throw new Error("assertNumbers arguments["+r+"] is not a number. "+typeof n[r]+" == typeof "+n[r]);return!0}var ze=Math.PI;function qa(n,e,r){n.lArcFlag=n.lArcFlag===0?0:1,n.sweepFlag=n.sweepFlag===0?0:1;var t=n.rX,i=n.rY,a=n.x,s=n.y;t=Math.abs(n.rX),i=Math.abs(n.rY);var o=La([(e-a)/2,(r-s)/2],-n.xRot/180*ze),u=o[0],l=o[1],h=Math.pow(u,2)/Math.pow(t,2)+Math.pow(l,2)/Math.pow(i,2);1<h&&(t*=Math.sqrt(h),i*=Math.sqrt(h)),n.rX=t,n.rY=i;var c=Math.pow(t,2)*Math.pow(l,2)+Math.pow(i,2)*Math.pow(u,2),f=(n.lArcFlag!==n.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(t,2)*Math.pow(i,2)-c)/c)),v=t*l/i*f,g=-i*u/t*f,d=La([v,g],n.xRot/180*ze);n.cX=d[0]+(e+a)/2,n.cY=d[1]+(r+s)/2,n.phi1=Math.atan2((l-g)/i,(u-v)/t),n.phi2=Math.atan2((-l-g)/i,(-u-v)/t),n.sweepFlag===0&&n.phi2>n.phi1&&(n.phi2-=2*ze),n.sweepFlag===1&&n.phi2<n.phi1&&(n.phi2+=2*ze),n.phi1*=180/ze,n.phi2*=180/ze}function Mu(n,e,r){Ce(n,e,r);var t=n*n+e*e-r*r;if(0>t)return[];if(t===0)return[[n*r/(n*n+e*e),e*r/(n*n+e*e)]];var i=Math.sqrt(t);return[[(n*r+e*i)/(n*n+e*e),(e*r-n*i)/(n*n+e*e)],[(n*r-e*i)/(n*n+e*e),(e*r+n*i)/(n*n+e*e)]]}var ie,ke=Math.PI/180;function qu(n,e,r){return(1-r)*n+r*e}function Du(n,e,r,t){return n+Math.cos(t/180*ze)*e+Math.sin(t/180*ze)*r}function Vu(n,e,r,t){var i=1e-6,a=e-n,s=r-e,o=3*a+3*(t-r)-6*s,u=6*(s-a),l=3*a;return Math.abs(o)<i?[-l/u]:(function(h,c,f){var v=h*h/4-c;if(v<-f)return[];if(v<=f)return[-h/2];var g=Math.sqrt(v);return[-h/2-g,-h/2+g]})(u/o,l/o,i)}function Lu(n,e,r,t,i){var a=1-i;return n*(a*a*a)+e*(3*a*a*i)+r*(3*a*i*i)+t*(i*i*i)}(function(n){function e(){return i((function(o,u,l){return o.relative&&(o.x1!==void 0&&(o.x1+=u),o.y1!==void 0&&(o.y1+=l),o.x2!==void 0&&(o.x2+=u),o.y2!==void 0&&(o.y2+=l),o.x!==void 0&&(o.x+=u),o.y!==void 0&&(o.y+=l),o.relative=!1),o}))}function r(){var o=NaN,u=NaN,l=NaN,h=NaN;return i((function(c,f,v){return c.type&O.SMOOTH_CURVE_TO&&(c.type=O.CURVE_TO,o=isNaN(o)?f:o,u=isNaN(u)?v:u,c.x1=c.relative?f-o:2*f-o,c.y1=c.relative?v-u:2*v-u),c.type&O.CURVE_TO?(o=c.relative?f+c.x2:c.x2,u=c.relative?v+c.y2:c.y2):(o=NaN,u=NaN),c.type&O.SMOOTH_QUAD_TO&&(c.type=O.QUAD_TO,l=isNaN(l)?f:l,h=isNaN(h)?v:h,c.x1=c.relative?f-l:2*f-l,c.y1=c.relative?v-h:2*v-h),c.type&O.QUAD_TO?(l=c.relative?f+c.x1:c.x1,h=c.relative?v+c.y1:c.y1):(l=NaN,h=NaN),c}))}function t(){var o=NaN,u=NaN;return i((function(l,h,c){if(l.type&O.SMOOTH_QUAD_TO&&(l.type=O.QUAD_TO,o=isNaN(o)?h:o,u=isNaN(u)?c:u,l.x1=l.relative?h-o:2*h-o,l.y1=l.relative?c-u:2*c-u),l.type&O.QUAD_TO){o=l.relative?h+l.x1:l.x1,u=l.relative?c+l.y1:l.y1;var f=l.x1,v=l.y1;l.type=O.CURVE_TO,l.x1=((l.relative?0:h)+2*f)/3,l.y1=((l.relative?0:c)+2*v)/3,l.x2=(l.x+2*f)/3,l.y2=(l.y+2*v)/3}else o=NaN,u=NaN;return l}))}function i(o){var u=0,l=0,h=NaN,c=NaN;return function(f){if(isNaN(h)&&!(f.type&O.MOVE_TO))throw new Error("path must start with moveto");var v=o(f,u,l,h,c);return f.type&O.CLOSE_PATH&&(u=h,l=c),f.x!==void 0&&(u=f.relative?u+f.x:f.x),f.y!==void 0&&(l=f.relative?l+f.y:f.y),f.type&O.MOVE_TO&&(h=u,c=l),v}}function a(o,u,l,h,c,f){return Ce(o,u,l,h,c,f),i((function(v,g,d,p){var y=v.x1,m=v.x2,b=v.relative&&!isNaN(p),x=v.x!==void 0?v.x:b?0:g,S=v.y!==void 0?v.y:b?0:d;function E(L){return L*L}v.type&O.HORIZ_LINE_TO&&u!==0&&(v.type=O.LINE_TO,v.y=v.relative?0:d),v.type&O.VERT_LINE_TO&&l!==0&&(v.type=O.LINE_TO,v.x=v.relative?0:g),v.x!==void 0&&(v.x=v.x*o+S*l+(b?0:c)),v.y!==void 0&&(v.y=x*u+v.y*h+(b?0:f)),v.x1!==void 0&&(v.x1=v.x1*o+v.y1*l+(b?0:c)),v.y1!==void 0&&(v.y1=y*u+v.y1*h+(b?0:f)),v.x2!==void 0&&(v.x2=v.x2*o+v.y2*l+(b?0:c)),v.y2!==void 0&&(v.y2=m*u+v.y2*h+(b?0:f));var T=o*h-u*l;if(v.xRot!==void 0&&(o!==1||u!==0||l!==0||h!==1))if(T===0)delete v.rX,delete v.rY,delete v.xRot,delete v.lArcFlag,delete v.sweepFlag,v.type=O.LINE_TO;else{var R=v.xRot*Math.PI/180,P=Math.sin(R),A=Math.cos(R),D=1/E(v.rX),I=1/E(v.rY),k=E(A)*D+E(P)*I,w=2*P*A*(D-I),V=E(P)*D+E(A)*I,B=k*h*h-w*u*h+V*u*u,N=w*(o*h+u*l)-2*(k*l*h+V*o*u),j=k*l*l-w*o*l+V*o*o,_=(Math.atan2(N,B-j)+Math.PI)%Math.PI/2,q=Math.sin(_),U=Math.cos(_);v.rX=Math.abs(T)/Math.sqrt(B*E(U)+N*q*U+j*E(q)),v.rY=Math.abs(T)/Math.sqrt(B*E(q)-N*q*U+j*E(U)),v.xRot=180*_/Math.PI}return v.sweepFlag!==void 0&&0>T&&(v.sweepFlag=+!v.sweepFlag),v}))}function s(){return function(o){var u={};for(var l in o)u[l]=o[l];return u}}n.ROUND=function(o){function u(l){return Math.round(l*o)/o}return o===void 0&&(o=1e13),Ce(o),function(l){return l.x1!==void 0&&(l.x1=u(l.x1)),l.y1!==void 0&&(l.y1=u(l.y1)),l.x2!==void 0&&(l.x2=u(l.x2)),l.y2!==void 0&&(l.y2=u(l.y2)),l.x!==void 0&&(l.x=u(l.x)),l.y!==void 0&&(l.y=u(l.y)),l.rX!==void 0&&(l.rX=u(l.rX)),l.rY!==void 0&&(l.rY=u(l.rY)),l}},n.TO_ABS=e,n.TO_REL=function(){return i((function(o,u,l){return o.relative||(o.x1!==void 0&&(o.x1-=u),o.y1!==void 0&&(o.y1-=l),o.x2!==void 0&&(o.x2-=u),o.y2!==void 0&&(o.y2-=l),o.x!==void 0&&(o.x-=u),o.y!==void 0&&(o.y-=l),o.relative=!0),o}))},n.NORMALIZE_HVZ=function(o,u,l){return o===void 0&&(o=!0),u===void 0&&(u=!0),l===void 0&&(l=!0),i((function(h,c,f,v,g){if(isNaN(v)&&!(h.type&O.MOVE_TO))throw new Error("path must start with moveto");return u&&h.type&O.HORIZ_LINE_TO&&(h.type=O.LINE_TO,h.y=h.relative?0:f),l&&h.type&O.VERT_LINE_TO&&(h.type=O.LINE_TO,h.x=h.relative?0:c),o&&h.type&O.CLOSE_PATH&&(h.type=O.LINE_TO,h.x=h.relative?v-c:v,h.y=h.relative?g-f:g),h.type&O.ARC&&(h.rX===0||h.rY===0)&&(h.type=O.LINE_TO,delete h.rX,delete h.rY,delete h.xRot,delete h.lArcFlag,delete h.sweepFlag),h}))},n.NORMALIZE_ST=r,n.QT_TO_C=t,n.INFO=i,n.SANITIZE=function(o){o===void 0&&(o=0),Ce(o);var u=NaN,l=NaN,h=NaN,c=NaN;return i((function(f,v,g,d,p){var y=Math.abs,m=!1,b=0,x=0;if(f.type&O.SMOOTH_CURVE_TO&&(b=isNaN(u)?0:v-u,x=isNaN(l)?0:g-l),f.type&(O.CURVE_TO|O.SMOOTH_CURVE_TO)?(u=f.relative?v+f.x2:f.x2,l=f.relative?g+f.y2:f.y2):(u=NaN,l=NaN),f.type&O.SMOOTH_QUAD_TO?(h=isNaN(h)?v:2*v-h,c=isNaN(c)?g:2*g-c):f.type&O.QUAD_TO?(h=f.relative?v+f.x1:f.x1,c=f.relative?g+f.y1:f.y2):(h=NaN,c=NaN),f.type&O.LINE_COMMANDS||f.type&O.ARC&&(f.rX===0||f.rY===0||!f.lArcFlag)||f.type&O.CURVE_TO||f.type&O.SMOOTH_CURVE_TO||f.type&O.QUAD_TO||f.type&O.SMOOTH_QUAD_TO){var S=f.x===void 0?0:f.relative?f.x:f.x-v,E=f.y===void 0?0:f.relative?f.y:f.y-g;b=isNaN(h)?f.x1===void 0?b:f.relative?f.x:f.x1-v:h-v,x=isNaN(c)?f.y1===void 0?x:f.relative?f.y:f.y1-g:c-g;var T=f.x2===void 0?0:f.relative?f.x:f.x2-v,R=f.y2===void 0?0:f.relative?f.y:f.y2-g;y(S)<=o&&y(E)<=o&&y(b)<=o&&y(x)<=o&&y(T)<=o&&y(R)<=o&&(m=!0)}return f.type&O.CLOSE_PATH&&y(v-d)<=o&&y(g-p)<=o&&(m=!0),m?[]:f}))},n.MATRIX=a,n.ROTATE=function(o,u,l){u===void 0&&(u=0),l===void 0&&(l=0),Ce(o,u,l);var h=Math.sin(o),c=Math.cos(o);return a(c,h,-h,c,u-u*c+l*h,l-u*h-l*c)},n.TRANSLATE=function(o,u){return u===void 0&&(u=0),Ce(o,u),a(1,0,0,1,o,u)},n.SCALE=function(o,u){return u===void 0&&(u=o),Ce(o,u),a(o,0,0,u,0,0)},n.SKEW_X=function(o){return Ce(o),a(1,0,Math.atan(o),1,0,0)},n.SKEW_Y=function(o){return Ce(o),a(1,Math.atan(o),0,1,0,0)},n.X_AXIS_SYMMETRY=function(o){return o===void 0&&(o=0),Ce(o),a(-1,0,0,1,o,0)},n.Y_AXIS_SYMMETRY=function(o){return o===void 0&&(o=0),Ce(o),a(1,0,0,-1,0,o)},n.A_TO_C=function(){return i((function(o,u,l){return O.ARC===o.type?(function(h,c,f){var v,g,d,p;h.cX||qa(h,c,f);for(var y=Math.min(h.phi1,h.phi2),m=Math.max(h.phi1,h.phi2)-y,b=Math.ceil(m/90),x=new Array(b),S=c,E=f,T=0;T<b;T++){var R=qu(h.phi1,h.phi2,T/b),P=qu(h.phi1,h.phi2,(T+1)/b),A=P-R,D=4/3*Math.tan(A*ke/4),I=[Math.cos(R*ke)-D*Math.sin(R*ke),Math.sin(R*ke)+D*Math.cos(R*ke)],k=I[0],w=I[1],V=[Math.cos(P*ke),Math.sin(P*ke)],B=V[0],N=V[1],j=[B+D*Math.sin(P*ke),N-D*Math.cos(P*ke)],_=j[0],q=j[1];x[T]={relative:h.relative,type:O.CURVE_TO};var U=function(L,$){var X=La([L*h.rX,$*h.rY],h.xRot),ae=X[0],oe=X[1];return[h.cX+ae,h.cY+oe]};v=U(k,w),x[T].x1=v[0],x[T].y1=v[1],g=U(_,q),x[T].x2=g[0],x[T].y2=g[1],d=U(B,N),x[T].x=d[0],x[T].y=d[1],h.relative&&(x[T].x1-=S,x[T].y1-=E,x[T].x2-=S,x[T].y2-=E,x[T].x-=S,x[T].y-=E),S=(p=[x[T].x,x[T].y])[0],E=p[1]}return x})(o,o.relative?0:u,o.relative?0:l):o}))},n.ANNOTATE_ARCS=function(){return i((function(o,u,l){return o.relative&&(u=0,l=0),O.ARC===o.type&&qa(o,u,l),o}))},n.CLONE=s,n.CALCULATE_BOUNDS=function(){var o=function(f){var v={};for(var g in f)v[g]=f[g];return v},u=e(),l=t(),h=r(),c=i((function(f,v,g){var d=h(l(u(o(f))));function p(q){q>c.maxX&&(c.maxX=q),q<c.minX&&(c.minX=q)}function y(q){q>c.maxY&&(c.maxY=q),q<c.minY&&(c.minY=q)}if(d.type&O.DRAWING_COMMANDS&&(p(v),y(g)),d.type&O.HORIZ_LINE_TO&&p(d.x),d.type&O.VERT_LINE_TO&&y(d.y),d.type&O.LINE_TO&&(p(d.x),y(d.y)),d.type&O.CURVE_TO){p(d.x),y(d.y);for(var m=0,b=Vu(v,d.x1,d.x2,d.x);m<b.length;m++)0<(_=b[m])&&1>_&&p(Lu(v,d.x1,d.x2,d.x,_));for(var x=0,S=Vu(g,d.y1,d.y2,d.y);x<S.length;x++)0<(_=S[x])&&1>_&&y(Lu(g,d.y1,d.y2,d.y,_))}if(d.type&O.ARC){p(d.x),y(d.y),qa(d,v,g);for(var E=d.xRot/180*Math.PI,T=Math.cos(E)*d.rX,R=Math.sin(E)*d.rX,P=-Math.sin(E)*d.rY,A=Math.cos(E)*d.rY,D=d.phi1<d.phi2?[d.phi1,d.phi2]:-180>d.phi2?[d.phi2+360,d.phi1+360]:[d.phi2,d.phi1],I=D[0],k=D[1],w=function(q){var U=q[0],L=q[1],$=180*Math.atan2(L,U)/Math.PI;return $<I?$+360:$},V=0,B=Mu(P,-T,0).map(w);V<B.length;V++)(_=B[V])>I&&_<k&&p(Du(d.cX,T,P,_));for(var N=0,j=Mu(A,-R,0).map(w);N<j.length;N++){var _;(_=j[N])>I&&_<k&&y(Du(d.cY,R,A,_))}}return f}));return c.minX=1/0,c.maxX=-1/0,c.minY=1/0,c.maxY=-1/0,c}})(ie||(ie={}));var Re,ql=(function(){function n(){}return n.prototype.round=function(e){return this.transform(ie.ROUND(e))},n.prototype.toAbs=function(){return this.transform(ie.TO_ABS())},n.prototype.toRel=function(){return this.transform(ie.TO_REL())},n.prototype.normalizeHVZ=function(e,r,t){return this.transform(ie.NORMALIZE_HVZ(e,r,t))},n.prototype.normalizeST=function(){return this.transform(ie.NORMALIZE_ST())},n.prototype.qtToC=function(){return this.transform(ie.QT_TO_C())},n.prototype.aToC=function(){return this.transform(ie.A_TO_C())},n.prototype.sanitize=function(e){return this.transform(ie.SANITIZE(e))},n.prototype.translate=function(e,r){return this.transform(ie.TRANSLATE(e,r))},n.prototype.scale=function(e,r){return this.transform(ie.SCALE(e,r))},n.prototype.rotate=function(e,r,t){return this.transform(ie.ROTATE(e,r,t))},n.prototype.matrix=function(e,r,t,i,a,s){return this.transform(ie.MATRIX(e,r,t,i,a,s))},n.prototype.skewX=function(e){return this.transform(ie.SKEW_X(e))},n.prototype.skewY=function(e){return this.transform(ie.SKEW_Y(e))},n.prototype.xSymmetry=function(e){return this.transform(ie.X_AXIS_SYMMETRY(e))},n.prototype.ySymmetry=function(e){return this.transform(ie.Y_AXIS_SYMMETRY(e))},n.prototype.annotateArcs=function(){return this.transform(ie.ANNOTATE_ARCS())},n})(),dv=function(n){return n===" "||n===" "||n==="\r"||n===`
@@ -1 +1 @@
1
- import{j as r,a3 as i,N as s,q as n,O as l}from"./vendor-mui-BXZut9Pz.js";import"./vendor-blocklet-D_i_QeSo.js";import{b5 as c}from"./index-DgSc1Qy8.js";function g(d){const o=Object.assign({logo:"",size:40,variant:"rounded",sx:{},className:"",logoName:"",tooltip:!1},d),a={width:o.size,height:o.size,...o.sx},t=typeof o.name=="string"?o.name:o.logo,e=r.jsxs(i,{direction:"row",spacing:1,className:`info-card-wrapper ${o.className}`,sx:{alignItems:"center",cursor:o.tooltip?"pointer":"default"},children:[o.logo?r.jsx(s,{src:o.logo,alt:o.logoName??t,variant:o.variant,sx:a}):r.jsx(s,{variant:o.variant,sx:a,children:t?.slice(0,1)}),r.jsxs(i,{direction:"column",className:"info-card",sx:{alignItems:"flex-start",justifyContent:"space-around",wordBreak:c(o.name),minWidth:140},children:[r.jsx(n,{variant:"body2",component:"div",sx:{color:"text.primary"},children:o.name}),o.description&&r.jsx(n,{variant:"subtitle2",sx:{color:"text.secondary"},children:o.description})]})]});return o.tooltip?r.jsx(l,{title:o.tooltip,placement:"top-start",slotProps:{tooltip:{sx:{bgcolor:"background.paper",color:"text.primary",boxShadow:2,borderRadius:2,padding:"10px 16px",fontSize:14,maxWidth:400,minWidth:240,wordBreak:"break-word",border:"1px solid",borderColor:"divider","& .MuiTooltip-arrow":{color:"background.paper","&::before":{border:"1px solid",borderColor:"divider",backgroundColor:"background.paper"}}}}},children:e}):e}export{g as I};
1
+ import{j as r,a3 as i,N as s,q as n,O as l}from"./vendor-mui-BXZut9Pz.js";import"./vendor-blocklet-DcLR2Cyf.js";import{b5 as c}from"./index-BarN7DfU.js";function g(d){const o=Object.assign({logo:"",size:40,variant:"rounded",sx:{},className:"",logoName:"",tooltip:!1},d),a={width:o.size,height:o.size,...o.sx},t=typeof o.name=="string"?o.name:o.logo,e=r.jsxs(i,{direction:"row",spacing:1,className:`info-card-wrapper ${o.className}`,sx:{alignItems:"center",cursor:o.tooltip?"pointer":"default"},children:[o.logo?r.jsx(s,{src:o.logo,alt:o.logoName??t,variant:o.variant,sx:a}):r.jsx(s,{variant:o.variant,sx:a,children:t?.slice(0,1)}),r.jsxs(i,{direction:"column",className:"info-card",sx:{alignItems:"flex-start",justifyContent:"space-around",wordBreak:c(o.name),minWidth:140},children:[r.jsx(n,{variant:"body2",component:"div",sx:{color:"text.primary"},children:o.name}),o.description&&r.jsx(n,{variant:"subtitle2",sx:{color:"text.secondary"},children:o.description})]})]});return o.tooltip?r.jsx(l,{title:o.tooltip,placement:"top-start",slotProps:{tooltip:{sx:{bgcolor:"background.paper",color:"text.primary",boxShadow:2,borderRadius:2,padding:"10px 16px",fontSize:14,maxWidth:400,minWidth:240,wordBreak:"break-word",border:"1px solid",borderColor:"divider","& .MuiTooltip-arrow":{color:"background.paper","&::before":{border:"1px solid",borderColor:"divider",backgroundColor:"background.paper"}}}}},children:e}):e}export{g as I};
@@ -1 +1 @@
1
- import{j as e,a3 as a,q as s,O as l,be as c,Y as m}from"./vendor-mui-BXZut9Pz.js";import{V as x}from"./vendor-blocklet-D_i_QeSo.js";import{b as d}from"./util-mDHAL0lx.js";function v(o){const t=Object.assign({tip:"",divider:!1},o),r={display:"flex",flexDirection:"column",alignItems:"flex-start"},{t:n}=x(),i=d(t.value);return e.jsxs(e.Fragment,{children:[e.jsxs(a,{sx:r,children:[e.jsxs(s,{className:"info-metric-label",component:"div",variant:"subtitle2",mb:1,color:"text.primary",sx:{display:"flex",alignItems:"center"},children:[t.label,!!t.tip&&e.jsx(l,{title:t.tip,children:e.jsx(c,{sx:{color:"text.secondary",cursor:"pointer",fontSize:"medium",ml:.5}})})]}),e.jsx(s,{className:"info-metric-value",component:"div",variant:"body1",color:i?"text.disabled":"text.secondary",sx:{width:"100%",minHeight:"24px"},children:i?n("common.none"):t.value})]}),t.divider&&e.jsx(m,{orientation:"vertical",flexItem:!0})]})}export{v as I};
1
+ import{j as e,a3 as a,q as s,O as l,be as c,Y as m}from"./vendor-mui-BXZut9Pz.js";import{V as x}from"./vendor-blocklet-DcLR2Cyf.js";import{b as d}from"./util-DxXTXkeY.js";function v(o){const t=Object.assign({tip:"",divider:!1},o),r={display:"flex",flexDirection:"column",alignItems:"flex-start"},{t:n}=x(),i=d(t.value);return e.jsxs(e.Fragment,{children:[e.jsxs(a,{sx:r,children:[e.jsxs(s,{className:"info-metric-label",component:"div",variant:"subtitle2",mb:1,color:"text.primary",sx:{display:"flex",alignItems:"center"},children:[t.label,!!t.tip&&e.jsx(l,{title:t.tip,children:e.jsx(c,{sx:{color:"text.secondary",cursor:"pointer",fontSize:"medium",ml:.5}})})]}),e.jsx(s,{className:"info-metric-value",component:"div",variant:"body1",color:i?"text.disabled":"text.secondary",sx:{width:"100%",minHeight:"24px"},children:i?n("common.none"):t.value})]}),t.divider&&e.jsx(m,{orientation:"vertical",flexItem:!0})]})}export{v as I};
@@ -1 +1 @@
1
- import{r,j as n,B as d,a1 as h}from"./vendor-mui-BXZut9Pz.js";import{V as b}from"./vendor-blocklet-D_i_QeSo.js";import{a as g}from"./info-row-DOK2whMn.js";function W({children:o,loading:a=!1,skeletonHeight:f=24,sx:w={}}){const[s,m]=r.useState(0),[i,p]=r.useState("measuring"),u=r.useRef(null),{locale:x}=b(),y=()=>{p("measuring"),m(0)};r.useLayoutEffect(()=>{if(!(a||!u.current)&&(i==="measuring"||s===0)){const e=u.current.querySelectorAll(".info-row-label");if(e.length>0){let t=0;e.forEach(l=>{const c=l.offsetWidth;c>t&&(t=c)}),t+=16,t>0&&(m(t),requestAnimationFrame(()=>{p("complete")}))}}},[o,a,i,x]),r.useEffect(()=>{y()},[x]);const E=()=>{let e=0;return r.Children.forEach(o,t=>{r.isValidElement(t)&&t.type&&t.type.displayName==="InfoRow"&&e++}),Array(e).fill(0).map((t,l)=>n.jsxs(d,{sx:{display:"flex",gap:2},children:[n.jsx(h,{width:"30%",height:f}),n.jsx(h,{width:"65%",height:f})]},`skeleton-row-${e-l}`))},S=()=>r.Children.map(o,e=>{if(r.isValidElement(e)&&e.type&&e.type.displayName==="InfoRow"){const t={...e.props,sx:{...e.props.sx,visibility:i==="measuring"?"hidden":"visible",".info-row-label":{width:s>0?`${s}px`:"auto",minWidth:s>0?`${s}px`:"auto",whiteSpace:"nowrap",transition:"width 0.3s ease-out, min-width 0.3s ease-out"}}};return r.cloneElement(e,t)}return e});return n.jsx(g.Provider,{value:!0,children:n.jsx(d,{ref:u,sx:{...w},children:a?E():S()})})}export{W as I};
1
+ import{r,j as n,B as d,a1 as h}from"./vendor-mui-BXZut9Pz.js";import{V as b}from"./vendor-blocklet-DcLR2Cyf.js";import{a as g}from"./info-row-jI0h_hv4.js";function W({children:o,loading:a=!1,skeletonHeight:f=24,sx:w={}}){const[s,m]=r.useState(0),[i,p]=r.useState("measuring"),u=r.useRef(null),{locale:x}=b(),y=()=>{p("measuring"),m(0)};r.useLayoutEffect(()=>{if(!(a||!u.current)&&(i==="measuring"||s===0)){const e=u.current.querySelectorAll(".info-row-label");if(e.length>0){let t=0;e.forEach(l=>{const c=l.offsetWidth;c>t&&(t=c)}),t+=16,t>0&&(m(t),requestAnimationFrame(()=>{p("complete")}))}}},[o,a,i,x]),r.useEffect(()=>{y()},[x]);const E=()=>{let e=0;return r.Children.forEach(o,t=>{r.isValidElement(t)&&t.type&&t.type.displayName==="InfoRow"&&e++}),Array(e).fill(0).map((t,l)=>n.jsxs(d,{sx:{display:"flex",gap:2},children:[n.jsx(h,{width:"30%",height:f}),n.jsx(h,{width:"65%",height:f})]},`skeleton-row-${e-l}`))},S=()=>r.Children.map(o,e=>{if(r.isValidElement(e)&&e.type&&e.type.displayName==="InfoRow"){const t={...e.props,sx:{...e.props.sx,visibility:i==="measuring"?"hidden":"visible",".info-row-label":{width:s>0?`${s}px`:"auto",minWidth:s>0?`${s}px`:"auto",whiteSpace:"nowrap",transition:"width 0.3s ease-out, min-width 0.3s ease-out"}}};return r.cloneElement(e,t)}return e});return n.jsx(g.Provider,{value:!0,children:n.jsx(d,{ref:u,sx:{...w},children:a?E():S()})})}export{W as I};
@@ -1 +1 @@
1
- import{r,j as o,a3 as c,B as n}from"./vendor-mui-BXZut9Pz.js";import{V as m}from"./vendor-blocklet-D_i_QeSo.js";import{b5 as x}from"./index-DgSc1Qy8.js";import{b as p}from"./util-mDHAL0lx.js";const f=r.createContext(!1);function d(a){const e=Object.assign({value:void 0,sizes:[1,3],alignItems:"center",direction:"row",sx:{},showLabel:!0},a),{t:i}=m(),t=p(e.value),s=e.sizes||[1,3],l=r.useContext(f);return o.jsxs(c,{direction:e.direction||"row",className:"info-row-wrapper",sx:{alignItems:e.alignItems,justifyContent:"space-between",flexWrap:"wrap",gap:1,mb:2,...e.sx,a:{color:"text.link"}},children:[e.showLabel&&o.jsx(n,{className:"info-row-label",sx:{color:"text.primary",fontSize:14,flex:e.direction==="column"?"none":s[0],mb:e.direction==="column"?.5:0,...l&&{flex:"none",whiteSpace:"nowrap"},fontWeight:{xs:500,md:400}},children:e.label}),o.jsx(n,{className:"info-row-value",sx:{flex:s[1],color:t?"text.disabled":"text.secondary",fontSize:14,wordBreak:x(e.value)},children:t?i("common.none"):e.value})]})}d.displayName="InfoRow";export{d as I,f as a};
1
+ import{r,j as o,a3 as c,B as n}from"./vendor-mui-BXZut9Pz.js";import{V as m}from"./vendor-blocklet-DcLR2Cyf.js";import{b5 as x}from"./index-BarN7DfU.js";import{b as p}from"./util-DxXTXkeY.js";const f=r.createContext(!1);function d(a){const e=Object.assign({value:void 0,sizes:[1,3],alignItems:"center",direction:"row",sx:{},showLabel:!0},a),{t:i}=m(),t=p(e.value),s=e.sizes||[1,3],l=r.useContext(f);return o.jsxs(c,{direction:e.direction||"row",className:"info-row-wrapper",sx:{alignItems:e.alignItems,justifyContent:"space-between",flexWrap:"wrap",gap:1,mb:2,...e.sx,a:{color:"text.link"}},children:[e.showLabel&&o.jsx(n,{className:"info-row-label",sx:{color:"text.primary",fontSize:14,flex:e.direction==="column"?"none":s[0],mb:e.direction==="column"?.5:0,...l&&{flex:"none",whiteSpace:"nowrap"},fontWeight:{xs:500,md:400}},children:e.label}),o.jsx(n,{className:"info-row-value",sx:{flex:s[1],color:t?"text.disabled":"text.secondary",fontSize:14,wordBreak:x(e.value)},children:t?i("common.none"):e.value})]})}d.displayName="InfoRow";export{d as I,f as a};
@@ -1,4 +1,4 @@
1
- import{g as getDefaultExportFromCjs}from"./vendor-mui-BXZut9Pz.js";import{ar as commonjsRequire}from"./vendor-blocklet-D_i_QeSo.js";function _mergeNamespaces(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const d=Object.getOwnPropertyDescriptor(r,n);d&&Object.defineProperty(e,n,d.get?d:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var libphonenumber$2={exports:{}},hasRequiredLibphonenumber;function requireLibphonenumber(){return hasRequiredLibphonenumber||(hasRequiredLibphonenumber=1,(function(module,exports$1){(function(e){module.exports=e()})(function(){return(function(){function e(t,o,r){function n(s,g){if(!o[s]){if(!t[s]){var u=typeof commonjsRequire=="function"&&commonjsRequire;if(!g&&u)return u(s,!0);if(d)return d(s,!0);var m=new Error("Cannot find module '"+s+"'");throw m.code="MODULE_NOT_FOUND",m}var l=o[s]={exports:{}};t[s][0].call(l.exports,function(p){var $=t[s][1][p];return n($||p)},l,l.exports,e,t,o,r)}return o[s].exports}for(var d=typeof commonjsRequire=="function"&&commonjsRequire,i=0;i<r.length;i++)n(r[i]);return n}return e})()({1:[function(require,module,exports$1){(function(global){(function(){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.createTemplateTagFirstArg=function(e){return e.raw=e},$jscomp.createTemplateTagFirstArgWithRaw=function(e,t){return e.raw=t,e},$jscomp.arrayIteratorImpl=function(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}},$jscomp.arrayIterator=function(e){return{next:$jscomp.arrayIteratorImpl(e)}},$jscomp.makeIterator=function(e){var t=typeof Symbol<"u"&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):$jscomp.arrayIterator(e)},$jscomp.arrayFromIterator=function(e){for(var t,o=[];!(t=e.next()).done;)o.push(t.value);return o},$jscomp.arrayFromIterable=function(e){return e instanceof Array?e:$jscomp.arrayFromIterator($jscomp.makeIterator(e))},$jscomp.checkStringArgs=function(e,t,o){if(e==null)throw new TypeError("The 'this' value for String.prototype."+o+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+o+" must not be a regular expression");return e+""},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(e,t,o){return e==Array.prototype||e==Object.prototype||(e[t]=o.value),e},$jscomp.getGlobal=function(e){e=[typeof globalThis=="object"&&globalThis,e,typeof window=="object"&&window,typeof self=="object"&&self,typeof global=="object"&&global];for(var t=0;t<e.length;++t){var o=e[t];if(o&&o.Math==Math)return o}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.IS_SYMBOL_NATIVE=typeof Symbol=="function"&&typeof Symbol("x")=="symbol",$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX="$jscp$",$jscomp.polyfill=function(e,t,o,r){t&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(e,t,o,r):$jscomp.polyfillUnisolated(e,t,o,r))},$jscomp.polyfillUnisolated=function(e,t,o,r){for(o=$jscomp.global,e=e.split("."),r=0;r<e.length-1;r++){var n=e[r];if(!(n in o))return;o=o[n]}e=e[e.length-1],r=o[e],t=t(r),t!=r&&t!=null&&$jscomp.defineProperty(o,e,{configurable:!0,writable:!0,value:t})},$jscomp.polyfillIsolated=function(e,t,o,r){var n=e.split(".");e=n.length===1,r=n[0],r=!e&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var d=0;d<n.length-1;d++){var i=n[d];if(!(i in r))return;r=r[i]}n=n[n.length-1],o=$jscomp.IS_SYMBOL_NATIVE&&o==="es6"?r[n]:null,t=t(o),t!=null&&(e?$jscomp.defineProperty($jscomp.polyfills,n,{configurable:!0,writable:!0,value:t}):t!==o&&($jscomp.propertyToPolyfillSymbol[n]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(n):$jscomp.POLYFILL_PREFIX+n,n=$jscomp.propertyToPolyfillSymbol[n],$jscomp.defineProperty(r,n,{configurable:!0,writable:!0,value:t})))},$jscomp.polyfill("String.prototype.endsWith",function(e){return e||function(t,o){var r=$jscomp.checkStringArgs(this,t,"endsWith");t+="",o===void 0&&(o=r.length),o=Math.max(0,Math.min(o|0,r.length));for(var n=t.length;0<n&&0<o;)if(r[--o]!=t[--n])return!1;return 0>=n}},"es6","es3"),$jscomp.findInternal=function(e,t,o){e instanceof String&&(e=String(e));for(var r=e.length,n=0;n<r;n++){var d=e[n];if(t.call(o,d,n,e))return{i:n,v:d}}return{i:-1,v:void 0}},$jscomp.polyfill("Array.prototype.find",function(e){return e||function(t,o){return $jscomp.findInternal(this,t,o).v}},"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",function(e){return e||function(t,o){var r=$jscomp.checkStringArgs(this,t,"startsWith");t+="";var n=r.length,d=t.length;o=Math.max(0,Math.min(o|0,r.length));for(var i=0;i<d&&o<n;)if(r[o++]!=t[i++])return!1;return i>=d}},"es6","es3"),$jscomp.polyfill("String.prototype.repeat",function(e){return e||function(t){var o=$jscomp.checkStringArgs(this,null,"repeat");if(0>t||1342177279<t)throw new RangeError("Invalid count value");t|=0;for(var r="";t;)t&1&&(r+=o),(t>>>=1)&&(o+=o);return r}},"es6","es3"),$jscomp.initSymbol=function(){},$jscomp.polyfill("Symbol",function(e){if(e)return e;var t=function(n,d){this.$jscomp$symbol$id_=n,$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:d})};t.prototype.toString=function(){return this.$jscomp$symbol$id_};var o=0,r=function(n){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return new t("jscomp_symbol_"+(n||"")+"_"+o++,n)};return r},"es6","es3"),$jscomp.polyfill("Symbol.iterator",function(e){if(e)return e;e=Symbol("Symbol.iterator");for(var t="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),o=0;o<t.length;o++){var r=$jscomp.global[t[o]];typeof r=="function"&&typeof r.prototype[e]!="function"&&$jscomp.defineProperty(r.prototype,e,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return e},"es6","es3"),$jscomp.iteratorPrototype=function(e){return e={next:e},e[Symbol.iterator]=function(){return this},e},$jscomp.iteratorFromArray=function(e,t){e instanceof String&&(e+="");var o=0,r=!1,n={next:function(){if(!r&&o<e.length){var d=o++;return{value:t(d,e[d]),done:!1}}return r=!0,{done:!0,value:void 0}}};return n[Symbol.iterator]=function(){return n},n},$jscomp.polyfill("Array.prototype.keys",function(e){return e||function(){return $jscomp.iteratorFromArray(this,function(t){return t})}},"es6","es3"),$jscomp.polyfill("Object.is",function(e){return e||function(t,o){return t===o?t!==0||1/t===1/o:t!==t&&o!==o}},"es6","es3"),$jscomp.polyfill("Array.prototype.includes",function(e){return e||function(t,o){var r=this;r instanceof String&&(r=String(r));var n=r.length;for(o=o||0,0>o&&(o=Math.max(o+n,0));o<n;o++){var d=r[o];if(d===t||Object.is(d,t))return!0}return!1}},"es7","es3"),$jscomp.polyfill("String.prototype.includes",function(e){return e||function(t,o){return $jscomp.checkStringArgs(this,t,"includes").indexOf(t,o||0)!==-1}},"es6","es3");var goog=goog||{};goog.global=this||self,goog.exportPath_=function(e,t,o,r){e=e.split("."),r=r||goog.global,e[0]in r||typeof r.execScript>"u"||r.execScript("var "+e[0]);for(var n;e.length&&(n=e.shift());)if(e.length||t===void 0)r=r[n]&&r[n]!==Object.prototype[n]?r[n]:r[n]={};else if(!o&&goog.isObject(t)&&goog.isObject(r[n]))for(var d in t)t.hasOwnProperty(d)&&(r[n][d]=t[d]);else r[n]=t},goog.define=function(e,t){return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.DISALLOW_TEST_ONLY_CODE=!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(e){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t,o){goog.exportPath_(e,t,o)},goog.getScriptNonce=function(e){return e&&e!=goog.global?goog.getScriptNonce_(e.document):(goog.cspNonce_===null&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(e)?e:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if(typeof e!="string"||!e||e.search(goog.VALID_MODULE_RE_)==-1)throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+e+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");goog.moduleLoaderState_.moduleName=e},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var e=goog.global.$jscomp;return e?typeof e.getCurrentModulePath!="function"?!1:!!e.getCurrentModulePath():!1},goog.module.declareLegacyNamespace=function(){goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(e){if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=e;else{var t=goog.global.$jscomp;if(!t||typeof t.getCurrentModulePath!="function")throw Error('Module with namespace "'+e+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[e]={exports:t,type:goog.ModuleType.ES6,moduleId:e}}},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw e=e||"",Error("Importing test-only code into non-debug environment"+(e?": "+e:"."))},goog.forwardDeclare=function(e){},goog.getObjectByName=function(e,t){e=e.split("."),t=t||goog.global;for(var o=0;o<e.length;o++)if(t=t[e[o]],t==null)return null;return t},goog.addDependency=function(e,t,o,r){},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(e){goog.global.console&&goog.global.console.error(e)},goog.require=function(e){},goog.requireType=function(e){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(e){e.instance_=void 0,e.getInstance=function(){return e.instance_?e.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=e),e.instance_=new e)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!1,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(goog.hasBadLetScoping==null){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(e){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(e){return"(function(){"+e+`
1
+ import{g as getDefaultExportFromCjs}from"./vendor-mui-BXZut9Pz.js";import{as as commonjsRequire}from"./vendor-blocklet-DcLR2Cyf.js";function _mergeNamespaces(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const d=Object.getOwnPropertyDescriptor(r,n);d&&Object.defineProperty(e,n,d.get?d:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var libphonenumber$2={exports:{}},hasRequiredLibphonenumber;function requireLibphonenumber(){return hasRequiredLibphonenumber||(hasRequiredLibphonenumber=1,(function(module,exports$1){(function(e){module.exports=e()})(function(){return(function(){function e(t,o,r){function n(s,g){if(!o[s]){if(!t[s]){var u=typeof commonjsRequire=="function"&&commonjsRequire;if(!g&&u)return u(s,!0);if(d)return d(s,!0);var m=new Error("Cannot find module '"+s+"'");throw m.code="MODULE_NOT_FOUND",m}var l=o[s]={exports:{}};t[s][0].call(l.exports,function(p){var $=t[s][1][p];return n($||p)},l,l.exports,e,t,o,r)}return o[s].exports}for(var d=typeof commonjsRequire=="function"&&commonjsRequire,i=0;i<r.length;i++)n(r[i]);return n}return e})()({1:[function(require,module,exports$1){(function(global){(function(){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.createTemplateTagFirstArg=function(e){return e.raw=e},$jscomp.createTemplateTagFirstArgWithRaw=function(e,t){return e.raw=t,e},$jscomp.arrayIteratorImpl=function(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}},$jscomp.arrayIterator=function(e){return{next:$jscomp.arrayIteratorImpl(e)}},$jscomp.makeIterator=function(e){var t=typeof Symbol<"u"&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):$jscomp.arrayIterator(e)},$jscomp.arrayFromIterator=function(e){for(var t,o=[];!(t=e.next()).done;)o.push(t.value);return o},$jscomp.arrayFromIterable=function(e){return e instanceof Array?e:$jscomp.arrayFromIterator($jscomp.makeIterator(e))},$jscomp.checkStringArgs=function(e,t,o){if(e==null)throw new TypeError("The 'this' value for String.prototype."+o+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+o+" must not be a regular expression");return e+""},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(e,t,o){return e==Array.prototype||e==Object.prototype||(e[t]=o.value),e},$jscomp.getGlobal=function(e){e=[typeof globalThis=="object"&&globalThis,e,typeof window=="object"&&window,typeof self=="object"&&self,typeof global=="object"&&global];for(var t=0;t<e.length;++t){var o=e[t];if(o&&o.Math==Math)return o}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.IS_SYMBOL_NATIVE=typeof Symbol=="function"&&typeof Symbol("x")=="symbol",$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX="$jscp$",$jscomp.polyfill=function(e,t,o,r){t&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(e,t,o,r):$jscomp.polyfillUnisolated(e,t,o,r))},$jscomp.polyfillUnisolated=function(e,t,o,r){for(o=$jscomp.global,e=e.split("."),r=0;r<e.length-1;r++){var n=e[r];if(!(n in o))return;o=o[n]}e=e[e.length-1],r=o[e],t=t(r),t!=r&&t!=null&&$jscomp.defineProperty(o,e,{configurable:!0,writable:!0,value:t})},$jscomp.polyfillIsolated=function(e,t,o,r){var n=e.split(".");e=n.length===1,r=n[0],r=!e&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var d=0;d<n.length-1;d++){var i=n[d];if(!(i in r))return;r=r[i]}n=n[n.length-1],o=$jscomp.IS_SYMBOL_NATIVE&&o==="es6"?r[n]:null,t=t(o),t!=null&&(e?$jscomp.defineProperty($jscomp.polyfills,n,{configurable:!0,writable:!0,value:t}):t!==o&&($jscomp.propertyToPolyfillSymbol[n]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(n):$jscomp.POLYFILL_PREFIX+n,n=$jscomp.propertyToPolyfillSymbol[n],$jscomp.defineProperty(r,n,{configurable:!0,writable:!0,value:t})))},$jscomp.polyfill("String.prototype.endsWith",function(e){return e||function(t,o){var r=$jscomp.checkStringArgs(this,t,"endsWith");t+="",o===void 0&&(o=r.length),o=Math.max(0,Math.min(o|0,r.length));for(var n=t.length;0<n&&0<o;)if(r[--o]!=t[--n])return!1;return 0>=n}},"es6","es3"),$jscomp.findInternal=function(e,t,o){e instanceof String&&(e=String(e));for(var r=e.length,n=0;n<r;n++){var d=e[n];if(t.call(o,d,n,e))return{i:n,v:d}}return{i:-1,v:void 0}},$jscomp.polyfill("Array.prototype.find",function(e){return e||function(t,o){return $jscomp.findInternal(this,t,o).v}},"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",function(e){return e||function(t,o){var r=$jscomp.checkStringArgs(this,t,"startsWith");t+="";var n=r.length,d=t.length;o=Math.max(0,Math.min(o|0,r.length));for(var i=0;i<d&&o<n;)if(r[o++]!=t[i++])return!1;return i>=d}},"es6","es3"),$jscomp.polyfill("String.prototype.repeat",function(e){return e||function(t){var o=$jscomp.checkStringArgs(this,null,"repeat");if(0>t||1342177279<t)throw new RangeError("Invalid count value");t|=0;for(var r="";t;)t&1&&(r+=o),(t>>>=1)&&(o+=o);return r}},"es6","es3"),$jscomp.initSymbol=function(){},$jscomp.polyfill("Symbol",function(e){if(e)return e;var t=function(n,d){this.$jscomp$symbol$id_=n,$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:d})};t.prototype.toString=function(){return this.$jscomp$symbol$id_};var o=0,r=function(n){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return new t("jscomp_symbol_"+(n||"")+"_"+o++,n)};return r},"es6","es3"),$jscomp.polyfill("Symbol.iterator",function(e){if(e)return e;e=Symbol("Symbol.iterator");for(var t="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),o=0;o<t.length;o++){var r=$jscomp.global[t[o]];typeof r=="function"&&typeof r.prototype[e]!="function"&&$jscomp.defineProperty(r.prototype,e,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return e},"es6","es3"),$jscomp.iteratorPrototype=function(e){return e={next:e},e[Symbol.iterator]=function(){return this},e},$jscomp.iteratorFromArray=function(e,t){e instanceof String&&(e+="");var o=0,r=!1,n={next:function(){if(!r&&o<e.length){var d=o++;return{value:t(d,e[d]),done:!1}}return r=!0,{done:!0,value:void 0}}};return n[Symbol.iterator]=function(){return n},n},$jscomp.polyfill("Array.prototype.keys",function(e){return e||function(){return $jscomp.iteratorFromArray(this,function(t){return t})}},"es6","es3"),$jscomp.polyfill("Object.is",function(e){return e||function(t,o){return t===o?t!==0||1/t===1/o:t!==t&&o!==o}},"es6","es3"),$jscomp.polyfill("Array.prototype.includes",function(e){return e||function(t,o){var r=this;r instanceof String&&(r=String(r));var n=r.length;for(o=o||0,0>o&&(o=Math.max(o+n,0));o<n;o++){var d=r[o];if(d===t||Object.is(d,t))return!0}return!1}},"es7","es3"),$jscomp.polyfill("String.prototype.includes",function(e){return e||function(t,o){return $jscomp.checkStringArgs(this,t,"includes").indexOf(t,o||0)!==-1}},"es6","es3");var goog=goog||{};goog.global=this||self,goog.exportPath_=function(e,t,o,r){e=e.split("."),r=r||goog.global,e[0]in r||typeof r.execScript>"u"||r.execScript("var "+e[0]);for(var n;e.length&&(n=e.shift());)if(e.length||t===void 0)r=r[n]&&r[n]!==Object.prototype[n]?r[n]:r[n]={};else if(!o&&goog.isObject(t)&&goog.isObject(r[n]))for(var d in t)t.hasOwnProperty(d)&&(r[n][d]=t[d]);else r[n]=t},goog.define=function(e,t){return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.DISALLOW_TEST_ONLY_CODE=!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(e){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t,o){goog.exportPath_(e,t,o)},goog.getScriptNonce=function(e){return e&&e!=goog.global?goog.getScriptNonce_(e.document):(goog.cspNonce_===null&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(e)?e:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if(typeof e!="string"||!e||e.search(goog.VALID_MODULE_RE_)==-1)throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+e+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");goog.moduleLoaderState_.moduleName=e},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var e=goog.global.$jscomp;return e?typeof e.getCurrentModulePath!="function"?!1:!!e.getCurrentModulePath():!1},goog.module.declareLegacyNamespace=function(){goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(e){if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=e;else{var t=goog.global.$jscomp;if(!t||typeof t.getCurrentModulePath!="function")throw Error('Module with namespace "'+e+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[e]={exports:t,type:goog.ModuleType.ES6,moduleId:e}}},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw e=e||"",Error("Importing test-only code into non-debug environment"+(e?": "+e:"."))},goog.forwardDeclare=function(e){},goog.getObjectByName=function(e,t){e=e.split("."),t=t||goog.global;for(var o=0;o<e.length;o++)if(t=t[e[o]],t==null)return null;return t},goog.addDependency=function(e,t,o,r){},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(e){goog.global.console&&goog.global.console.error(e)},goog.require=function(e){},goog.requireType=function(e){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(e){e.instance_=void 0,e.getInstance=function(){return e.instance_?e.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=e),e.instance_=new e)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!1,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(goog.hasBadLetScoping==null){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(e){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(e){return"(function(){"+e+`
2
2
  ;})();
3
3
  `},goog.loadModule=function(e){var t=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG};var o={},r=o;if(typeof e=="function")r=e.call(void 0,r);else if(typeof e=="string")goog.useSafari10Workaround()&&(e=goog.workaroundSafari10EvalBug(e)),r=goog.loadModuleFromSource_.call(void 0,r,e);else throw Error("Invalid module definition");var n=goog.moduleLoaderState_.moduleName;if(typeof n=="string"&&n)goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(n,r,o!==r):goog.SEAL_MODULE_EXPORTS&&Object.seal&&typeof r=="object"&&r!=null&&Object.seal(r),goog.loadedModules_[n]={exports:r,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName};else throw Error('Invalid module name "'+n+'"')}finally{goog.moduleLoaderState_=t}},goog.loadModuleFromSource_=function(a,b){return eval(b),a},goog.normalizePath_=function(e){e=e.split("/");for(var t=0;t<e.length;)e[t]=="."?e.splice(t,1):t&&e[t]==".."&&e[t-1]&&e[t-1]!=".."?e.splice(--t,2):t++;return e.join("/")},goog.loadFileSync_=function(e){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(e);try{var t=new goog.global.XMLHttpRequest;return t.open("get",e,!1),t.send(),t.status==0||t.status==200?t.responseText:null}catch{return null}},goog.transpile_=function(e,t,o){var r=goog.global.$jscomp;r||(goog.global.$jscomp=r={});var n=r.transpile;if(!n){var d=goog.basePath+goog.TRANSPILER,i=goog.loadFileSync_(d);if(i){if((function(){(0,eval)(i+`
4
4
  //# sourceURL=`+d)}).call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,r=goog.global.$jscomp,n=r.transpile}}return n||(n=r.transpile=function(s,g){return goog.logToConsole_(g+" requires transpilation but no transpiler was found."),s}),n(e,t,o)},goog.typeOf=function(e){var t=typeof e;return t!="object"?t:e?Array.isArray(e)?"array":t:"null"},goog.isArrayLike=function(e){var t=goog.typeOf(e);return t=="array"||t=="object"&&typeof e.length=="number"},goog.isDateLike=function(e){return goog.isObject(e)&&typeof e.getFullYear=="function"},goog.isObject=function(e){var t=typeof e;return t=="object"&&e!=null||t=="function"},goog.getUid=function(e){return Object.prototype.hasOwnProperty.call(e,goog.UID_PROPERTY_)&&e[goog.UID_PROPERTY_]||(e[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(e){return!!e[goog.UID_PROPERTY_]},goog.removeUid=function(e){e!==null&&"removeAttribute"in e&&e.removeAttribute(goog.UID_PROPERTY_);try{delete e[goog.UID_PROPERTY_]}catch{}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.cloneObject=function(e){var t=goog.typeOf(e);if(t=="object"||t=="array"){if(typeof e.clone=="function")return e.clone();t=t=="array"?[]:{};for(var o in e)t[o]=goog.cloneObject(e[o]);return t}return e},goog.bindNative_=function(e,t,o){return e.call.apply(e.bind,arguments)},goog.bindJs_=function(e,t,o){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}},goog.bind=function(e,t,o){return Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(e,t){var o=Array.prototype.slice.call(arguments,1);return function(){var r=o.slice();return r.push.apply(r,arguments),e.apply(this,r)}},goog.mixin=function(e,t){for(var o in t)e[o]=t[o]},goog.now=function(){return Date.now()},goog.globalEval=function(e){(0,eval)(e)},goog.getCssName=function(e,t){if(String(e).charAt(0)==".")throw Error('className passed in goog.getCssName must not start with ".". You passed: '+e);var o=function(n){return goog.cssNameMapping_[n]||n},r=function(n){n=n.split("-");for(var d=[],i=0;i<n.length;i++)d.push(o(n[i]));return d.join("-")};return r=goog.cssNameMapping_?goog.cssNameMappingStyle_=="BY_WHOLE"?o:r:function(n){return n},e=t?e+"-"+r(t):r(e),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(e):e},goog.setCssNameMapping=function(e,t){goog.cssNameMapping_=e,goog.cssNameMappingStyle_=t},goog.getMsg=function(e,t,o){return o&&o.html&&(e=e.replace(/</g,"&lt;")),o&&o.unescapeHtmlEntities&&(e=e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&apos;/g,"'").replace(/&quot;/g,'"').replace(/&amp;/g,"&")),t&&(e=e.replace(/\{\$([^}]+)}/g,function(r,n){return t!=null&&n in t?t[n]:r})),e},goog.getMsgWithFallback=function(e,t){return e},goog.exportSymbol=function(e,t,o){goog.exportPath_(e,t,!0,o)},goog.exportProperty=function(e,t,o){e[t]=o},goog.inherits=function(e,t){function o(){}o.prototype=t.prototype,e.superClass_=t.prototype,e.prototype=new o,e.prototype.constructor=e,e.base=function(r,n,d){for(var i=Array(arguments.length-2),s=2;s<arguments.length;s++)i[s-2]=arguments[s];return t.prototype[n].apply(r,i)}},goog.scope=function(e){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");e.call(goog.global)},goog.defineClass=function(e,t){var o=t.constructor,r=t.statics;return o&&o!=Object.prototype.constructor||(o=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),o=goog.defineClass.createSealingConstructor_(o,e),e&&goog.inherits(o,e),delete t.constructor,delete t.statics,goog.defineClass.applyProperties_(o.prototype,t),r!=null&&(r instanceof Function?r(o):goog.defineClass.applyProperties_(o,r)),o},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(e,t){return goog.defineClass.SEAL_CLASS_INSTANCES?function(){var o=e.apply(this,arguments)||this;return o[goog.UID_PROPERTY_]=o[goog.UID_PROPERTY_],o}:e},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(var r=0;r<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;r++)o=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[r],Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},goog.TRUSTED_TYPES_POLICY_NAME="goog",goog.identity_=function(e){return e},goog.createTrustedTypesPolicy=function(e){var t=null,o=goog.global.trustedTypes;if(!o||!o.createPolicy)return t;try{t=o.createPolicy(e,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_})}catch(r){goog.logToConsole_(r.message)}return t},goog.debug={};function module$contents$goog$debug$Error_DebugError(e){if(Error.captureStackTrace)Error.captureStackTrace(this,module$contents$goog$debug$Error_DebugError);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e)),this.reportErrorToServer=!0}goog.inherits(module$contents$goog$debug$Error_DebugError,Error),module$contents$goog$debug$Error_DebugError.prototype.name="CustomError",goog.debug.Error=module$contents$goog$debug$Error_DebugError,goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(e,t){module$contents$goog$debug$Error_DebugError.call(this,goog.asserts.subs_(e,t)),this.messagePattern=e},goog.inherits(goog.asserts.AssertionError,module$contents$goog$debug$Error_DebugError),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(e){throw e},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(e,t){e=e.split("%s");for(var o="",r=e.length-1,n=0;n<r;n++)o+=e[n]+(n<t.length?t[n]:"%s");return o+e[r]},goog.asserts.doAssertFailure_=function(e,t,o,r){var n="Assertion failed";if(o){n+=": "+o;var d=r}else e&&(n+=": "+e,d=t);e=new goog.asserts.AssertionError(""+n,d||[]),goog.asserts.errorHandler_(e)},goog.asserts.setErrorHandler=function(e){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=e)},goog.asserts.assert=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!e&&goog.asserts.doAssertFailure_("",null,t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertExists=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&e==null&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.fail=function(e,t){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&typeof e!="number"&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertString=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&typeof e!="string"&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertFunction=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&typeof e!="function"&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertObject=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(e)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertArray=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(e)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertBoolean=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&typeof e!="boolean"&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertElement=function(e,t,o){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(e)&&e.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertInstanceof=function(e,t,o,r){return!goog.asserts.ENABLE_ASSERTS||e instanceof t||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(t),goog.asserts.getType_(e)],o,Array.prototype.slice.call(arguments,3)),e},goog.asserts.assertFinite=function(e,t,o){return!goog.asserts.ENABLE_ASSERTS||typeof e=="number"&&isFinite(e)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var e in Object.prototype)goog.asserts.fail(e+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(e){return e instanceof Function?e.displayName||e.name||"unknown type name":e instanceof Object?e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e):e===null?"null":typeof e},goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR;goog.array.ASSUME_NATIVE_FUNCTIONS=module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS;function module$contents$goog$array_peek(e){return e[e.length-1]}goog.array.peek=module$contents$goog$array_peek,goog.array.last=module$contents$goog$array_peek;var module$contents$goog$array_indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(e,t,o){return goog.asserts.assert(e.length!=null),Array.prototype.indexOf.call(e,t,o)}:function(e,t,o){if(o=o==null?0:0>o?Math.max(0,e.length+o):o,typeof e=="string")return typeof t!="string"||t.length!=1?-1:e.indexOf(t,o);for(;o<e.length;o++)if(o in e&&e[o]===t)return o;return-1};goog.array.indexOf=module$contents$goog$array_indexOf;var module$contents$goog$array_lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(e,t,o){return goog.asserts.assert(e.length!=null),Array.prototype.lastIndexOf.call(e,t,o??e.length-1)}:function(e,t,o){if(o=o??e.length-1,0>o&&(o=Math.max(0,e.length+o)),typeof e=="string")return typeof t!="string"||t.length!=1?-1:e.lastIndexOf(t,o);for(;0<=o;o--)if(o in e&&e[o]===t)return o;return-1};goog.array.lastIndexOf=module$contents$goog$array_lastIndexOf;var module$contents$goog$array_forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(e,t,o){goog.asserts.assert(e.length!=null),Array.prototype.forEach.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=typeof e=="string"?e.split(""):e,d=0;d<r;d++)d in n&&t.call(o,n[d],d,e)};goog.array.forEach=module$contents$goog$array_forEach;function module$contents$goog$array_forEachRight(e,t,o){var r=e.length,n=typeof e=="string"?e.split(""):e;for(--r;0<=r;--r)r in n&&t.call(o,n[r],r,e)}goog.array.forEachRight=module$contents$goog$array_forEachRight;var module$contents$goog$array_filter=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(e,t,o){return goog.asserts.assert(e.length!=null),Array.prototype.filter.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=[],d=0,i=typeof e=="string"?e.split(""):e,s=0;s<r;s++)if(s in i){var g=i[s];t.call(o,g,s,e)&&(n[d++]=g)}return n};goog.array.filter=module$contents$goog$array_filter;var module$contents$goog$array_map=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(e,t,o){return goog.asserts.assert(e.length!=null),Array.prototype.map.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=Array(r),d=typeof e=="string"?e.split(""):e,i=0;i<r;i++)i in d&&(n[i]=t.call(o,d[i],i,e));return n};goog.array.map=module$contents$goog$array_map;var module$contents$goog$array_reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(e,t,o,r){return goog.asserts.assert(e.length!=null),r&&(t=goog.bind(t,r)),Array.prototype.reduce.call(e,t,o)}:function(e,t,o,r){var n=o;return module$contents$goog$array_forEach(e,function(d,i){n=t.call(r,n,d,i,e)}),n};goog.array.reduce=module$contents$goog$array_reduce;var module$contents$goog$array_reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(e,t,o,r){return goog.asserts.assert(e.length!=null),goog.asserts.assert(t!=null),r&&(t=goog.bind(t,r)),Array.prototype.reduceRight.call(e,t,o)}:function(e,t,o,r){var n=o;return module$contents$goog$array_forEachRight(e,function(d,i){n=t.call(r,n,d,i,e)}),n};goog.array.reduceRight=module$contents$goog$array_reduceRight;var module$contents$goog$array_some=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(e,t,o){return goog.asserts.assert(e.length!=null),Array.prototype.some.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=typeof e=="string"?e.split(""):e,d=0;d<r;d++)if(d in n&&t.call(o,n[d],d,e))return!0;return!1};goog.array.some=module$contents$goog$array_some;var module$contents$goog$array_every=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(e,t,o){return goog.asserts.assert(e.length!=null),Array.prototype.every.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=typeof e=="string"?e.split(""):e,d=0;d<r;d++)if(d in n&&!t.call(o,n[d],d,e))return!1;return!0};goog.array.every=module$contents$goog$array_every;function module$contents$goog$array_count(e,t,o){var r=0;return module$contents$goog$array_forEach(e,function(n,d,i){t.call(o,n,d,i)&&++r},o),r}goog.array.count=module$contents$goog$array_count;function module$contents$goog$array_find(e,t,o){return t=module$contents$goog$array_findIndex(e,t,o),0>t?null:typeof e=="string"?e.charAt(t):e[t]}goog.array.find=module$contents$goog$array_find;function module$contents$goog$array_findIndex(e,t,o){for(var r=e.length,n=typeof e=="string"?e.split(""):e,d=0;d<r;d++)if(d in n&&t.call(o,n[d],d,e))return d;return-1}goog.array.findIndex=module$contents$goog$array_findIndex;function module$contents$goog$array_findRight(e,t,o){return t=module$contents$goog$array_findIndexRight(e,t,o),0>t?null:typeof e=="string"?e.charAt(t):e[t]}goog.array.findRight=module$contents$goog$array_findRight;function module$contents$goog$array_findIndexRight(e,t,o){var r=e.length,n=typeof e=="string"?e.split(""):e;for(--r;0<=r;r--)if(r in n&&t.call(o,n[r],r,e))return r;return-1}goog.array.findIndexRight=module$contents$goog$array_findIndexRight;function module$contents$goog$array_contains(e,t){return 0<=module$contents$goog$array_indexOf(e,t)}goog.array.contains=module$contents$goog$array_contains;function module$contents$goog$array_isEmpty(e){return e.length==0}goog.array.isEmpty=module$contents$goog$array_isEmpty;function module$contents$goog$array_clear(e){if(!Array.isArray(e))for(var t=e.length-1;0<=t;t--)delete e[t];e.length=0}goog.array.clear=module$contents$goog$array_clear;function module$contents$goog$array_insert(e,t){module$contents$goog$array_contains(e,t)||e.push(t)}goog.array.insert=module$contents$goog$array_insert;function module$contents$goog$array_insertAt(e,t,o){module$contents$goog$array_splice(e,o,0,t)}goog.array.insertAt=module$contents$goog$array_insertAt;function module$contents$goog$array_insertArrayAt(e,t,o){goog.partial(module$contents$goog$array_splice,e,o,0).apply(null,t)}goog.array.insertArrayAt=module$contents$goog$array_insertArrayAt;function module$contents$goog$array_insertBefore(e,t,o){var r;arguments.length==2||0>(r=module$contents$goog$array_indexOf(e,o))?e.push(t):module$contents$goog$array_insertAt(e,t,r)}goog.array.insertBefore=module$contents$goog$array_insertBefore;function module$contents$goog$array_remove(e,t){t=module$contents$goog$array_indexOf(e,t);var o;return(o=0<=t)&&module$contents$goog$array_removeAt(e,t),o}goog.array.remove=module$contents$goog$array_remove;function module$contents$goog$array_removeLast(e,t){return t=module$contents$goog$array_lastIndexOf(e,t),0<=t?(module$contents$goog$array_removeAt(e,t),!0):!1}goog.array.removeLast=module$contents$goog$array_removeLast;function module$contents$goog$array_removeAt(e,t){return goog.asserts.assert(e.length!=null),Array.prototype.splice.call(e,t,1).length==1}goog.array.removeAt=module$contents$goog$array_removeAt;function module$contents$goog$array_removeIf(e,t,o){return t=module$contents$goog$array_findIndex(e,t,o),0<=t?(module$contents$goog$array_removeAt(e,t),!0):!1}goog.array.removeIf=module$contents$goog$array_removeIf;function module$contents$goog$array_removeAllIf(e,t,o){var r=0;return module$contents$goog$array_forEachRight(e,function(n,d){t.call(o,n,d,e)&&module$contents$goog$array_removeAt(e,d)&&r++}),r}goog.array.removeAllIf=module$contents$goog$array_removeAllIf;function module$contents$goog$array_concat(e){return Array.prototype.concat.apply([],arguments)}goog.array.concat=module$contents$goog$array_concat;function module$contents$goog$array_join(e){return Array.prototype.concat.apply([],arguments)}goog.array.join=module$contents$goog$array_join;function module$contents$goog$array_toArray(e){var t=e.length;if(0<t){for(var o=Array(t),r=0;r<t;r++)o[r]=e[r];return o}return[]}var module$contents$goog$array_clone=goog.array.toArray=module$contents$goog$array_toArray;goog.array.clone=module$contents$goog$array_clone;function module$contents$goog$array_extend(e,t){for(var o=1;o<arguments.length;o++){var r=arguments[o];if(goog.isArrayLike(r)){var n=e.length||0,d=r.length||0;e.length=n+d;for(var i=0;i<d;i++)e[n+i]=r[i]}else e.push(r)}}goog.array.extend=module$contents$goog$array_extend;function module$contents$goog$array_splice(e,t,o,r){return goog.asserts.assert(e.length!=null),Array.prototype.splice.apply(e,module$contents$goog$array_slice(arguments,1))}goog.array.splice=module$contents$goog$array_splice;function module$contents$goog$array_slice(e,t,o){return goog.asserts.assert(e.length!=null),2>=arguments.length?Array.prototype.slice.call(e,t):Array.prototype.slice.call(e,t,o)}goog.array.slice=module$contents$goog$array_slice;function module$contents$goog$array_removeDuplicates(e,t,o){t=t||e;var r=function(g){return goog.isObject(g)?"o"+goog.getUid(g):(typeof g).charAt(0)+g};o=o||r,r={};for(var n=0,d=0;d<e.length;){var i=e[d++],s=o(i);Object.prototype.hasOwnProperty.call(r,s)||(r[s]=!0,t[n++]=i)}t.length=n}goog.array.removeDuplicates=module$contents$goog$array_removeDuplicates;function module$contents$goog$array_binarySearch(e,t,o){return module$contents$goog$array_binarySearch_(e,o||module$contents$goog$array_defaultCompare,!1,t)}goog.array.binarySearch=module$contents$goog$array_binarySearch;function module$contents$goog$array_binarySelect(e,t,o){return module$contents$goog$array_binarySearch_(e,t,!0,void 0,o)}goog.array.binarySelect=module$contents$goog$array_binarySelect;function module$contents$goog$array_binarySearch_(e,t,o,r,n){for(var d=0,i=e.length,s;d<i;){var g=d+(i-d>>>1),u=o?t.call(n,e[g],g,e):t(r,e[g]);0<u?d=g+1:(i=g,s=!u)}return s?d:-d-1}function module$contents$goog$array_sort(e,t){e.sort(t||module$contents$goog$array_defaultCompare)}goog.array.sort=module$contents$goog$array_sort;function module$contents$goog$array_stableSort(e,t){for(var o=Array(e.length),r=0;r<e.length;r++)o[r]={index:r,value:e[r]};var n=t||module$contents$goog$array_defaultCompare;for(module$contents$goog$array_sort(o,function(d,i){return n(d.value,i.value)||d.index-i.index}),r=0;r<e.length;r++)e[r]=o[r].value}goog.array.stableSort=module$contents$goog$array_stableSort;function module$contents$goog$array_sortByKey(e,t,o){var r=o||module$contents$goog$array_defaultCompare;module$contents$goog$array_sort(e,function(n,d){return r(t(n),t(d))})}goog.array.sortByKey=module$contents$goog$array_sortByKey;function module$contents$goog$array_sortObjectsByKey(e,t,o){module$contents$goog$array_sortByKey(e,function(r){return r[t]},o)}goog.array.sortObjectsByKey=module$contents$goog$array_sortObjectsByKey;function module$contents$goog$array_isSorted(e,t,o){t=t||module$contents$goog$array_defaultCompare;for(var r=1;r<e.length;r++){var n=t(e[r-1],e[r]);if(0<n||n==0&&o)return!1}return!0}goog.array.isSorted=module$contents$goog$array_isSorted;function module$contents$goog$array_equals(e,t,o){if(!goog.isArrayLike(e)||!goog.isArrayLike(t)||e.length!=t.length)return!1;var r=e.length;o=o||module$contents$goog$array_defaultCompareEquality;for(var n=0;n<r;n++)if(!o(e[n],t[n]))return!1;return!0}goog.array.equals=module$contents$goog$array_equals;function module$contents$goog$array_compare3(e,t,o){o=o||module$contents$goog$array_defaultCompare;for(var r=Math.min(e.length,t.length),n=0;n<r;n++){var d=o(e[n],t[n]);if(d!=0)return d}return module$contents$goog$array_defaultCompare(e.length,t.length)}goog.array.compare3=module$contents$goog$array_compare3;function module$contents$goog$array_defaultCompare(e,t){return e>t?1:e<t?-1:0}goog.array.defaultCompare=module$contents$goog$array_defaultCompare;function module$contents$goog$array_inverseDefaultCompare(e,t){return-module$contents$goog$array_defaultCompare(e,t)}goog.array.inverseDefaultCompare=module$contents$goog$array_inverseDefaultCompare;function module$contents$goog$array_defaultCompareEquality(e,t){return e===t}goog.array.defaultCompareEquality=module$contents$goog$array_defaultCompareEquality;function module$contents$goog$array_binaryInsert(e,t,o){return o=module$contents$goog$array_binarySearch(e,t,o),0>o?(module$contents$goog$array_insertAt(e,t,-(o+1)),!0):!1}goog.array.binaryInsert=module$contents$goog$array_binaryInsert;function module$contents$goog$array_binaryRemove(e,t,o){return t=module$contents$goog$array_binarySearch(e,t,o),0<=t?module$contents$goog$array_removeAt(e,t):!1}goog.array.binaryRemove=module$contents$goog$array_binaryRemove;function module$contents$goog$array_bucket(e,t,o){for(var r={},n=0;n<e.length;n++){var d=e[n],i=t.call(o,d,n,e);i!==void 0&&(r[i]||(r[i]=[])).push(d)}return r}goog.array.bucket=module$contents$goog$array_bucket;function module$contents$goog$array_toObject(e,t,o){var r={};return module$contents$goog$array_forEach(e,function(n,d){r[t.call(o,n,d,e)]=n}),r}goog.array.toObject=module$contents$goog$array_toObject;function module$contents$goog$array_range(e,t,o){var r=[],n=0,d=e;if(o=o||1,t!==void 0&&(n=e,d=t),0>o*(d-n))return[];if(0<o)for(e=n;e<d;e+=o)r.push(e);else for(e=n;e>d;e+=o)r.push(e);return r}goog.array.range=module$contents$goog$array_range;function module$contents$goog$array_repeat(e,t){for(var o=[],r=0;r<t;r++)o[r]=e;return o}goog.array.repeat=module$contents$goog$array_repeat;function module$contents$goog$array_flatten(e){for(var t=[],o=0;o<arguments.length;o++){var r=arguments[o];if(Array.isArray(r))for(var n=0;n<r.length;n+=8192){var d=module$contents$goog$array_slice(r,n,n+8192);d=module$contents$goog$array_flatten.apply(null,d);for(var i=0;i<d.length;i++)t.push(d[i])}else t.push(r)}return t}goog.array.flatten=module$contents$goog$array_flatten;function module$contents$goog$array_rotate(e,t){return goog.asserts.assert(e.length!=null),e.length&&(t%=e.length,0<t?Array.prototype.unshift.apply(e,e.splice(-t,t)):0>t&&Array.prototype.push.apply(e,e.splice(0,-t))),e}goog.array.rotate=module$contents$goog$array_rotate;function module$contents$goog$array_moveItem(e,t,o){goog.asserts.assert(0<=t&&t<e.length),goog.asserts.assert(0<=o&&o<e.length),t=Array.prototype.splice.call(e,t,1),Array.prototype.splice.call(e,o,0,t[0])}goog.array.moveItem=module$contents$goog$array_moveItem;function module$contents$goog$array_zip(e){if(!arguments.length)return[];for(var t=[],o=arguments[0].length,r=1;r<arguments.length;r++)arguments[r].length<o&&(o=arguments[r].length);for(r=0;r<o;r++){for(var n=[],d=0;d<arguments.length;d++)n.push(arguments[d][r]);t.push(n)}return t}goog.array.zip=module$contents$goog$array_zip;function module$contents$goog$array_shuffle(e,t){t=t||Math.random;for(var o=e.length-1;0<o;o--){var r=Math.floor(t()*(o+1)),n=e[o];e[o]=e[r],e[r]=n}}goog.array.shuffle=module$contents$goog$array_shuffle;function module$contents$goog$array_copyByIndex(e,t){var o=[];return module$contents$goog$array_forEach(t,function(r){o.push(e[r])}),o}goog.array.copyByIndex=module$contents$goog$array_copyByIndex;function module$contents$goog$array_concatMap(e,t,o){return module$contents$goog$array_concat.apply([],module$contents$goog$array_map(e,t,o))}goog.array.concatMap=module$contents$goog$array_concatMap,goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(e){if(goog.asserts.ENABLE_ASSERTS){var t=goog.dom.asserts.getWindow_(e);t&&(!e||!(e instanceof t.Location)&&e instanceof t.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(e))}return e},goog.dom.asserts.assertIsElementType_=function(e,t){if(goog.asserts.ENABLE_ASSERTS){var o=goog.dom.asserts.getWindow_(e);o&&typeof o[t]<"u"&&(e&&(e instanceof o[t]||!(e instanceof o.Location||e instanceof o.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,goog.dom.asserts.debugStringForType_(e)))}return e},goog.dom.asserts.assertIsHTMLAnchorElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(e){if(goog.isObject(e))try{return e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e)}catch{return"<object could not be stringified>"}else return e===void 0?"undefined":e===null?"null":typeof e},goog.dom.asserts.getWindow_=function(e){try{var t=e&&e.ownerDocument,o=t&&(t.defaultView||t.parentWindow);if(o=o||goog.global,o.Element&&o.Location)return o}catch{}return null},goog.dom.HtmlElement=function(){},goog.functions={},goog.functions.constant=function(e){return function(){return e}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(e,t){return e},goog.functions.error=function(e){return function(){throw Error(e)}},goog.functions.fail=function(e){return function(){throw e}},goog.functions.lock=function(e,t){return t=t||0,function(){return e.apply(this,Array.prototype.slice.call(arguments,0,t))}},goog.functions.nth=function(e){return function(){return arguments[e]}},goog.functions.partialRight=function(e,t){var o=Array.prototype.slice.call(arguments,1);return function(){var r=this;r===goog.global&&(r=void 0);var n=Array.prototype.slice.call(arguments);return n.push.apply(n,o),e.apply(r,n)}},goog.functions.withReturnValue=function(e,t){return goog.functions.sequence(e,goog.functions.constant(t))},goog.functions.equalTo=function(e,t){return function(o){return t?e==o:e===o}},goog.functions.compose=function(e,t){var o=arguments,r=o.length;return function(){var n;r&&(n=o[r-1].apply(this,arguments));for(var d=r-2;0<=d;d--)n=o[d].call(this,n);return n}},goog.functions.sequence=function(e){var t=arguments,o=t.length;return function(){for(var r,n=0;n<o;n++)r=t[n].apply(this,arguments);return r}},goog.functions.and=function(e){var t=arguments,o=t.length;return function(){for(var r=0;r<o;r++)if(!t[r].apply(this,arguments))return!1;return!0}},goog.functions.or=function(e){var t=arguments,o=t.length;return function(){for(var r=0;r<o;r++)if(t[r].apply(this,arguments))return!0;return!1}},goog.functions.not=function(e){return function(){return!e.apply(this,arguments)}},goog.functions.create=function(e,t){var o=function(){};return o.prototype=e.prototype,o=new o,e.apply(o,Array.prototype.slice.call(arguments,1)),o},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(e){var t=!1,o;return function(){return goog.functions.CACHE_RETURN_VALUE?(t||(o=e(),t=!0),o):e()}},goog.functions.once=function(e){var t=e;return function(){if(t){var o=t;t=null,o()}}},goog.functions.debounce=function(e,t,o){var r=0;return function(n){goog.global.clearTimeout(r);var d=arguments;r=goog.global.setTimeout(function(){e.apply(o,d)},t)}},goog.functions.throttle=function(e,t,o){var r=0,n=!1,d=[],i=function(){r=0,n&&(n=!1,s())},s=function(){r=goog.global.setTimeout(i,t),e.apply(o,d)};return function(g){d=arguments,r?n=!0:s()}},goog.functions.rateLimit=function(e,t,o){var r=0,n=function(){r=0};return function(d){r||(r=goog.global.setTimeout(n,t),e.apply(o,arguments))}},goog.functions.isFunction=function(e){return typeof e=="function"},goog.dom.TagName=function(){},goog.dom.TagName.cast=function(e,t){return e},goog.dom.TagName.prototype.toString=function(){},goog.dom.TagName.A="A",goog.dom.TagName.ABBR="ABBR",goog.dom.TagName.ACRONYM="ACRONYM",goog.dom.TagName.ADDRESS="ADDRESS",goog.dom.TagName.APPLET="APPLET",goog.dom.TagName.AREA="AREA",goog.dom.TagName.ARTICLE="ARTICLE",goog.dom.TagName.ASIDE="ASIDE",goog.dom.TagName.AUDIO="AUDIO",goog.dom.TagName.B="B",goog.dom.TagName.BASE="BASE",goog.dom.TagName.BASEFONT="BASEFONT",goog.dom.TagName.BDI="BDI",goog.dom.TagName.BDO="BDO",goog.dom.TagName.BIG="BIG",goog.dom.TagName.BLOCKQUOTE="BLOCKQUOTE",goog.dom.TagName.BODY="BODY",goog.dom.TagName.BR="BR",goog.dom.TagName.BUTTON="BUTTON",goog.dom.TagName.CANVAS="CANVAS",goog.dom.TagName.CAPTION="CAPTION",goog.dom.TagName.CENTER="CENTER",goog.dom.TagName.CITE="CITE",goog.dom.TagName.CODE="CODE",goog.dom.TagName.COL="COL",goog.dom.TagName.COLGROUP="COLGROUP",goog.dom.TagName.COMMAND="COMMAND",goog.dom.TagName.DATA="DATA",goog.dom.TagName.DATALIST="DATALIST",goog.dom.TagName.DD="DD",goog.dom.TagName.DEL="DEL",goog.dom.TagName.DETAILS="DETAILS",goog.dom.TagName.DFN="DFN",goog.dom.TagName.DIALOG="DIALOG",goog.dom.TagName.DIR="DIR",goog.dom.TagName.DIV="DIV",goog.dom.TagName.DL="DL",goog.dom.TagName.DT="DT",goog.dom.TagName.EM="EM",goog.dom.TagName.EMBED="EMBED",goog.dom.TagName.FIELDSET="FIELDSET",goog.dom.TagName.FIGCAPTION="FIGCAPTION",goog.dom.TagName.FIGURE="FIGURE",goog.dom.TagName.FONT="FONT",goog.dom.TagName.FOOTER="FOOTER",goog.dom.TagName.FORM="FORM",goog.dom.TagName.FRAME="FRAME",goog.dom.TagName.FRAMESET="FRAMESET",goog.dom.TagName.H1="H1",goog.dom.TagName.H2="H2",goog.dom.TagName.H3="H3",goog.dom.TagName.H4="H4",goog.dom.TagName.H5="H5",goog.dom.TagName.H6="H6",goog.dom.TagName.HEAD="HEAD",goog.dom.TagName.HEADER="HEADER",goog.dom.TagName.HGROUP="HGROUP",goog.dom.TagName.HR="HR",goog.dom.TagName.HTML="HTML",goog.dom.TagName.I="I",goog.dom.TagName.IFRAME="IFRAME",goog.dom.TagName.IMG="IMG",goog.dom.TagName.INPUT="INPUT",goog.dom.TagName.INS="INS",goog.dom.TagName.ISINDEX="ISINDEX",goog.dom.TagName.KBD="KBD",goog.dom.TagName.KEYGEN="KEYGEN",goog.dom.TagName.LABEL="LABEL",goog.dom.TagName.LEGEND="LEGEND",goog.dom.TagName.LI="LI",goog.dom.TagName.LINK="LINK",goog.dom.TagName.MAIN="MAIN",goog.dom.TagName.MAP="MAP",goog.dom.TagName.MARK="MARK",goog.dom.TagName.MATH="MATH",goog.dom.TagName.MENU="MENU",goog.dom.TagName.MENUITEM="MENUITEM",goog.dom.TagName.META="META",goog.dom.TagName.METER="METER",goog.dom.TagName.NAV="NAV",goog.dom.TagName.NOFRAMES="NOFRAMES",goog.dom.TagName.NOSCRIPT="NOSCRIPT",goog.dom.TagName.OBJECT="OBJECT",goog.dom.TagName.OL="OL",goog.dom.TagName.OPTGROUP="OPTGROUP",goog.dom.TagName.OPTION="OPTION",goog.dom.TagName.OUTPUT="OUTPUT",goog.dom.TagName.P="P",goog.dom.TagName.PARAM="PARAM",goog.dom.TagName.PICTURE="PICTURE",goog.dom.TagName.PRE="PRE",goog.dom.TagName.PROGRESS="PROGRESS",goog.dom.TagName.Q="Q",goog.dom.TagName.RP="RP",goog.dom.TagName.RT="RT",goog.dom.TagName.RTC="RTC",goog.dom.TagName.RUBY="RUBY",goog.dom.TagName.S="S",goog.dom.TagName.SAMP="SAMP",goog.dom.TagName.SCRIPT="SCRIPT",goog.dom.TagName.SECTION="SECTION",goog.dom.TagName.SELECT="SELECT",goog.dom.TagName.SMALL="SMALL",goog.dom.TagName.SOURCE="SOURCE",goog.dom.TagName.SPAN="SPAN",goog.dom.TagName.STRIKE="STRIKE",goog.dom.TagName.STRONG="STRONG",goog.dom.TagName.STYLE="STYLE",goog.dom.TagName.SUB="SUB",goog.dom.TagName.SUMMARY="SUMMARY",goog.dom.TagName.SUP="SUP",goog.dom.TagName.SVG="SVG",goog.dom.TagName.TABLE="TABLE",goog.dom.TagName.TBODY="TBODY",goog.dom.TagName.TD="TD",goog.dom.TagName.TEMPLATE="TEMPLATE",goog.dom.TagName.TEXTAREA="TEXTAREA",goog.dom.TagName.TFOOT="TFOOT",goog.dom.TagName.TH="TH",goog.dom.TagName.THEAD="THEAD",goog.dom.TagName.TIME="TIME",goog.dom.TagName.TITLE="TITLE",goog.dom.TagName.TR="TR",goog.dom.TagName.TRACK="TRACK",goog.dom.TagName.TT="TT",goog.dom.TagName.U="U",goog.dom.TagName.UL="UL",goog.dom.TagName.VAR="VAR",goog.dom.TagName.VIDEO="VIDEO",goog.dom.TagName.WBR="WBR",goog.object={},goog.object.forEach=function(e,t,o){for(var r in e)t.call(o,e[r],r,e)},goog.object.filter=function(e,t,o){var r={},n;for(n in e)t.call(o,e[n],n,e)&&(r[n]=e[n]);return r},goog.object.map=function(e,t,o){var r={},n;for(n in e)r[n]=t.call(o,e[n],n,e);return r},goog.object.some=function(e,t,o){for(var r in e)if(t.call(o,e[r],r,e))return!0;return!1},goog.object.every=function(e,t,o){for(var r in e)if(!t.call(o,e[r],r,e))return!1;return!0},goog.object.getCount=function(e){var t=0,o;for(o in e)t++;return t},goog.object.getAnyKey=function(e){for(var t in e)return t},goog.object.getAnyValue=function(e){for(var t in e)return e[t]},goog.object.contains=function(e,t){return goog.object.containsValue(e,t)},goog.object.getValues=function(e){var t=[],o=0,r;for(r in e)t[o++]=e[r];return t},goog.object.getKeys=function(e){var t=[],o=0,r;for(r in e)t[o++]=r;return t},goog.object.getValueByKeys=function(e,t){var o=goog.isArrayLike(t),r=o?t:arguments;for(o=o?0:1;o<r.length;o++){if(e==null)return;e=e[r[o]]}return e},goog.object.containsKey=function(e,t){return e!==null&&t in e},goog.object.containsValue=function(e,t){for(var o in e)if(e[o]==t)return!0;return!1},goog.object.findKey=function(e,t,o){for(var r in e)if(t.call(o,e[r],r,e))return r},goog.object.findValue=function(e,t,o){return(t=goog.object.findKey(e,t,o))&&e[t]},goog.object.isEmpty=function(e){for(var t in e)return!1;return!0},goog.object.clear=function(e){for(var t in e)delete e[t]},goog.object.remove=function(e,t){var o;return(o=t in e)&&delete e[t],o},goog.object.add=function(e,t,o){if(e!==null&&t in e)throw Error('The object already contains the key "'+t+'"');goog.object.set(e,t,o)},goog.object.get=function(e,t,o){return e!==null&&t in e?e[t]:o},goog.object.set=function(e,t,o){e[t]=o},goog.object.setIfUndefined=function(e,t,o){return t in e?e[t]:e[t]=o},goog.object.setWithReturnValueIfNotSet=function(e,t,o){return t in e?e[t]:(o=o(),e[t]=o)},goog.object.equals=function(e,t){for(var o in e)if(!(o in t)||e[o]!==t[o])return!1;for(var r in t)if(!(r in e))return!1;return!0},goog.object.clone=function(e){var t={},o;for(o in e)t[o]=e[o];return t},goog.object.unsafeClone=function(e){if(!e||typeof e!="object")return e;if(typeof e.clone=="function")return e.clone();var t=Array.isArray(e)?[]:typeof ArrayBuffer!="function"||typeof ArrayBuffer.isView!="function"||!ArrayBuffer.isView(e)||e instanceof DataView?{}:new e.constructor(e.length),o;for(o in e)t[o]=goog.object.unsafeClone(e[o]);return t},goog.object.transpose=function(e){var t={},o;for(o in e)t[e[o]]=o;return t},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(e,t){for(var o,r,n=1;n<arguments.length;n++){r=arguments[n];for(o in r)e[o]=r[o];for(var d=0;d<goog.object.PROTOTYPE_FIELDS_.length;d++)o=goog.object.PROTOTYPE_FIELDS_[d],Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}},goog.object.create=function(e){var t=arguments.length;if(t==1&&Array.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(t%2)throw Error("Uneven number of arguments");for(var o={},r=0;r<t;r+=2)o[arguments[r]]=arguments[r+1];return o},goog.object.createSet=function(e){var t=arguments.length;if(t==1&&Array.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var o={},r=0;r<t;r++)o[arguments[r]]=!0;return o},goog.object.createImmutableView=function(e){var t=e;return Object.isFrozen&&!Object.isFrozen(e)&&(t=Object.create(e),Object.freeze(t)),t},goog.object.isImmutableView=function(e){return!!Object.isFrozen&&Object.isFrozen(e)},goog.object.getAllPropertyNames=function(e,t,o){if(!e)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(e);for(var r={};e&&(e!==Object.prototype||t)&&(e!==Function.prototype||o);){for(var n=Object.getOwnPropertyNames(e),d=0;d<n.length;d++)r[n[d]]=!0;e=Object.getPrototypeOf(e)}return goog.object.getKeys(r)},goog.object.getSuperClass=function(e){return(e=Object.getPrototypeOf(e.prototype))&&e.constructor},goog.dom.tags={},goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},goog.dom.tags.isVoidTag=function(e){return goog.dom.tags.VOID_TAGS_[e]===!0},goog.string={},goog.string.TypedString=function(){},goog.string.Const=function(e,t){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=e===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_},goog.string.Const.prototype.implementsGoogStringTypedString=!0,goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_},goog.DEBUG&&(goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"}),goog.string.Const.unwrap=function(e){return e instanceof goog.string.Const&&e.constructor===goog.string.Const&&e.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?e.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+e+"'"),"type_error:Const")},goog.string.Const.from=function(e){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,e)},goog.string.Const.TYPE_MARKER_={},goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.Const.EMPTY=goog.string.Const.from(""),goog.html={},goog.html.trustedtypes={},goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse=function(){return goog.TRUSTED_TYPES_POLICY_NAME?(goog.html.trustedtypes.cachedPolicy_===void 0&&(goog.html.trustedtypes.cachedPolicy_=goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html")),goog.html.trustedtypes.cachedPolicy_):null};var module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$goog$html$SafeScript_SafeScript=function(e,t){this.privateDoNotAccessOrElseSafeScriptWrappedValue_=t===module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE?e:"",this.implementsGoogStringTypedString=!0};module$contents$goog$html$SafeScript_SafeScript.fromConstant=function(e){return e=goog.string.Const.unwrap(e),e.length===0?module$contents$goog$html$SafeScript_SafeScript.EMPTY:module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(e)},module$contents$goog$html$SafeScript_SafeScript.fromConstantAndArgs=function(e,t){for(var o=[],r=1;r<arguments.length;r++)o.push(module$contents$goog$html$SafeScript_SafeScript.stringify_(arguments[r]));return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(e)+")("+o.join(", ")+");")},module$contents$goog$html$SafeScript_SafeScript.fromJson=function(e){return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(module$contents$goog$html$SafeScript_SafeScript.stringify_(e))},module$contents$goog$html$SafeScript_SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()},module$contents$goog$html$SafeScript_SafeScript.unwrap=function(e){return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(e).toString()},module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript=function(e){return e instanceof module$contents$goog$html$SafeScript_SafeScript&&e.constructor===module$contents$goog$html$SafeScript_SafeScript?e.privateDoNotAccessOrElseSafeScriptWrappedValue_:((0,goog.asserts.fail)("expected object of type SafeScript, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeScript")},module$contents$goog$html$SafeScript_SafeScript.stringify_=function(e){return JSON.stringify(e).replace(/</g,"\\x3c")},module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(e){var t=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return e=t?t.createScript(e):e,new module$contents$goog$html$SafeScript_SafeScript(e,module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE)},goog.DEBUG&&(module$contents$goog$html$SafeScript_SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"}),module$contents$goog$html$SafeScript_SafeScript.EMPTY=(function(){return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("")})(),goog.html.SafeScript=module$contents$goog$html$SafeScript_SafeScript,goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(e){return goog.fs.url.getUrlObject_().createObjectURL(e)},goog.fs.url.revokeObjectUrl=function(e){goog.fs.url.getUrlObject_().revokeObjectURL(e)},goog.fs.url.UrlObject_=function(){},goog.fs.url.UrlObject_.prototype.createObjectURL=function(e){},goog.fs.url.UrlObject_.prototype.revokeObjectURL=function(e){},goog.fs.url.getUrlObject_=function(){var e=goog.fs.url.findUrlObject_();if(e!=null)return e;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return goog.global.URL!==void 0&&goog.global.URL.createObjectURL!==void 0?goog.global.URL:goog.global.webkitURL!==void 0&&goog.global.webkitURL.createObjectURL!==void 0?goog.global.webkitURL:goog.global.createObjectURL!==void 0?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return goog.fs.url.findUrlObject_()!=null},goog.fs.blob={},goog.fs.blob.getBlob=function(e){var t=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(t!==void 0){t=new t;for(var o=0;o<arguments.length;o++)t.append(arguments[o]);return t.getBlob()}return goog.fs.blob.getBlobWithProperties(module$contents$goog$array_toArray(arguments))},goog.fs.blob.getBlobWithProperties=function(e,t,o){var r=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(r!==void 0){r=new r;for(var n=0;n<e.length;n++)r.append(e[n],o);return r.getBlob(t)}if(goog.global.Blob!==void 0)return r={},t&&(r.type=t),o&&(r.endings=o),new Blob(e,r);throw Error("This browser doesn't seem to support creating Blobs")},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||(goog.LOCALE.substring(0,2).toLowerCase()=="ar"||goog.LOCALE.substring(0,2).toLowerCase()=="fa"||goog.LOCALE.substring(0,2).toLowerCase()=="he"||goog.LOCALE.substring(0,2).toLowerCase()=="iw"||goog.LOCALE.substring(0,2).toLowerCase()=="ps"||goog.LOCALE.substring(0,2).toLowerCase()=="sd"||goog.LOCALE.substring(0,2).toLowerCase()=="ug"||goog.LOCALE.substring(0,2).toLowerCase()=="ur"||goog.LOCALE.substring(0,2).toLowerCase()=="yi")&&(goog.LOCALE.length==2||goog.LOCALE.substring(2,3)=="-"||goog.LOCALE.substring(2,3)=="_")||3<=goog.LOCALE.length&&goog.LOCALE.substring(0,3).toLowerCase()=="ckb"&&(goog.LOCALE.length==3||goog.LOCALE.substring(3,4)=="-"||goog.LOCALE.substring(3,4)=="_")||7<=goog.LOCALE.length&&(goog.LOCALE.substring(2,3)=="-"||goog.LOCALE.substring(2,3)=="_")&&(goog.LOCALE.substring(3,7).toLowerCase()=="adlm"||goog.LOCALE.substring(3,7).toLowerCase()=="arab"||goog.LOCALE.substring(3,7).toLowerCase()=="hebr"||goog.LOCALE.substring(3,7).toLowerCase()=="nkoo"||goog.LOCALE.substring(3,7).toLowerCase()=="rohg"||goog.LOCALE.substring(3,7).toLowerCase()=="thaa")||8<=goog.LOCALE.length&&(goog.LOCALE.substring(3,4)=="-"||goog.LOCALE.substring(3,4)=="_")&&(goog.LOCALE.substring(4,8).toLowerCase()=="adlm"||goog.LOCALE.substring(4,8).toLowerCase()=="arab"||goog.LOCALE.substring(4,8).toLowerCase()=="hebr"||goog.LOCALE.substring(4,8).toLowerCase()=="nkoo"||goog.LOCALE.substring(4,8).toLowerCase()=="rohg"||goog.LOCALE.substring(4,8).toLowerCase()=="thaa"),goog.i18n.bidi.Format={LRE:"‪",RLE:"‫",PDF:"‬",LRM:"‎",RLM:"‏"},goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0},goog.i18n.bidi.RIGHT="right",goog.i18n.bidi.LEFT="left",goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT,goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,goog.i18n.bidi.toDir=function(e,t){return typeof e=="number"?0<e?goog.i18n.bidi.Dir.LTR:0>e?goog.i18n.bidi.Dir.RTL:t?null:goog.i18n.bidi.Dir.NEUTRAL:e==null?null:e?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ऀ-῿‎Ⰰ-\uD801\uD804-\uD839\uD83C-\uDBFF豈-﬜︀-﹯﻽-￿",goog.i18n.bidi.rtlChars_="֑-ۯۺ-ࣿ‏\uD802-\uD803\uD83A-\uD83Bיִ-﷿ﹰ-ﻼ",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(e,t){return t?e.replace(goog.i18n.bidi.htmlSkipReg_,""):e},goog.i18n.bidi.rtlCharReg_=new RegExp("["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.ltrCharReg_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.hasAnyRtl=function(e,t){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(e,t){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlRe_=new RegExp("^["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.isRtlChar=function(e){return goog.i18n.bidi.rtlRe_.test(e)},goog.i18n.bidi.isLtrChar=function(e){return goog.i18n.bidi.ltrRe_.test(e)},goog.i18n.bidi.isNeutralChar=function(e){return!goog.i18n.bidi.isLtrChar(e)&&!goog.i18n.bidi.isRtlChar(e)},goog.i18n.bidi.ltrDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.startsWithRtl=function(e,t){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(e,t){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(e,t){return e=goog.i18n.bidi.stripHtmlIfNeeded_(e,t),goog.i18n.bidi.isRequiredLtrRe_.test(e)||!goog.i18n.bidi.hasAnyLtr(e)&&!goog.i18n.bidi.hasAnyRtl(e)},goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$"),goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$"),goog.i18n.bidi.endsWithLtr=function(e,t){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(e,t){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl,goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,goog.i18n.bidi.isRtlLanguage=function(e){return goog.i18n.bidi.rtlLocalesRe_.test(e)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(e,t){return t=(t===void 0?goog.i18n.bidi.hasAnyRtl(e):t)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,e.replace(goog.i18n.bidi.bracketGuardTextRe_,t+"$&"+t)},goog.i18n.bidi.enforceRtlInHtml=function(e){return e.charAt(0)=="<"?e.replace(/<\w+/,"$& dir=rtl"):`
@@ -1 +1 @@
1
- import{j as i,B as o,q as s}from"./vendor-mui-BXZut9Pz.js";import{L as p}from"./vendor-react-BPknnnEA.js";import{a6 as l,bZ as m,b_ as f}from"./vendor-blocklet-D_i_QeSo.js";import{N as x}from"./index-DgSc1Qy8.js";function C({customer:a,linked:e=!0,linkTo:t="",size:r="default",cardProps:n={}}){if(!a)return null;if(a?.metadata?.isBroker)return i.jsxs(o,{children:[i.jsx(s,{variant:"body2",children:a.name}),i.jsx(l,{did:a.did,...r!=="small"?{responsive:!1,compact:!0}:{}})]});const d=i.jsx(m,{did:a?.did,showHoverCard:!0,sx:{border:"none",p:0,minWidth:0},avatarProps:{size:r==="small"?24:40},shortenLabelProps:{maxLength:20},popupInfoType:f.Minimal,showDid:r!=="small",popupShowDid:!0,user:{fullName:a.name||a.email,did:a.did,email:a.email,avatar:x(a?.did,a?.updated_at?new Date(a.updated_at).toISOString():"")},...n});return e?i.jsx(p,{to:t||`/admin/customers/${a.id}`,children:d}):d}export{C};
1
+ import{j as i,B as o,q as s}from"./vendor-mui-BXZut9Pz.js";import{L as p}from"./vendor-react-BPknnnEA.js";import{a7 as l,b_ as m,b$ as f}from"./vendor-blocklet-DcLR2Cyf.js";import{N as x}from"./index-BarN7DfU.js";function C({customer:a,linked:e=!0,linkTo:t="",size:r="default",cardProps:n={}}){if(!a)return null;if(a?.metadata?.isBroker)return i.jsxs(o,{children:[i.jsx(s,{variant:"body2",children:a.name}),i.jsx(l,{did:a.did,...r!=="small"?{responsive:!1,compact:!0}:{}})]});const d=i.jsx(m,{did:a?.did,showHoverCard:!0,sx:{border:"none",p:0,minWidth:0},avatarProps:{size:r==="small"?24:40},shortenLabelProps:{maxLength:20},popupInfoType:f.Minimal,showDid:r!=="small",popupShowDid:!0,user:{fullName:a.name||a.email,did:a.did,email:a.email,avatar:x(a?.did,a?.updated_at?new Date(a.updated_at).toISOString():"")},...n});return e?i.jsx(p,{to:t||`/admin/customers/${a.id}`,children:d}):d}export{C};
@@ -1 +1 @@
1
- import{r as x,j as t,a3 as P,q as w,a2 as z,B as E,x as L,w as T,N as k}from"./vendor-mui-BXZut9Pz.js";import{V as q,$ as A,Y as v,a6 as I,cw as D}from"./vendor-blocklet-D_i_QeSo.js";import{e as B,k as N,i as M,n as F,a6 as H,j as $,T as W}from"./index-DgSc1Qy8.js";import{a as O,b as V,L as g}from"./vendor-react-BPknnnEA.js";import{u as K}from"./table-BRU4Enia.js";import{d as U,l as G}from"./util-mDHAL0lx.js";import{u as Y}from"./cache-state-lld4zuDg.js";import{C as J}from"./link-3eeclTeS.js";import{F as Q}from"./filter-toolbar-BydfQ-79.js";import{A as X}from"./actions-jxGAdGfb.js";import{C as Z}from"./click-boundary-y8dVA_tr.js";import{I as ee}from"./info-card-C1yxhxJG.js";function te({data:s,variant:p="compact",isCanceledSubscription:u=!1}){const{t:n}=q(),y=O(),[d,m]=x.useState(!1),[b,R]=x.useState(!1),[r,l]=x.useState(""),[i,f]=x.useState(""),h=5,j=c=>{const C=c.trim();return C?C.length<h?(f(n("admin.payout.refundReasonMinLength",{min:h})),!1):(f(""),!0):(f(n("admin.payout.refundReasonRequired")),!1)},a=c=>{l(c),i&&j(c)},o=async()=>{if(j(r)){m(!0);try{const{data:c}=await B.post(`/api/vendors/refund/${s.id}`,{reason:r.trim()});if(!c.error)v.success(n("admin.payout.refundRequested")),R(!1),l(""),f(""),window.location.reload();else throw new Error(c.error||"Failed to request refund")}catch(c){v.error(N(c))}finally{m(!1)}}},e=()=>{R(!1),l(""),f("")},_=r.trim().length>=h,S=[{label:n("admin.customer.view"),handler:()=>y(`/admin/customers/${s.customer_id}`),color:"primary",disabled:!1}];return u&&s.status==="paid"&&s.vendor_info?.vendor_id&&s.vendor_info?.order_id&&S.push({label:n("admin.payout.requestRefund"),handler:()=>R(!0),color:"warning",disabled:d||s.metadata?.refund_requested}),p==="compact"&&S.push({label:n("admin.paymentIntent.view"),handler:()=>y(`/admin/payments/${s.id}`),color:"primary",disabled:!1}),t.jsxs(Z,{children:[t.jsx(X,{variant:p,actions:S}),t.jsx(A,{open:b,onClose:e,title:n("admin.payout.requestRefund"),fullWidth:!0,actions:t.jsxs(E,{sx:{display:"flex",gap:1,justifyContent:"flex-end"},children:[t.jsx(L,{onClick:e,disabled:d,size:"small",variant:"outlined",children:n("common.cancel")}),t.jsx(L,{onClick:o,disabled:d||!_,variant:"contained",color:"warning",size:"small",children:n("common.confirm")})]}),children:t.jsxs(P,{spacing:2,children:[t.jsx(w,{variant:"body2",color:"text.secondary",sx:{lineHeight:1.6},children:n("admin.payout.confirmRefund")}),t.jsx(z,{value:r,onChange:c=>a(c.target.value),onBlur:()=>j(r),label:n("admin.payout.refundReason"),placeholder:n("admin.payout.refundReasonPlaceholder"),multiline:!0,minRows:4,maxRows:8,fullWidth:!0,required:!0,disabled:d,error:!!i,helperText:i||n("admin.payout.refundReasonHelper",{min:h}),slotProps:{htmlInput:{maxLength:500}}})]})})]})}const ae=(s={})=>{const p=new URLSearchParams;return Object.keys(s).forEach(u=>{let n=s[u];u==="q"&&(n=Object.entries(n).map(y=>y.join(":")).join(" ")),p.set(u,String(n))}),B.get(`/api/payouts?${p.toString()}`).then(u=>u.data)},ne=s=>s.customer_id?`customer-payouts-${s.customer_id}`:s.payment_intent_id?`intent-payouts-${s.payment_intent_id}`:"payouts";function ye({customer_id:s="",payment_intent_id:p="",status:u="",features:n={customer:!0,filter:!0},isCanceledSubscription:y=!1}){const{t:d}=q(),[m]=V(),b=ne({customer_id:s,payment_intent_id:p}),R=K(20),[r,l]=Y(b,{defaultValue:{status:u,customer_id:s,payment_intent_id:p,pageSize:R,page:1},getUrlParams:()=>{const a={};return m.has("status")&&(a.status=m.get("status")),m.has("currency_id")&&(a.currency_id=m.get("currency_id")),m.has("customer_id")&&(a.customer_id=m.get("customer_id")),a}}),[i,f]=x.useState({});if(x.useEffect(()=>{U(()=>{ae(r).then(a=>{f(a)})},300)()},[r]),!i.list)return t.jsx(T,{});const h=[{label:d("common.amount"),name:"id",align:"right",width:80,options:{customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(g,{to:`/admin/payments/${e.id}`,children:t.jsxs(w,{component:"strong",sx:{fontWeight:600},children:[M(e.amount,e?.paymentCurrency.decimal)," ",e?.paymentCurrency.symbol]})})}}},{label:d("common.paymentMethod"),name:"paymentMethod",width:120,options:{customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(g,{to:`/admin/payments/${e.id}`,children:t.jsxs(w,{sx:{display:"flex",alignItems:"center",whiteSpace:"nowrap"},children:[t.jsx(k,{src:e.paymentMethod.logo,sx:{width:18,height:18,mr:1}}),e.paymentMethod.name]})})}}},{label:d("common.status"),name:"status",width:80,options:{customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(g,{to:`/admin/payments/${e.id}`,children:t.jsx(F,{label:e.status,color:H(e.status)})})}}},{label:d("common.description"),name:"description",options:{customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(g,{to:`/admin/payments/${e.id}`,children:e.description||e.id})}}},{label:d("common.createdAt"),name:"created_at",options:{sort:!0,customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(g,{to:`/admin/payments/${e.id}`,children:$(e.created_at)})}}},{label:d("common.updatedAt"),name:"updated_at",options:{sort:!0,customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(g,{to:`/admin/payments/${e.id}`,children:$(e.updated_at)})}}},{label:d("common.actions"),name:"",options:{customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(te,{data:e,isCanceledSubscription:y})}}}];n?.customer&&h.splice(3,0,{label:d("common.customer"),name:"customer_id",options:{filter:!0,customBodyRenderLite:(a,o)=>{const e=i.list[o];if(e.customer)return t.jsx(J,{customer:e.customer});const _=G(e.destination);return _?t.jsx(ee,{name:t.jsx(D,{sx:{fontWeight:500},maxLength:30,children:_.name}),description:t.jsx(I,{did:e.destination,compact:!0,responsive:!1,sx:{whiteSpace:"nowrap"}}),logo:_.avatar,size:40}):e.destination}}});const j=({page:a,rowsPerPage:o})=>{r.pageSize!==o?l(e=>({...e,pageSize:o,page:1})):r.page!==a+1&&l(e=>({...e,page:a+1}))};return t.jsx(W,{hasRowLink:!0,durable:`__${b}__`,data:i.list||[],columns:h,loading:!i.list,onChange:j,options:{count:i.count,page:r.page-1,rowsPerPage:r.pageSize,onSearchChange:a=>{l(a?{...r,q:{"like-description":a,"like-metadata":a},pageSize:100,page:1}:{...r,pageSize:100,page:1,q:{}})},onColumnSortChange(a,o){l({...r,q:r.q||{},o})}},toolbar:n?.toolbar,footer:n?.footer,title:n?.filter&&t.jsx(Q,{setSearch:l,search:r,status:["paid","pending","failed","canceled"],currency:!0}),emptyNodeText:d("empty.payouts")})}export{ye as P};
1
+ import{r as x,j as t,a3 as P,q as w,a2 as z,B as E,x as L,w as T,N as k}from"./vendor-mui-BXZut9Pz.js";import{V as q,$ as A,Z as v,a7 as I,cx as D}from"./vendor-blocklet-DcLR2Cyf.js";import{e as B,k as N,i as M,n as F,a6 as H,j as $,T as W}from"./index-BarN7DfU.js";import{a as O,b as V,L as g}from"./vendor-react-BPknnnEA.js";import{u as K}from"./table-BrtHemkA.js";import{d as U,l as G}from"./util-DxXTXkeY.js";import{u as Z}from"./cache-state-lld4zuDg.js";import{C as J}from"./link-CmPoIweR.js";import{F as Q}from"./filter-toolbar-DXGSTq57.js";import{A as X}from"./actions-BJDN6Op2.js";import{C as Y}from"./click-boundary-CafubiPp.js";import{I as ee}from"./info-card-BvIMFQo5.js";function te({data:s,variant:p="compact",isCanceledSubscription:u=!1}){const{t:n}=q(),y=O(),[d,m]=x.useState(!1),[b,R]=x.useState(!1),[r,l]=x.useState(""),[i,f]=x.useState(""),h=5,j=c=>{const C=c.trim();return C?C.length<h?(f(n("admin.payout.refundReasonMinLength",{min:h})),!1):(f(""),!0):(f(n("admin.payout.refundReasonRequired")),!1)},a=c=>{l(c),i&&j(c)},o=async()=>{if(j(r)){m(!0);try{const{data:c}=await B.post(`/api/vendors/refund/${s.id}`,{reason:r.trim()});if(!c.error)v.success(n("admin.payout.refundRequested")),R(!1),l(""),f(""),window.location.reload();else throw new Error(c.error||"Failed to request refund")}catch(c){v.error(N(c))}finally{m(!1)}}},e=()=>{R(!1),l(""),f("")},_=r.trim().length>=h,S=[{label:n("admin.customer.view"),handler:()=>y(`/admin/customers/${s.customer_id}`),color:"primary",disabled:!1}];return u&&s.status==="paid"&&s.vendor_info?.vendor_id&&s.vendor_info?.order_id&&S.push({label:n("admin.payout.requestRefund"),handler:()=>R(!0),color:"warning",disabled:d||s.metadata?.refund_requested}),p==="compact"&&S.push({label:n("admin.paymentIntent.view"),handler:()=>y(`/admin/payments/${s.id}`),color:"primary",disabled:!1}),t.jsxs(Y,{children:[t.jsx(X,{variant:p,actions:S}),t.jsx(A,{open:b,onClose:e,title:n("admin.payout.requestRefund"),fullWidth:!0,actions:t.jsxs(E,{sx:{display:"flex",gap:1,justifyContent:"flex-end"},children:[t.jsx(L,{onClick:e,disabled:d,size:"small",variant:"outlined",children:n("common.cancel")}),t.jsx(L,{onClick:o,disabled:d||!_,variant:"contained",color:"warning",size:"small",children:n("common.confirm")})]}),children:t.jsxs(P,{spacing:2,children:[t.jsx(w,{variant:"body2",color:"text.secondary",sx:{lineHeight:1.6},children:n("admin.payout.confirmRefund")}),t.jsx(z,{value:r,onChange:c=>a(c.target.value),onBlur:()=>j(r),label:n("admin.payout.refundReason"),placeholder:n("admin.payout.refundReasonPlaceholder"),multiline:!0,minRows:4,maxRows:8,fullWidth:!0,required:!0,disabled:d,error:!!i,helperText:i||n("admin.payout.refundReasonHelper",{min:h}),slotProps:{htmlInput:{maxLength:500}}})]})})]})}const ae=(s={})=>{const p=new URLSearchParams;return Object.keys(s).forEach(u=>{let n=s[u];u==="q"&&(n=Object.entries(n).map(y=>y.join(":")).join(" ")),p.set(u,String(n))}),B.get(`/api/payouts?${p.toString()}`).then(u=>u.data)},ne=s=>s.customer_id?`customer-payouts-${s.customer_id}`:s.payment_intent_id?`intent-payouts-${s.payment_intent_id}`:"payouts";function ye({customer_id:s="",payment_intent_id:p="",status:u="",features:n={customer:!0,filter:!0},isCanceledSubscription:y=!1}){const{t:d}=q(),[m]=V(),b=ne({customer_id:s,payment_intent_id:p}),R=K(20),[r,l]=Z(b,{defaultValue:{status:u,customer_id:s,payment_intent_id:p,pageSize:R,page:1},getUrlParams:()=>{const a={};return m.has("status")&&(a.status=m.get("status")),m.has("currency_id")&&(a.currency_id=m.get("currency_id")),m.has("customer_id")&&(a.customer_id=m.get("customer_id")),a}}),[i,f]=x.useState({});if(x.useEffect(()=>{U(()=>{ae(r).then(a=>{f(a)})},300)()},[r]),!i.list)return t.jsx(T,{});const h=[{label:d("common.amount"),name:"id",align:"right",width:80,options:{customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(g,{to:`/admin/payments/${e.id}`,children:t.jsxs(w,{component:"strong",sx:{fontWeight:600},children:[M(e.amount,e?.paymentCurrency.decimal)," ",e?.paymentCurrency.symbol]})})}}},{label:d("common.paymentMethod"),name:"paymentMethod",width:120,options:{customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(g,{to:`/admin/payments/${e.id}`,children:t.jsxs(w,{sx:{display:"flex",alignItems:"center",whiteSpace:"nowrap"},children:[t.jsx(k,{src:e.paymentMethod.logo,sx:{width:18,height:18,mr:1}}),e.paymentMethod.name]})})}}},{label:d("common.status"),name:"status",width:80,options:{customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(g,{to:`/admin/payments/${e.id}`,children:t.jsx(F,{label:e.status,color:H(e.status)})})}}},{label:d("common.description"),name:"description",options:{customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(g,{to:`/admin/payments/${e.id}`,children:e.description||e.id})}}},{label:d("common.createdAt"),name:"created_at",options:{sort:!0,customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(g,{to:`/admin/payments/${e.id}`,children:$(e.created_at)})}}},{label:d("common.updatedAt"),name:"updated_at",options:{sort:!0,customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(g,{to:`/admin/payments/${e.id}`,children:$(e.updated_at)})}}},{label:d("common.actions"),name:"",options:{customBodyRenderLite:(a,o)=>{const e=i.list[o];return t.jsx(te,{data:e,isCanceledSubscription:y})}}}];n?.customer&&h.splice(3,0,{label:d("common.customer"),name:"customer_id",options:{filter:!0,customBodyRenderLite:(a,o)=>{const e=i.list[o];if(e.customer)return t.jsx(J,{customer:e.customer});const _=G(e.destination);return _?t.jsx(ee,{name:t.jsx(D,{sx:{fontWeight:500},maxLength:30,children:_.name}),description:t.jsx(I,{did:e.destination,compact:!0,responsive:!1,sx:{whiteSpace:"nowrap"}}),logo:_.avatar,size:40}):e.destination}}});const j=({page:a,rowsPerPage:o})=>{r.pageSize!==o?l(e=>({...e,pageSize:o,page:1})):r.page!==a+1&&l(e=>({...e,page:a+1}))};return t.jsx(W,{hasRowLink:!0,durable:`__${b}__`,data:i.list||[],columns:h,loading:!i.list,onChange:j,options:{count:i.count,page:r.page-1,rowsPerPage:r.pageSize,onSearchChange:a=>{l(a?{...r,q:{"like-description":a,"like-metadata":a},pageSize:100,page:1}:{...r,pageSize:100,page:1,q:{}})},onColumnSortChange(a,o){l({...r,q:r.q||{},o})}},toolbar:n?.toolbar,footer:n?.footer,title:n?.filter&&t.jsx(Q,{setSearch:l,search:r,status:["paid","pending","failed","canceled"],currency:!0}),emptyNodeText:d("empty.payouts")})}export{ye as P};
@@ -1 +1 @@
1
- import{r as _,j as o,w as L}from"./vendor-mui-BXZut9Pz.js";import{V as C}from"./vendor-blocklet-D_i_QeSo.js";import{n as S,j as R,T as z,e as $}from"./index-DgSc1Qy8.js";import{b as B,L as p}from"./vendor-react-BPknnnEA.js";import{u as P}from"./table-BRU4Enia.js";import{u as T}from"./cache-state-lld4zuDg.js";import{C as k}from"./link-3eeclTeS.js";import{F as q}from"./filter-toolbar-BydfQ-79.js";import{S as w}from"./index-BIoSdRvX.js";import{S as D}from"./description-Ym17DL48.js";import{S as E}from"./status-l6pD08fw.js";const v=(r={})=>{const c=new URLSearchParams;return Object.keys(r).forEach(l=>{let n=r[l];l==="q"&&(n=Object.entries(n).map(f=>f.join(":")).join(" ")),c.set(l,String(n))}),$.get(`/api/subscriptions?${c.toString()}`).then(l=>l.data)},A=r=>r.customer_id?`customer-subscriptions-${r.customer_id}`:"subscriptions";function Q({customer_id:r="",features:c={customer:!0,filter:!0},status:l=""}){const[n]=B(),f=A({customer_id:r}),{t:m}=C(),j=P(20),[s,u]=T(f,{defaultValue:{status:l||"active",customer_id:r,pageSize:j,page:1,price_id:""},getUrlParams:()=>{const t={};return n.has("status")&&(t.status=n.get("status")),n.has("customer_id")&&(t.customer_id=n.get("customer_id")),t}}),[a,x]=_.useState({}),h=()=>v(s).then(t=>{x(t)});if(_.useEffect(()=>{h()},[s]),!a.list)return o.jsx(L,{});const b=[{label:m("admin.subscription.product"),name:"id",options:{customBodyRenderLite:(t,i)=>{const e=a.list[i];return o.jsx(p,{to:`/admin/billing/${e.id}`,children:o.jsx(D,{subscription:e})})}}},{label:m("common.status"),name:"status",options:{filter:!0,customBodyRenderLite:(t,i)=>{const e=a.list[i];return o.jsx(p,{to:`/admin/billing/${e.id}`,children:o.jsx(E,{subscription:e})})}}},{label:m("admin.subscription.collectionMethod"),name:"collection_method",options:{customBodyRenderLite:(t,i)=>{const e=a.list[i];return o.jsx(p,{to:`/admin/billing/${e.id}`,children:o.jsx(S,{label:e.collection_method==="charge_automatically"?"Auto":"Manual",color:e.collection_method==="charge_automatically"?"default":"warning"})})}}},{label:m("admin.subscription.channel"),name:"channel",options:{filter:!0,customBodyRenderLite:(t,i)=>{const e=a.list[i],d=e.channel||e.paymentMethod?.type;if(!d)return null;let g="default";return d==="google_play"||d==="app_store"?g="primary":d==="stripe"&&(g="secondary"),o.jsx(p,{to:`/admin/billing/${e.id}`,children:o.jsx(S,{label:d,color:g})})}}},{label:m("common.createdAt"),name:"created_at",options:{sort:!0,customBodyRenderLite:(t,i)=>{const e=a.list[i];return o.jsx(p,{to:`/admin/billing/${e.id}`,children:R(e.created_at)})}}},{label:m("common.actions"),name:"id",width:100,align:"center",options:{sort:!1,customBodyRenderLite:(t,i)=>{const e=a.list[i];return o.jsx(w,{data:e,onChange:h})}}}];c?.customer&&b.splice(3,0,{label:m("common.customer"),name:"customer_id",options:{filter:!0,customBodyRenderLite:(t,i)=>{const e=a.list[i];return o.jsx(k,{customer:e.customer})}}});const y=({page:t,rowsPerPage:i})=>{s.pageSize!==i?u(e=>({...e,pageSize:i,page:1})):s.page!==t+1&&u(e=>({...e,page:t+1}))};return o.jsx(z,{hasRowLink:!0,data:a.list,columns:b,loading:!a.list,onChange:y,durable:`__${f}__`,durableKeys:["searchText"],options:{count:a.count,page:s.page-1,rowsPerPage:s.pageSize,onColumnSortChange(t,i){u({...s,q:s.q||{},o:i})},onSearchChange:t=>{u(t?{...s,q:{"like-metadata":t,"like-description":t,"like-id":t},pageSize:100,page:1}:{...s,pageSize:100,page:1,q:{}})}},toolbar:c?.toolbar,footer:c?.footer,title:c?.filter&&o.jsx(q,{setSearch:u,search:s,status:["active","trialing","paused","past_due","canceled","incomplete","incomplete_expired"],formatStatus:t=>t==="canceled"?"ended":t})})}export{Q as S};
1
+ import{r as _,j as o,w as L}from"./vendor-mui-BXZut9Pz.js";import{V as C}from"./vendor-blocklet-DcLR2Cyf.js";import{n as S,j as R,T as z,e as $}from"./index-BarN7DfU.js";import{b as B,L as p}from"./vendor-react-BPknnnEA.js";import{u as P}from"./table-BrtHemkA.js";import{u as T}from"./cache-state-lld4zuDg.js";import{C as k}from"./link-CmPoIweR.js";import{F as q}from"./filter-toolbar-DXGSTq57.js";import{S as w}from"./index-CbSXdD6E.js";import{S as D}from"./description-SnR5WxWT.js";import{S as E}from"./status-CUVYrUIG.js";const v=(r={})=>{const c=new URLSearchParams;return Object.keys(r).forEach(l=>{let n=r[l];l==="q"&&(n=Object.entries(n).map(f=>f.join(":")).join(" ")),c.set(l,String(n))}),$.get(`/api/subscriptions?${c.toString()}`).then(l=>l.data)},A=r=>r.customer_id?`customer-subscriptions-${r.customer_id}`:"subscriptions";function Q({customer_id:r="",features:c={customer:!0,filter:!0},status:l=""}){const[n]=B(),f=A({customer_id:r}),{t:m}=C(),j=P(20),[s,u]=T(f,{defaultValue:{status:l||"active",customer_id:r,pageSize:j,page:1,price_id:""},getUrlParams:()=>{const t={};return n.has("status")&&(t.status=n.get("status")),n.has("customer_id")&&(t.customer_id=n.get("customer_id")),t}}),[a,x]=_.useState({}),h=()=>v(s).then(t=>{x(t)});if(_.useEffect(()=>{h()},[s]),!a.list)return o.jsx(L,{});const b=[{label:m("admin.subscription.product"),name:"id",options:{customBodyRenderLite:(t,i)=>{const e=a.list[i];return o.jsx(p,{to:`/admin/billing/${e.id}`,children:o.jsx(D,{subscription:e})})}}},{label:m("common.status"),name:"status",options:{filter:!0,customBodyRenderLite:(t,i)=>{const e=a.list[i];return o.jsx(p,{to:`/admin/billing/${e.id}`,children:o.jsx(E,{subscription:e})})}}},{label:m("admin.subscription.collectionMethod"),name:"collection_method",options:{customBodyRenderLite:(t,i)=>{const e=a.list[i];return o.jsx(p,{to:`/admin/billing/${e.id}`,children:o.jsx(S,{label:e.collection_method==="charge_automatically"?"Auto":"Manual",color:e.collection_method==="charge_automatically"?"default":"warning"})})}}},{label:m("admin.subscription.channel"),name:"channel",options:{filter:!0,customBodyRenderLite:(t,i)=>{const e=a.list[i],d=e.channel||e.paymentMethod?.type;if(!d)return null;let g="default";return d==="google_play"||d==="app_store"?g="primary":d==="stripe"&&(g="secondary"),o.jsx(p,{to:`/admin/billing/${e.id}`,children:o.jsx(S,{label:d,color:g})})}}},{label:m("common.createdAt"),name:"created_at",options:{sort:!0,customBodyRenderLite:(t,i)=>{const e=a.list[i];return o.jsx(p,{to:`/admin/billing/${e.id}`,children:R(e.created_at)})}}},{label:m("common.actions"),name:"id",width:100,align:"center",options:{sort:!1,customBodyRenderLite:(t,i)=>{const e=a.list[i];return o.jsx(w,{data:e,onChange:h})}}}];c?.customer&&b.splice(3,0,{label:m("common.customer"),name:"customer_id",options:{filter:!0,customBodyRenderLite:(t,i)=>{const e=a.list[i];return o.jsx(k,{customer:e.customer})}}});const y=({page:t,rowsPerPage:i})=>{s.pageSize!==i?u(e=>({...e,pageSize:i,page:1})):s.page!==t+1&&u(e=>({...e,page:t+1}))};return o.jsx(z,{hasRowLink:!0,data:a.list,columns:b,loading:!a.list,onChange:y,durable:`__${f}__`,durableKeys:["searchText"],options:{count:a.count,page:s.page-1,rowsPerPage:s.pageSize,onColumnSortChange(t,i){u({...s,q:s.q||{},o:i})},onSearchChange:t=>{u(t?{...s,q:{"like-metadata":t,"like-description":t,"like-id":t},pageSize:100,page:1}:{...s,pageSize:100,page:1,q:{}})}},toolbar:c?.toolbar,footer:c?.footer,title:c?.filter&&o.jsx(q,{setSearch:u,search:s,status:["active","trialing","paused","past_due","canceled","incomplete","incomplete_expired"],formatStatus:t=>t==="canceled"?"ended":t})})}export{Q as S};
@@ -1 +1 @@
1
- import{j as r,B as a,q as n,x as c}from"./vendor-mui-BXZut9Pz.js";import{V as m,a5 as l,c6 as p}from"./vendor-blocklet-D_i_QeSo.js";import{k as x}from"./util-mDHAL0lx.js";import{I as f}from"./info-row-DOK2whMn.js";function b({data:e,handleEditMetadata:i=()=>{}}){const{t:s}=m();if(l(e))return r.jsxs(a,{sx:{textAlign:"center"},children:[r.jsx(n,{variant:"subtitle1",sx:{color:"text.primary",fontWeight:500},children:s("common.metadata.empty")}),r.jsx(n,{variant:"body2",sx:{color:"text.lighter"},children:s("common.metadata.emptyTip")}),r.jsx(c,{sx:{color:"text.link"},onClick:i,children:s("common.add")})]});const o=t=>x(t)?r.jsx("pre",{style:{whiteSpace:"break-spaces"},children:JSON.stringify(JSON.parse(t),null,2)}):p(t)?r.jsx("pre",{style:{whiteSpace:"break-spaces"},children:JSON.stringify(t,null,2)}):typeof t=="boolean"?String(t):t;return r.jsx(r.Fragment,{children:Object.keys(e||{}).map(t=>r.jsx(f,{label:t,value:o(e[t]),direction:"column",alignItems:"flex-start"},t))})}export{b as M};
1
+ import{j as r,B as a,q as n,x as c}from"./vendor-mui-BXZut9Pz.js";import{V as m,a6 as l,c7 as p}from"./vendor-blocklet-DcLR2Cyf.js";import{k as x}from"./util-DxXTXkeY.js";import{I as f}from"./info-row-jI0h_hv4.js";function b({data:e,handleEditMetadata:i=()=>{}}){const{t:s}=m();if(l(e))return r.jsxs(a,{sx:{textAlign:"center"},children:[r.jsx(n,{variant:"subtitle1",sx:{color:"text.primary",fontWeight:500},children:s("common.metadata.empty")}),r.jsx(n,{variant:"body2",sx:{color:"text.lighter"},children:s("common.metadata.emptyTip")}),r.jsx(c,{sx:{color:"text.link"},onClick:i,children:s("common.add")})]});const o=t=>x(t)?r.jsx("pre",{style:{whiteSpace:"break-spaces"},children:JSON.stringify(JSON.parse(t),null,2)}):p(t)?r.jsx("pre",{style:{whiteSpace:"break-spaces"},children:JSON.stringify(t,null,2)}):typeof t=="boolean"?String(t):t;return r.jsx(r.Fragment,{children:Object.keys(e||{}).map(t=>r.jsx(f,{label:t,value:o(e[t]),direction:"column",alignItems:"flex-start"},t))})}export{b as M};