ranui 0.4.1-alpha.2 → 0.4.2-alpha.2

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 (164) hide show
  1. package/dist/{arc-DOGcyb-0.js → arc-BTq35m9x.js} +2 -2
  2. package/dist/{arc-ByizYZ13.cjs → arc-BjIU7MOi.cjs} +1 -1
  3. package/dist/builder-2HD21I6K.cjs +1 -0
  4. package/dist/builder.js +2 -2
  5. package/dist/{button-DFBA474n.js → button-BgWXCj7-.js} +4 -4
  6. package/dist/button.js +1 -1
  7. package/dist/{card-Cfkb7dIm.js → card-DzVv3ADA.js} +3 -3
  8. package/dist/card.js +1 -1
  9. package/dist/{checkbox-CeVzf_ff.js → checkbox-KOXDiwRr.js} +4 -4
  10. package/dist/checkbox.js +1 -1
  11. package/dist/{circle-DgoPsPmL.cjs → circle-By7YwAJj.cjs} +1 -1
  12. package/dist/{circle-fold-DGHgTbNx.cjs → circle-fold-BJWGLDa6.cjs} +1 -1
  13. package/dist/{circle-fold-CZf63cE1.js → circle-fold-DrwUHB-m.js} +2 -2
  14. package/dist/{circle-line-DDD6hHbp.cjs → circle-line-BsXpw2HA.cjs} +1 -1
  15. package/dist/{circle-line-vsuTmqx8.js → circle-line-DCUX3o9u.js} +2 -2
  16. package/dist/{circle-rotate-B7JrnjYG.cjs → circle-rotate-BK1tW3Jv.cjs} +1 -1
  17. package/dist/{circle-rotate-DDC3CKzB.js → circle-rotate-DeBqoVVp.js} +2 -2
  18. package/dist/{circle-spin-Djuwx9eN.js → circle-spin-Crycoffl.js} +2 -2
  19. package/dist/{circle-spin-CIMhAYj5.cjs → circle-spin-Ctoq0Wil.cjs} +1 -1
  20. package/dist/{circle-turn-DtYjq4Ky.js → circle-turn-DytKZEgU.js} +2 -2
  21. package/dist/{circle-turn-D1Z-dXF8.cjs → circle-turn-J9aToB75.cjs} +1 -1
  22. package/dist/{colorpicker-C8vbgSta.js → colorpicker-7adjGSuz.js} +7 -7
  23. package/dist/colorpicker.js +1 -1
  24. package/dist/{content-WyCTQEb9.js → content-BmwgR8WP.js} +3 -3
  25. package/dist/content.js +1 -1
  26. package/dist/{cube-BHbuhZjD.cjs → cube-BB32JJuI.cjs} +1 -1
  27. package/dist/{cube-dim-JK8OwqXU.cjs → cube-dim-DTcZAlcE.cjs} +1 -1
  28. package/dist/{cube-dim-FDQVX9Sb.js → cube-dim-DgfzlG3p.js} +2 -2
  29. package/dist/{cube-fold-DMmWEicy.cjs → cube-fold-CKVQ1IDZ.cjs} +1 -1
  30. package/dist/{cube-fold-68Pk6igJ.js → cube-fold-Dp4-pf7P.js} +2 -2
  31. package/dist/{cube-grid-C5ONBtr1.cjs → cube-grid-BrxyqSNh.cjs} +1 -1
  32. package/dist/{cube-grid-DTgwN5o-.js → cube-grid-DprxkSoT.js} +2 -2
  33. package/dist/{cube-BJr0a40o.js → cube-iOzgFQbc.js} +2 -2
  34. package/dist/{dot-bar-Ddbyx-0a.cjs → dot-bar-C2PcL7wc.cjs} +1 -1
  35. package/dist/{dot-bar-CXBmT1RL.js → dot-bar-vHWpqnhw.js} +2 -2
  36. package/dist/{dot-circle-DksscvAR.js → dot-circle-DQqpkRr_.js} +2 -2
  37. package/dist/{dot-circle-DxoSLiz7.cjs → dot-circle-EInrpGOw.cjs} +1 -1
  38. package/dist/{dot-D8taMWFZ.cjs → dot-do6V9GYP.cjs} +1 -1
  39. package/dist/{dot-line-CKcmWaBb.cjs → dot-line-BEFriL91.cjs} +1 -1
  40. package/dist/{dot-line-8Z2hpBOL.js → dot-line-CorWP6p2.js} +2 -2
  41. package/dist/{dot-pulse-DVwedcib.cjs → dot-pulse-BGidqqxA.cjs} +1 -1
  42. package/dist/{dot-pulse-BC7xaifX.js → dot-pulse-OtjDlpwG.js} +2 -2
  43. package/dist/{double-bounce-BVGrEHLy.js → double-bounce-CWAE4F5S.js} +2 -2
  44. package/dist/{double-bounce-Cxp3i6ip.cjs → double-bounce-DOehLE4X.cjs} +1 -1
  45. package/dist/{drop-q8qufm5t.cjs → drop-BkBi0TEt.cjs} +1 -1
  46. package/dist/{drop-CTufsC6T.js → drop-CTSvqyOb.js} +2 -2
  47. package/dist/{dropdown-B2Sk5gQF.js → dropdown-DQy4YvVn.js} +4 -4
  48. package/dist/dropdown.js +1 -1
  49. package/dist/{factory-Ce9hR27Y.js → factory-Bbul5tOL.js} +1 -1
  50. package/dist/{form-C0-UiXLj.js → form-DwjKUNz4.js} +3 -3
  51. package/dist/form.js +1 -1
  52. package/dist/{glass-TzHfgesD.js → glass-DKQAEAmc.js} +3 -3
  53. package/dist/glass.js +1 -1
  54. package/dist/{icon-BoaQYEij.js → icon-DSIyi1nQ.js} +3 -3
  55. package/dist/icon.js +1 -1
  56. package/dist/icons.js +1 -1
  57. package/dist/iife/button.iife.js +1 -1
  58. package/dist/iife/card.iife.js +1 -1
  59. package/dist/iife/checkbox.iife.js +1 -1
  60. package/dist/iife/colorpicker.iife.js +1 -1
  61. package/dist/iife/content.iife.js +1 -1
  62. package/dist/iife/dropdown.iife.js +1 -1
  63. package/dist/iife/form.iife.js +1 -1
  64. package/dist/iife/glass.iife.js +1 -1
  65. package/dist/iife/icon.iife.js +1 -1
  66. package/dist/iife/image.iife.js +1 -1
  67. package/dist/iife/input.iife.js +1 -1
  68. package/dist/iife/link.iife.js +1 -1
  69. package/dist/iife/loading.iife.js +1 -1
  70. package/dist/iife/math.iife.js +1 -1
  71. package/dist/iife/mermaid.iife.js +1 -1
  72. package/dist/iife/message.iife.js +1 -1
  73. package/dist/iife/modal.iife.js +1 -1
  74. package/dist/iife/player.iife.js +1 -1
  75. package/dist/iife/popover.iife.js +1 -1
  76. package/dist/iife/progress.iife.js +1 -1
  77. package/dist/iife/radar.iife.js +1 -1
  78. package/dist/iife/route.iife.js +1 -1
  79. package/dist/iife/router.iife.js +1 -1
  80. package/dist/iife/scratch.iife.js +1 -1
  81. package/dist/iife/section.iife.js +1 -1
  82. package/dist/iife/select.iife.js +1 -1
  83. package/dist/iife/skeleton.iife.js +1 -1
  84. package/dist/iife/tab.iife.js +1 -1
  85. package/dist/iife/tabpane.iife.js +1 -1
  86. package/dist/iife/theme-switch.iife.js +1 -1
  87. package/dist/{image-CNpdv9k_.js → image-Bn0VuwO0.js} +3 -3
  88. package/dist/image.js +1 -1
  89. package/dist/index.cjs +3 -3
  90. package/dist/index.iife.js +106 -106
  91. package/dist/index.js +30 -30
  92. package/dist/{input-_iNjylVC.js → input-2Zz1gLzy.js} +4 -4
  93. package/dist/input.js +1 -1
  94. package/dist/{line-qgqu6ngc.cjs → line-BFm46PmI.cjs} +1 -1
  95. package/dist/{line-Bhz15vpy.js → line-Dt7YMxyn.js} +2 -2
  96. package/dist/{line-scale-CtMO8YfX.js → line-scale-BNCCcLKl.js} +2 -2
  97. package/dist/{line-scale-Dr9ILV5d.cjs → line-scale-Mzdq1fTx.cjs} +1 -1
  98. package/dist/{link-CmMSKe18.js → link-DcRMinJ9.js} +2 -2
  99. package/dist/link.js +1 -1
  100. package/dist/{loading-DHQDAkef.js → loading-BXZBOAbH.js} +30 -30
  101. package/dist/loading.js +1 -1
  102. package/dist/{math-DobANAnr.js → math-C6oaCrk-.js} +4 -4
  103. package/dist/math.js +1 -1
  104. package/dist/{mermaid-CwMPhttK.js → mermaid-Cmxzclzv.js} +4 -4
  105. package/dist/mermaid.js +1 -1
  106. package/dist/{message-CT-at-dX.js → message-E92Vu7SO.js} +4 -4
  107. package/dist/message.js +1 -1
  108. package/dist/{modal-COzuPRoz.cjs → modal-BQUM-5G3.cjs} +1 -1
  109. package/dist/{modal-DkFW7_It.js → modal-TayIRDMV.js} +3 -3
  110. package/dist/modal.js +1 -1
  111. package/dist/{pacman-DSIM9KGC.js → pacman-DqDqKzL4.js} +2 -2
  112. package/dist/{pacman-C7_BcAl5.cjs → pacman-hB0Vx_ut.cjs} +1 -1
  113. package/dist/{player-Dhv_QP4a.js → player-BZVIOmdS.js} +5 -5
  114. package/dist/player.js +1 -1
  115. package/dist/{popover-DR5ua2_I.js → popover-Bimxdeql.js} +6 -6
  116. package/dist/popover.js +1 -1
  117. package/dist/{progress-BRIBVXqD.js → progress-CNUdc_VD.js} +4 -4
  118. package/dist/progress.js +1 -1
  119. package/dist/{pulse-QISsDmFE.cjs → pulse-CPV8p0Lr.cjs} +1 -1
  120. package/dist/{pulse-DNmbppj-.js → pulse-IOuRzRUm.js} +2 -2
  121. package/dist/{radar-B9eKnRw8.js → radar-Dse0Dgma.js} +4 -4
  122. package/dist/radar.js +1 -1
  123. package/dist/{rotate-VMR047YI.cjs → rotate-O1KJozW0.cjs} +1 -1
  124. package/dist/{rotate-BX5qIRKZ.js → rotate-uZhtaw8R.js} +2 -2
  125. package/dist/{route-C9sC9d8P.js → route-Dh5S2dSW.js} +3 -3
  126. package/dist/route.js +1 -1
  127. package/dist/{router-CID9Dasr.js → router-DUxBSvIi.js} +3 -3
  128. package/dist/router.js +1 -1
  129. package/dist/{scale-out-aZu3503p.cjs → scale-out-CEERARri.cjs} +1 -1
  130. package/dist/{scale-out-DqffQsuL.js → scale-out-mSsKNtie.js} +2 -2
  131. package/dist/{scratch-y8Op8fTo.js → scratch-4TCqNbat.js} +3 -3
  132. package/dist/scratch.js +1 -1
  133. package/dist/{section-cgPwzwLR.js → section-CMN7tQ-S.js} +3 -3
  134. package/dist/section.js +1 -1
  135. package/dist/{select-Bqo_7nRL.js → select-D48kcwEy.js} +9 -9
  136. package/dist/select.js +1 -1
  137. package/dist/{skeleton-wq2ybbYv.js → skeleton-DbgMcQQ0.js} +3 -3
  138. package/dist/skeleton.js +1 -1
  139. package/dist/{solar-DaoF834l.cjs → solar-CdvkRr5X.cjs} +1 -1
  140. package/dist/{solar-BPmDmWLU.js → solar-Ck7RIK09.js} +2 -2
  141. package/dist/{square-DiBkWYAH.cjs → square-exSvykCu.cjs} +1 -1
  142. package/dist/{square-DKQ0d_O6.js → square-xGODzCyr.js} +2 -2
  143. package/dist/ssg.js +1 -1
  144. package/dist/{ssr-vZNJHtYm.js → ssr-BzHZ2bCe.js} +1 -1
  145. package/dist/ssr-stream.js +1 -1
  146. package/dist/ssr.js +1 -1
  147. package/dist/{stretch-BXJ4labN.js → stretch-Bv60MZD_.js} +2 -2
  148. package/dist/{stretch-LP22YEA3.cjs → stretch-CTFwefaK.cjs} +1 -1
  149. package/dist/{tab-DMUILL_2.js → tab-ADuziXeq.js} +3 -3
  150. package/dist/tab.js +1 -1
  151. package/dist/{tabpane-R8Kyn9jv.js → tabpane-Bisq-qpc.js} +3 -3
  152. package/dist/tabpane.js +1 -1
  153. package/dist/{text-C_XRjuGr.cjs → text-BniFEEB5.cjs} +1 -1
  154. package/dist/{text-8gI5TFOa.js → text-CX8UkbzB.js} +2 -2
  155. package/dist/{theme-DAG2-N5e.js → theme-DL6q_FZu.js} +1 -1
  156. package/dist/{theme-switch-D3MpVw-R.js → theme-switch-GbuiPclm.js} +4 -4
  157. package/dist/theme-switch.js +1 -1
  158. package/dist/theme.js +1 -1
  159. package/dist/{triple-bounce-CMwTsw-f.js → triple-bounce-BwxTDpKz.js} +2 -2
  160. package/dist/{triple-bounce-CNjk5imb.cjs → triple-bounce-BzAtF-TA.cjs} +1 -1
  161. package/dist/{utils-DqjNwwjC.js → utils-X5_TIQTQ.js} +3 -3
  162. package/dist/{utils-nntJky78.js → utils-xccQZnoa.js} +29 -25
  163. package/package.json +2 -2
  164. package/dist/builder-BjRti6oP.cjs +0 -1
@@ -1,4 +1,4 @@
1
- var ranui_math=(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var t=Object.defineProperty,n=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},r=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},i=typeof document>`u`,a=class{ac;constructor(){this.ac=new AbortController}get signal(){return this.ac.signal}on(e,t,n,r){return e.addEventListener(t,n,{...r,signal:this.ac.signal}),this}delegate(e,t,n,r,i){return e.addEventListener(n,n=>{let i=n.target?.closest(t);i&&e.contains(i)&&r(n,i)},{...i,signal:this.ac.signal}),this}abort(){this.ac.abort(),this.ac=new AbortController}},o=0,s=1,c=2,l=null,u=null,d=0,f=new Set,p=!1;function ee(e,t){let n=t?.equals??Object.is,r={value:e,observers:new Set};return[()=>(re(r),r.value),e=>{let t=typeof e==`function`?e(r.value):e;if(!n(r.value,t)){r.value=t;for(let e of r.observers)ie(e,c);d===0&&ae()}}]}function m(e){let t=te(e,!0);return ne(t),se(t),()=>le(t)}function h(e){let t={owned:[],cleanups:[],owner:u},n=u,r=l;u=t,l=null;try{return e(()=>ue(t))}finally{u=n,l=r}}function g(e){u&&u.cleanups.push(e)}function te(e,t,n){return{fn:e,sources:new Set,isEffect:t,running:!1,disposed:!1,state:c,observers:new Set,value:void 0,equals:n??Object.is,owned:[],cleanups:[],owner:u}}function ne(e){u&&u.owned.push(e)}function re(e){l&&(l.sources.add(e),e.observers.add(l))}function ie(e,t){if(e.disposed||e.state>=t)return;let n=e.state===o;if(e.state=t,e.isEffect)f.add(e);else if(n)for(let t of e.observers)ie(t,s)}function ae(){if(!(d>0||p)){p=!0;try{for(;f.size>0;){let e=[...f];f.clear();for(let t of e)t.disposed||oe(t)}}finally{p=!1}}}function oe(e){if(!(e.disposed||e.state===o)){if(e.state===s)for(let t of e.sources)`fn`in t&&oe(t);e.state===c&&se(e),e.state=o}}function se(e){if(e.running)throw Error(`ranui reactivity: cyclic dependency detected (a computation triggered itself).`);ce(e);let t=l,n=u;l=e,u=e,e.running=!0,e.state=o;try{let t=e.fn();if(e.isEffect)typeof t==`function`&&e.cleanups.push(t);else{let n=e.value;if(e.value=t,e.observers.size>0&&!e.equals(n,t))for(let t of e.observers)ie(t,c)}}finally{e.running=!1,l=t,u=n}}function ce(e){for(let t of e.owned)le(t);e.owned.length=0;for(let t of e.cleanups)t();e.cleanups.length=0;for(let t of e.sources)t.observers.delete(e);e.sources.clear()}function le(e){e.disposed||(e.disposed=!0,ce(e),e.observers.clear())}function ue(e){for(let t of e.owned)le(t);e.owned.length=0;for(let t of e.cleanups)t();e.cleanups.length=0}var de=class{_events=new Map;tap=(e,t)=>{this._events.get(e)&&e!==Symbol.for(`NEW_LISTENER`)&&this.call(Symbol.for(`NEW_LISTENER`),e);let n=this._events.get(e)||new Set;return typeof t==`function`?n.add({name:e,callback:t}):n.add(t),this._events.set(e,n),this};call=(e,...t)=>((this._events.get(e)||new Set).forEach(e=>{let{callback:n}=e;n(...t)}),this);callSync=async(e,...t)=>{let n=this._events.get(e)||new Set;for(let e of n){let{callback:n}=e;await n(...t)}return this};once=(e,t)=>{let n;if(typeof t==`function`)n={name:e,callback:(...r)=>{t(...r),this.off(e,n)},initialCallback:t};else{let{callback:r}=t;n={name:e,callback:(...t)=>{r(...t),this.off(e,n)},initialCallback:r}}return this.tap(e,n),this};off=(e,t)=>{let n=[...this._events.get(e)||new Set].filter(e=>{if(typeof t==`function`)return e.callback!==t&&e.initialCallback!==t;{let{callback:n}=t;return e.callback!==n&&e.initialCallback!==n}});return this._events.set(e,new Set(n)),this}};Math.PI/180,180/Math.PI,2*Math.PI;var fe=(e=8)=>Math.random().toString(36).substring(2,e+2);Object.freeze({});var pe=e=>typeof e==`function`,me=12e4,he=`__ranuts_bridge__`,ge=`default`,_e=new class{bridges=new Set;attachedWindow=null;handleMessage=e=>{for(let t of Array.from(this.bridges))t.receive(e)};add(e){this.bridges.add(e),typeof window<`u`&&this.attachedWindow!==window&&(window.addEventListener(`message`,this.handleMessage),this.attachedWindow=window)}remove(e){this.bridges.delete(e),this.bridges.size===0&&this.attachedWindow&&(this.attachedWindow.removeEventListener(`message`,this.handleMessage),this.attachedWindow=null)}},ve=class{targetWindow;targetOrigin;messageHandlers;pendingRequests;channel;senderId;available;constructor(e,t=`*`,n=ge){this.targetOrigin=t,this.channel=n,this.senderId=fe(12),this.messageHandlers=new Map,this.pendingRequests=new Map,this.available=typeof window<`u`,this.available?(this.targetWindow=e??window,_e.add(this)):this.targetWindow=void 0}post(e,t){let n={...t,__bridge:he,channel:this.channel,senderId:this.senderId};e.postMessage(n,this.targetOrigin)}receive=e=>{if(!this.available||this.targetOrigin!==`*`&&e.origin!==this.targetOrigin||e.source&&e.source!==this.targetWindow)return;let t=e.data;if(!t||typeof t!=`object`||t.__bridge!==`__ranuts_bridge__`||(t.channel??`default`)!==this.channel)return;let{type:n,payload:r,id:i,isResponse:a,isError:o,senderId:s}=t;if(a&&i){let e=this.pendingRequests.get(i);e&&(o?e.reject(Error(typeof r==`string`?r:`Bridge request failed`)):e.resolve(r),this.pendingRequests.delete(i));return}if(s&&s===this.senderId||typeof n!=`string`||!this.messageHandlers.has(n))return;let c=this.messageHandlers.get(n);if(pe(c)){let t=e.source??this.targetWindow;Promise.resolve(c(r)).then(e=>{i&&this.post(t,{type:n,payload:e,id:i,isResponse:!0})}).catch(e=>{i&&this.post(t,{type:n,payload:e instanceof Error?e.message:String(e),id:i,isResponse:!0,isError:!0})})}};on=(e,t)=>{this.messageHandlers.set(e,t)};off=e=>{this.messageHandlers.delete(e)};send=async(e,t)=>{if(!this.available)return Promise.reject(Error(`PostMessageBridge is unavailable outside a browser environment`));let n=fe(10);return new Promise((r,i)=>{let a=setTimeout(()=>{this.pendingRequests.has(n)&&(this.pendingRequests.delete(n),i(Error(`Request timeout`)))},me),o=e=>{clearTimeout(a),i(e)};this.pendingRequests.set(n,{resolve:e=>{clearTimeout(a),r(e)},reject:o});try{this.post(this.targetWindow,{type:e,payload:t,id:n})}catch(e){this.pendingRequests.delete(n),o(e instanceof Error?e:Error(`Failed to post message`))}})};broadcast=e=>{if(this.available)try{this.post(this.targetWindow,{type:e.type,payload:e.payload})}catch{}};destroy=()=>{_e.remove(this),this.messageHandlers.clear(),this.pendingRequests.forEach(e=>{e.reject(Error(`Bridge destroyed`))}),this.pendingRequests.clear()}};(class e{static instance;bridges=new Map;constructor(){}static getInstance(){return e.instance||=new e,e.instance}connectClient=({id:e,targetOrigin:t,targetWindow:n,channel:r})=>{let i=new ve(n,t,r);if(e||=fe(10),this.bridges.has(e))throw Error(`Bridge ${e} already exists`);return this.bridges.set(e,i),{bridge:i,id:e}};getClient=e=>this.bridges.get(e);removeClient=e=>{let t=this.bridges.get(e);t&&(t.destroy(),this.bridges.delete(e))};removeAllClient=()=>{this.bridges.forEach(e=>{e.destroy()}),this.bridges.clear()};broadcast=e=>{this.bridges.forEach(t=>{t.broadcast(e)})};sendTo=(e,t,n)=>{let r=this.getClient(e);return r?r.send(t,n):Promise.reject(Error(`Bridge ${e} not found`))}}).getInstance(),new de;var _=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],v=class{highOrder;lowOrder;constructor(e,t){this.highOrder=e,this.lowOrder=t}};new v(_[0],3609767458),new v(_[1],602891725),new v(_[2],3964484399),new v(_[3],2173295548),new v(_[4],4081628472),new v(_[5],3053834265),new v(_[6],2937671579),new v(_[7],3664609560),new v(_[8],2734883394),new v(_[9],1164996542),new v(_[10],1323610764),new v(_[11],3590304994),new v(_[12],4068182383),new v(_[13],991336113),new v(_[14],633803317),new v(_[15],3479774868),new v(_[16],2666613458),new v(_[17],944711139),new v(_[18],2341262773),new v(_[19],2007800933),new v(_[20],1495990901),new v(_[21],1856431235),new v(_[22],3175218132),new v(_[23],2198950837),new v(_[24],3999719339),new v(_[25],766784016),new v(_[26],2566594879),new v(_[27],3203337956),new v(_[28],1034457026),new v(_[29],2466948901),new v(_[30],3758326383),new v(_[31],168717936),new v(_[32],1188179964),new v(_[33],1546045734),new v(_[34],1522805485),new v(_[35],2643833823),new v(_[36],2343527390),new v(_[37],1014477480),new v(_[38],1206759142),new v(_[39],344077627),new v(_[40],1290863460),new v(_[41],3158454273),new v(_[42],3505952657),new v(_[43],106217008),new v(_[44],3606008344),new v(_[45],1432725776),new v(_[46],1467031594),new v(_[47],851169720),new v(_[48],3100823752),new v(_[49],1363258195),new v(_[50],3750685593),new v(_[51],3785050280),new v(_[52],3318307427),new v(_[53],3812723403),new v(_[54],2003034995),new v(_[55],3602036899),new v(_[56],1575990012),new v(_[57],1125592928),new v(_[58],2716904306),new v(_[59],442776044),new v(_[60],593698344),new v(_[61],3733110249),new v(_[62],2999351573),new v(_[63],3815920427),new v(3391569614,3928383900),new v(3515267271,566280711),new v(3940187606,3454069534),new v(4118630271,4000239992),new v(116418474,1914138554),new v(174292421,2731055270),new v(289380356,3203993006),new v(460393269,320620315),new v(685471733,587496836),new v(852142971,1086792851),new v(1017036298,365543100),new v(1126000580,2618297676),new v(1288033470,3409855158),new v(1501505948,4234509866),new v(1607167915,987167468),new v(1816402316,1246189591),new v(0,1),new v(0,32898),new v(2147483648,32906),new v(2147483648,2147516416),new v(0,32907),new v(0,2147483649),new v(2147483648,2147516545),new v(2147483648,32777),new v(0,138),new v(0,136),new v(0,2147516425),new v(0,2147483658),new v(0,2147516555),new v(2147483648,139),new v(2147483648,32905),new v(2147483648,32771),new v(2147483648,32770),new v(2147483648,128),new v(0,32778),new v(2147483648,2147483658),new v(2147483648,2147516545),new v(2147483648,32896),new v(0,2147483649),new v(2147483648,2147516424);var ye=/["'&<>]/;function be(e){let t=``+e,n=ye.exec(t);if(!n)return t;let r,i=``,a=0,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r=`&quot;`;break;case 38:r=`&amp;`;break;case 39:r=`&#39;`;break;case 60:r=`&lt;`;break;case 62:r=`&gt;`;break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=r}return o===a?i:i+t.substring(o,a)}var xe=new Map,Se=new Map,Ce=`data-adopted-style`,we=`data-adopted-sheet`,Te=(e,t,n)=>{if(typeof CSSStyleSheet>`u`)return!1;try{if(!n.has(t)){let e=new CSSStyleSheet;e.replaceSync(t),n.set(t,e)}let r=n.get(t);return e.adoptedStyleSheets.includes(r)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]),!0}catch{return!1}},Ee=(e,t,n=Ce)=>{if(typeof document<`u`&&t&&!Te(e,t,xe)&&!e.querySelector(`style[${n}]`)){let r=document.createElement(`style`);r.setAttribute(n,``),r.textContent=t,e.appendChild(r)}},De=(e,t,n=we)=>{if(typeof document<`u`&&t&&!Te(e,t,Se)&&!Array.from(e.querySelectorAll(`style[${n}]`)).some(e=>e.textContent===t)){let r=document.createElement(`style`);r.setAttribute(n,``),r.textContent=t,e.appendChild(r)}},Oe=new Map([[100,`Continue`],[101,`Switching Protocols`],[102,`Processing`],[103,`Early Hints`],[200,`OK`],[201,`Created`],[202,`Accepted`],[203,`Non-Authoritative Information`],[204,`No Content`],[205,`Reset Content`],[206,`Partial Content`],[207,`Multi-Status`],[208,`Already Reported`],[226,`IM Used`],[300,`Multiple Choices`],[301,`Moved Permanently`],[302,`Found`],[303,`See Other`],[304,`Not Modified`],[305,`Use Proxy`],[307,`Temporary Redirect`],[308,`Permanent Redirect`],[400,`Bad Request`],[401,`Unauthorized`],[402,`Payment Required`],[403,`Forbidden`],[404,`Not Found`],[405,`Method Not Allowed`],[406,`Not Acceptable`],[407,`Proxy Authentication Required`],[408,`Request Timeout`],[409,`Conflict`],[410,`Gone`],[411,`Length Required`],[412,`Precondition Failed`],[413,`Payload Too Large`],[414,`URI Too Long`],[415,`Unsupported Media Type`],[416,`Range Not Satisfiable`],[417,`Expectation Failed`],[418,`I'm a Teapot`],[421,`Misdirected Request`],[422,`Unprocessable Entity`],[423,`Locked`],[424,`Failed Dependency`],[425,`Too Early`],[426,`Upgrade Required`],[428,`Precondition Required`],[429,`Too Many Requests`],[431,`Request Header Fields Too Large`],[451,`Unavailable For Legal Reasons`],[500,`Internal Server Error`],[501,`Not Implemented`],[502,`Bad Gateway`],[503,`Service Unavailable`],[504,`Gateway Timeout`],[505,`HTTP Version Not Supported`],[506,`Variant Also Negotiates`],[507,`Insufficient Storage`],[508,`Loop Detected`],[509,`Bandwidth Limit Exceeded`],[510,`Not Extended`],[511,`Network Authentication Required`]]);(function(e){let t=new Map;for(let[n,r]of e)t.set(r.toLowerCase(),n);return t})(Oe),function(e){let t=[];for(let[n,r]of e)t.push(n);return t}(Oe);function ke(e){return be(e)}var Ae=e=>typeof e!=`string`&&`tagName`in e&&`childrenList`in e,je=(e,t)=>{let n=t.trim();if(!n)return!1;if(n.startsWith(`.`))return e.classList.contains(n.slice(1));if(n.startsWith(`#`))return e.getAttribute(`id`)===n.slice(1);if(n.startsWith(`[`)&&n.endsWith(`]`)){let[t,r]=n.slice(1,-1).trim().split(`=`),i=(t||``).trim();if(!i)return!1;if(r==null)return e.hasAttribute(i);let a=r.trim().replace(/^['"]|['"]$/g,``);return e.getAttribute(i)===a}return e.tagName===n.toLowerCase()},Me=(e,t,n)=>{for(let r of e)Ae(r)&&(je(r,t)&&n.push(r),Me(r.childrenList,t,n))},Ne=class{childrenList=[];appendChild(e){return this.childrenList.push(e),e}serialize(){return this.childrenList.map(e=>typeof e==`string`?be(e):e.serialize()).join(``)}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return Me(this.childrenList,e,t),t}},Pe=class{tagName;attributes=new Map;inlineStyles=new Map;childrenList=[];shadowRoot=null;textContent=null;content;eventListeners=new Map;style={setProperty:(e,t)=>{let n=e.startsWith(`--`)?e:e.replace(/([A-Z])/g,`-$1`).toLowerCase();this.inlineStyles.set(n,t)},removeProperty:e=>this.inlineStyles.delete(e)};classList={add:(...e)=>{let t=this.attributes.get(`class`)||``,n=new Set([...t.split(` `).filter(Boolean),...e]);this.attributes.set(`class`,Array.from(n).join(` `))},remove:(...e)=>{let t=(this.attributes.get(`class`)||``).split(` `).filter(t=>!e.includes(t));this.attributes.set(`class`,t.join(` `))},toggle:e=>{this.classList.contains(e)?this.classList.remove(e):this.classList.add(e)},contains:e=>(this.attributes.get(`class`)||``).split(` `).includes(e)};_innerHTML=``;get innerHTML(){return this._innerHTML}set innerHTML(e){this._innerHTML=e,this.tagName===`template`&&this.content&&(this.content.childrenList=[e])}constructor(e=`div`){this.tagName=e.toLowerCase(),this.tagName===`template`&&(this.content=new Ne)}get hidden(){return this.hasAttribute(`hidden`)}set hidden(e){e?this.setAttribute(`hidden`,``):this.removeAttribute(`hidden`)}setAttribute(e,t){this.attributes.set(e,t)}getAttribute(e){return this.attributes.get(e)||null}removeAttribute(e){this.attributes.delete(e)}hasAttribute(e){return this.attributes.has(e)}appendChild(e){return this.childrenList.push(e),e}attachShadow(e){return this.shadowRoot=new Fe(this,e),this.shadowRoot}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return Me(this.childrenList,e,t),t}addEventListener(e,t){let n=this.eventListeners.get(e)||new Set;n.add(t),this.eventListeners.set(e,n)}removeEventListener(e,t){let n=this.eventListeners.get(e);n&&(n.delete(t),n.size===0&&this.eventListeners.delete(e))}dispatchEvent(e){let t=this.eventListeners.get(e.type);if(!t||t.size===0)return!0;for(let n of t)typeof n==`function`?n.call(this,e):n.handleEvent(e);return!e.defaultPrevented}serialize(e){typeof this._preSerialize==`function`&&this._preSerialize();let t=e||this._ssrTag||this.tagName,n=Array.from(this.attributes.entries()).map(([e,t])=>` ${e}="${ke(t)}"`).join(``),r=Array.from(this.inlineStyles.entries()).map(([e,t])=>`${e}:${t}`).join(`;`),i=r?` style="${ke(r)}"`:``,a=``;return this.shadowRoot&&(a+=this.shadowRoot.serialize()),this.textContent===null?this._innerHTML?a+=this._innerHTML:a+=this.childrenList.map(e=>typeof e==`string`?be(e):(e instanceof Ne,e.serialize())).join(``):a+=be(this.textContent),[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`].includes(t)&&!a?`<${t}${n}${i} />`:`<${t}${n}${i}>${a}</${t}>`}},Fe=class{host;options;childrenList=[];adoptedStyleSheets=[];constructor(e,t){this.host=e,this.options=t}appendChild(e){return this.childrenList.push(e),e}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return Me(this.childrenList,e,t),t}serialize(){return`<template shadowrootmode="${this.options.mode}"${this.options.delegatesFocus?` shadowrootdelegatesfocus`:``}>${this.adoptedStyleSheets.map(e=>`<style>${be(e)}</style>`).join(``)}${this.childrenList.map(e=>typeof e==`string`?be(e):(e instanceof Ne,e.serialize())).join(``)}</template>`}},Ie=e=>e.reduce((e,t)=>Array.isArray(t)?e.concat(Ie(t)):e.concat(t),[]),Le=e=>e==null?null:e instanceof Ye?e.build():typeof e==`string`?i?e:document.createTextNode(e):e,Re=(e,t)=>{if(i){Je(e,[t()]);return}let n=document.createComment(``),r=document.createComment(``);e.appendChild(n),e.appendChild(r);let a=null,o=()=>{a?.(),a=null;let e=n.nextSibling;for(;e&&e!==r;){let t=e.nextSibling;e.parentNode?.removeChild(e),e=t}};m(()=>{let e=t();o();let n=document.createDocumentFragment();a=h(t=>(Je(n,[e]),t)),r.parentNode?.insertBefore(n,r)}),g(()=>a?.())},ze=`__ranFor`,Be=e=>typeof e==`object`&&!!e&&e[ze]===!0,Ve=(e,t,n)=>{let[r,i]=ee(t),a=null,o=h(t=>{let i=Le(n(e,r));return a=typeof i==`string`?document.createTextNode(i):i,t});return{node:a,index:i,dispose:o}},He=(e,t)=>{let n=e.parentNode;if(!n)return;let r=e;for(let e of t)r.nextSibling!==e&&n.insertBefore(e,r.nextSibling),r=e},Ue=(e,t)=>{if(i){(t.each()??[]).forEach((n,r)=>{let i=Le(t.render(n,()=>r));i!=null&&e.appendChild(i)});return}let n=document.createComment(``);e.appendChild(n);let r=new Map;g(()=>{for(let e of r.values())e.dispose();r.clear()}),m(()=>{let e=t.each()??[],i=new Map,a=[];e.forEach((e,n)=>{let o=t.key(e,n);if(i.has(o))return;let s=r.get(o);s?(r.delete(o),s.index(n)):s=Ve(e,n,t.render),i.set(o,s),s.node&&a.push(s.node)});for(let e of r.values())e.node?.parentNode?.removeChild(e.node),e.dispose();He(n,a),r=i})},We=`__ranIndex`,Ge=e=>typeof e==`object`&&!!e&&e[We]===!0,Ke=(e,t,n)=>{let[r,i]=ee(e),a=null,o=h(e=>{let i=Le(n(r,t));return a=typeof i==`string`?document.createTextNode(i):i,e});return{node:a,setItem:i,dispose:o}},qe=(e,t)=>{if(i){(t.each()??[]).forEach((n,r)=>{let i=Le(t.render(()=>n,r));i!=null&&e.appendChild(i)});return}let n=document.createComment(``);e.appendChild(n);let r=[];g(()=>{for(let e of r)e.dispose();r=[]}),m(()=>{let e=t.each()??[];for(let n=0;n<e.length;n++)n<r.length?r[n].setItem(e[n]):r.push(Ke(e[n],n,t.render));for(let t=r.length-1;t>=e.length;t--){let{node:e}=r[t];e?.parentNode?.removeChild(e),r[t].dispose(),r.pop()}He(n,r.map(e=>e.node).filter(e=>e!=null))})},Je=(e,t)=>{Ie(t).forEach(t=>{if(Be(t)){Ue(e,t);return}if(Ge(t)){qe(e,t);return}if(typeof t==`function`){Re(e,t);return}let n=Le(t);n!=null&&e.appendChild(n)})},Ye=class{el;constructor(e){this.el=i?new Pe(e):document.createElement(e)}id(e){return this.el.setAttribute(`id`,e),this}bind(e,t){typeof e==`function`?m(()=>t(e())):t(e)}class(e){return this.bind(e,e=>{i?this.el.attributes.set(`class`,e):this.el.className=e}),this}addClass(...e){return e.forEach(e=>this.el.classList.add(e)),this}removeClass(...e){return e.forEach(e=>this.el.classList.remove(e)),this}attr(e,t){return this.bind(t,t=>this.el.setAttribute(e,t)),this}attrs(e){return Object.entries(e).forEach(([e,t])=>{t!=null&&this.el.setAttribute(e,String(t))}),this}boolAttr(e,t,n=``){return this.bind(t,t=>{t?this.el.setAttribute(e,n):this.el.removeAttribute(e)}),this}part(e){return this.attr(`part`,e)}data(e,t){return this.attr(`data-${e}`,t)}style(e,t){return typeof e==`string`?this.bind(t??``,t=>this.el.style.setProperty(e,t)):Object.entries(e).forEach(([e,t])=>this.el.style.setProperty(e,t)),this}cssVar(e,t){let n=e.startsWith(`--`)?e:`--${e}`;return this.style(n,t)}aria(e,t){return this.attr(`aria-${e}`,t)}role(e){return this.attr(`role`,e)}tabIndex(e){return this.attr(`tabindex`,String(e))}label(e){return this.aria(`label`,e)}labelledBy(e){return this.aria(`labelledby`,e)}describedBy(e){return this.aria(`describedby`,e)}ariaHidden(e=!0){return this.aria(`hidden`,String(e))}on(e,t,n){return this.el.addEventListener(e,t,n),this}listen(e,t,n,r){return e.on(this.el,t,n,r),this}delegate(e,t,n,r,i){return e.delegate(this.el,t,n,r,i),this}children(...e){return Je(this.el,e),this}replaceChildren(...e){if(i){let e=this.el;e.childrenList=[]}else this.el.replaceChildren();return this.children(...e)}text(e){return this.bind(e,e=>{this.el.textContent=e}),this}ref(e){return e.current=this.el,this}shadow(e={mode:`closed`}){let t=this.el.attachShadow(e);return new Xe(this.el,t,e)}build(){return this.el}serialize(){if(i)return this.el.serialize();let e=document.createElement(`div`);return e.appendChild(this.el.cloneNode(!0)),e.innerHTML}},Xe=class{root;hostEl;options;constructor(e,t,n){this.hostEl=e,this.root=t,this.options=n}children(...e){return Je(this.root,e),this}adoptSheet(...e){return this.root.adoptedStyleSheets=[...this.root.adoptedStyleSheets,...e],this}css(e){if(i)return this.root.adoptedStyleSheets.push(e),this;if(typeof CSSStyleSheet<`u`)try{let t=new CSSStyleSheet;return t.replaceSync(e),this.root.adoptedStyleSheets=[...this.root.adoptedStyleSheets,t],this}catch{}let t=document.createElement(`style`);return t.textContent=e,this.root.appendChild(t),this}done(){return{host:this.hostEl,shadow:this.root}}serialize(){return i?this.root.serialize():this.root.innerHTML}},Ze=e=>new Ye(e),Qe=()=>Ze(`div`),$e=new Map;function et(e,t){i?($e.set(e,t),t.prototype._ssrTag=e):customElements.get(e)||customElements.define(e,t)}var tt=typeof document<`u`?HTMLElement:Pe,nt=`data-ranui`,rt=`data-ranui-sheet`,it=(e,t)=>Ee(e,t,nt),at=(e,t)=>De(e,t,rt),ot=new WeakMap,st=`@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}`,ct=(e,t=``,n={mode:`closed`})=>{let r=e.shadowRoot||ot.get(e)||e.attachShadow(n);return ot.set(e,r),it(r,t?`${t}\n${st}`:st),r},lt=(e,t,n)=>{let r=e.querySelector(t);if(r)return r;let i=n();return e.appendChild(i),i},y=(e,t,n=``)=>e.getAttribute(t)??n,ut=(e,t,n,r={})=>{if(r.removeEmpty&&!n){e.removeAttribute(t);return}e.setAttribute(t,n??``)},dt=(e,t,n,r={})=>{if(n){e.setAttribute(t,``),r.aria&&e.setAttribute(`aria-${r.aria}`,`true`);return}e.removeAttribute(t),r.aria&&e.removeAttribute(`aria-${r.aria}`)},ft=(e,t,n,r,i)=>{if(n!==`sheet`||r===i)return;let a=e.getAttribute(`sheet`)||``;a&&at(t,a)},pt=`.remove-wap-active-focus,.remove-wap-active-focus:active,.remove-wap-active-focus:focus{-webkit-tap-highlight-color:transparent;outline:0}:host{display:var(--ran-icon-host-display,inline-flex)}:host([spin]){animation-name:var(--ran-icon-host-spin-animation-name,rotate);animation-duration:var(--ran-icon-host-spin-animation-name,1.4s);animation-timing-function:linear;animation-iteration-count:var(--ran-icon-host-spin-animation-name,infinite)}.ran-icon{display:var(--ran-icon-display,flex);align-items:var(--ran-icon-align-items,center);justify-content:var(--ran-icon-justify-content,center);color:var(--ran-icon-color,inherit);font-size:var(--ran-icon-font-size,1em);margin:var(--ran-icon-margin,0)}.ran-icon svg{width:var(--ran-icon-svg-width,1em);height:var(--ran-icon-svg-height,1em);fill:var(--ran-icon-svg-fill,currentColor);stroke:var(--ran-icon-svg-stroke,currentColor)}@keyframes rotate{to{transform:var(--ran-icon-keyframes-to-transform,rotate(360deg))}}`,mt=r({default:()=>ht}),ht,gt=n((()=>{ht={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></g></svg>`}})),_t=r({default:()=>vt}),vt,yt=n((()=>{vt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></g></svg>`}})),bt=r({default:()=>xt}),xt,St=n((()=>{xt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></g></svg>`}})),Ct=r({default:()=>wt}),wt,Tt=n((()=>{wt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M8 21H5a2 2 0 0 1-2-2v-3m18 0v3a2 2 0 0 1-2 2h-3"/></g></svg>`}})),Et=r({default:()=>Dt}),Dt,Ot=n((()=>{Dt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="11" y1="8" x2="11" y2="14"/><line x1="8" y1="11" x2="14" y2="11"/></g></svg>`}})),kt=r({default:()=>At}),At,jt=n((()=>{At={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="8" y1="11" x2="14" y2="11"/></g></svg>`}})),Mt=r({default:()=>Nt}),Nt,Pt=n((()=>{Nt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 4 23 10 17 10"/><polyline points="1 20 1 14 7 14"/><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/></g></svg>`}}));gt(),yt(),St(),Tt(),Ot(),jt(),Pt();var Ft={copy:ht,check:vt,download:xt,fullscreen:wt,"zoom-in":Dt,"zoom-out":At,refresh:Nt},It=r({default:()=>Lt}),Lt,Rt=n((()=>{Lt={success:!0,_identification:!0,data:`<svg t="1667110768583" class="icon" viewBox="0 0 1024 1024" version="1.1"
1
+ var ranui_math=(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var t=Object.defineProperty,n=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},r=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},i=typeof document>`u`,a=class{ac;constructor(){this.ac=new AbortController}get signal(){return this.ac.signal}on(e,t,n,r){return e.addEventListener(t,n,{...r,signal:this.ac.signal}),this}delegate(e,t,n,r,i){return e.addEventListener(n,n=>{let i=n.target?.closest(t);i&&e.contains(i)&&r(n,i)},{...i,signal:this.ac.signal}),this}abort(){this.ac.abort(),this.ac=new AbortController}},o=0,s=1,c=2,l=null,u=null,d=0,f=new Set,p=!1;function ee(e,t){let n=t?.equals??Object.is,r={value:e,observers:new Set};return[()=>(re(r),r.value),e=>{let t=typeof e==`function`?e(r.value):e;if(!n(r.value,t)){r.value=t;for(let e of r.observers)ie(e,c);d===0&&ae()}}]}function m(e){let t=te(e,!0);return ne(t),se(t),()=>le(t)}function h(e){let t={owned:[],cleanups:[],owner:u},n=u,r=l;u=t,l=null;try{return e(()=>ue(t))}finally{u=n,l=r}}function g(e){u&&u.cleanups.push(e)}function te(e,t,n){return{fn:e,sources:new Set,isEffect:t,running:!1,disposed:!1,state:c,observers:new Set,value:void 0,equals:n??Object.is,owned:[],cleanups:[],owner:u}}function ne(e){u&&u.owned.push(e)}function re(e){l&&(l.sources.add(e),e.observers.add(l))}function ie(e,t){if(e.disposed||e.state>=t)return;let n=e.state===o;if(e.state=t,e.isEffect)f.add(e);else if(n)for(let t of e.observers)ie(t,s)}function ae(){if(!(d>0||p)){p=!0;try{for(;f.size>0;){let e=[...f];f.clear();for(let t of e)t.disposed||oe(t)}}finally{p=!1}}}function oe(e){if(!(e.disposed||e.state===o)){if(e.state===s)for(let t of e.sources)`fn`in t&&oe(t);e.state===c&&se(e),e.state=o}}function se(e){if(e.running)throw Error(`ranui reactivity: cyclic dependency detected (a computation triggered itself).`);ce(e);let t=l,n=u;l=e,u=e,e.running=!0,e.state=o;try{let t=e.fn();if(e.isEffect)typeof t==`function`&&e.cleanups.push(t);else{let n=e.value;if(e.value=t,e.observers.size>0&&!e.equals(n,t))for(let t of e.observers)ie(t,c)}}finally{e.running=!1,l=t,u=n}}function ce(e){for(let t of e.owned)le(t);e.owned.length=0;for(let t of e.cleanups)t();e.cleanups.length=0;for(let t of e.sources)t.observers.delete(e);e.sources.clear()}function le(e){e.disposed||(e.disposed=!0,ce(e),e.observers.clear())}function ue(e){for(let t of e.owned)le(t);e.owned.length=0;for(let t of e.cleanups)t();e.cleanups.length=0}var de=class{_events=new Map;tap=(e,t)=>{this._events.get(e)&&e!==Symbol.for(`NEW_LISTENER`)&&this.call(Symbol.for(`NEW_LISTENER`),e);let n=this._events.get(e)||new Set;return typeof t==`function`?n.add({name:e,callback:t}):n.add(t),this._events.set(e,n),this};call=(e,...t)=>((this._events.get(e)||new Set).forEach(e=>{let{callback:n}=e;n(...t)}),this);callSync=async(e,...t)=>{let n=this._events.get(e)||new Set;for(let e of n){let{callback:n}=e;await n(...t)}return this};once=(e,t)=>{let n;if(typeof t==`function`)n={name:e,callback:(...r)=>{t(...r),this.off(e,n)},initialCallback:t};else{let{callback:r}=t;n={name:e,callback:(...t)=>{r(...t),this.off(e,n)},initialCallback:r}}return this.tap(e,n),this};off=(e,t)=>{let n=[...this._events.get(e)||new Set].filter(e=>{if(typeof t==`function`)return e.callback!==t&&e.initialCallback!==t;{let{callback:n}=t;return e.callback!==n&&e.initialCallback!==n}});return this._events.set(e,new Set(n)),this}};Math.PI/180,180/Math.PI,2*Math.PI;var fe=(e=8)=>Math.random().toString(36).substring(2,e+2);Object.freeze({});var pe=e=>typeof e==`function`,me=12e4,he=`__ranuts_bridge__`,ge=`default`,_e=new class{bridges=new Set;attachedWindow=null;handleMessage=e=>{for(let t of Array.from(this.bridges))t.receive(e)};add(e){this.bridges.add(e),typeof window<`u`&&this.attachedWindow!==window&&(window.addEventListener(`message`,this.handleMessage),this.attachedWindow=window)}remove(e){this.bridges.delete(e),this.bridges.size===0&&this.attachedWindow&&(this.attachedWindow.removeEventListener(`message`,this.handleMessage),this.attachedWindow=null)}},ve=class{targetWindow;targetOrigin;messageHandlers;pendingRequests;channel;senderId;available;constructor(e,t=`*`,n=ge){this.targetOrigin=t,this.channel=n,this.senderId=fe(12),this.messageHandlers=new Map,this.pendingRequests=new Map,this.available=typeof window<`u`,this.available?(this.targetWindow=e??window,_e.add(this)):this.targetWindow=void 0}post(e,t){let n={...t,__bridge:he,channel:this.channel,senderId:this.senderId};e.postMessage(n,this.targetOrigin)}receive=e=>{if(!this.available||this.targetOrigin!==`*`&&e.origin!==this.targetOrigin||e.source&&e.source!==this.targetWindow)return;let t=e.data;if(!t||typeof t!=`object`||t.__bridge!==`__ranuts_bridge__`||(t.channel??`default`)!==this.channel)return;let{type:n,payload:r,id:i,isResponse:a,isError:o,senderId:s}=t;if(a&&i){let e=this.pendingRequests.get(i);e&&(o?e.reject(Error(typeof r==`string`?r:`Bridge request failed`)):e.resolve(r),this.pendingRequests.delete(i));return}if(s&&s===this.senderId||typeof n!=`string`||!this.messageHandlers.has(n))return;let c=this.messageHandlers.get(n);if(pe(c)){let t=e.source??this.targetWindow;Promise.resolve(c(r)).then(e=>{i&&this.post(t,{type:n,payload:e,id:i,isResponse:!0})}).catch(e=>{i&&this.post(t,{type:n,payload:e instanceof Error?e.message:String(e),id:i,isResponse:!0,isError:!0})})}};on=(e,t)=>{this.messageHandlers.set(e,t)};off=e=>{this.messageHandlers.delete(e)};send=async(e,t)=>{if(!this.available)return Promise.reject(Error(`PostMessageBridge is unavailable outside a browser environment`));let n=fe(10);return new Promise((r,i)=>{let a=setTimeout(()=>{this.pendingRequests.has(n)&&(this.pendingRequests.delete(n),i(Error(`Request timeout`)))},me),o=e=>{clearTimeout(a),i(e)};this.pendingRequests.set(n,{resolve:e=>{clearTimeout(a),r(e)},reject:o});try{this.post(this.targetWindow,{type:e,payload:t,id:n})}catch(e){this.pendingRequests.delete(n),o(e instanceof Error?e:Error(`Failed to post message`))}})};broadcast=e=>{if(this.available)try{this.post(this.targetWindow,{type:e.type,payload:e.payload})}catch{}};destroy=()=>{_e.remove(this),this.messageHandlers.clear(),this.pendingRequests.forEach(e=>{e.reject(Error(`Bridge destroyed`))}),this.pendingRequests.clear()}};(class e{static instance;bridges=new Map;constructor(){}static getInstance(){return e.instance||=new e,e.instance}connectClient=({id:e,targetOrigin:t,targetWindow:n,channel:r})=>{let i=new ve(n,t,r);if(e||=fe(10),this.bridges.has(e))throw Error(`Bridge ${e} already exists`);return this.bridges.set(e,i),{bridge:i,id:e}};getClient=e=>this.bridges.get(e);removeClient=e=>{let t=this.bridges.get(e);t&&(t.destroy(),this.bridges.delete(e))};removeAllClient=()=>{this.bridges.forEach(e=>{e.destroy()}),this.bridges.clear()};broadcast=e=>{this.bridges.forEach(t=>{t.broadcast(e)})};sendTo=(e,t,n)=>{let r=this.getClient(e);return r?r.send(t,n):Promise.reject(Error(`Bridge ${e} not found`))}}).getInstance(),new de;var _=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],v=class{highOrder;lowOrder;constructor(e,t){this.highOrder=e,this.lowOrder=t}};new v(_[0],3609767458),new v(_[1],602891725),new v(_[2],3964484399),new v(_[3],2173295548),new v(_[4],4081628472),new v(_[5],3053834265),new v(_[6],2937671579),new v(_[7],3664609560),new v(_[8],2734883394),new v(_[9],1164996542),new v(_[10],1323610764),new v(_[11],3590304994),new v(_[12],4068182383),new v(_[13],991336113),new v(_[14],633803317),new v(_[15],3479774868),new v(_[16],2666613458),new v(_[17],944711139),new v(_[18],2341262773),new v(_[19],2007800933),new v(_[20],1495990901),new v(_[21],1856431235),new v(_[22],3175218132),new v(_[23],2198950837),new v(_[24],3999719339),new v(_[25],766784016),new v(_[26],2566594879),new v(_[27],3203337956),new v(_[28],1034457026),new v(_[29],2466948901),new v(_[30],3758326383),new v(_[31],168717936),new v(_[32],1188179964),new v(_[33],1546045734),new v(_[34],1522805485),new v(_[35],2643833823),new v(_[36],2343527390),new v(_[37],1014477480),new v(_[38],1206759142),new v(_[39],344077627),new v(_[40],1290863460),new v(_[41],3158454273),new v(_[42],3505952657),new v(_[43],106217008),new v(_[44],3606008344),new v(_[45],1432725776),new v(_[46],1467031594),new v(_[47],851169720),new v(_[48],3100823752),new v(_[49],1363258195),new v(_[50],3750685593),new v(_[51],3785050280),new v(_[52],3318307427),new v(_[53],3812723403),new v(_[54],2003034995),new v(_[55],3602036899),new v(_[56],1575990012),new v(_[57],1125592928),new v(_[58],2716904306),new v(_[59],442776044),new v(_[60],593698344),new v(_[61],3733110249),new v(_[62],2999351573),new v(_[63],3815920427),new v(3391569614,3928383900),new v(3515267271,566280711),new v(3940187606,3454069534),new v(4118630271,4000239992),new v(116418474,1914138554),new v(174292421,2731055270),new v(289380356,3203993006),new v(460393269,320620315),new v(685471733,587496836),new v(852142971,1086792851),new v(1017036298,365543100),new v(1126000580,2618297676),new v(1288033470,3409855158),new v(1501505948,4234509866),new v(1607167915,987167468),new v(1816402316,1246189591),new v(0,1),new v(0,32898),new v(2147483648,32906),new v(2147483648,2147516416),new v(0,32907),new v(0,2147483649),new v(2147483648,2147516545),new v(2147483648,32777),new v(0,138),new v(0,136),new v(0,2147516425),new v(0,2147483658),new v(0,2147516555),new v(2147483648,139),new v(2147483648,32905),new v(2147483648,32771),new v(2147483648,32770),new v(2147483648,128),new v(0,32778),new v(2147483648,2147483658),new v(2147483648,2147516545),new v(2147483648,32896),new v(0,2147483649),new v(2147483648,2147516424);var ye=/["'&<>]/;function be(e){let t=``+e,n=ye.exec(t);if(!n)return t;let r,i=``,a=0,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r=`&quot;`;break;case 38:r=`&amp;`;break;case 39:r=`&#39;`;break;case 60:r=`&lt;`;break;case 62:r=`&gt;`;break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=r}return o===a?i:i+t.substring(o,a)}var xe=new Map,Se=new Map,Ce=`data-adopted-style`,we=`data-adopted-sheet`,Te=(e,t,n)=>{if(typeof CSSStyleSheet>`u`)return!1;try{if(!n.has(t)){let e=new CSSStyleSheet;e.replaceSync(t),n.set(t,e)}let r=n.get(t);return e.adoptedStyleSheets.includes(r)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]),!0}catch{return!1}},Ee=(e,t,n=Ce)=>{if(typeof document<`u`&&t&&!Te(e,t,xe)&&!e.querySelector(`style[${n}]`)){let r=document.createElement(`style`);r.setAttribute(n,``),r.textContent=t,e.appendChild(r)}},De=(e,t,n=we)=>{if(typeof document<`u`&&t&&!Te(e,t,Se)&&!Array.from(e.querySelectorAll(`style[${n}]`)).some(e=>e.textContent===t)){let r=document.createElement(`style`);r.setAttribute(n,``),r.textContent=t,e.appendChild(r)}};(()=>{let e=new Uint8Array(128);for(let t=0;t<78;t++)e[`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-.,!?;:'"()[]{}`.charCodeAt(t)]=1;return e})();var Oe=new Map([[100,`Continue`],[101,`Switching Protocols`],[102,`Processing`],[103,`Early Hints`],[200,`OK`],[201,`Created`],[202,`Accepted`],[203,`Non-Authoritative Information`],[204,`No Content`],[205,`Reset Content`],[206,`Partial Content`],[207,`Multi-Status`],[208,`Already Reported`],[226,`IM Used`],[300,`Multiple Choices`],[301,`Moved Permanently`],[302,`Found`],[303,`See Other`],[304,`Not Modified`],[305,`Use Proxy`],[307,`Temporary Redirect`],[308,`Permanent Redirect`],[400,`Bad Request`],[401,`Unauthorized`],[402,`Payment Required`],[403,`Forbidden`],[404,`Not Found`],[405,`Method Not Allowed`],[406,`Not Acceptable`],[407,`Proxy Authentication Required`],[408,`Request Timeout`],[409,`Conflict`],[410,`Gone`],[411,`Length Required`],[412,`Precondition Failed`],[413,`Payload Too Large`],[414,`URI Too Long`],[415,`Unsupported Media Type`],[416,`Range Not Satisfiable`],[417,`Expectation Failed`],[418,`I'm a Teapot`],[421,`Misdirected Request`],[422,`Unprocessable Entity`],[423,`Locked`],[424,`Failed Dependency`],[425,`Too Early`],[426,`Upgrade Required`],[428,`Precondition Required`],[429,`Too Many Requests`],[431,`Request Header Fields Too Large`],[451,`Unavailable For Legal Reasons`],[500,`Internal Server Error`],[501,`Not Implemented`],[502,`Bad Gateway`],[503,`Service Unavailable`],[504,`Gateway Timeout`],[505,`HTTP Version Not Supported`],[506,`Variant Also Negotiates`],[507,`Insufficient Storage`],[508,`Loop Detected`],[509,`Bandwidth Limit Exceeded`],[510,`Not Extended`],[511,`Network Authentication Required`]]);(function(e){let t=new Map;for(let[n,r]of e)t.set(r.toLowerCase(),n);return t})(Oe),function(e){let t=[];for(let[n,r]of e)t.push(n);return t}(Oe);function ke(e){return be(e)}var Ae=e=>typeof e!=`string`&&`tagName`in e&&`childrenList`in e,je=(e,t)=>{let n=t.trim();if(!n)return!1;if(n.startsWith(`.`))return e.classList.contains(n.slice(1));if(n.startsWith(`#`))return e.getAttribute(`id`)===n.slice(1);if(n.startsWith(`[`)&&n.endsWith(`]`)){let[t,r]=n.slice(1,-1).trim().split(`=`),i=(t||``).trim();if(!i)return!1;if(r==null)return e.hasAttribute(i);let a=r.trim().replace(/^['"]|['"]$/g,``);return e.getAttribute(i)===a}return e.tagName===n.toLowerCase()},Me=(e,t,n)=>{for(let r of e)Ae(r)&&(je(r,t)&&n.push(r),Me(r.childrenList,t,n))},Ne=class{childrenList=[];appendChild(e){return this.childrenList.push(e),e}serialize(){return this.childrenList.map(e=>typeof e==`string`?be(e):e.serialize()).join(``)}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return Me(this.childrenList,e,t),t}},Pe=class{tagName;attributes=new Map;inlineStyles=new Map;childrenList=[];shadowRoot=null;textContent=null;content;eventListeners=new Map;style={setProperty:(e,t)=>{let n=e.startsWith(`--`)?e:e.replace(/([A-Z])/g,`-$1`).toLowerCase();this.inlineStyles.set(n,t)},removeProperty:e=>this.inlineStyles.delete(e)};classList={add:(...e)=>{let t=this.attributes.get(`class`)||``,n=new Set([...t.split(` `).filter(Boolean),...e]);this.attributes.set(`class`,Array.from(n).join(` `))},remove:(...e)=>{let t=(this.attributes.get(`class`)||``).split(` `).filter(t=>!e.includes(t));this.attributes.set(`class`,t.join(` `))},toggle:e=>{this.classList.contains(e)?this.classList.remove(e):this.classList.add(e)},contains:e=>(this.attributes.get(`class`)||``).split(` `).includes(e)};_innerHTML=``;get innerHTML(){return this._innerHTML}set innerHTML(e){this._innerHTML=e,this.tagName===`template`&&this.content&&(this.content.childrenList=[e])}constructor(e=`div`){this.tagName=e.toLowerCase(),this.tagName===`template`&&(this.content=new Ne)}get hidden(){return this.hasAttribute(`hidden`)}set hidden(e){e?this.setAttribute(`hidden`,``):this.removeAttribute(`hidden`)}setAttribute(e,t){this.attributes.set(e,t)}getAttribute(e){return this.attributes.get(e)||null}removeAttribute(e){this.attributes.delete(e)}hasAttribute(e){return this.attributes.has(e)}appendChild(e){return this.childrenList.push(e),e}attachShadow(e){return this.shadowRoot=new Fe(this,e),this.shadowRoot}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return Me(this.childrenList,e,t),t}addEventListener(e,t){let n=this.eventListeners.get(e)||new Set;n.add(t),this.eventListeners.set(e,n)}removeEventListener(e,t){let n=this.eventListeners.get(e);n&&(n.delete(t),n.size===0&&this.eventListeners.delete(e))}dispatchEvent(e){let t=this.eventListeners.get(e.type);if(!t||t.size===0)return!0;for(let n of t)typeof n==`function`?n.call(this,e):n.handleEvent(e);return!e.defaultPrevented}serialize(e){typeof this._preSerialize==`function`&&this._preSerialize();let t=e||this._ssrTag||this.tagName,n=Array.from(this.attributes.entries()).map(([e,t])=>` ${e}="${ke(t)}"`).join(``),r=Array.from(this.inlineStyles.entries()).map(([e,t])=>`${e}:${t}`).join(`;`),i=r?` style="${ke(r)}"`:``,a=``;return this.shadowRoot&&(a+=this.shadowRoot.serialize()),this.textContent===null?this._innerHTML?a+=this._innerHTML:a+=this.childrenList.map(e=>typeof e==`string`?be(e):(e instanceof Ne,e.serialize())).join(``):a+=be(this.textContent),[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`].includes(t)&&!a?`<${t}${n}${i} />`:`<${t}${n}${i}>${a}</${t}>`}},Fe=class{host;options;childrenList=[];adoptedStyleSheets=[];constructor(e,t){this.host=e,this.options=t}appendChild(e){return this.childrenList.push(e),e}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return Me(this.childrenList,e,t),t}serialize(){return`<template shadowrootmode="${this.options.mode}"${this.options.delegatesFocus?` shadowrootdelegatesfocus`:``}>${this.adoptedStyleSheets.map(e=>`<style>${be(e)}</style>`).join(``)}${this.childrenList.map(e=>typeof e==`string`?be(e):(e instanceof Ne,e.serialize())).join(``)}</template>`}},Ie=e=>e.reduce((e,t)=>Array.isArray(t)?e.concat(Ie(t)):e.concat(t),[]),Le=e=>e==null?null:e instanceof Ye?e.build():typeof e==`string`?i?e:document.createTextNode(e):e,Re=(e,t)=>{if(i){Je(e,[t()]);return}let n=document.createComment(``),r=document.createComment(``);e.appendChild(n),e.appendChild(r);let a=null,o=()=>{a?.(),a=null;let e=n.nextSibling;for(;e&&e!==r;){let t=e.nextSibling;e.parentNode?.removeChild(e),e=t}};m(()=>{let e=t();o();let n=document.createDocumentFragment();a=h(t=>(Je(n,[e]),t)),r.parentNode?.insertBefore(n,r)}),g(()=>a?.())},ze=`__ranFor`,Be=e=>typeof e==`object`&&!!e&&e[ze]===!0,Ve=(e,t,n)=>{let[r,i]=ee(t),a=null,o=h(t=>{let i=Le(n(e,r));return a=typeof i==`string`?document.createTextNode(i):i,t});return{node:a,index:i,dispose:o}},He=(e,t)=>{let n=e.parentNode;if(!n)return;let r=e;for(let e of t)r.nextSibling!==e&&n.insertBefore(e,r.nextSibling),r=e},Ue=(e,t)=>{if(i){(t.each()??[]).forEach((n,r)=>{let i=Le(t.render(n,()=>r));i!=null&&e.appendChild(i)});return}let n=document.createComment(``);e.appendChild(n);let r=new Map;g(()=>{for(let e of r.values())e.dispose();r.clear()}),m(()=>{let e=t.each()??[],i=new Map,a=[];e.forEach((e,n)=>{let o=t.key(e,n);if(i.has(o))return;let s=r.get(o);s?(r.delete(o),s.index(n)):s=Ve(e,n,t.render),i.set(o,s),s.node&&a.push(s.node)});for(let e of r.values())e.node?.parentNode?.removeChild(e.node),e.dispose();He(n,a),r=i})},We=`__ranIndex`,Ge=e=>typeof e==`object`&&!!e&&e[We]===!0,Ke=(e,t,n)=>{let[r,i]=ee(e),a=null,o=h(e=>{let i=Le(n(r,t));return a=typeof i==`string`?document.createTextNode(i):i,e});return{node:a,setItem:i,dispose:o}},qe=(e,t)=>{if(i){(t.each()??[]).forEach((n,r)=>{let i=Le(t.render(()=>n,r));i!=null&&e.appendChild(i)});return}let n=document.createComment(``);e.appendChild(n);let r=[];g(()=>{for(let e of r)e.dispose();r=[]}),m(()=>{let e=t.each()??[];for(let n=0;n<e.length;n++)n<r.length?r[n].setItem(e[n]):r.push(Ke(e[n],n,t.render));for(let t=r.length-1;t>=e.length;t--){let{node:e}=r[t];e?.parentNode?.removeChild(e),r[t].dispose(),r.pop()}He(n,r.map(e=>e.node).filter(e=>e!=null))})},Je=(e,t)=>{Ie(t).forEach(t=>{if(Be(t)){Ue(e,t);return}if(Ge(t)){qe(e,t);return}if(typeof t==`function`){Re(e,t);return}let n=Le(t);n!=null&&e.appendChild(n)})},Ye=class{el;constructor(e){this.el=i?new Pe(e):document.createElement(e)}id(e){return this.el.setAttribute(`id`,e),this}bind(e,t){typeof e==`function`?m(()=>t(e())):t(e)}class(e){return this.bind(e,e=>{i?this.el.attributes.set(`class`,e):this.el.className=e}),this}addClass(...e){return e.forEach(e=>this.el.classList.add(e)),this}removeClass(...e){return e.forEach(e=>this.el.classList.remove(e)),this}attr(e,t){return this.bind(t,t=>this.el.setAttribute(e,t)),this}attrs(e){return Object.entries(e).forEach(([e,t])=>{t!=null&&this.el.setAttribute(e,String(t))}),this}boolAttr(e,t,n=``){return this.bind(t,t=>{t?this.el.setAttribute(e,n):this.el.removeAttribute(e)}),this}part(e){return this.attr(`part`,e)}data(e,t){return this.attr(`data-${e}`,t)}style(e,t){return typeof e==`string`?this.bind(t??``,t=>this.el.style.setProperty(e,t)):Object.entries(e).forEach(([e,t])=>this.el.style.setProperty(e,t)),this}cssVar(e,t){let n=e.startsWith(`--`)?e:`--${e}`;return this.style(n,t)}aria(e,t){return this.attr(`aria-${e}`,t)}role(e){return this.attr(`role`,e)}tabIndex(e){return this.attr(`tabindex`,String(e))}label(e){return this.aria(`label`,e)}labelledBy(e){return this.aria(`labelledby`,e)}describedBy(e){return this.aria(`describedby`,e)}ariaHidden(e=!0){return this.aria(`hidden`,String(e))}on(e,t,n){return this.el.addEventListener(e,t,n),this}listen(e,t,n,r){return e.on(this.el,t,n,r),this}delegate(e,t,n,r,i){return e.delegate(this.el,t,n,r,i),this}children(...e){return Je(this.el,e),this}replaceChildren(...e){if(i){let e=this.el;e.childrenList=[]}else this.el.replaceChildren();return this.children(...e)}text(e){return this.bind(e,e=>{this.el.textContent=e}),this}ref(e){return e.current=this.el,this}shadow(e={mode:`closed`}){let t=this.el.attachShadow(e);return new Xe(this.el,t,e)}build(){return this.el}serialize(){if(i)return this.el.serialize();let e=document.createElement(`div`);return e.appendChild(this.el.cloneNode(!0)),e.innerHTML}},Xe=class{root;hostEl;options;constructor(e,t,n){this.hostEl=e,this.root=t,this.options=n}children(...e){return Je(this.root,e),this}adoptSheet(...e){return this.root.adoptedStyleSheets=[...this.root.adoptedStyleSheets,...e],this}css(e){if(i)return this.root.adoptedStyleSheets.push(e),this;if(typeof CSSStyleSheet<`u`)try{let t=new CSSStyleSheet;return t.replaceSync(e),this.root.adoptedStyleSheets=[...this.root.adoptedStyleSheets,t],this}catch{}let t=document.createElement(`style`);return t.textContent=e,this.root.appendChild(t),this}done(){return{host:this.hostEl,shadow:this.root}}serialize(){return i?this.root.serialize():this.root.innerHTML}},Ze=e=>new Ye(e),Qe=()=>Ze(`div`),$e=new Map;function et(e,t){i?($e.set(e,t),t.prototype._ssrTag=e):customElements.get(e)||customElements.define(e,t)}var tt=typeof document<`u`?HTMLElement:Pe,nt=`data-ranui`,rt=`data-ranui-sheet`,it=(e,t)=>Ee(e,t,nt),at=(e,t)=>De(e,t,rt),ot=new WeakMap,st=`@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}`,ct=(e,t=``,n={mode:`closed`})=>{let r=e.shadowRoot||ot.get(e)||e.attachShadow(n);return ot.set(e,r),it(r,t?`${t}\n${st}`:st),r},lt=(e,t,n)=>{let r=e.querySelector(t);if(r)return r;let i=n();return e.appendChild(i),i},y=(e,t,n=``)=>e.getAttribute(t)??n,ut=(e,t,n,r={})=>{if(r.removeEmpty&&!n){e.removeAttribute(t);return}e.setAttribute(t,n??``)},dt=(e,t,n,r={})=>{if(n){e.setAttribute(t,``),r.aria&&e.setAttribute(`aria-${r.aria}`,`true`);return}e.removeAttribute(t),r.aria&&e.removeAttribute(`aria-${r.aria}`)},ft=(e,t,n,r,i)=>{if(n!==`sheet`||r===i)return;let a=e.getAttribute(`sheet`)||``;a&&at(t,a)},pt=`.remove-wap-active-focus,.remove-wap-active-focus:active,.remove-wap-active-focus:focus{-webkit-tap-highlight-color:transparent;outline:0}:host{display:var(--ran-icon-host-display,inline-flex)}:host([spin]){animation-name:var(--ran-icon-host-spin-animation-name,rotate);animation-duration:var(--ran-icon-host-spin-animation-name,1.4s);animation-timing-function:linear;animation-iteration-count:var(--ran-icon-host-spin-animation-name,infinite)}.ran-icon{display:var(--ran-icon-display,flex);align-items:var(--ran-icon-align-items,center);justify-content:var(--ran-icon-justify-content,center);color:var(--ran-icon-color,inherit);font-size:var(--ran-icon-font-size,1em);margin:var(--ran-icon-margin,0)}.ran-icon svg{width:var(--ran-icon-svg-width,1em);height:var(--ran-icon-svg-height,1em);fill:var(--ran-icon-svg-fill,currentColor);stroke:var(--ran-icon-svg-stroke,currentColor)}@keyframes rotate{to{transform:var(--ran-icon-keyframes-to-transform,rotate(360deg))}}`,mt=r({default:()=>ht}),ht,gt=n((()=>{ht={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></g></svg>`}})),_t=r({default:()=>vt}),vt,yt=n((()=>{vt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></g></svg>`}})),bt=r({default:()=>xt}),xt,St=n((()=>{xt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></g></svg>`}})),Ct=r({default:()=>wt}),wt,Tt=n((()=>{wt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M8 21H5a2 2 0 0 1-2-2v-3m18 0v3a2 2 0 0 1-2 2h-3"/></g></svg>`}})),Et=r({default:()=>Dt}),Dt,Ot=n((()=>{Dt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="11" y1="8" x2="11" y2="14"/><line x1="8" y1="11" x2="14" y2="11"/></g></svg>`}})),kt=r({default:()=>At}),At,jt=n((()=>{At={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="8" y1="11" x2="14" y2="11"/></g></svg>`}})),Mt=r({default:()=>Nt}),Nt,Pt=n((()=>{Nt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 4 23 10 17 10"/><polyline points="1 20 1 14 7 14"/><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/></g></svg>`}}));gt(),yt(),St(),Tt(),Ot(),jt(),Pt();var Ft={copy:ht,check:vt,download:xt,fullscreen:wt,"zoom-in":Dt,"zoom-out":At,refresh:Nt},It=r({default:()=>Lt}),Lt,Rt=n((()=>{Lt={success:!0,_identification:!0,data:`<svg t="1667110768583" class="icon" viewBox="0 0 1024 1024" version="1.1"
2
2
  xmlns="http://www.w3.org/2000/svg" p-id="8046" width="200" height="200">
3
3
  <path
4
4
  d="M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h0.1c3 0 4.4-3.6 2.2-5.6-30.8-27.6-65.6-49.7-103.7-65.8-0.4-0.2-0.8-0.3-1.2-0.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-0.4 0.2-0.8 0.3-1.2 0.5-44.7 18.9-84.8 46-119.3 80.6-34.5 34.5-61.5 74.7-80.4 119.5C147.9 794.5 138 841 137 888.8c-0.1 4.5 3.5 8.2 8 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1 2.5 1.5 5.5 1.7 8.1 0.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4-32.4-32.5-50.3-75.7-50.3-121.6 0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4c32.4 32.5 50.3 75.7 50.3 121.6 0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"
@@ -1,4 +1,4 @@
1
- var ranui_mermaid=(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},l=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),u=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},d=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var l=i(t),u=0,d=l.length,f;u<d;u++)f=l[u],!o.call(e,f)&&f!==a&&n(e,f,{get:(e=>t[e]).bind(null,f),enumerable:!(s=r(t,f))||s.enumerable});return e},f=(e,r,i)=>(i=e==null?{}:t(a(e)),d(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),p,m=s((()=>{p=typeof document>`u`})),h,g=s((()=>{h=class{ac;constructor(){this.ac=new AbortController}get signal(){return this.ac.signal}on(e,t,n,r){return e.addEventListener(t,n,{...r,signal:this.ac.signal}),this}delegate(e,t,n,r,i){return e.addEventListener(n,n=>{let i=n.target?.closest(t);i&&e.contains(i)&&r(n,i)},{...i,signal:this.ac.signal}),this}abort(){this.ac.abort(),this.ac=new AbortController}}}));function _(e,t){let n=t?.equals??Object.is,r={value:e,observers:new Set};return[()=>(C(r),r.value),e=>{let t=typeof e==`function`?e(r.value):e;if(!n(r.value,t)){r.value=t;for(let e of r.observers)w(e,N);I===0&&T()}}]}function v(e){let t=x(e,!0);return S(t),D(t),()=>k(t)}function y(e){let t={owned:[],cleanups:[],owner:F},n=F,r=P;F=t,P=null;try{return e(()=>A(t))}finally{F=n,P=r}}function b(e){F&&F.cleanups.push(e)}function x(e,t,n){return{fn:e,sources:new Set,isEffect:t,running:!1,disposed:!1,state:N,observers:new Set,value:void 0,equals:n??Object.is,owned:[],cleanups:[],owner:F}}function S(e){F&&F.owned.push(e)}function C(e){P&&(P.sources.add(e),e.observers.add(P))}function w(e,t){if(e.disposed||e.state>=t)return;let n=e.state===j;if(e.state=t,e.isEffect)L.add(e);else if(n)for(let t of e.observers)w(t,M)}function T(){if(!(I>0||R)){R=!0;try{for(;L.size>0;){let e=[...L];L.clear();for(let t of e)t.disposed||E(t)}}finally{R=!1}}}function E(e){if(!(e.disposed||e.state===j)){if(e.state===M)for(let t of e.sources)`fn`in t&&E(t);e.state===N&&D(e),e.state=j}}function D(e){if(e.running)throw Error(`ranui reactivity: cyclic dependency detected (a computation triggered itself).`);O(e);let t=P,n=F;P=e,F=e,e.running=!0,e.state=j;try{let t=e.fn();if(e.isEffect)typeof t==`function`&&e.cleanups.push(t);else{let n=e.value;if(e.value=t,e.observers.size>0&&!e.equals(n,t))for(let t of e.observers)w(t,N)}}finally{e.running=!1,P=t,F=n}}function O(e){for(let t of e.owned)k(t);e.owned.length=0;for(let t of e.cleanups)t();e.cleanups.length=0;for(let t of e.sources)t.observers.delete(e);e.sources.clear()}function k(e){e.disposed||(e.disposed=!0,O(e),e.observers.clear())}function A(e){for(let t of e.owned)k(t);e.owned.length=0;for(let t of e.cleanups)t();e.cleanups.length=0}var j,M,N,P,F,I,L,R,ee=s((()=>{j=0,M=1,N=2,P=null,F=null,I=0,L=new Set,R=!1})),te,z=s((()=>{te=class{_events=new Map;tap=(e,t)=>{this._events.get(e)&&e!==Symbol.for(`NEW_LISTENER`)&&this.call(Symbol.for(`NEW_LISTENER`),e);let n=this._events.get(e)||new Set;return typeof t==`function`?n.add({name:e,callback:t}):n.add(t),this._events.set(e,n),this};call=(e,...t)=>((this._events.get(e)||new Set).forEach(e=>{let{callback:n}=e;n(...t)}),this);callSync=async(e,...t)=>{let n=this._events.get(e)||new Set;for(let e of n){let{callback:n}=e;await n(...t)}return this};once=(e,t)=>{let n;if(typeof t==`function`)n={name:e,callback:(...r)=>{t(...r),this.off(e,n)},initialCallback:t};else{let{callback:r}=t;n={name:e,callback:(...t)=>{r(...t),this.off(e,n)},initialCallback:r}}return this.tap(e,n),this};off=(e,t)=>{let n=[...this._events.get(e)||new Set].filter(e=>{if(typeof t==`function`)return e.callback!==t&&e.initialCallback!==t;{let{callback:n}=t;return e.callback!==n&&e.initialCallback!==n}});return this._events.set(e,new Set(n)),this}},Math.PI/180,180/Math.PI,2*Math.PI})),ne,re=s((()=>{ne=(e=8)=>Math.random().toString(36).substring(2,e+2)})),ie=s((()=>{Object.freeze({})}));function ae(e){let t=``+e,n=he.exec(t);if(!n)return t;let r,i=``,a=0,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r=`&quot;`;break;case 38:r=`&amp;`;break;case 39:r=`&#39;`;break;case 60:r=`&lt;`;break;case 62:r=`&gt;`;break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=r}return o===a?i:i+t.substring(o,a)}var oe,se,ce,le,ue,de,fe,pe,me,he,ge,_e,ve,ye,be,xe,Se,Ce,we=s((()=>{z(),re(),ie(),oe=e=>typeof e==`function`,se=12e4,ce=`__ranuts_bridge__`,le=`default`,ue=new class{bridges=new Set;attachedWindow=null;handleMessage=e=>{for(let t of Array.from(this.bridges))t.receive(e)};add(e){this.bridges.add(e),typeof window<`u`&&this.attachedWindow!==window&&(window.addEventListener(`message`,this.handleMessage),this.attachedWindow=window)}remove(e){this.bridges.delete(e),this.bridges.size===0&&this.attachedWindow&&(this.attachedWindow.removeEventListener(`message`,this.handleMessage),this.attachedWindow=null)}},de=class{targetWindow;targetOrigin;messageHandlers;pendingRequests;channel;senderId;available;constructor(e,t=`*`,n=le){this.targetOrigin=t,this.channel=n,this.senderId=ne(12),this.messageHandlers=new Map,this.pendingRequests=new Map,this.available=typeof window<`u`,this.available?(this.targetWindow=e??window,ue.add(this)):this.targetWindow=void 0}post(e,t){let n={...t,__bridge:ce,channel:this.channel,senderId:this.senderId};e.postMessage(n,this.targetOrigin)}receive=e=>{if(!this.available||this.targetOrigin!==`*`&&e.origin!==this.targetOrigin||e.source&&e.source!==this.targetWindow)return;let t=e.data;if(!t||typeof t!=`object`||t.__bridge!==`__ranuts_bridge__`||(t.channel??`default`)!==this.channel)return;let{type:n,payload:r,id:i,isResponse:a,isError:o,senderId:s}=t;if(a&&i){let e=this.pendingRequests.get(i);e&&(o?e.reject(Error(typeof r==`string`?r:`Bridge request failed`)):e.resolve(r),this.pendingRequests.delete(i));return}if(s&&s===this.senderId||typeof n!=`string`||!this.messageHandlers.has(n))return;let l=this.messageHandlers.get(n);if(oe(l)){let t=e.source??this.targetWindow;Promise.resolve(l(r)).then(e=>{i&&this.post(t,{type:n,payload:e,id:i,isResponse:!0})}).catch(e=>{i&&this.post(t,{type:n,payload:e instanceof Error?e.message:String(e),id:i,isResponse:!0,isError:!0})})}};on=(e,t)=>{this.messageHandlers.set(e,t)};off=e=>{this.messageHandlers.delete(e)};send=async(e,t)=>{if(!this.available)return Promise.reject(Error(`PostMessageBridge is unavailable outside a browser environment`));let n=ne(10);return new Promise((r,i)=>{let a=setTimeout(()=>{this.pendingRequests.has(n)&&(this.pendingRequests.delete(n),i(Error(`Request timeout`)))},se),o=e=>{clearTimeout(a),i(e)};this.pendingRequests.set(n,{resolve:e=>{clearTimeout(a),r(e)},reject:o});try{this.post(this.targetWindow,{type:e,payload:t,id:n})}catch(e){this.pendingRequests.delete(n),o(e instanceof Error?e:Error(`Failed to post message`))}})};broadcast=e=>{if(this.available)try{this.post(this.targetWindow,{type:e.type,payload:e.payload})}catch{}};destroy=()=>{ue.remove(this),this.messageHandlers.clear(),this.pendingRequests.forEach(e=>{e.reject(Error(`Bridge destroyed`))}),this.pendingRequests.clear()}},fe=class e{static instance;bridges=new Map;constructor(){}static getInstance(){return e.instance||=new e,e.instance}connectClient=({id:e,targetOrigin:t,targetWindow:n,channel:r})=>{let i=new de(n,t,r);if(e||=ne(10),this.bridges.has(e))throw Error(`Bridge ${e} already exists`);return this.bridges.set(e,i),{bridge:i,id:e}};getClient=e=>this.bridges.get(e);removeClient=e=>{let t=this.bridges.get(e);t&&(t.destroy(),this.bridges.delete(e))};removeAllClient=()=>{this.bridges.forEach(e=>{e.destroy()}),this.bridges.clear()};broadcast=e=>{this.bridges.forEach(t=>{t.broadcast(e)})};sendTo=(e,t,n)=>{let r=this.getClient(e);return r?r.send(t,n):Promise.reject(Error(`Bridge ${e} not found`))}},fe.getInstance(),new te,pe=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],me=class{highOrder;lowOrder;constructor(e,t){this.highOrder=e,this.lowOrder=t}},new me(pe[0],3609767458),new me(pe[1],602891725),new me(pe[2],3964484399),new me(pe[3],2173295548),new me(pe[4],4081628472),new me(pe[5],3053834265),new me(pe[6],2937671579),new me(pe[7],3664609560),new me(pe[8],2734883394),new me(pe[9],1164996542),new me(pe[10],1323610764),new me(pe[11],3590304994),new me(pe[12],4068182383),new me(pe[13],991336113),new me(pe[14],633803317),new me(pe[15],3479774868),new me(pe[16],2666613458),new me(pe[17],944711139),new me(pe[18],2341262773),new me(pe[19],2007800933),new me(pe[20],1495990901),new me(pe[21],1856431235),new me(pe[22],3175218132),new me(pe[23],2198950837),new me(pe[24],3999719339),new me(pe[25],766784016),new me(pe[26],2566594879),new me(pe[27],3203337956),new me(pe[28],1034457026),new me(pe[29],2466948901),new me(pe[30],3758326383),new me(pe[31],168717936),new me(pe[32],1188179964),new me(pe[33],1546045734),new me(pe[34],1522805485),new me(pe[35],2643833823),new me(pe[36],2343527390),new me(pe[37],1014477480),new me(pe[38],1206759142),new me(pe[39],344077627),new me(pe[40],1290863460),new me(pe[41],3158454273),new me(pe[42],3505952657),new me(pe[43],106217008),new me(pe[44],3606008344),new me(pe[45],1432725776),new me(pe[46],1467031594),new me(pe[47],851169720),new me(pe[48],3100823752),new me(pe[49],1363258195),new me(pe[50],3750685593),new me(pe[51],3785050280),new me(pe[52],3318307427),new me(pe[53],3812723403),new me(pe[54],2003034995),new me(pe[55],3602036899),new me(pe[56],1575990012),new me(pe[57],1125592928),new me(pe[58],2716904306),new me(pe[59],442776044),new me(pe[60],593698344),new me(pe[61],3733110249),new me(pe[62],2999351573),new me(pe[63],3815920427),new me(3391569614,3928383900),new me(3515267271,566280711),new me(3940187606,3454069534),new me(4118630271,4000239992),new me(116418474,1914138554),new me(174292421,2731055270),new me(289380356,3203993006),new me(460393269,320620315),new me(685471733,587496836),new me(852142971,1086792851),new me(1017036298,365543100),new me(1126000580,2618297676),new me(1288033470,3409855158),new me(1501505948,4234509866),new me(1607167915,987167468),new me(1816402316,1246189591),new me(0,1),new me(0,32898),new me(2147483648,32906),new me(2147483648,2147516416),new me(0,32907),new me(0,2147483649),new me(2147483648,2147516545),new me(2147483648,32777),new me(0,138),new me(0,136),new me(0,2147516425),new me(0,2147483658),new me(0,2147516555),new me(2147483648,139),new me(2147483648,32905),new me(2147483648,32771),new me(2147483648,32770),new me(2147483648,128),new me(0,32778),new me(2147483648,2147483658),new me(2147483648,2147516545),new me(2147483648,32896),new me(0,2147483649),new me(2147483648,2147516424),he=/["'&<>]/,ge=new Map,_e=new Map,ve=`data-adopted-style`,ye=`data-adopted-sheet`,be=(e,t,n)=>{if(typeof CSSStyleSheet>`u`)return!1;try{if(!n.has(t)){let e=new CSSStyleSheet;e.replaceSync(t),n.set(t,e)}let r=n.get(t);return e.adoptedStyleSheets.includes(r)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]),!0}catch{return!1}},xe=(e,t,n=ve)=>{if(typeof document<`u`&&t&&!be(e,t,ge)&&!e.querySelector(`style[${n}]`)){let r=document.createElement(`style`);r.setAttribute(n,``),r.textContent=t,e.appendChild(r)}},Se=(e,t,n=ye)=>{if(typeof document<`u`&&t&&!be(e,t,_e)&&!Array.from(e.querySelectorAll(`style[${n}]`)).some(e=>e.textContent===t)){let r=document.createElement(`style`);r.setAttribute(n,``),r.textContent=t,e.appendChild(r)}},Ce=new Map([[100,`Continue`],[101,`Switching Protocols`],[102,`Processing`],[103,`Early Hints`],[200,`OK`],[201,`Created`],[202,`Accepted`],[203,`Non-Authoritative Information`],[204,`No Content`],[205,`Reset Content`],[206,`Partial Content`],[207,`Multi-Status`],[208,`Already Reported`],[226,`IM Used`],[300,`Multiple Choices`],[301,`Moved Permanently`],[302,`Found`],[303,`See Other`],[304,`Not Modified`],[305,`Use Proxy`],[307,`Temporary Redirect`],[308,`Permanent Redirect`],[400,`Bad Request`],[401,`Unauthorized`],[402,`Payment Required`],[403,`Forbidden`],[404,`Not Found`],[405,`Method Not Allowed`],[406,`Not Acceptable`],[407,`Proxy Authentication Required`],[408,`Request Timeout`],[409,`Conflict`],[410,`Gone`],[411,`Length Required`],[412,`Precondition Failed`],[413,`Payload Too Large`],[414,`URI Too Long`],[415,`Unsupported Media Type`],[416,`Range Not Satisfiable`],[417,`Expectation Failed`],[418,`I'm a Teapot`],[421,`Misdirected Request`],[422,`Unprocessable Entity`],[423,`Locked`],[424,`Failed Dependency`],[425,`Too Early`],[426,`Upgrade Required`],[428,`Precondition Required`],[429,`Too Many Requests`],[431,`Request Header Fields Too Large`],[451,`Unavailable For Legal Reasons`],[500,`Internal Server Error`],[501,`Not Implemented`],[502,`Bad Gateway`],[503,`Service Unavailable`],[504,`Gateway Timeout`],[505,`HTTP Version Not Supported`],[506,`Variant Also Negotiates`],[507,`Insufficient Storage`],[508,`Loop Detected`],[509,`Bandwidth Limit Exceeded`],[510,`Not Extended`],[511,`Network Authentication Required`]]),function(e){let t=new Map;for(let[n,r]of e)t.set(r.toLowerCase(),n);return t}(Ce),function(e){let t=[];for(let[n,r]of e)t.push(n);return t}(Ce)})),Te=s((()=>{z(),we(),ie()}));function Ee(e){return ae(e)}var De=s((()=>{Te()})),Oe,ke,Ae,je=s((()=>{Oe=e=>typeof e!=`string`&&`tagName`in e&&`childrenList`in e,ke=(e,t)=>{let n=t.trim();if(!n)return!1;if(n.startsWith(`.`))return e.classList.contains(n.slice(1));if(n.startsWith(`#`))return e.getAttribute(`id`)===n.slice(1);if(n.startsWith(`[`)&&n.endsWith(`]`)){let[t,r]=n.slice(1,-1).trim().split(`=`),i=(t||``).trim();if(!i)return!1;if(r==null)return e.hasAttribute(i);let a=r.trim().replace(/^['"]|['"]$/g,``);return e.getAttribute(i)===a}return e.tagName===n.toLowerCase()},Ae=(e,t,n)=>{for(let r of e)Oe(r)&&(ke(r,t)&&n.push(r),Ae(r.childrenList,t,n))}})),Me,Ne,Pe,Fe=s((()=>{De(),je(),Me=class{childrenList=[];appendChild(e){return this.childrenList.push(e),e}serialize(){return this.childrenList.map(e=>typeof e==`string`?ae(e):e.serialize()).join(``)}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return Ae(this.childrenList,e,t),t}},Ne=class{tagName;attributes=new Map;inlineStyles=new Map;childrenList=[];shadowRoot=null;textContent=null;content;eventListeners=new Map;style={setProperty:(e,t)=>{let n=e.startsWith(`--`)?e:e.replace(/([A-Z])/g,`-$1`).toLowerCase();this.inlineStyles.set(n,t)},removeProperty:e=>this.inlineStyles.delete(e)};classList={add:(...e)=>{let t=this.attributes.get(`class`)||``,n=new Set([...t.split(` `).filter(Boolean),...e]);this.attributes.set(`class`,Array.from(n).join(` `))},remove:(...e)=>{let t=(this.attributes.get(`class`)||``).split(` `).filter(t=>!e.includes(t));this.attributes.set(`class`,t.join(` `))},toggle:e=>{this.classList.contains(e)?this.classList.remove(e):this.classList.add(e)},contains:e=>(this.attributes.get(`class`)||``).split(` `).includes(e)};_innerHTML=``;get innerHTML(){return this._innerHTML}set innerHTML(e){this._innerHTML=e,this.tagName===`template`&&this.content&&(this.content.childrenList=[e])}constructor(e=`div`){this.tagName=e.toLowerCase(),this.tagName===`template`&&(this.content=new Me)}get hidden(){return this.hasAttribute(`hidden`)}set hidden(e){e?this.setAttribute(`hidden`,``):this.removeAttribute(`hidden`)}setAttribute(e,t){this.attributes.set(e,t)}getAttribute(e){return this.attributes.get(e)||null}removeAttribute(e){this.attributes.delete(e)}hasAttribute(e){return this.attributes.has(e)}appendChild(e){return this.childrenList.push(e),e}attachShadow(e){return this.shadowRoot=new Pe(this,e),this.shadowRoot}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return Ae(this.childrenList,e,t),t}addEventListener(e,t){let n=this.eventListeners.get(e)||new Set;n.add(t),this.eventListeners.set(e,n)}removeEventListener(e,t){let n=this.eventListeners.get(e);n&&(n.delete(t),n.size===0&&this.eventListeners.delete(e))}dispatchEvent(e){let t=this.eventListeners.get(e.type);if(!t||t.size===0)return!0;for(let n of t)typeof n==`function`?n.call(this,e):n.handleEvent(e);return!e.defaultPrevented}serialize(e){typeof this._preSerialize==`function`&&this._preSerialize();let t=e||this._ssrTag||this.tagName,n=Array.from(this.attributes.entries()).map(([e,t])=>` ${e}="${Ee(t)}"`).join(``),r=Array.from(this.inlineStyles.entries()).map(([e,t])=>`${e}:${t}`).join(`;`),i=r?` style="${Ee(r)}"`:``,a=``;return this.shadowRoot&&(a+=this.shadowRoot.serialize()),this.textContent===null?this._innerHTML?a+=this._innerHTML:a+=this.childrenList.map(e=>typeof e==`string`?ae(e):(e instanceof Me,e.serialize())).join(``):a+=ae(this.textContent),[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`].includes(t)&&!a?`<${t}${n}${i} />`:`<${t}${n}${i}>${a}</${t}>`}},Pe=class{host;options;childrenList=[];adoptedStyleSheets=[];constructor(e,t){this.host=e,this.options=t}appendChild(e){return this.childrenList.push(e),e}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return Ae(this.childrenList,e,t),t}serialize(){return`<template shadowrootmode="${this.options.mode}"${this.options.delegatesFocus?` shadowrootdelegatesfocus`:``}>${this.adoptedStyleSheets.map(e=>`<style>${ae(e)}</style>`).join(``)}${this.childrenList.map(e=>typeof e==`string`?ae(e):(e instanceof Me,e.serialize())).join(``)}</template>`}}})),Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze=s((()=>{m(),Fe(),ee(),Ie=e=>e.reduce((e,t)=>Array.isArray(t)?e.concat(Ie(t)):e.concat(t),[]),Le=e=>e==null?null:e instanceof Ye?e.build():typeof e==`string`?p?e:document.createTextNode(e):e,Re=(e,t)=>{if(p){Je(e,[t()]);return}let n=document.createComment(``),r=document.createComment(``);e.appendChild(n),e.appendChild(r);let i=null,a=()=>{i?.(),i=null;let e=n.nextSibling;for(;e&&e!==r;){let t=e.nextSibling;e.parentNode?.removeChild(e),e=t}};v(()=>{let e=t();a();let n=document.createDocumentFragment();i=y(t=>(Je(n,[e]),t)),r.parentNode?.insertBefore(n,r)}),b(()=>i?.())},ze=`__ranFor`,Be=e=>typeof e==`object`&&!!e&&e[ze]===!0,Ve=(e,t,n)=>{let[r,i]=_(t),a=null,o=y(t=>{let i=Le(n(e,r));return a=typeof i==`string`?document.createTextNode(i):i,t});return{node:a,index:i,dispose:o}},He=(e,t)=>{let n=e.parentNode;if(!n)return;let r=e;for(let e of t)r.nextSibling!==e&&n.insertBefore(e,r.nextSibling),r=e},Ue=(e,t)=>{if(p){(t.each()??[]).forEach((n,r)=>{let i=Le(t.render(n,()=>r));i!=null&&e.appendChild(i)});return}let n=document.createComment(``);e.appendChild(n);let r=new Map;b(()=>{for(let e of r.values())e.dispose();r.clear()}),v(()=>{let e=t.each()??[],i=new Map,a=[];e.forEach((e,n)=>{let o=t.key(e,n);if(i.has(o))return;let s=r.get(o);s?(r.delete(o),s.index(n)):s=Ve(e,n,t.render),i.set(o,s),s.node&&a.push(s.node)});for(let e of r.values())e.node?.parentNode?.removeChild(e.node),e.dispose();He(n,a),r=i})},We=`__ranIndex`,Ge=e=>typeof e==`object`&&!!e&&e[We]===!0,Ke=(e,t,n)=>{let[r,i]=_(e),a=null,o=y(e=>{let i=Le(n(r,t));return a=typeof i==`string`?document.createTextNode(i):i,e});return{node:a,setItem:i,dispose:o}},qe=(e,t)=>{if(p){(t.each()??[]).forEach((n,r)=>{let i=Le(t.render(()=>n,r));i!=null&&e.appendChild(i)});return}let n=document.createComment(``);e.appendChild(n);let r=[];b(()=>{for(let e of r)e.dispose();r=[]}),v(()=>{let e=t.each()??[];for(let n=0;n<e.length;n++)n<r.length?r[n].setItem(e[n]):r.push(Ke(e[n],n,t.render));for(let t=r.length-1;t>=e.length;t--){let{node:e}=r[t];e?.parentNode?.removeChild(e),r[t].dispose(),r.pop()}He(n,r.map(e=>e.node).filter(e=>e!=null))})},Je=(e,t)=>{Ie(t).forEach(t=>{if(Be(t)){Ue(e,t);return}if(Ge(t)){qe(e,t);return}if(typeof t==`function`){Re(e,t);return}let n=Le(t);n!=null&&e.appendChild(n)})},Ye=class{el;constructor(e){this.el=p?new Ne(e):document.createElement(e)}id(e){return this.el.setAttribute(`id`,e),this}bind(e,t){typeof e==`function`?v(()=>t(e())):t(e)}class(e){return this.bind(e,e=>{p?this.el.attributes.set(`class`,e):this.el.className=e}),this}addClass(...e){return e.forEach(e=>this.el.classList.add(e)),this}removeClass(...e){return e.forEach(e=>this.el.classList.remove(e)),this}attr(e,t){return this.bind(t,t=>this.el.setAttribute(e,t)),this}attrs(e){return Object.entries(e).forEach(([e,t])=>{t!=null&&this.el.setAttribute(e,String(t))}),this}boolAttr(e,t,n=``){return this.bind(t,t=>{t?this.el.setAttribute(e,n):this.el.removeAttribute(e)}),this}part(e){return this.attr(`part`,e)}data(e,t){return this.attr(`data-${e}`,t)}style(e,t){return typeof e==`string`?this.bind(t??``,t=>this.el.style.setProperty(e,t)):Object.entries(e).forEach(([e,t])=>this.el.style.setProperty(e,t)),this}cssVar(e,t){let n=e.startsWith(`--`)?e:`--${e}`;return this.style(n,t)}aria(e,t){return this.attr(`aria-${e}`,t)}role(e){return this.attr(`role`,e)}tabIndex(e){return this.attr(`tabindex`,String(e))}label(e){return this.aria(`label`,e)}labelledBy(e){return this.aria(`labelledby`,e)}describedBy(e){return this.aria(`describedby`,e)}ariaHidden(e=!0){return this.aria(`hidden`,String(e))}on(e,t,n){return this.el.addEventListener(e,t,n),this}listen(e,t,n,r){return e.on(this.el,t,n,r),this}delegate(e,t,n,r,i){return e.delegate(this.el,t,n,r,i),this}children(...e){return Je(this.el,e),this}replaceChildren(...e){if(p){let e=this.el;e.childrenList=[]}else this.el.replaceChildren();return this.children(...e)}text(e){return this.bind(e,e=>{this.el.textContent=e}),this}ref(e){return e.current=this.el,this}shadow(e={mode:`closed`}){let t=this.el.attachShadow(e);return new Xe(this.el,t,e)}build(){return this.el}serialize(){if(p)return this.el.serialize();let e=document.createElement(`div`);return e.appendChild(this.el.cloneNode(!0)),e.innerHTML}},Xe=class{root;hostEl;options;constructor(e,t,n){this.hostEl=e,this.root=t,this.options=n}children(...e){return Je(this.root,e),this}adoptSheet(...e){return this.root.adoptedStyleSheets=[...this.root.adoptedStyleSheets,...e],this}css(e){if(p)return this.root.adoptedStyleSheets.push(e),this;if(typeof CSSStyleSheet<`u`)try{let t=new CSSStyleSheet;return t.replaceSync(e),this.root.adoptedStyleSheets=[...this.root.adoptedStyleSheets,t],this}catch{}let t=document.createElement(`style`);return t.textContent=e,this.root.appendChild(t),this}done(){return{host:this.hostEl,shadow:this.root}}serialize(){return p?this.root.serialize():this.root.innerHTML}}})),Qe,$e,et,tt,nt=s((()=>{Ze(),Qe=e=>new Ye(e),$e=()=>Qe(`div`),et=()=>Qe(`slot`),tt=()=>Qe(`button`)})),rt=s((()=>{m(),g(),ee(),De(),je(),Fe(),Ze(),nt()})),it,at=s((()=>{Te(),rt(),it=[!1,`false`,null,void 0]})),ot=s((()=>{}));function st(e,t){p?(ct.set(e,t),t.prototype._ssrTag=e):customElements.get(e)||customElements.define(e,t)}var ct,lt=s((()=>{m(),ct=new Map})),ut,dt,ft=s((()=>{rt(),ut=()=>typeof document<`u`?HTMLElement:Ne,dt=ut()})),pt=s((()=>{})),mt,ht,gt,_t,vt=s((()=>{Te(),mt=`data-ranui`,ht=`data-ranui-sheet`,gt=(e,t)=>xe(e,t,mt),_t=(e,t)=>Se(e,t,ht)})),yt,bt,xt,St,Ct,wt,Tt,Et,Dt=s((()=>{vt(),yt=new WeakMap,bt=`@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}`,xt=(e,t=``,n={mode:`closed`})=>{let r=e.shadowRoot||yt.get(e)||e.attachShadow(n);return yt.set(e,r),gt(r,t?`${t}\n${bt}`:bt),r},St=(e,t,n)=>{let r=e.querySelector(t);if(r)return r;let i=n();return e.appendChild(i),i},Ct=(e,t,n=``)=>e.getAttribute(t)??n,wt=(e,t,n,r={})=>{if(r.removeEmpty&&!n){e.removeAttribute(t);return}e.setAttribute(t,n??``)},Tt=(e,t,n,r={})=>{if(n){e.setAttribute(t,``),r.aria&&e.setAttribute(`aria-${r.aria}`,`true`);return}e.removeAttribute(t),r.aria&&e.removeAttribute(`aria-${r.aria}`)},Et=(e,t,n,r,i)=>{if(n!==`sheet`||r===i)return;let a=e.getAttribute(`sheet`)||``;a&&_t(t,a)}})),Ot=s((()=>{Te()})),kt=s((()=>{rt(),at(),Te(),ot(),ee(),ft(),pt(),Dt(),Ot()}));kt();var eee=`.remove-wap-active-focus,.remove-wap-active-focus:active,.remove-wap-active-focus:focus{-webkit-tap-highlight-color:transparent;outline:0}:host{display:var(--ran-icon-host-display,inline-flex)}:host([spin]){animation-name:var(--ran-icon-host-spin-animation-name,rotate);animation-duration:var(--ran-icon-host-spin-animation-name,1.4s);animation-timing-function:linear;animation-iteration-count:var(--ran-icon-host-spin-animation-name,infinite)}.ran-icon{display:var(--ran-icon-display,flex);align-items:var(--ran-icon-align-items,center);justify-content:var(--ran-icon-justify-content,center);color:var(--ran-icon-color,inherit);font-size:var(--ran-icon-font-size,1em);margin:var(--ran-icon-margin,0)}.ran-icon svg{width:var(--ran-icon-svg-width,1em);height:var(--ran-icon-svg-height,1em);fill:var(--ran-icon-svg-fill,currentColor);stroke:var(--ran-icon-svg-stroke,currentColor)}@keyframes rotate{to{transform:var(--ran-icon-keyframes-to-transform,rotate(360deg))}}`,At=u({default:()=>jt}),jt,Mt=s((()=>{jt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></g></svg>`}})),Nt=u({default:()=>Pt}),Pt,Ft=s((()=>{Pt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></g></svg>`}})),tee=u({default:()=>It}),It,nee=s((()=>{It={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></g></svg>`}})),ree=u({default:()=>Lt}),Lt,iee=s((()=>{Lt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M8 21H5a2 2 0 0 1-2-2v-3m18 0v3a2 2 0 0 1-2 2h-3"/></g></svg>`}})),aee=u({default:()=>Rt}),Rt,oee=s((()=>{Rt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="11" y1="8" x2="11" y2="14"/><line x1="8" y1="11" x2="14" y2="11"/></g></svg>`}})),see=u({default:()=>zt}),zt,cee=s((()=>{zt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="8" y1="11" x2="14" y2="11"/></g></svg>`}})),lee=u({default:()=>Bt}),Bt,uee=s((()=>{Bt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 4 23 10 17 10"/><polyline points="1 20 1 14 7 14"/><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/></g></svg>`}}));Mt(),Ft(),nee(),iee(),oee(),cee(),uee();var dee={copy:jt,check:Pt,download:It,fullscreen:Lt,"zoom-in":Rt,"zoom-out":zt,refresh:Bt},fee=u({default:()=>pee}),pee,mee=s((()=>{pee={success:!0,_identification:!0,data:`<svg t="1667110768583" class="icon" viewBox="0 0 1024 1024" version="1.1"
1
+ var ranui_mermaid=(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},l=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),u=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},d=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var l=i(t),u=0,d=l.length,f;u<d;u++)f=l[u],!o.call(e,f)&&f!==a&&n(e,f,{get:(e=>t[e]).bind(null,f),enumerable:!(s=r(t,f))||s.enumerable});return e},f=(e,r,i)=>(i=e==null?{}:t(a(e)),d(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),p,m=s((()=>{p=typeof document>`u`})),h,g=s((()=>{h=class{ac;constructor(){this.ac=new AbortController}get signal(){return this.ac.signal}on(e,t,n,r){return e.addEventListener(t,n,{...r,signal:this.ac.signal}),this}delegate(e,t,n,r,i){return e.addEventListener(n,n=>{let i=n.target?.closest(t);i&&e.contains(i)&&r(n,i)},{...i,signal:this.ac.signal}),this}abort(){this.ac.abort(),this.ac=new AbortController}}}));function _(e,t){let n=t?.equals??Object.is,r={value:e,observers:new Set};return[()=>(C(r),r.value),e=>{let t=typeof e==`function`?e(r.value):e;if(!n(r.value,t)){r.value=t;for(let e of r.observers)w(e,N);I===0&&T()}}]}function v(e){let t=x(e,!0);return S(t),D(t),()=>k(t)}function y(e){let t={owned:[],cleanups:[],owner:F},n=F,r=P;F=t,P=null;try{return e(()=>A(t))}finally{F=n,P=r}}function b(e){F&&F.cleanups.push(e)}function x(e,t,n){return{fn:e,sources:new Set,isEffect:t,running:!1,disposed:!1,state:N,observers:new Set,value:void 0,equals:n??Object.is,owned:[],cleanups:[],owner:F}}function S(e){F&&F.owned.push(e)}function C(e){P&&(P.sources.add(e),e.observers.add(P))}function w(e,t){if(e.disposed||e.state>=t)return;let n=e.state===j;if(e.state=t,e.isEffect)L.add(e);else if(n)for(let t of e.observers)w(t,M)}function T(){if(!(I>0||R)){R=!0;try{for(;L.size>0;){let e=[...L];L.clear();for(let t of e)t.disposed||E(t)}}finally{R=!1}}}function E(e){if(!(e.disposed||e.state===j)){if(e.state===M)for(let t of e.sources)`fn`in t&&E(t);e.state===N&&D(e),e.state=j}}function D(e){if(e.running)throw Error(`ranui reactivity: cyclic dependency detected (a computation triggered itself).`);O(e);let t=P,n=F;P=e,F=e,e.running=!0,e.state=j;try{let t=e.fn();if(e.isEffect)typeof t==`function`&&e.cleanups.push(t);else{let n=e.value;if(e.value=t,e.observers.size>0&&!e.equals(n,t))for(let t of e.observers)w(t,N)}}finally{e.running=!1,P=t,F=n}}function O(e){for(let t of e.owned)k(t);e.owned.length=0;for(let t of e.cleanups)t();e.cleanups.length=0;for(let t of e.sources)t.observers.delete(e);e.sources.clear()}function k(e){e.disposed||(e.disposed=!0,O(e),e.observers.clear())}function A(e){for(let t of e.owned)k(t);e.owned.length=0;for(let t of e.cleanups)t();e.cleanups.length=0}var j,M,N,P,F,I,L,R,ee=s((()=>{j=0,M=1,N=2,P=null,F=null,I=0,L=new Set,R=!1})),te,z=s((()=>{te=class{_events=new Map;tap=(e,t)=>{this._events.get(e)&&e!==Symbol.for(`NEW_LISTENER`)&&this.call(Symbol.for(`NEW_LISTENER`),e);let n=this._events.get(e)||new Set;return typeof t==`function`?n.add({name:e,callback:t}):n.add(t),this._events.set(e,n),this};call=(e,...t)=>((this._events.get(e)||new Set).forEach(e=>{let{callback:n}=e;n(...t)}),this);callSync=async(e,...t)=>{let n=this._events.get(e)||new Set;for(let e of n){let{callback:n}=e;await n(...t)}return this};once=(e,t)=>{let n;if(typeof t==`function`)n={name:e,callback:(...r)=>{t(...r),this.off(e,n)},initialCallback:t};else{let{callback:r}=t;n={name:e,callback:(...t)=>{r(...t),this.off(e,n)},initialCallback:r}}return this.tap(e,n),this};off=(e,t)=>{let n=[...this._events.get(e)||new Set].filter(e=>{if(typeof t==`function`)return e.callback!==t&&e.initialCallback!==t;{let{callback:n}=t;return e.callback!==n&&e.initialCallback!==n}});return this._events.set(e,new Set(n)),this}},Math.PI/180,180/Math.PI,2*Math.PI})),ne,re=s((()=>{ne=(e=8)=>Math.random().toString(36).substring(2,e+2)})),ie=s((()=>{Object.freeze({})}));function ae(e){let t=``+e,n=he.exec(t);if(!n)return t;let r,i=``,a=0,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r=`&quot;`;break;case 38:r=`&amp;`;break;case 39:r=`&#39;`;break;case 60:r=`&lt;`;break;case 62:r=`&gt;`;break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=r}return o===a?i:i+t.substring(o,a)}var oe,se,ce,le,ue,de,fe,pe,me,he,ge,_e,ve,ye,be,xe,Se,Ce,we=s((()=>{z(),re(),ie(),oe=e=>typeof e==`function`,se=12e4,ce=`__ranuts_bridge__`,le=`default`,ue=new class{bridges=new Set;attachedWindow=null;handleMessage=e=>{for(let t of Array.from(this.bridges))t.receive(e)};add(e){this.bridges.add(e),typeof window<`u`&&this.attachedWindow!==window&&(window.addEventListener(`message`,this.handleMessage),this.attachedWindow=window)}remove(e){this.bridges.delete(e),this.bridges.size===0&&this.attachedWindow&&(this.attachedWindow.removeEventListener(`message`,this.handleMessage),this.attachedWindow=null)}},de=class{targetWindow;targetOrigin;messageHandlers;pendingRequests;channel;senderId;available;constructor(e,t=`*`,n=le){this.targetOrigin=t,this.channel=n,this.senderId=ne(12),this.messageHandlers=new Map,this.pendingRequests=new Map,this.available=typeof window<`u`,this.available?(this.targetWindow=e??window,ue.add(this)):this.targetWindow=void 0}post(e,t){let n={...t,__bridge:ce,channel:this.channel,senderId:this.senderId};e.postMessage(n,this.targetOrigin)}receive=e=>{if(!this.available||this.targetOrigin!==`*`&&e.origin!==this.targetOrigin||e.source&&e.source!==this.targetWindow)return;let t=e.data;if(!t||typeof t!=`object`||t.__bridge!==`__ranuts_bridge__`||(t.channel??`default`)!==this.channel)return;let{type:n,payload:r,id:i,isResponse:a,isError:o,senderId:s}=t;if(a&&i){let e=this.pendingRequests.get(i);e&&(o?e.reject(Error(typeof r==`string`?r:`Bridge request failed`)):e.resolve(r),this.pendingRequests.delete(i));return}if(s&&s===this.senderId||typeof n!=`string`||!this.messageHandlers.has(n))return;let l=this.messageHandlers.get(n);if(oe(l)){let t=e.source??this.targetWindow;Promise.resolve(l(r)).then(e=>{i&&this.post(t,{type:n,payload:e,id:i,isResponse:!0})}).catch(e=>{i&&this.post(t,{type:n,payload:e instanceof Error?e.message:String(e),id:i,isResponse:!0,isError:!0})})}};on=(e,t)=>{this.messageHandlers.set(e,t)};off=e=>{this.messageHandlers.delete(e)};send=async(e,t)=>{if(!this.available)return Promise.reject(Error(`PostMessageBridge is unavailable outside a browser environment`));let n=ne(10);return new Promise((r,i)=>{let a=setTimeout(()=>{this.pendingRequests.has(n)&&(this.pendingRequests.delete(n),i(Error(`Request timeout`)))},se),o=e=>{clearTimeout(a),i(e)};this.pendingRequests.set(n,{resolve:e=>{clearTimeout(a),r(e)},reject:o});try{this.post(this.targetWindow,{type:e,payload:t,id:n})}catch(e){this.pendingRequests.delete(n),o(e instanceof Error?e:Error(`Failed to post message`))}})};broadcast=e=>{if(this.available)try{this.post(this.targetWindow,{type:e.type,payload:e.payload})}catch{}};destroy=()=>{ue.remove(this),this.messageHandlers.clear(),this.pendingRequests.forEach(e=>{e.reject(Error(`Bridge destroyed`))}),this.pendingRequests.clear()}},fe=class e{static instance;bridges=new Map;constructor(){}static getInstance(){return e.instance||=new e,e.instance}connectClient=({id:e,targetOrigin:t,targetWindow:n,channel:r})=>{let i=new de(n,t,r);if(e||=ne(10),this.bridges.has(e))throw Error(`Bridge ${e} already exists`);return this.bridges.set(e,i),{bridge:i,id:e}};getClient=e=>this.bridges.get(e);removeClient=e=>{let t=this.bridges.get(e);t&&(t.destroy(),this.bridges.delete(e))};removeAllClient=()=>{this.bridges.forEach(e=>{e.destroy()}),this.bridges.clear()};broadcast=e=>{this.bridges.forEach(t=>{t.broadcast(e)})};sendTo=(e,t,n)=>{let r=this.getClient(e);return r?r.send(t,n):Promise.reject(Error(`Bridge ${e} not found`))}},fe.getInstance(),new te,pe=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],me=class{highOrder;lowOrder;constructor(e,t){this.highOrder=e,this.lowOrder=t}},new me(pe[0],3609767458),new me(pe[1],602891725),new me(pe[2],3964484399),new me(pe[3],2173295548),new me(pe[4],4081628472),new me(pe[5],3053834265),new me(pe[6],2937671579),new me(pe[7],3664609560),new me(pe[8],2734883394),new me(pe[9],1164996542),new me(pe[10],1323610764),new me(pe[11],3590304994),new me(pe[12],4068182383),new me(pe[13],991336113),new me(pe[14],633803317),new me(pe[15],3479774868),new me(pe[16],2666613458),new me(pe[17],944711139),new me(pe[18],2341262773),new me(pe[19],2007800933),new me(pe[20],1495990901),new me(pe[21],1856431235),new me(pe[22],3175218132),new me(pe[23],2198950837),new me(pe[24],3999719339),new me(pe[25],766784016),new me(pe[26],2566594879),new me(pe[27],3203337956),new me(pe[28],1034457026),new me(pe[29],2466948901),new me(pe[30],3758326383),new me(pe[31],168717936),new me(pe[32],1188179964),new me(pe[33],1546045734),new me(pe[34],1522805485),new me(pe[35],2643833823),new me(pe[36],2343527390),new me(pe[37],1014477480),new me(pe[38],1206759142),new me(pe[39],344077627),new me(pe[40],1290863460),new me(pe[41],3158454273),new me(pe[42],3505952657),new me(pe[43],106217008),new me(pe[44],3606008344),new me(pe[45],1432725776),new me(pe[46],1467031594),new me(pe[47],851169720),new me(pe[48],3100823752),new me(pe[49],1363258195),new me(pe[50],3750685593),new me(pe[51],3785050280),new me(pe[52],3318307427),new me(pe[53],3812723403),new me(pe[54],2003034995),new me(pe[55],3602036899),new me(pe[56],1575990012),new me(pe[57],1125592928),new me(pe[58],2716904306),new me(pe[59],442776044),new me(pe[60],593698344),new me(pe[61],3733110249),new me(pe[62],2999351573),new me(pe[63],3815920427),new me(3391569614,3928383900),new me(3515267271,566280711),new me(3940187606,3454069534),new me(4118630271,4000239992),new me(116418474,1914138554),new me(174292421,2731055270),new me(289380356,3203993006),new me(460393269,320620315),new me(685471733,587496836),new me(852142971,1086792851),new me(1017036298,365543100),new me(1126000580,2618297676),new me(1288033470,3409855158),new me(1501505948,4234509866),new me(1607167915,987167468),new me(1816402316,1246189591),new me(0,1),new me(0,32898),new me(2147483648,32906),new me(2147483648,2147516416),new me(0,32907),new me(0,2147483649),new me(2147483648,2147516545),new me(2147483648,32777),new me(0,138),new me(0,136),new me(0,2147516425),new me(0,2147483658),new me(0,2147516555),new me(2147483648,139),new me(2147483648,32905),new me(2147483648,32771),new me(2147483648,32770),new me(2147483648,128),new me(0,32778),new me(2147483648,2147483658),new me(2147483648,2147516545),new me(2147483648,32896),new me(0,2147483649),new me(2147483648,2147516424),he=/["'&<>]/,ge=new Map,_e=new Map,ve=`data-adopted-style`,ye=`data-adopted-sheet`,be=(e,t,n)=>{if(typeof CSSStyleSheet>`u`)return!1;try{if(!n.has(t)){let e=new CSSStyleSheet;e.replaceSync(t),n.set(t,e)}let r=n.get(t);return e.adoptedStyleSheets.includes(r)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]),!0}catch{return!1}},xe=(e,t,n=ve)=>{if(typeof document<`u`&&t&&!be(e,t,ge)&&!e.querySelector(`style[${n}]`)){let r=document.createElement(`style`);r.setAttribute(n,``),r.textContent=t,e.appendChild(r)}},Se=(e,t,n=ye)=>{if(typeof document<`u`&&t&&!be(e,t,_e)&&!Array.from(e.querySelectorAll(`style[${n}]`)).some(e=>e.textContent===t)){let r=document.createElement(`style`);r.setAttribute(n,``),r.textContent=t,e.appendChild(r)}},(()=>{let e=new Uint8Array(128);for(let t=0;t<78;t++)e[`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-.,!?;:'"()[]{}`.charCodeAt(t)]=1;return e})(),Ce=new Map([[100,`Continue`],[101,`Switching Protocols`],[102,`Processing`],[103,`Early Hints`],[200,`OK`],[201,`Created`],[202,`Accepted`],[203,`Non-Authoritative Information`],[204,`No Content`],[205,`Reset Content`],[206,`Partial Content`],[207,`Multi-Status`],[208,`Already Reported`],[226,`IM Used`],[300,`Multiple Choices`],[301,`Moved Permanently`],[302,`Found`],[303,`See Other`],[304,`Not Modified`],[305,`Use Proxy`],[307,`Temporary Redirect`],[308,`Permanent Redirect`],[400,`Bad Request`],[401,`Unauthorized`],[402,`Payment Required`],[403,`Forbidden`],[404,`Not Found`],[405,`Method Not Allowed`],[406,`Not Acceptable`],[407,`Proxy Authentication Required`],[408,`Request Timeout`],[409,`Conflict`],[410,`Gone`],[411,`Length Required`],[412,`Precondition Failed`],[413,`Payload Too Large`],[414,`URI Too Long`],[415,`Unsupported Media Type`],[416,`Range Not Satisfiable`],[417,`Expectation Failed`],[418,`I'm a Teapot`],[421,`Misdirected Request`],[422,`Unprocessable Entity`],[423,`Locked`],[424,`Failed Dependency`],[425,`Too Early`],[426,`Upgrade Required`],[428,`Precondition Required`],[429,`Too Many Requests`],[431,`Request Header Fields Too Large`],[451,`Unavailable For Legal Reasons`],[500,`Internal Server Error`],[501,`Not Implemented`],[502,`Bad Gateway`],[503,`Service Unavailable`],[504,`Gateway Timeout`],[505,`HTTP Version Not Supported`],[506,`Variant Also Negotiates`],[507,`Insufficient Storage`],[508,`Loop Detected`],[509,`Bandwidth Limit Exceeded`],[510,`Not Extended`],[511,`Network Authentication Required`]]),function(e){let t=new Map;for(let[n,r]of e)t.set(r.toLowerCase(),n);return t}(Ce),function(e){let t=[];for(let[n,r]of e)t.push(n);return t}(Ce)})),Te=s((()=>{z(),we(),ie()}));function Ee(e){return ae(e)}var De=s((()=>{Te()})),Oe,ke,Ae,je=s((()=>{Oe=e=>typeof e!=`string`&&`tagName`in e&&`childrenList`in e,ke=(e,t)=>{let n=t.trim();if(!n)return!1;if(n.startsWith(`.`))return e.classList.contains(n.slice(1));if(n.startsWith(`#`))return e.getAttribute(`id`)===n.slice(1);if(n.startsWith(`[`)&&n.endsWith(`]`)){let[t,r]=n.slice(1,-1).trim().split(`=`),i=(t||``).trim();if(!i)return!1;if(r==null)return e.hasAttribute(i);let a=r.trim().replace(/^['"]|['"]$/g,``);return e.getAttribute(i)===a}return e.tagName===n.toLowerCase()},Ae=(e,t,n)=>{for(let r of e)Oe(r)&&(ke(r,t)&&n.push(r),Ae(r.childrenList,t,n))}})),Me,Ne,Pe,Fe=s((()=>{De(),je(),Me=class{childrenList=[];appendChild(e){return this.childrenList.push(e),e}serialize(){return this.childrenList.map(e=>typeof e==`string`?ae(e):e.serialize()).join(``)}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return Ae(this.childrenList,e,t),t}},Ne=class{tagName;attributes=new Map;inlineStyles=new Map;childrenList=[];shadowRoot=null;textContent=null;content;eventListeners=new Map;style={setProperty:(e,t)=>{let n=e.startsWith(`--`)?e:e.replace(/([A-Z])/g,`-$1`).toLowerCase();this.inlineStyles.set(n,t)},removeProperty:e=>this.inlineStyles.delete(e)};classList={add:(...e)=>{let t=this.attributes.get(`class`)||``,n=new Set([...t.split(` `).filter(Boolean),...e]);this.attributes.set(`class`,Array.from(n).join(` `))},remove:(...e)=>{let t=(this.attributes.get(`class`)||``).split(` `).filter(t=>!e.includes(t));this.attributes.set(`class`,t.join(` `))},toggle:e=>{this.classList.contains(e)?this.classList.remove(e):this.classList.add(e)},contains:e=>(this.attributes.get(`class`)||``).split(` `).includes(e)};_innerHTML=``;get innerHTML(){return this._innerHTML}set innerHTML(e){this._innerHTML=e,this.tagName===`template`&&this.content&&(this.content.childrenList=[e])}constructor(e=`div`){this.tagName=e.toLowerCase(),this.tagName===`template`&&(this.content=new Me)}get hidden(){return this.hasAttribute(`hidden`)}set hidden(e){e?this.setAttribute(`hidden`,``):this.removeAttribute(`hidden`)}setAttribute(e,t){this.attributes.set(e,t)}getAttribute(e){return this.attributes.get(e)||null}removeAttribute(e){this.attributes.delete(e)}hasAttribute(e){return this.attributes.has(e)}appendChild(e){return this.childrenList.push(e),e}attachShadow(e){return this.shadowRoot=new Pe(this,e),this.shadowRoot}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return Ae(this.childrenList,e,t),t}addEventListener(e,t){let n=this.eventListeners.get(e)||new Set;n.add(t),this.eventListeners.set(e,n)}removeEventListener(e,t){let n=this.eventListeners.get(e);n&&(n.delete(t),n.size===0&&this.eventListeners.delete(e))}dispatchEvent(e){let t=this.eventListeners.get(e.type);if(!t||t.size===0)return!0;for(let n of t)typeof n==`function`?n.call(this,e):n.handleEvent(e);return!e.defaultPrevented}serialize(e){typeof this._preSerialize==`function`&&this._preSerialize();let t=e||this._ssrTag||this.tagName,n=Array.from(this.attributes.entries()).map(([e,t])=>` ${e}="${Ee(t)}"`).join(``),r=Array.from(this.inlineStyles.entries()).map(([e,t])=>`${e}:${t}`).join(`;`),i=r?` style="${Ee(r)}"`:``,a=``;return this.shadowRoot&&(a+=this.shadowRoot.serialize()),this.textContent===null?this._innerHTML?a+=this._innerHTML:a+=this.childrenList.map(e=>typeof e==`string`?ae(e):(e instanceof Me,e.serialize())).join(``):a+=ae(this.textContent),[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`].includes(t)&&!a?`<${t}${n}${i} />`:`<${t}${n}${i}>${a}</${t}>`}},Pe=class{host;options;childrenList=[];adoptedStyleSheets=[];constructor(e,t){this.host=e,this.options=t}appendChild(e){return this.childrenList.push(e),e}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return Ae(this.childrenList,e,t),t}serialize(){return`<template shadowrootmode="${this.options.mode}"${this.options.delegatesFocus?` shadowrootdelegatesfocus`:``}>${this.adoptedStyleSheets.map(e=>`<style>${ae(e)}</style>`).join(``)}${this.childrenList.map(e=>typeof e==`string`?ae(e):(e instanceof Me,e.serialize())).join(``)}</template>`}}})),Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze=s((()=>{m(),Fe(),ee(),Ie=e=>e.reduce((e,t)=>Array.isArray(t)?e.concat(Ie(t)):e.concat(t),[]),Le=e=>e==null?null:e instanceof Ye?e.build():typeof e==`string`?p?e:document.createTextNode(e):e,Re=(e,t)=>{if(p){Je(e,[t()]);return}let n=document.createComment(``),r=document.createComment(``);e.appendChild(n),e.appendChild(r);let i=null,a=()=>{i?.(),i=null;let e=n.nextSibling;for(;e&&e!==r;){let t=e.nextSibling;e.parentNode?.removeChild(e),e=t}};v(()=>{let e=t();a();let n=document.createDocumentFragment();i=y(t=>(Je(n,[e]),t)),r.parentNode?.insertBefore(n,r)}),b(()=>i?.())},ze=`__ranFor`,Be=e=>typeof e==`object`&&!!e&&e[ze]===!0,Ve=(e,t,n)=>{let[r,i]=_(t),a=null,o=y(t=>{let i=Le(n(e,r));return a=typeof i==`string`?document.createTextNode(i):i,t});return{node:a,index:i,dispose:o}},He=(e,t)=>{let n=e.parentNode;if(!n)return;let r=e;for(let e of t)r.nextSibling!==e&&n.insertBefore(e,r.nextSibling),r=e},Ue=(e,t)=>{if(p){(t.each()??[]).forEach((n,r)=>{let i=Le(t.render(n,()=>r));i!=null&&e.appendChild(i)});return}let n=document.createComment(``);e.appendChild(n);let r=new Map;b(()=>{for(let e of r.values())e.dispose();r.clear()}),v(()=>{let e=t.each()??[],i=new Map,a=[];e.forEach((e,n)=>{let o=t.key(e,n);if(i.has(o))return;let s=r.get(o);s?(r.delete(o),s.index(n)):s=Ve(e,n,t.render),i.set(o,s),s.node&&a.push(s.node)});for(let e of r.values())e.node?.parentNode?.removeChild(e.node),e.dispose();He(n,a),r=i})},We=`__ranIndex`,Ge=e=>typeof e==`object`&&!!e&&e[We]===!0,Ke=(e,t,n)=>{let[r,i]=_(e),a=null,o=y(e=>{let i=Le(n(r,t));return a=typeof i==`string`?document.createTextNode(i):i,e});return{node:a,setItem:i,dispose:o}},qe=(e,t)=>{if(p){(t.each()??[]).forEach((n,r)=>{let i=Le(t.render(()=>n,r));i!=null&&e.appendChild(i)});return}let n=document.createComment(``);e.appendChild(n);let r=[];b(()=>{for(let e of r)e.dispose();r=[]}),v(()=>{let e=t.each()??[];for(let n=0;n<e.length;n++)n<r.length?r[n].setItem(e[n]):r.push(Ke(e[n],n,t.render));for(let t=r.length-1;t>=e.length;t--){let{node:e}=r[t];e?.parentNode?.removeChild(e),r[t].dispose(),r.pop()}He(n,r.map(e=>e.node).filter(e=>e!=null))})},Je=(e,t)=>{Ie(t).forEach(t=>{if(Be(t)){Ue(e,t);return}if(Ge(t)){qe(e,t);return}if(typeof t==`function`){Re(e,t);return}let n=Le(t);n!=null&&e.appendChild(n)})},Ye=class{el;constructor(e){this.el=p?new Ne(e):document.createElement(e)}id(e){return this.el.setAttribute(`id`,e),this}bind(e,t){typeof e==`function`?v(()=>t(e())):t(e)}class(e){return this.bind(e,e=>{p?this.el.attributes.set(`class`,e):this.el.className=e}),this}addClass(...e){return e.forEach(e=>this.el.classList.add(e)),this}removeClass(...e){return e.forEach(e=>this.el.classList.remove(e)),this}attr(e,t){return this.bind(t,t=>this.el.setAttribute(e,t)),this}attrs(e){return Object.entries(e).forEach(([e,t])=>{t!=null&&this.el.setAttribute(e,String(t))}),this}boolAttr(e,t,n=``){return this.bind(t,t=>{t?this.el.setAttribute(e,n):this.el.removeAttribute(e)}),this}part(e){return this.attr(`part`,e)}data(e,t){return this.attr(`data-${e}`,t)}style(e,t){return typeof e==`string`?this.bind(t??``,t=>this.el.style.setProperty(e,t)):Object.entries(e).forEach(([e,t])=>this.el.style.setProperty(e,t)),this}cssVar(e,t){let n=e.startsWith(`--`)?e:`--${e}`;return this.style(n,t)}aria(e,t){return this.attr(`aria-${e}`,t)}role(e){return this.attr(`role`,e)}tabIndex(e){return this.attr(`tabindex`,String(e))}label(e){return this.aria(`label`,e)}labelledBy(e){return this.aria(`labelledby`,e)}describedBy(e){return this.aria(`describedby`,e)}ariaHidden(e=!0){return this.aria(`hidden`,String(e))}on(e,t,n){return this.el.addEventListener(e,t,n),this}listen(e,t,n,r){return e.on(this.el,t,n,r),this}delegate(e,t,n,r,i){return e.delegate(this.el,t,n,r,i),this}children(...e){return Je(this.el,e),this}replaceChildren(...e){if(p){let e=this.el;e.childrenList=[]}else this.el.replaceChildren();return this.children(...e)}text(e){return this.bind(e,e=>{this.el.textContent=e}),this}ref(e){return e.current=this.el,this}shadow(e={mode:`closed`}){let t=this.el.attachShadow(e);return new Xe(this.el,t,e)}build(){return this.el}serialize(){if(p)return this.el.serialize();let e=document.createElement(`div`);return e.appendChild(this.el.cloneNode(!0)),e.innerHTML}},Xe=class{root;hostEl;options;constructor(e,t,n){this.hostEl=e,this.root=t,this.options=n}children(...e){return Je(this.root,e),this}adoptSheet(...e){return this.root.adoptedStyleSheets=[...this.root.adoptedStyleSheets,...e],this}css(e){if(p)return this.root.adoptedStyleSheets.push(e),this;if(typeof CSSStyleSheet<`u`)try{let t=new CSSStyleSheet;return t.replaceSync(e),this.root.adoptedStyleSheets=[...this.root.adoptedStyleSheets,t],this}catch{}let t=document.createElement(`style`);return t.textContent=e,this.root.appendChild(t),this}done(){return{host:this.hostEl,shadow:this.root}}serialize(){return p?this.root.serialize():this.root.innerHTML}}})),Qe,$e,et,tt,nt=s((()=>{Ze(),Qe=e=>new Ye(e),$e=()=>Qe(`div`),et=()=>Qe(`slot`),tt=()=>Qe(`button`)})),rt=s((()=>{m(),g(),ee(),De(),je(),Fe(),Ze(),nt()})),it,at=s((()=>{Te(),rt(),it=[!1,`false`,null,void 0]})),ot=s((()=>{}));function st(e,t){p?(ct.set(e,t),t.prototype._ssrTag=e):customElements.get(e)||customElements.define(e,t)}var ct,lt=s((()=>{m(),ct=new Map})),ut,dt,ft=s((()=>{rt(),ut=()=>typeof document<`u`?HTMLElement:Ne,dt=ut()})),pt=s((()=>{})),mt,ht,gt,_t,vt=s((()=>{Te(),mt=`data-ranui`,ht=`data-ranui-sheet`,gt=(e,t)=>xe(e,t,mt),_t=(e,t)=>Se(e,t,ht)})),yt,bt,xt,St,Ct,wt,Tt,Et,Dt=s((()=>{vt(),yt=new WeakMap,bt=`@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}`,xt=(e,t=``,n={mode:`closed`})=>{let r=e.shadowRoot||yt.get(e)||e.attachShadow(n);return yt.set(e,r),gt(r,t?`${t}\n${bt}`:bt),r},St=(e,t,n)=>{let r=e.querySelector(t);if(r)return r;let i=n();return e.appendChild(i),i},Ct=(e,t,n=``)=>e.getAttribute(t)??n,wt=(e,t,n,r={})=>{if(r.removeEmpty&&!n){e.removeAttribute(t);return}e.setAttribute(t,n??``)},Tt=(e,t,n,r={})=>{if(n){e.setAttribute(t,``),r.aria&&e.setAttribute(`aria-${r.aria}`,`true`);return}e.removeAttribute(t),r.aria&&e.removeAttribute(`aria-${r.aria}`)},Et=(e,t,n,r,i)=>{if(n!==`sheet`||r===i)return;let a=e.getAttribute(`sheet`)||``;a&&_t(t,a)}})),Ot=s((()=>{Te()})),kt=s((()=>{rt(),at(),Te(),ot(),ee(),ft(),pt(),Dt(),Ot()}));kt();var eee=`.remove-wap-active-focus,.remove-wap-active-focus:active,.remove-wap-active-focus:focus{-webkit-tap-highlight-color:transparent;outline:0}:host{display:var(--ran-icon-host-display,inline-flex)}:host([spin]){animation-name:var(--ran-icon-host-spin-animation-name,rotate);animation-duration:var(--ran-icon-host-spin-animation-name,1.4s);animation-timing-function:linear;animation-iteration-count:var(--ran-icon-host-spin-animation-name,infinite)}.ran-icon{display:var(--ran-icon-display,flex);align-items:var(--ran-icon-align-items,center);justify-content:var(--ran-icon-justify-content,center);color:var(--ran-icon-color,inherit);font-size:var(--ran-icon-font-size,1em);margin:var(--ran-icon-margin,0)}.ran-icon svg{width:var(--ran-icon-svg-width,1em);height:var(--ran-icon-svg-height,1em);fill:var(--ran-icon-svg-fill,currentColor);stroke:var(--ran-icon-svg-stroke,currentColor)}@keyframes rotate{to{transform:var(--ran-icon-keyframes-to-transform,rotate(360deg))}}`,At=u({default:()=>jt}),jt,Mt=s((()=>{jt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></g></svg>`}})),Nt=u({default:()=>Pt}),Pt,Ft=s((()=>{Pt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></g></svg>`}})),tee=u({default:()=>It}),It,nee=s((()=>{It={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></g></svg>`}})),ree=u({default:()=>Lt}),Lt,iee=s((()=>{Lt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M8 21H5a2 2 0 0 1-2-2v-3m18 0v3a2 2 0 0 1-2 2h-3"/></g></svg>`}})),aee=u({default:()=>Rt}),Rt,oee=s((()=>{Rt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="11" y1="8" x2="11" y2="14"/><line x1="8" y1="11" x2="14" y2="11"/></g></svg>`}})),see=u({default:()=>zt}),zt,cee=s((()=>{zt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="8" y1="11" x2="14" y2="11"/></g></svg>`}})),lee=u({default:()=>Bt}),Bt,uee=s((()=>{Bt={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 4 23 10 17 10"/><polyline points="1 20 1 14 7 14"/><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/></g></svg>`}}));Mt(),Ft(),nee(),iee(),oee(),cee(),uee();var dee={copy:jt,check:Pt,download:It,fullscreen:Lt,"zoom-in":Rt,"zoom-out":zt,refresh:Bt},fee=u({default:()=>pee}),pee,mee=s((()=>{pee={success:!0,_identification:!0,data:`<svg t="1667110768583" class="icon" viewBox="0 0 1024 1024" version="1.1"
2
2
  xmlns="http://www.w3.org/2000/svg" p-id="8046" width="200" height="200">
3
3
  <path
4
4
  d="M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h0.1c3 0 4.4-3.6 2.2-5.6-30.8-27.6-65.6-49.7-103.7-65.8-0.4-0.2-0.8-0.3-1.2-0.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-0.4 0.2-0.8 0.3-1.2 0.5-44.7 18.9-84.8 46-119.3 80.6-34.5 34.5-61.5 74.7-80.4 119.5C147.9 794.5 138 841 137 888.8c-0.1 4.5 3.5 8.2 8 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1 2.5 1.5 5.5 1.7 8.1 0.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4-32.4-32.5-50.3-75.7-50.3-121.6 0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4c32.4 32.5 50.3 75.7 50.3 121.6 0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"
@@ -1,4 +1,4 @@
1
- var ranui_message=(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var t=Object.defineProperty,n=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},r=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},i=`.remove-wap-active-focus,.remove-wap-active-focus:active,.remove-wap-active-focus:focus{-webkit-tap-highlight-color:transparent;outline:0}:host([type=toast]) .ran-message-notice{text-align:center;word-break:break-all;max-width:90%;margin:0 auto;padding:8px}:host([type=toast]) .ran-message-notice-content{pointer-events:all;background:#000000b3;border-radius:7px;padding:10px 16px;display:inline-block}:host([type=toast]) .ran-message-notice-content-info{align-items:center;display:flex}:host([type=toast]) .ran-message-notice-content-info span{font-variant:tabular-nums;font-feature-settings:"tnum";z-index:1010;pointer-events:none;color:#fff;width:100%;margin:0;padding:0;font-size:14px;list-style:none}.ran-message-notice{padding:var(--ran-message-notice-padding,8px);text-align:var(--ran-message-notice-text-align,center);max-width:var(--ran-message-notice-max-width,90%);margin:var(--ran-message-notice-margin,0 auto);word-break:var(--ran-message-notice-word-break,break-all)}.ran-message-notice-content{display:var(--ran-message-notice-content-display,inline-block);padding:var(--ran-message-notice-content-padding,10px 16px);background:var(--ran-message-notice-content-background,var(--ran-color-bg-elevated,#fff));border-image-source:var(--ran-message-notice-content-border-image-source,none);border-image-slice:var(--ran-message-notice-content-border-image-slice,8);border-image-width:var(--ran-message-notice-content-border-image-width,4px);border-radius:var(--ran-message-notice-content-border-radius,var(--ran-radius-md,12px));box-shadow:var(--ran-message-notice-content-box-shadow,var(--ran-shadow-menu,0 2px 4px #0000000d, 0 8px 24px -6px #00000024));pointer-events:var(--ran-message-notice-content-pointer-events,all);border-image-outset:0;border-image-repeat:stretch}.ran-message-notice-content-info{align-items:var(--ran-message-notice-content-info-align-items,center);display:var(--ran-message-notice-content-info-display,flex)}.ran-message-notice-content-info span{margin:var(--ran-message-notice-content-info-span-margin,0);padding:var(--ran-message-notice-content-info-span-padding,0);color:var(--ran-message-notice-content-info-span-color,var(--ran-color-text,#000000d9));font-size:var(--ran-message-notice-content-info-span-font-size,14px);font-variant:var(--ran-message-notice-content-info-span-font-variant,tabular-nums);list-style:var(--ran-message-notice-content-info-span-list-style,none);font-feature-settings:var(--ran-message-notice-content-info-span-font-feature-settings,"tnum");z-index:var(--ran-message-notice-content-info-span-z-index,1010);width:var(--ran-message-notice-content-info-span-width,100%);pointer-events:var(--ran-message-notice-content-info-span-pointer-events,none)}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes MessageMoveIn{0%{opacity:0;padding:0;transform:translateY(-100%)}to{opacity:1;padding:8px;transform:translateY(0)}}@keyframes MessageMoveOut{0%{opacity:1;max-height:150px;padding:8px}to{opacity:0;max-height:0;padding:0}}.ranui-message{box-sizing:var(--ran-message-box-sizing,border-box);margin:var(--ran-message-margin,0);padding:var(--ran-message-padding,0);color:var(--ran-message-color,var(--ran-color-text,#000000d9));font-size:var(--ran-message-font-size,14px);font-variant:var(--ran-message-font-variant,tabular-nums);line-height:var(--ran-message-line-height,1.5715);list-style:var(--ran-message-ist-style,none);font-feature-settings:var(--ran-message-font-feature-settings,"tnum");position:var(--ran-message-position,fixed);top:var(--ran-message-top,8px);left:var(--ran-message-left,0);z-index:var(--ran-message-z-index,var(--ran-z-message,1200));width:var(--ran-message-width,100%);pointer-events:var(--ran-message-pointer-events,none)}.ranui-message .message-in{animation-name:var(--ran-message-in-animation-name,MessageMoveIn);animation-duration:var(--ran-message-in-animation-duration,.3s);animation-timing-function:var(--ran-message-in-animation-timing-function,cubic-bezier(.78, .14, .15, .86))}.ranui-message .message-leave{animation-name:var(--ran-message-leave-animation-name,MessageMoveOut);animation-duration:var(--ran-message-leave-animation-duration,.3s);animation-timing-function:var(--ran-message-leave-animation-timing-function,cubic-bezier(.78, .14, .15, .86))}`,a=r({default:()=>o}),o,s=n((()=>{o={success:!0,_identification:!0,data:`<svg t="1667965185400" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8572" width="200" height="200"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m193.5 301.7l-210.6 292c-12.7 17.7-39 17.7-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" p-id="8573"></path></svg>`}})),c=r({default:()=>l}),l,ee=n((()=>{l={success:!0,_identification:!0,data:`<svg t="1667965220951" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8711" width="200" height="200"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m165.4 618.2l-66-0.3L512 563.4l-99.3 118.4-66.1 0.3c-4.4 0-8-3.5-8-8 0-1.9 0.7-3.7 1.9-5.2l130.1-155L340.5 359c-1.2-1.5-1.9-3.3-1.9-5.2 0-4.4 3.6-8 8-8l66.1 0.3L512 464.6l99.3-118.4 66-0.3c4.4 0 8 3.5 8 8 0 1.9-0.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" p-id="8712"></path></svg>`}})),te=r({default:()=>u}),u,ne=n((()=>{u={success:!0,_identification:!0,data:`<svg t="1667965239916" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8850" width="200" height="200"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272z m-32-344c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z" p-id="8851"></path></svg>`}})),re=r({default:()=>d}),d,ie=n((()=>{d={success:!0,_identification:!0,data:`<svg t="1667965273540" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8989" width="200" height="200"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296z m32 440c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z" p-id="8990"></path></svg>`}}));s(),ee(),ne(),ie();var ae=`.remove-wap-active-focus,.remove-wap-active-focus:active,.remove-wap-active-focus:focus{-webkit-tap-highlight-color:transparent;outline:0}:host{display:var(--ran-icon-host-display,inline-flex)}:host([spin]){animation-name:var(--ran-icon-host-spin-animation-name,rotate);animation-duration:var(--ran-icon-host-spin-animation-name,1.4s);animation-timing-function:linear;animation-iteration-count:var(--ran-icon-host-spin-animation-name,infinite)}.ran-icon{display:var(--ran-icon-display,flex);align-items:var(--ran-icon-align-items,center);justify-content:var(--ran-icon-justify-content,center);color:var(--ran-icon-color,inherit);font-size:var(--ran-icon-font-size,1em);margin:var(--ran-icon-margin,0)}.ran-icon svg{width:var(--ran-icon-svg-width,1em);height:var(--ran-icon-svg-height,1em);fill:var(--ran-icon-svg-fill,currentColor);stroke:var(--ran-icon-svg-stroke,currentColor)}@keyframes rotate{to{transform:var(--ran-icon-keyframes-to-transform,rotate(360deg))}}`,f=typeof document>`u`,oe=class{ac;constructor(){this.ac=new AbortController}get signal(){return this.ac.signal}on(e,t,n,r){return e.addEventListener(t,n,{...r,signal:this.ac.signal}),this}delegate(e,t,n,r,i){return e.addEventListener(n,n=>{let i=n.target?.closest(t);i&&e.contains(i)&&r(n,i)},{...i,signal:this.ac.signal}),this}abort(){this.ac.abort(),this.ac=new AbortController}},p=0,se=1,m=2,h=null,g=null,_=0,v=new Set,y=!1;function ce(e,t){let n=t?.equals??Object.is,r={value:e,observers:new Set};return[()=>(de(r),r.value),e=>{let t=typeof e==`function`?e(r.value):e;if(!n(r.value,t)){r.value=t;for(let e of r.observers)C(e,m);_===0&&fe()}}]}function b(e){let t=le(e,!0);return ue(t),pe(t),()=>E(t)}function x(e){let t={owned:[],cleanups:[],owner:g},n=g,r=h;g=t,h=null;try{return e(()=>me(t))}finally{g=n,h=r}}function S(e){g&&g.cleanups.push(e)}function le(e,t,n){return{fn:e,sources:new Set,isEffect:t,running:!1,disposed:!1,state:m,observers:new Set,value:void 0,equals:n??Object.is,owned:[],cleanups:[],owner:g}}function ue(e){g&&g.owned.push(e)}function de(e){h&&(h.sources.add(e),e.observers.add(h))}function C(e,t){if(e.disposed||e.state>=t)return;let n=e.state===p;if(e.state=t,e.isEffect)v.add(e);else if(n)for(let t of e.observers)C(t,se)}function fe(){if(!(_>0||y)){y=!0;try{for(;v.size>0;){let e=[...v];v.clear();for(let t of e)t.disposed||w(t)}}finally{y=!1}}}function w(e){if(!(e.disposed||e.state===p)){if(e.state===se)for(let t of e.sources)`fn`in t&&w(t);e.state===m&&pe(e),e.state=p}}function pe(e){if(e.running)throw Error(`ranui reactivity: cyclic dependency detected (a computation triggered itself).`);T(e);let t=h,n=g;h=e,g=e,e.running=!0,e.state=p;try{let t=e.fn();if(e.isEffect)typeof t==`function`&&e.cleanups.push(t);else{let n=e.value;if(e.value=t,e.observers.size>0&&!e.equals(n,t))for(let t of e.observers)C(t,m)}}finally{e.running=!1,h=t,g=n}}function T(e){for(let t of e.owned)E(t);e.owned.length=0;for(let t of e.cleanups)t();e.cleanups.length=0;for(let t of e.sources)t.observers.delete(e);e.sources.clear()}function E(e){e.disposed||(e.disposed=!0,T(e),e.observers.clear())}function me(e){for(let t of e.owned)E(t);e.owned.length=0;for(let t of e.cleanups)t();e.cleanups.length=0}var he=class{_events=new Map;tap=(e,t)=>{this._events.get(e)&&e!==Symbol.for(`NEW_LISTENER`)&&this.call(Symbol.for(`NEW_LISTENER`),e);let n=this._events.get(e)||new Set;return typeof t==`function`?n.add({name:e,callback:t}):n.add(t),this._events.set(e,n),this};call=(e,...t)=>((this._events.get(e)||new Set).forEach(e=>{let{callback:n}=e;n(...t)}),this);callSync=async(e,...t)=>{let n=this._events.get(e)||new Set;for(let e of n){let{callback:n}=e;await n(...t)}return this};once=(e,t)=>{let n;if(typeof t==`function`)n={name:e,callback:(...r)=>{t(...r),this.off(e,n)},initialCallback:t};else{let{callback:r}=t;n={name:e,callback:(...t)=>{r(...t),this.off(e,n)},initialCallback:r}}return this.tap(e,n),this};off=(e,t)=>{let n=[...this._events.get(e)||new Set].filter(e=>{if(typeof t==`function`)return e.callback!==t&&e.initialCallback!==t;{let{callback:n}=t;return e.callback!==n&&e.initialCallback!==n}});return this._events.set(e,new Set(n)),this}};Math.PI/180,180/Math.PI,2*Math.PI;var D=(e=8)=>Math.random().toString(36).substring(2,e+2);Object.freeze({});var ge=e=>typeof e==`function`,_e=12e4,ve=`__ranuts_bridge__`,ye=`default`,be=new class{bridges=new Set;attachedWindow=null;handleMessage=e=>{for(let t of Array.from(this.bridges))t.receive(e)};add(e){this.bridges.add(e),typeof window<`u`&&this.attachedWindow!==window&&(window.addEventListener(`message`,this.handleMessage),this.attachedWindow=window)}remove(e){this.bridges.delete(e),this.bridges.size===0&&this.attachedWindow&&(this.attachedWindow.removeEventListener(`message`,this.handleMessage),this.attachedWindow=null)}},xe=class{targetWindow;targetOrigin;messageHandlers;pendingRequests;channel;senderId;available;constructor(e,t=`*`,n=ye){this.targetOrigin=t,this.channel=n,this.senderId=D(12),this.messageHandlers=new Map,this.pendingRequests=new Map,this.available=typeof window<`u`,this.available?(this.targetWindow=e??window,be.add(this)):this.targetWindow=void 0}post(e,t){let n={...t,__bridge:ve,channel:this.channel,senderId:this.senderId};e.postMessage(n,this.targetOrigin)}receive=e=>{if(!this.available||this.targetOrigin!==`*`&&e.origin!==this.targetOrigin||e.source&&e.source!==this.targetWindow)return;let t=e.data;if(!t||typeof t!=`object`||t.__bridge!==`__ranuts_bridge__`||(t.channel??`default`)!==this.channel)return;let{type:n,payload:r,id:i,isResponse:a,isError:o,senderId:s}=t;if(a&&i){let e=this.pendingRequests.get(i);e&&(o?e.reject(Error(typeof r==`string`?r:`Bridge request failed`)):e.resolve(r),this.pendingRequests.delete(i));return}if(s&&s===this.senderId||typeof n!=`string`||!this.messageHandlers.has(n))return;let c=this.messageHandlers.get(n);if(ge(c)){let t=e.source??this.targetWindow;Promise.resolve(c(r)).then(e=>{i&&this.post(t,{type:n,payload:e,id:i,isResponse:!0})}).catch(e=>{i&&this.post(t,{type:n,payload:e instanceof Error?e.message:String(e),id:i,isResponse:!0,isError:!0})})}};on=(e,t)=>{this.messageHandlers.set(e,t)};off=e=>{this.messageHandlers.delete(e)};send=async(e,t)=>{if(!this.available)return Promise.reject(Error(`PostMessageBridge is unavailable outside a browser environment`));let n=D(10);return new Promise((r,i)=>{let a=setTimeout(()=>{this.pendingRequests.has(n)&&(this.pendingRequests.delete(n),i(Error(`Request timeout`)))},_e),o=e=>{clearTimeout(a),i(e)};this.pendingRequests.set(n,{resolve:e=>{clearTimeout(a),r(e)},reject:o});try{this.post(this.targetWindow,{type:e,payload:t,id:n})}catch(e){this.pendingRequests.delete(n),o(e instanceof Error?e:Error(`Failed to post message`))}})};broadcast=e=>{if(this.available)try{this.post(this.targetWindow,{type:e.type,payload:e.payload})}catch{}};destroy=()=>{be.remove(this),this.messageHandlers.clear(),this.pendingRequests.forEach(e=>{e.reject(Error(`Bridge destroyed`))}),this.pendingRequests.clear()}};(class e{static instance;bridges=new Map;constructor(){}static getInstance(){return e.instance||=new e,e.instance}connectClient=({id:e,targetOrigin:t,targetWindow:n,channel:r})=>{let i=new xe(n,t,r);if(e||=D(10),this.bridges.has(e))throw Error(`Bridge ${e} already exists`);return this.bridges.set(e,i),{bridge:i,id:e}};getClient=e=>this.bridges.get(e);removeClient=e=>{let t=this.bridges.get(e);t&&(t.destroy(),this.bridges.delete(e))};removeAllClient=()=>{this.bridges.forEach(e=>{e.destroy()}),this.bridges.clear()};broadcast=e=>{this.bridges.forEach(t=>{t.broadcast(e)})};sendTo=(e,t,n)=>{let r=this.getClient(e);return r?r.send(t,n):Promise.reject(Error(`Bridge ${e} not found`))}}).getInstance(),new he;var O=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],k=class{highOrder;lowOrder;constructor(e,t){this.highOrder=e,this.lowOrder=t}};new k(O[0],3609767458),new k(O[1],602891725),new k(O[2],3964484399),new k(O[3],2173295548),new k(O[4],4081628472),new k(O[5],3053834265),new k(O[6],2937671579),new k(O[7],3664609560),new k(O[8],2734883394),new k(O[9],1164996542),new k(O[10],1323610764),new k(O[11],3590304994),new k(O[12],4068182383),new k(O[13],991336113),new k(O[14],633803317),new k(O[15],3479774868),new k(O[16],2666613458),new k(O[17],944711139),new k(O[18],2341262773),new k(O[19],2007800933),new k(O[20],1495990901),new k(O[21],1856431235),new k(O[22],3175218132),new k(O[23],2198950837),new k(O[24],3999719339),new k(O[25],766784016),new k(O[26],2566594879),new k(O[27],3203337956),new k(O[28],1034457026),new k(O[29],2466948901),new k(O[30],3758326383),new k(O[31],168717936),new k(O[32],1188179964),new k(O[33],1546045734),new k(O[34],1522805485),new k(O[35],2643833823),new k(O[36],2343527390),new k(O[37],1014477480),new k(O[38],1206759142),new k(O[39],344077627),new k(O[40],1290863460),new k(O[41],3158454273),new k(O[42],3505952657),new k(O[43],106217008),new k(O[44],3606008344),new k(O[45],1432725776),new k(O[46],1467031594),new k(O[47],851169720),new k(O[48],3100823752),new k(O[49],1363258195),new k(O[50],3750685593),new k(O[51],3785050280),new k(O[52],3318307427),new k(O[53],3812723403),new k(O[54],2003034995),new k(O[55],3602036899),new k(O[56],1575990012),new k(O[57],1125592928),new k(O[58],2716904306),new k(O[59],442776044),new k(O[60],593698344),new k(O[61],3733110249),new k(O[62],2999351573),new k(O[63],3815920427),new k(3391569614,3928383900),new k(3515267271,566280711),new k(3940187606,3454069534),new k(4118630271,4000239992),new k(116418474,1914138554),new k(174292421,2731055270),new k(289380356,3203993006),new k(460393269,320620315),new k(685471733,587496836),new k(852142971,1086792851),new k(1017036298,365543100),new k(1126000580,2618297676),new k(1288033470,3409855158),new k(1501505948,4234509866),new k(1607167915,987167468),new k(1816402316,1246189591),new k(0,1),new k(0,32898),new k(2147483648,32906),new k(2147483648,2147516416),new k(0,32907),new k(0,2147483649),new k(2147483648,2147516545),new k(2147483648,32777),new k(0,138),new k(0,136),new k(0,2147516425),new k(0,2147483658),new k(0,2147516555),new k(2147483648,139),new k(2147483648,32905),new k(2147483648,32771),new k(2147483648,32770),new k(2147483648,128),new k(0,32778),new k(2147483648,2147483658),new k(2147483648,2147516545),new k(2147483648,32896),new k(0,2147483649),new k(2147483648,2147516424);var Se=/["'&<>]/;function A(e){let t=``+e,n=Se.exec(t);if(!n)return t;let r,i=``,a=0,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r=`&quot;`;break;case 38:r=`&amp;`;break;case 39:r=`&#39;`;break;case 60:r=`&lt;`;break;case 62:r=`&gt;`;break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=r}return o===a?i:i+t.substring(o,a)}var Ce=new Map,we=new Map,Te=`data-adopted-style`,Ee=`data-adopted-sheet`,De=(e,t,n)=>{if(typeof CSSStyleSheet>`u`)return!1;try{if(!n.has(t)){let e=new CSSStyleSheet;e.replaceSync(t),n.set(t,e)}let r=n.get(t);return e.adoptedStyleSheets.includes(r)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]),!0}catch{return!1}},Oe=(e,t,n=Te)=>{if(typeof document<`u`&&t&&!De(e,t,Ce)&&!e.querySelector(`style[${n}]`)){let r=document.createElement(`style`);r.setAttribute(n,``),r.textContent=t,e.appendChild(r)}},ke=(e,t,n=Ee)=>{if(typeof document<`u`&&t&&!De(e,t,we)&&!Array.from(e.querySelectorAll(`style[${n}]`)).some(e=>e.textContent===t)){let r=document.createElement(`style`);r.setAttribute(n,``),r.textContent=t,e.appendChild(r)}},Ae=new Map([[100,`Continue`],[101,`Switching Protocols`],[102,`Processing`],[103,`Early Hints`],[200,`OK`],[201,`Created`],[202,`Accepted`],[203,`Non-Authoritative Information`],[204,`No Content`],[205,`Reset Content`],[206,`Partial Content`],[207,`Multi-Status`],[208,`Already Reported`],[226,`IM Used`],[300,`Multiple Choices`],[301,`Moved Permanently`],[302,`Found`],[303,`See Other`],[304,`Not Modified`],[305,`Use Proxy`],[307,`Temporary Redirect`],[308,`Permanent Redirect`],[400,`Bad Request`],[401,`Unauthorized`],[402,`Payment Required`],[403,`Forbidden`],[404,`Not Found`],[405,`Method Not Allowed`],[406,`Not Acceptable`],[407,`Proxy Authentication Required`],[408,`Request Timeout`],[409,`Conflict`],[410,`Gone`],[411,`Length Required`],[412,`Precondition Failed`],[413,`Payload Too Large`],[414,`URI Too Long`],[415,`Unsupported Media Type`],[416,`Range Not Satisfiable`],[417,`Expectation Failed`],[418,`I'm a Teapot`],[421,`Misdirected Request`],[422,`Unprocessable Entity`],[423,`Locked`],[424,`Failed Dependency`],[425,`Too Early`],[426,`Upgrade Required`],[428,`Precondition Required`],[429,`Too Many Requests`],[431,`Request Header Fields Too Large`],[451,`Unavailable For Legal Reasons`],[500,`Internal Server Error`],[501,`Not Implemented`],[502,`Bad Gateway`],[503,`Service Unavailable`],[504,`Gateway Timeout`],[505,`HTTP Version Not Supported`],[506,`Variant Also Negotiates`],[507,`Insufficient Storage`],[508,`Loop Detected`],[509,`Bandwidth Limit Exceeded`],[510,`Not Extended`],[511,`Network Authentication Required`]]);(function(e){let t=new Map;for(let[n,r]of e)t.set(r.toLowerCase(),n);return t})(Ae),function(e){let t=[];for(let[n,r]of e)t.push(n);return t}(Ae);function je(e){return A(e)}var Me=e=>typeof e!=`string`&&`tagName`in e&&`childrenList`in e,Ne=(e,t)=>{let n=t.trim();if(!n)return!1;if(n.startsWith(`.`))return e.classList.contains(n.slice(1));if(n.startsWith(`#`))return e.getAttribute(`id`)===n.slice(1);if(n.startsWith(`[`)&&n.endsWith(`]`)){let[t,r]=n.slice(1,-1).trim().split(`=`),i=(t||``).trim();if(!i)return!1;if(r==null)return e.hasAttribute(i);let a=r.trim().replace(/^['"]|['"]$/g,``);return e.getAttribute(i)===a}return e.tagName===n.toLowerCase()},j=(e,t,n)=>{for(let r of e)Me(r)&&(Ne(r,t)&&n.push(r),j(r.childrenList,t,n))},M=class{childrenList=[];appendChild(e){return this.childrenList.push(e),e}serialize(){return this.childrenList.map(e=>typeof e==`string`?A(e):e.serialize()).join(``)}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return j(this.childrenList,e,t),t}},Pe=class{tagName;attributes=new Map;inlineStyles=new Map;childrenList=[];shadowRoot=null;textContent=null;content;eventListeners=new Map;style={setProperty:(e,t)=>{let n=e.startsWith(`--`)?e:e.replace(/([A-Z])/g,`-$1`).toLowerCase();this.inlineStyles.set(n,t)},removeProperty:e=>this.inlineStyles.delete(e)};classList={add:(...e)=>{let t=this.attributes.get(`class`)||``,n=new Set([...t.split(` `).filter(Boolean),...e]);this.attributes.set(`class`,Array.from(n).join(` `))},remove:(...e)=>{let t=(this.attributes.get(`class`)||``).split(` `).filter(t=>!e.includes(t));this.attributes.set(`class`,t.join(` `))},toggle:e=>{this.classList.contains(e)?this.classList.remove(e):this.classList.add(e)},contains:e=>(this.attributes.get(`class`)||``).split(` `).includes(e)};_innerHTML=``;get innerHTML(){return this._innerHTML}set innerHTML(e){this._innerHTML=e,this.tagName===`template`&&this.content&&(this.content.childrenList=[e])}constructor(e=`div`){this.tagName=e.toLowerCase(),this.tagName===`template`&&(this.content=new M)}get hidden(){return this.hasAttribute(`hidden`)}set hidden(e){e?this.setAttribute(`hidden`,``):this.removeAttribute(`hidden`)}setAttribute(e,t){this.attributes.set(e,t)}getAttribute(e){return this.attributes.get(e)||null}removeAttribute(e){this.attributes.delete(e)}hasAttribute(e){return this.attributes.has(e)}appendChild(e){return this.childrenList.push(e),e}attachShadow(e){return this.shadowRoot=new Fe(this,e),this.shadowRoot}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return j(this.childrenList,e,t),t}addEventListener(e,t){let n=this.eventListeners.get(e)||new Set;n.add(t),this.eventListeners.set(e,n)}removeEventListener(e,t){let n=this.eventListeners.get(e);n&&(n.delete(t),n.size===0&&this.eventListeners.delete(e))}dispatchEvent(e){let t=this.eventListeners.get(e.type);if(!t||t.size===0)return!0;for(let n of t)typeof n==`function`?n.call(this,e):n.handleEvent(e);return!e.defaultPrevented}serialize(e){typeof this._preSerialize==`function`&&this._preSerialize();let t=e||this._ssrTag||this.tagName,n=Array.from(this.attributes.entries()).map(([e,t])=>` ${e}="${je(t)}"`).join(``),r=Array.from(this.inlineStyles.entries()).map(([e,t])=>`${e}:${t}`).join(`;`),i=r?` style="${je(r)}"`:``,a=``;return this.shadowRoot&&(a+=this.shadowRoot.serialize()),this.textContent===null?this._innerHTML?a+=this._innerHTML:a+=this.childrenList.map(e=>typeof e==`string`?A(e):(e instanceof M,e.serialize())).join(``):a+=A(this.textContent),[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`].includes(t)&&!a?`<${t}${n}${i} />`:`<${t}${n}${i}>${a}</${t}>`}},Fe=class{host;options;childrenList=[];adoptedStyleSheets=[];constructor(e,t){this.host=e,this.options=t}appendChild(e){return this.childrenList.push(e),e}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return j(this.childrenList,e,t),t}serialize(){return`<template shadowrootmode="${this.options.mode}"${this.options.delegatesFocus?` shadowrootdelegatesfocus`:``}>${this.adoptedStyleSheets.map(e=>`<style>${A(e)}</style>`).join(``)}${this.childrenList.map(e=>typeof e==`string`?A(e):(e instanceof M,e.serialize())).join(``)}</template>`}},Ie=e=>e.reduce((e,t)=>Array.isArray(t)?e.concat(Ie(t)):e.concat(t),[]),N=e=>e==null?null:e instanceof qe?e.build():typeof e==`string`?f?e:document.createTextNode(e):e,Le=(e,t)=>{if(f){P(e,[t()]);return}let n=document.createComment(``),r=document.createComment(``);e.appendChild(n),e.appendChild(r);let i=null,a=()=>{i?.(),i=null;let e=n.nextSibling;for(;e&&e!==r;){let t=e.nextSibling;e.parentNode?.removeChild(e),e=t}};b(()=>{let e=t();a();let n=document.createDocumentFragment();i=x(t=>(P(n,[e]),t)),r.parentNode?.insertBefore(n,r)}),S(()=>i?.())},Re=`__ranFor`,ze=e=>typeof e==`object`&&!!e&&e[Re]===!0,Be=(e,t,n)=>{let[r,i]=ce(t),a=null,o=x(t=>{let i=N(n(e,r));return a=typeof i==`string`?document.createTextNode(i):i,t});return{node:a,index:i,dispose:o}},Ve=(e,t)=>{let n=e.parentNode;if(!n)return;let r=e;for(let e of t)r.nextSibling!==e&&n.insertBefore(e,r.nextSibling),r=e},He=(e,t)=>{if(f){(t.each()??[]).forEach((n,r)=>{let i=N(t.render(n,()=>r));i!=null&&e.appendChild(i)});return}let n=document.createComment(``);e.appendChild(n);let r=new Map;S(()=>{for(let e of r.values())e.dispose();r.clear()}),b(()=>{let e=t.each()??[],i=new Map,a=[];e.forEach((e,n)=>{let o=t.key(e,n);if(i.has(o))return;let s=r.get(o);s?(r.delete(o),s.index(n)):s=Be(e,n,t.render),i.set(o,s),s.node&&a.push(s.node)});for(let e of r.values())e.node?.parentNode?.removeChild(e.node),e.dispose();Ve(n,a),r=i})},Ue=`__ranIndex`,We=e=>typeof e==`object`&&!!e&&e[Ue]===!0,Ge=(e,t,n)=>{let[r,i]=ce(e),a=null,o=x(e=>{let i=N(n(r,t));return a=typeof i==`string`?document.createTextNode(i):i,e});return{node:a,setItem:i,dispose:o}},Ke=(e,t)=>{if(f){(t.each()??[]).forEach((n,r)=>{let i=N(t.render(()=>n,r));i!=null&&e.appendChild(i)});return}let n=document.createComment(``);e.appendChild(n);let r=[];S(()=>{for(let e of r)e.dispose();r=[]}),b(()=>{let e=t.each()??[];for(let n=0;n<e.length;n++)n<r.length?r[n].setItem(e[n]):r.push(Ge(e[n],n,t.render));for(let t=r.length-1;t>=e.length;t--){let{node:e}=r[t];e?.parentNode?.removeChild(e),r[t].dispose(),r.pop()}Ve(n,r.map(e=>e.node).filter(e=>e!=null))})},P=(e,t)=>{Ie(t).forEach(t=>{if(ze(t)){He(e,t);return}if(We(t)){Ke(e,t);return}if(typeof t==`function`){Le(e,t);return}let n=N(t);n!=null&&e.appendChild(n)})},qe=class{el;constructor(e){this.el=f?new Pe(e):document.createElement(e)}id(e){return this.el.setAttribute(`id`,e),this}bind(e,t){typeof e==`function`?b(()=>t(e())):t(e)}class(e){return this.bind(e,e=>{f?this.el.attributes.set(`class`,e):this.el.className=e}),this}addClass(...e){return e.forEach(e=>this.el.classList.add(e)),this}removeClass(...e){return e.forEach(e=>this.el.classList.remove(e)),this}attr(e,t){return this.bind(t,t=>this.el.setAttribute(e,t)),this}attrs(e){return Object.entries(e).forEach(([e,t])=>{t!=null&&this.el.setAttribute(e,String(t))}),this}boolAttr(e,t,n=``){return this.bind(t,t=>{t?this.el.setAttribute(e,n):this.el.removeAttribute(e)}),this}part(e){return this.attr(`part`,e)}data(e,t){return this.attr(`data-${e}`,t)}style(e,t){return typeof e==`string`?this.bind(t??``,t=>this.el.style.setProperty(e,t)):Object.entries(e).forEach(([e,t])=>this.el.style.setProperty(e,t)),this}cssVar(e,t){let n=e.startsWith(`--`)?e:`--${e}`;return this.style(n,t)}aria(e,t){return this.attr(`aria-${e}`,t)}role(e){return this.attr(`role`,e)}tabIndex(e){return this.attr(`tabindex`,String(e))}label(e){return this.aria(`label`,e)}labelledBy(e){return this.aria(`labelledby`,e)}describedBy(e){return this.aria(`describedby`,e)}ariaHidden(e=!0){return this.aria(`hidden`,String(e))}on(e,t,n){return this.el.addEventListener(e,t,n),this}listen(e,t,n,r){return e.on(this.el,t,n,r),this}delegate(e,t,n,r,i){return e.delegate(this.el,t,n,r,i),this}children(...e){return P(this.el,e),this}replaceChildren(...e){if(f){let e=this.el;e.childrenList=[]}else this.el.replaceChildren();return this.children(...e)}text(e){return this.bind(e,e=>{this.el.textContent=e}),this}ref(e){return e.current=this.el,this}shadow(e={mode:`closed`}){let t=this.el.attachShadow(e);return new Je(this.el,t,e)}build(){return this.el}serialize(){if(f)return this.el.serialize();let e=document.createElement(`div`);return e.appendChild(this.el.cloneNode(!0)),e.innerHTML}},Je=class{root;hostEl;options;constructor(e,t,n){this.hostEl=e,this.root=t,this.options=n}children(...e){return P(this.root,e),this}adoptSheet(...e){return this.root.adoptedStyleSheets=[...this.root.adoptedStyleSheets,...e],this}css(e){if(f)return this.root.adoptedStyleSheets.push(e),this;if(typeof CSSStyleSheet<`u`)try{let t=new CSSStyleSheet;return t.replaceSync(e),this.root.adoptedStyleSheets=[...this.root.adoptedStyleSheets,t],this}catch{}let t=document.createElement(`style`);return t.textContent=e,this.root.appendChild(t),this}done(){return{host:this.hostEl,shadow:this.root}}serialize(){return f?this.root.serialize():this.root.innerHTML}},F=e=>new qe(e),I=()=>F(`div`),Ye=()=>F(`span`),Xe=new Map;function L(e,t){f?(Xe.set(e,t),t.prototype._ssrTag=e):customElements.get(e)||customElements.define(e,t)}var R=typeof document<`u`?HTMLElement:Pe,Ze=`data-ranui`,Qe=`data-ranui-sheet`,$e=(e,t)=>Oe(e,t,Ze),et=(e,t)=>ke(e,t,Qe),z=new WeakMap,B=`@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}`,V=(e,t=``,n={mode:`closed`})=>{let r=e.shadowRoot||z.get(e)||e.attachShadow(n);return z.set(e,r),$e(r,t?`${t}\n${B}`:B),r},tt=(e,t,n)=>{let r=e.querySelector(t);if(r)return r;let i=n();return e.appendChild(i),i},H=(e,t,n=``)=>e.getAttribute(t)??n,U=(e,t,n,r={})=>{if(r.removeEmpty&&!n){e.removeAttribute(t);return}e.setAttribute(t,n??``)},nt=(e,t,n,r,i)=>{if(n!==`sheet`||r===i)return;let a=e.getAttribute(`sheet`)||``;a&&et(t,a)},rt=r({default:()=>W}),W,it=n((()=>{W={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></g></svg>`}})),at=r({default:()=>G}),G,ot=n((()=>{G={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></g></svg>`}})),st=r({default:()=>K}),K,ct=n((()=>{K={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></g></svg>`}})),lt=r({default:()=>q}),q,ut=n((()=>{q={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M8 21H5a2 2 0 0 1-2-2v-3m18 0v3a2 2 0 0 1-2 2h-3"/></g></svg>`}})),dt=r({default:()=>J}),J,ft=n((()=>{J={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="11" y1="8" x2="11" y2="14"/><line x1="8" y1="11" x2="14" y2="11"/></g></svg>`}})),pt=r({default:()=>Y}),Y,mt=n((()=>{Y={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="8" y1="11" x2="14" y2="11"/></g></svg>`}})),ht=r({default:()=>X}),X,gt=n((()=>{X={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 4 23 10 17 10"/><polyline points="1 20 1 14 7 14"/><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/></g></svg>`}}));it(),ot(),ct(),ut(),ft(),mt(),gt();var _t={copy:W,check:G,download:K,fullscreen:q,"zoom-in":J,"zoom-out":Y,refresh:X},vt=r({default:()=>yt}),yt,bt=n((()=>{yt={success:!0,_identification:!0,data:`<svg t="1667110768583" class="icon" viewBox="0 0 1024 1024" version="1.1"
1
+ var ranui_message=(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var t=Object.defineProperty,n=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},r=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},i=`.remove-wap-active-focus,.remove-wap-active-focus:active,.remove-wap-active-focus:focus{-webkit-tap-highlight-color:transparent;outline:0}:host([type=toast]) .ran-message-notice{text-align:center;word-break:break-all;max-width:90%;margin:0 auto;padding:8px}:host([type=toast]) .ran-message-notice-content{pointer-events:all;background:#000000b3;border-radius:7px;padding:10px 16px;display:inline-block}:host([type=toast]) .ran-message-notice-content-info{align-items:center;display:flex}:host([type=toast]) .ran-message-notice-content-info span{font-variant:tabular-nums;font-feature-settings:"tnum";z-index:1010;pointer-events:none;color:#fff;width:100%;margin:0;padding:0;font-size:14px;list-style:none}.ran-message-notice{padding:var(--ran-message-notice-padding,8px);text-align:var(--ran-message-notice-text-align,center);max-width:var(--ran-message-notice-max-width,90%);margin:var(--ran-message-notice-margin,0 auto);word-break:var(--ran-message-notice-word-break,break-all)}.ran-message-notice-content{display:var(--ran-message-notice-content-display,inline-block);padding:var(--ran-message-notice-content-padding,10px 16px);background:var(--ran-message-notice-content-background,var(--ran-color-bg-elevated,#fff));border-image-source:var(--ran-message-notice-content-border-image-source,none);border-image-slice:var(--ran-message-notice-content-border-image-slice,8);border-image-width:var(--ran-message-notice-content-border-image-width,4px);border-radius:var(--ran-message-notice-content-border-radius,var(--ran-radius-md,12px));box-shadow:var(--ran-message-notice-content-box-shadow,var(--ran-shadow-menu,0 2px 4px #0000000d, 0 8px 24px -6px #00000024));pointer-events:var(--ran-message-notice-content-pointer-events,all);border-image-outset:0;border-image-repeat:stretch}.ran-message-notice-content-info{align-items:var(--ran-message-notice-content-info-align-items,center);display:var(--ran-message-notice-content-info-display,flex)}.ran-message-notice-content-info span{margin:var(--ran-message-notice-content-info-span-margin,0);padding:var(--ran-message-notice-content-info-span-padding,0);color:var(--ran-message-notice-content-info-span-color,var(--ran-color-text,#000000d9));font-size:var(--ran-message-notice-content-info-span-font-size,14px);font-variant:var(--ran-message-notice-content-info-span-font-variant,tabular-nums);list-style:var(--ran-message-notice-content-info-span-list-style,none);font-feature-settings:var(--ran-message-notice-content-info-span-font-feature-settings,"tnum");z-index:var(--ran-message-notice-content-info-span-z-index,1010);width:var(--ran-message-notice-content-info-span-width,100%);pointer-events:var(--ran-message-notice-content-info-span-pointer-events,none)}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes MessageMoveIn{0%{opacity:0;padding:0;transform:translateY(-100%)}to{opacity:1;padding:8px;transform:translateY(0)}}@keyframes MessageMoveOut{0%{opacity:1;max-height:150px;padding:8px}to{opacity:0;max-height:0;padding:0}}.ranui-message{box-sizing:var(--ran-message-box-sizing,border-box);margin:var(--ran-message-margin,0);padding:var(--ran-message-padding,0);color:var(--ran-message-color,var(--ran-color-text,#000000d9));font-size:var(--ran-message-font-size,14px);font-variant:var(--ran-message-font-variant,tabular-nums);line-height:var(--ran-message-line-height,1.5715);list-style:var(--ran-message-ist-style,none);font-feature-settings:var(--ran-message-font-feature-settings,"tnum");position:var(--ran-message-position,fixed);top:var(--ran-message-top,8px);left:var(--ran-message-left,0);z-index:var(--ran-message-z-index,var(--ran-z-message,1200));width:var(--ran-message-width,100%);pointer-events:var(--ran-message-pointer-events,none)}.ranui-message .message-in{animation-name:var(--ran-message-in-animation-name,MessageMoveIn);animation-duration:var(--ran-message-in-animation-duration,.3s);animation-timing-function:var(--ran-message-in-animation-timing-function,cubic-bezier(.78, .14, .15, .86))}.ranui-message .message-leave{animation-name:var(--ran-message-leave-animation-name,MessageMoveOut);animation-duration:var(--ran-message-leave-animation-duration,.3s);animation-timing-function:var(--ran-message-leave-animation-timing-function,cubic-bezier(.78, .14, .15, .86))}`,a=r({default:()=>o}),o,s=n((()=>{o={success:!0,_identification:!0,data:`<svg t="1667965185400" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8572" width="200" height="200"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m193.5 301.7l-210.6 292c-12.7 17.7-39 17.7-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" p-id="8573"></path></svg>`}})),c=r({default:()=>l}),l,ee=n((()=>{l={success:!0,_identification:!0,data:`<svg t="1667965220951" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8711" width="200" height="200"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m165.4 618.2l-66-0.3L512 563.4l-99.3 118.4-66.1 0.3c-4.4 0-8-3.5-8-8 0-1.9 0.7-3.7 1.9-5.2l130.1-155L340.5 359c-1.2-1.5-1.9-3.3-1.9-5.2 0-4.4 3.6-8 8-8l66.1 0.3L512 464.6l99.3-118.4 66-0.3c4.4 0 8 3.5 8 8 0 1.9-0.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" p-id="8712"></path></svg>`}})),te=r({default:()=>u}),u,ne=n((()=>{u={success:!0,_identification:!0,data:`<svg t="1667965239916" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8850" width="200" height="200"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272z m-32-344c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z" p-id="8851"></path></svg>`}})),re=r({default:()=>d}),d,ie=n((()=>{d={success:!0,_identification:!0,data:`<svg t="1667965273540" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8989" width="200" height="200"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296z m32 440c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z" p-id="8990"></path></svg>`}}));s(),ee(),ne(),ie();var ae=`.remove-wap-active-focus,.remove-wap-active-focus:active,.remove-wap-active-focus:focus{-webkit-tap-highlight-color:transparent;outline:0}:host{display:var(--ran-icon-host-display,inline-flex)}:host([spin]){animation-name:var(--ran-icon-host-spin-animation-name,rotate);animation-duration:var(--ran-icon-host-spin-animation-name,1.4s);animation-timing-function:linear;animation-iteration-count:var(--ran-icon-host-spin-animation-name,infinite)}.ran-icon{display:var(--ran-icon-display,flex);align-items:var(--ran-icon-align-items,center);justify-content:var(--ran-icon-justify-content,center);color:var(--ran-icon-color,inherit);font-size:var(--ran-icon-font-size,1em);margin:var(--ran-icon-margin,0)}.ran-icon svg{width:var(--ran-icon-svg-width,1em);height:var(--ran-icon-svg-height,1em);fill:var(--ran-icon-svg-fill,currentColor);stroke:var(--ran-icon-svg-stroke,currentColor)}@keyframes rotate{to{transform:var(--ran-icon-keyframes-to-transform,rotate(360deg))}}`,f=typeof document>`u`,oe=class{ac;constructor(){this.ac=new AbortController}get signal(){return this.ac.signal}on(e,t,n,r){return e.addEventListener(t,n,{...r,signal:this.ac.signal}),this}delegate(e,t,n,r,i){return e.addEventListener(n,n=>{let i=n.target?.closest(t);i&&e.contains(i)&&r(n,i)},{...i,signal:this.ac.signal}),this}abort(){this.ac.abort(),this.ac=new AbortController}},p=0,se=1,m=2,h=null,g=null,_=0,v=new Set,y=!1;function ce(e,t){let n=t?.equals??Object.is,r={value:e,observers:new Set};return[()=>(de(r),r.value),e=>{let t=typeof e==`function`?e(r.value):e;if(!n(r.value,t)){r.value=t;for(let e of r.observers)C(e,m);_===0&&fe()}}]}function b(e){let t=le(e,!0);return ue(t),pe(t),()=>E(t)}function x(e){let t={owned:[],cleanups:[],owner:g},n=g,r=h;g=t,h=null;try{return e(()=>me(t))}finally{g=n,h=r}}function S(e){g&&g.cleanups.push(e)}function le(e,t,n){return{fn:e,sources:new Set,isEffect:t,running:!1,disposed:!1,state:m,observers:new Set,value:void 0,equals:n??Object.is,owned:[],cleanups:[],owner:g}}function ue(e){g&&g.owned.push(e)}function de(e){h&&(h.sources.add(e),e.observers.add(h))}function C(e,t){if(e.disposed||e.state>=t)return;let n=e.state===p;if(e.state=t,e.isEffect)v.add(e);else if(n)for(let t of e.observers)C(t,se)}function fe(){if(!(_>0||y)){y=!0;try{for(;v.size>0;){let e=[...v];v.clear();for(let t of e)t.disposed||w(t)}}finally{y=!1}}}function w(e){if(!(e.disposed||e.state===p)){if(e.state===se)for(let t of e.sources)`fn`in t&&w(t);e.state===m&&pe(e),e.state=p}}function pe(e){if(e.running)throw Error(`ranui reactivity: cyclic dependency detected (a computation triggered itself).`);T(e);let t=h,n=g;h=e,g=e,e.running=!0,e.state=p;try{let t=e.fn();if(e.isEffect)typeof t==`function`&&e.cleanups.push(t);else{let n=e.value;if(e.value=t,e.observers.size>0&&!e.equals(n,t))for(let t of e.observers)C(t,m)}}finally{e.running=!1,h=t,g=n}}function T(e){for(let t of e.owned)E(t);e.owned.length=0;for(let t of e.cleanups)t();e.cleanups.length=0;for(let t of e.sources)t.observers.delete(e);e.sources.clear()}function E(e){e.disposed||(e.disposed=!0,T(e),e.observers.clear())}function me(e){for(let t of e.owned)E(t);e.owned.length=0;for(let t of e.cleanups)t();e.cleanups.length=0}var he=class{_events=new Map;tap=(e,t)=>{this._events.get(e)&&e!==Symbol.for(`NEW_LISTENER`)&&this.call(Symbol.for(`NEW_LISTENER`),e);let n=this._events.get(e)||new Set;return typeof t==`function`?n.add({name:e,callback:t}):n.add(t),this._events.set(e,n),this};call=(e,...t)=>((this._events.get(e)||new Set).forEach(e=>{let{callback:n}=e;n(...t)}),this);callSync=async(e,...t)=>{let n=this._events.get(e)||new Set;for(let e of n){let{callback:n}=e;await n(...t)}return this};once=(e,t)=>{let n;if(typeof t==`function`)n={name:e,callback:(...r)=>{t(...r),this.off(e,n)},initialCallback:t};else{let{callback:r}=t;n={name:e,callback:(...t)=>{r(...t),this.off(e,n)},initialCallback:r}}return this.tap(e,n),this};off=(e,t)=>{let n=[...this._events.get(e)||new Set].filter(e=>{if(typeof t==`function`)return e.callback!==t&&e.initialCallback!==t;{let{callback:n}=t;return e.callback!==n&&e.initialCallback!==n}});return this._events.set(e,new Set(n)),this}};Math.PI/180,180/Math.PI,2*Math.PI;var D=(e=8)=>Math.random().toString(36).substring(2,e+2);Object.freeze({});var ge=e=>typeof e==`function`,_e=12e4,ve=`__ranuts_bridge__`,ye=`default`,be=new class{bridges=new Set;attachedWindow=null;handleMessage=e=>{for(let t of Array.from(this.bridges))t.receive(e)};add(e){this.bridges.add(e),typeof window<`u`&&this.attachedWindow!==window&&(window.addEventListener(`message`,this.handleMessage),this.attachedWindow=window)}remove(e){this.bridges.delete(e),this.bridges.size===0&&this.attachedWindow&&(this.attachedWindow.removeEventListener(`message`,this.handleMessage),this.attachedWindow=null)}},xe=class{targetWindow;targetOrigin;messageHandlers;pendingRequests;channel;senderId;available;constructor(e,t=`*`,n=ye){this.targetOrigin=t,this.channel=n,this.senderId=D(12),this.messageHandlers=new Map,this.pendingRequests=new Map,this.available=typeof window<`u`,this.available?(this.targetWindow=e??window,be.add(this)):this.targetWindow=void 0}post(e,t){let n={...t,__bridge:ve,channel:this.channel,senderId:this.senderId};e.postMessage(n,this.targetOrigin)}receive=e=>{if(!this.available||this.targetOrigin!==`*`&&e.origin!==this.targetOrigin||e.source&&e.source!==this.targetWindow)return;let t=e.data;if(!t||typeof t!=`object`||t.__bridge!==`__ranuts_bridge__`||(t.channel??`default`)!==this.channel)return;let{type:n,payload:r,id:i,isResponse:a,isError:o,senderId:s}=t;if(a&&i){let e=this.pendingRequests.get(i);e&&(o?e.reject(Error(typeof r==`string`?r:`Bridge request failed`)):e.resolve(r),this.pendingRequests.delete(i));return}if(s&&s===this.senderId||typeof n!=`string`||!this.messageHandlers.has(n))return;let c=this.messageHandlers.get(n);if(ge(c)){let t=e.source??this.targetWindow;Promise.resolve(c(r)).then(e=>{i&&this.post(t,{type:n,payload:e,id:i,isResponse:!0})}).catch(e=>{i&&this.post(t,{type:n,payload:e instanceof Error?e.message:String(e),id:i,isResponse:!0,isError:!0})})}};on=(e,t)=>{this.messageHandlers.set(e,t)};off=e=>{this.messageHandlers.delete(e)};send=async(e,t)=>{if(!this.available)return Promise.reject(Error(`PostMessageBridge is unavailable outside a browser environment`));let n=D(10);return new Promise((r,i)=>{let a=setTimeout(()=>{this.pendingRequests.has(n)&&(this.pendingRequests.delete(n),i(Error(`Request timeout`)))},_e),o=e=>{clearTimeout(a),i(e)};this.pendingRequests.set(n,{resolve:e=>{clearTimeout(a),r(e)},reject:o});try{this.post(this.targetWindow,{type:e,payload:t,id:n})}catch(e){this.pendingRequests.delete(n),o(e instanceof Error?e:Error(`Failed to post message`))}})};broadcast=e=>{if(this.available)try{this.post(this.targetWindow,{type:e.type,payload:e.payload})}catch{}};destroy=()=>{be.remove(this),this.messageHandlers.clear(),this.pendingRequests.forEach(e=>{e.reject(Error(`Bridge destroyed`))}),this.pendingRequests.clear()}};(class e{static instance;bridges=new Map;constructor(){}static getInstance(){return e.instance||=new e,e.instance}connectClient=({id:e,targetOrigin:t,targetWindow:n,channel:r})=>{let i=new xe(n,t,r);if(e||=D(10),this.bridges.has(e))throw Error(`Bridge ${e} already exists`);return this.bridges.set(e,i),{bridge:i,id:e}};getClient=e=>this.bridges.get(e);removeClient=e=>{let t=this.bridges.get(e);t&&(t.destroy(),this.bridges.delete(e))};removeAllClient=()=>{this.bridges.forEach(e=>{e.destroy()}),this.bridges.clear()};broadcast=e=>{this.bridges.forEach(t=>{t.broadcast(e)})};sendTo=(e,t,n)=>{let r=this.getClient(e);return r?r.send(t,n):Promise.reject(Error(`Bridge ${e} not found`))}}).getInstance(),new he;var O=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],k=class{highOrder;lowOrder;constructor(e,t){this.highOrder=e,this.lowOrder=t}};new k(O[0],3609767458),new k(O[1],602891725),new k(O[2],3964484399),new k(O[3],2173295548),new k(O[4],4081628472),new k(O[5],3053834265),new k(O[6],2937671579),new k(O[7],3664609560),new k(O[8],2734883394),new k(O[9],1164996542),new k(O[10],1323610764),new k(O[11],3590304994),new k(O[12],4068182383),new k(O[13],991336113),new k(O[14],633803317),new k(O[15],3479774868),new k(O[16],2666613458),new k(O[17],944711139),new k(O[18],2341262773),new k(O[19],2007800933),new k(O[20],1495990901),new k(O[21],1856431235),new k(O[22],3175218132),new k(O[23],2198950837),new k(O[24],3999719339),new k(O[25],766784016),new k(O[26],2566594879),new k(O[27],3203337956),new k(O[28],1034457026),new k(O[29],2466948901),new k(O[30],3758326383),new k(O[31],168717936),new k(O[32],1188179964),new k(O[33],1546045734),new k(O[34],1522805485),new k(O[35],2643833823),new k(O[36],2343527390),new k(O[37],1014477480),new k(O[38],1206759142),new k(O[39],344077627),new k(O[40],1290863460),new k(O[41],3158454273),new k(O[42],3505952657),new k(O[43],106217008),new k(O[44],3606008344),new k(O[45],1432725776),new k(O[46],1467031594),new k(O[47],851169720),new k(O[48],3100823752),new k(O[49],1363258195),new k(O[50],3750685593),new k(O[51],3785050280),new k(O[52],3318307427),new k(O[53],3812723403),new k(O[54],2003034995),new k(O[55],3602036899),new k(O[56],1575990012),new k(O[57],1125592928),new k(O[58],2716904306),new k(O[59],442776044),new k(O[60],593698344),new k(O[61],3733110249),new k(O[62],2999351573),new k(O[63],3815920427),new k(3391569614,3928383900),new k(3515267271,566280711),new k(3940187606,3454069534),new k(4118630271,4000239992),new k(116418474,1914138554),new k(174292421,2731055270),new k(289380356,3203993006),new k(460393269,320620315),new k(685471733,587496836),new k(852142971,1086792851),new k(1017036298,365543100),new k(1126000580,2618297676),new k(1288033470,3409855158),new k(1501505948,4234509866),new k(1607167915,987167468),new k(1816402316,1246189591),new k(0,1),new k(0,32898),new k(2147483648,32906),new k(2147483648,2147516416),new k(0,32907),new k(0,2147483649),new k(2147483648,2147516545),new k(2147483648,32777),new k(0,138),new k(0,136),new k(0,2147516425),new k(0,2147483658),new k(0,2147516555),new k(2147483648,139),new k(2147483648,32905),new k(2147483648,32771),new k(2147483648,32770),new k(2147483648,128),new k(0,32778),new k(2147483648,2147483658),new k(2147483648,2147516545),new k(2147483648,32896),new k(0,2147483649),new k(2147483648,2147516424);var Se=/["'&<>]/;function A(e){let t=``+e,n=Se.exec(t);if(!n)return t;let r,i=``,a=0,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r=`&quot;`;break;case 38:r=`&amp;`;break;case 39:r=`&#39;`;break;case 60:r=`&lt;`;break;case 62:r=`&gt;`;break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=r}return o===a?i:i+t.substring(o,a)}var Ce=new Map,we=new Map,Te=`data-adopted-style`,Ee=`data-adopted-sheet`,De=(e,t,n)=>{if(typeof CSSStyleSheet>`u`)return!1;try{if(!n.has(t)){let e=new CSSStyleSheet;e.replaceSync(t),n.set(t,e)}let r=n.get(t);return e.adoptedStyleSheets.includes(r)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]),!0}catch{return!1}},Oe=(e,t,n=Te)=>{if(typeof document<`u`&&t&&!De(e,t,Ce)&&!e.querySelector(`style[${n}]`)){let r=document.createElement(`style`);r.setAttribute(n,``),r.textContent=t,e.appendChild(r)}},ke=(e,t,n=Ee)=>{if(typeof document<`u`&&t&&!De(e,t,we)&&!Array.from(e.querySelectorAll(`style[${n}]`)).some(e=>e.textContent===t)){let r=document.createElement(`style`);r.setAttribute(n,``),r.textContent=t,e.appendChild(r)}};(()=>{let e=new Uint8Array(128);for(let t=0;t<78;t++)e[`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-.,!?;:'"()[]{}`.charCodeAt(t)]=1;return e})();var Ae=new Map([[100,`Continue`],[101,`Switching Protocols`],[102,`Processing`],[103,`Early Hints`],[200,`OK`],[201,`Created`],[202,`Accepted`],[203,`Non-Authoritative Information`],[204,`No Content`],[205,`Reset Content`],[206,`Partial Content`],[207,`Multi-Status`],[208,`Already Reported`],[226,`IM Used`],[300,`Multiple Choices`],[301,`Moved Permanently`],[302,`Found`],[303,`See Other`],[304,`Not Modified`],[305,`Use Proxy`],[307,`Temporary Redirect`],[308,`Permanent Redirect`],[400,`Bad Request`],[401,`Unauthorized`],[402,`Payment Required`],[403,`Forbidden`],[404,`Not Found`],[405,`Method Not Allowed`],[406,`Not Acceptable`],[407,`Proxy Authentication Required`],[408,`Request Timeout`],[409,`Conflict`],[410,`Gone`],[411,`Length Required`],[412,`Precondition Failed`],[413,`Payload Too Large`],[414,`URI Too Long`],[415,`Unsupported Media Type`],[416,`Range Not Satisfiable`],[417,`Expectation Failed`],[418,`I'm a Teapot`],[421,`Misdirected Request`],[422,`Unprocessable Entity`],[423,`Locked`],[424,`Failed Dependency`],[425,`Too Early`],[426,`Upgrade Required`],[428,`Precondition Required`],[429,`Too Many Requests`],[431,`Request Header Fields Too Large`],[451,`Unavailable For Legal Reasons`],[500,`Internal Server Error`],[501,`Not Implemented`],[502,`Bad Gateway`],[503,`Service Unavailable`],[504,`Gateway Timeout`],[505,`HTTP Version Not Supported`],[506,`Variant Also Negotiates`],[507,`Insufficient Storage`],[508,`Loop Detected`],[509,`Bandwidth Limit Exceeded`],[510,`Not Extended`],[511,`Network Authentication Required`]]);(function(e){let t=new Map;for(let[n,r]of e)t.set(r.toLowerCase(),n);return t})(Ae),function(e){let t=[];for(let[n,r]of e)t.push(n);return t}(Ae);function je(e){return A(e)}var Me=e=>typeof e!=`string`&&`tagName`in e&&`childrenList`in e,Ne=(e,t)=>{let n=t.trim();if(!n)return!1;if(n.startsWith(`.`))return e.classList.contains(n.slice(1));if(n.startsWith(`#`))return e.getAttribute(`id`)===n.slice(1);if(n.startsWith(`[`)&&n.endsWith(`]`)){let[t,r]=n.slice(1,-1).trim().split(`=`),i=(t||``).trim();if(!i)return!1;if(r==null)return e.hasAttribute(i);let a=r.trim().replace(/^['"]|['"]$/g,``);return e.getAttribute(i)===a}return e.tagName===n.toLowerCase()},j=(e,t,n)=>{for(let r of e)Me(r)&&(Ne(r,t)&&n.push(r),j(r.childrenList,t,n))},M=class{childrenList=[];appendChild(e){return this.childrenList.push(e),e}serialize(){return this.childrenList.map(e=>typeof e==`string`?A(e):e.serialize()).join(``)}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return j(this.childrenList,e,t),t}},Pe=class{tagName;attributes=new Map;inlineStyles=new Map;childrenList=[];shadowRoot=null;textContent=null;content;eventListeners=new Map;style={setProperty:(e,t)=>{let n=e.startsWith(`--`)?e:e.replace(/([A-Z])/g,`-$1`).toLowerCase();this.inlineStyles.set(n,t)},removeProperty:e=>this.inlineStyles.delete(e)};classList={add:(...e)=>{let t=this.attributes.get(`class`)||``,n=new Set([...t.split(` `).filter(Boolean),...e]);this.attributes.set(`class`,Array.from(n).join(` `))},remove:(...e)=>{let t=(this.attributes.get(`class`)||``).split(` `).filter(t=>!e.includes(t));this.attributes.set(`class`,t.join(` `))},toggle:e=>{this.classList.contains(e)?this.classList.remove(e):this.classList.add(e)},contains:e=>(this.attributes.get(`class`)||``).split(` `).includes(e)};_innerHTML=``;get innerHTML(){return this._innerHTML}set innerHTML(e){this._innerHTML=e,this.tagName===`template`&&this.content&&(this.content.childrenList=[e])}constructor(e=`div`){this.tagName=e.toLowerCase(),this.tagName===`template`&&(this.content=new M)}get hidden(){return this.hasAttribute(`hidden`)}set hidden(e){e?this.setAttribute(`hidden`,``):this.removeAttribute(`hidden`)}setAttribute(e,t){this.attributes.set(e,t)}getAttribute(e){return this.attributes.get(e)||null}removeAttribute(e){this.attributes.delete(e)}hasAttribute(e){return this.attributes.has(e)}appendChild(e){return this.childrenList.push(e),e}attachShadow(e){return this.shadowRoot=new Fe(this,e),this.shadowRoot}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return j(this.childrenList,e,t),t}addEventListener(e,t){let n=this.eventListeners.get(e)||new Set;n.add(t),this.eventListeners.set(e,n)}removeEventListener(e,t){let n=this.eventListeners.get(e);n&&(n.delete(t),n.size===0&&this.eventListeners.delete(e))}dispatchEvent(e){let t=this.eventListeners.get(e.type);if(!t||t.size===0)return!0;for(let n of t)typeof n==`function`?n.call(this,e):n.handleEvent(e);return!e.defaultPrevented}serialize(e){typeof this._preSerialize==`function`&&this._preSerialize();let t=e||this._ssrTag||this.tagName,n=Array.from(this.attributes.entries()).map(([e,t])=>` ${e}="${je(t)}"`).join(``),r=Array.from(this.inlineStyles.entries()).map(([e,t])=>`${e}:${t}`).join(`;`),i=r?` style="${je(r)}"`:``,a=``;return this.shadowRoot&&(a+=this.shadowRoot.serialize()),this.textContent===null?this._innerHTML?a+=this._innerHTML:a+=this.childrenList.map(e=>typeof e==`string`?A(e):(e instanceof M,e.serialize())).join(``):a+=A(this.textContent),[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`].includes(t)&&!a?`<${t}${n}${i} />`:`<${t}${n}${i}>${a}</${t}>`}},Fe=class{host;options;childrenList=[];adoptedStyleSheets=[];constructor(e,t){this.host=e,this.options=t}appendChild(e){return this.childrenList.push(e),e}querySelector(e){let t=this.querySelectorAll(e);return t.length>0?t[0]:null}querySelectorAll(e){let t=[];return j(this.childrenList,e,t),t}serialize(){return`<template shadowrootmode="${this.options.mode}"${this.options.delegatesFocus?` shadowrootdelegatesfocus`:``}>${this.adoptedStyleSheets.map(e=>`<style>${A(e)}</style>`).join(``)}${this.childrenList.map(e=>typeof e==`string`?A(e):(e instanceof M,e.serialize())).join(``)}</template>`}},Ie=e=>e.reduce((e,t)=>Array.isArray(t)?e.concat(Ie(t)):e.concat(t),[]),N=e=>e==null?null:e instanceof qe?e.build():typeof e==`string`?f?e:document.createTextNode(e):e,Le=(e,t)=>{if(f){P(e,[t()]);return}let n=document.createComment(``),r=document.createComment(``);e.appendChild(n),e.appendChild(r);let i=null,a=()=>{i?.(),i=null;let e=n.nextSibling;for(;e&&e!==r;){let t=e.nextSibling;e.parentNode?.removeChild(e),e=t}};b(()=>{let e=t();a();let n=document.createDocumentFragment();i=x(t=>(P(n,[e]),t)),r.parentNode?.insertBefore(n,r)}),S(()=>i?.())},Re=`__ranFor`,ze=e=>typeof e==`object`&&!!e&&e[Re]===!0,Be=(e,t,n)=>{let[r,i]=ce(t),a=null,o=x(t=>{let i=N(n(e,r));return a=typeof i==`string`?document.createTextNode(i):i,t});return{node:a,index:i,dispose:o}},Ve=(e,t)=>{let n=e.parentNode;if(!n)return;let r=e;for(let e of t)r.nextSibling!==e&&n.insertBefore(e,r.nextSibling),r=e},He=(e,t)=>{if(f){(t.each()??[]).forEach((n,r)=>{let i=N(t.render(n,()=>r));i!=null&&e.appendChild(i)});return}let n=document.createComment(``);e.appendChild(n);let r=new Map;S(()=>{for(let e of r.values())e.dispose();r.clear()}),b(()=>{let e=t.each()??[],i=new Map,a=[];e.forEach((e,n)=>{let o=t.key(e,n);if(i.has(o))return;let s=r.get(o);s?(r.delete(o),s.index(n)):s=Be(e,n,t.render),i.set(o,s),s.node&&a.push(s.node)});for(let e of r.values())e.node?.parentNode?.removeChild(e.node),e.dispose();Ve(n,a),r=i})},Ue=`__ranIndex`,We=e=>typeof e==`object`&&!!e&&e[Ue]===!0,Ge=(e,t,n)=>{let[r,i]=ce(e),a=null,o=x(e=>{let i=N(n(r,t));return a=typeof i==`string`?document.createTextNode(i):i,e});return{node:a,setItem:i,dispose:o}},Ke=(e,t)=>{if(f){(t.each()??[]).forEach((n,r)=>{let i=N(t.render(()=>n,r));i!=null&&e.appendChild(i)});return}let n=document.createComment(``);e.appendChild(n);let r=[];S(()=>{for(let e of r)e.dispose();r=[]}),b(()=>{let e=t.each()??[];for(let n=0;n<e.length;n++)n<r.length?r[n].setItem(e[n]):r.push(Ge(e[n],n,t.render));for(let t=r.length-1;t>=e.length;t--){let{node:e}=r[t];e?.parentNode?.removeChild(e),r[t].dispose(),r.pop()}Ve(n,r.map(e=>e.node).filter(e=>e!=null))})},P=(e,t)=>{Ie(t).forEach(t=>{if(ze(t)){He(e,t);return}if(We(t)){Ke(e,t);return}if(typeof t==`function`){Le(e,t);return}let n=N(t);n!=null&&e.appendChild(n)})},qe=class{el;constructor(e){this.el=f?new Pe(e):document.createElement(e)}id(e){return this.el.setAttribute(`id`,e),this}bind(e,t){typeof e==`function`?b(()=>t(e())):t(e)}class(e){return this.bind(e,e=>{f?this.el.attributes.set(`class`,e):this.el.className=e}),this}addClass(...e){return e.forEach(e=>this.el.classList.add(e)),this}removeClass(...e){return e.forEach(e=>this.el.classList.remove(e)),this}attr(e,t){return this.bind(t,t=>this.el.setAttribute(e,t)),this}attrs(e){return Object.entries(e).forEach(([e,t])=>{t!=null&&this.el.setAttribute(e,String(t))}),this}boolAttr(e,t,n=``){return this.bind(t,t=>{t?this.el.setAttribute(e,n):this.el.removeAttribute(e)}),this}part(e){return this.attr(`part`,e)}data(e,t){return this.attr(`data-${e}`,t)}style(e,t){return typeof e==`string`?this.bind(t??``,t=>this.el.style.setProperty(e,t)):Object.entries(e).forEach(([e,t])=>this.el.style.setProperty(e,t)),this}cssVar(e,t){let n=e.startsWith(`--`)?e:`--${e}`;return this.style(n,t)}aria(e,t){return this.attr(`aria-${e}`,t)}role(e){return this.attr(`role`,e)}tabIndex(e){return this.attr(`tabindex`,String(e))}label(e){return this.aria(`label`,e)}labelledBy(e){return this.aria(`labelledby`,e)}describedBy(e){return this.aria(`describedby`,e)}ariaHidden(e=!0){return this.aria(`hidden`,String(e))}on(e,t,n){return this.el.addEventListener(e,t,n),this}listen(e,t,n,r){return e.on(this.el,t,n,r),this}delegate(e,t,n,r,i){return e.delegate(this.el,t,n,r,i),this}children(...e){return P(this.el,e),this}replaceChildren(...e){if(f){let e=this.el;e.childrenList=[]}else this.el.replaceChildren();return this.children(...e)}text(e){return this.bind(e,e=>{this.el.textContent=e}),this}ref(e){return e.current=this.el,this}shadow(e={mode:`closed`}){let t=this.el.attachShadow(e);return new Je(this.el,t,e)}build(){return this.el}serialize(){if(f)return this.el.serialize();let e=document.createElement(`div`);return e.appendChild(this.el.cloneNode(!0)),e.innerHTML}},Je=class{root;hostEl;options;constructor(e,t,n){this.hostEl=e,this.root=t,this.options=n}children(...e){return P(this.root,e),this}adoptSheet(...e){return this.root.adoptedStyleSheets=[...this.root.adoptedStyleSheets,...e],this}css(e){if(f)return this.root.adoptedStyleSheets.push(e),this;if(typeof CSSStyleSheet<`u`)try{let t=new CSSStyleSheet;return t.replaceSync(e),this.root.adoptedStyleSheets=[...this.root.adoptedStyleSheets,t],this}catch{}let t=document.createElement(`style`);return t.textContent=e,this.root.appendChild(t),this}done(){return{host:this.hostEl,shadow:this.root}}serialize(){return f?this.root.serialize():this.root.innerHTML}},F=e=>new qe(e),I=()=>F(`div`),Ye=()=>F(`span`),Xe=new Map;function L(e,t){f?(Xe.set(e,t),t.prototype._ssrTag=e):customElements.get(e)||customElements.define(e,t)}var R=typeof document<`u`?HTMLElement:Pe,Ze=`data-ranui`,Qe=`data-ranui-sheet`,$e=(e,t)=>Oe(e,t,Ze),et=(e,t)=>ke(e,t,Qe),z=new WeakMap,B=`@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}`,V=(e,t=``,n={mode:`closed`})=>{let r=e.shadowRoot||z.get(e)||e.attachShadow(n);return z.set(e,r),$e(r,t?`${t}\n${B}`:B),r},tt=(e,t,n)=>{let r=e.querySelector(t);if(r)return r;let i=n();return e.appendChild(i),i},H=(e,t,n=``)=>e.getAttribute(t)??n,U=(e,t,n,r={})=>{if(r.removeEmpty&&!n){e.removeAttribute(t);return}e.setAttribute(t,n??``)},nt=(e,t,n,r,i)=>{if(n!==`sheet`||r===i)return;let a=e.getAttribute(`sheet`)||``;a&&et(t,a)},rt=r({default:()=>W}),W,it=n((()=>{W={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></g></svg>`}})),at=r({default:()=>G}),G,ot=n((()=>{G={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></g></svg>`}})),st=r({default:()=>K}),K,ct=n((()=>{K={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></g></svg>`}})),lt=r({default:()=>q}),q,ut=n((()=>{q={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M8 21H5a2 2 0 0 1-2-2v-3m18 0v3a2 2 0 0 1-2 2h-3"/></g></svg>`}})),dt=r({default:()=>J}),J,ft=n((()=>{J={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="11" y1="8" x2="11" y2="14"/><line x1="8" y1="11" x2="14" y2="11"/></g></svg>`}})),pt=r({default:()=>Y}),Y,mt=n((()=>{Y={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="8" y1="11" x2="14" y2="11"/></g></svg>`}})),ht=r({default:()=>X}),X,gt=n((()=>{X={success:!0,_identification:!0,data:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 4 23 10 17 10"/><polyline points="1 20 1 14 7 14"/><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/></g></svg>`}}));it(),ot(),ct(),ut(),ft(),mt(),gt();var _t={copy:W,check:G,download:K,fullscreen:q,"zoom-in":J,"zoom-out":Y,refresh:X},vt=r({default:()=>yt}),yt,bt=n((()=>{yt={success:!0,_identification:!0,data:`<svg t="1667110768583" class="icon" viewBox="0 0 1024 1024" version="1.1"
2
2
  xmlns="http://www.w3.org/2000/svg" p-id="8046" width="200" height="200">
3
3
  <path
4
4
  d="M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h0.1c3 0 4.4-3.6 2.2-5.6-30.8-27.6-65.6-49.7-103.7-65.8-0.4-0.2-0.8-0.3-1.2-0.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-0.4 0.2-0.8 0.3-1.2 0.5-44.7 18.9-84.8 46-119.3 80.6-34.5 34.5-61.5 74.7-80.4 119.5C147.9 794.5 138 841 137 888.8c-0.1 4.5 3.5 8.2 8 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1 2.5 1.5 5.5 1.7 8.1 0.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4-32.4-32.5-50.3-75.7-50.3-121.6 0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4c32.4 32.5 50.3 75.7 50.3 121.6 0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"