@intent-hq/web 2.346.5 → 2.346.7

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 (143) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{DTF7vG_w.js → -e8CXeVs.js} +1 -1
  3. package/web/app/immutable/chunks/{D9nAnASO.js → 7uDreJHE.js} +1 -1
  4. package/web/app/immutable/chunks/{F_fGJOrE.js → 87nhMNcH.js} +4 -4
  5. package/web/app/immutable/chunks/{DN7iWx1A.js → AXGmKfvU.js} +1 -1
  6. package/web/app/immutable/chunks/{Kr7mqJM2.js → B-VSh3wf.js} +1 -1
  7. package/web/app/immutable/chunks/{Ce-yH_YC.js → B4kTYcAj.js} +1 -1
  8. package/web/app/immutable/chunks/{CNmaDvF0.js → B4rPFvYB.js} +1 -1
  9. package/web/app/immutable/chunks/{CTAo_xfr.js → B71JNHWD.js} +1 -1
  10. package/web/app/immutable/chunks/{DXzPHXdy.js → B7WyDdGX.js} +1 -1
  11. package/web/app/immutable/chunks/{DQRGzXhc.js → B9W8KfsY.js} +1 -1
  12. package/web/app/immutable/chunks/{CCnkAPpl.js → BDPOc7V6.js} +2 -2
  13. package/web/app/immutable/chunks/{B-A6mwRI.js → BFCqCX6w.js} +3 -3
  14. package/web/app/immutable/chunks/{B_sNRuTe.js → BFM5w46H.js} +2 -2
  15. package/web/app/immutable/chunks/{CIQ9e2U5.js → BMAqdXv7.js} +1 -1
  16. package/web/app/immutable/chunks/{CXcReq9H.js → BNVmW1uZ.js} +1 -1
  17. package/web/app/immutable/chunks/{Cf3tAm27.js → BS2rXad-.js} +1 -1
  18. package/web/app/immutable/chunks/{CIxD8Y3D.js → BTLLp91d.js} +1 -1
  19. package/web/app/immutable/chunks/{BzTDbjTk.js → BXe1baKr.js} +1 -1
  20. package/web/app/immutable/chunks/{C1lZuRMP.js → BZXx4oAF.js} +1 -1
  21. package/web/app/immutable/chunks/{D32UmCj1.js → B_keSK2s.js} +1 -1
  22. package/web/app/immutable/chunks/{Dp2jYKgq.js → B_zHVi1K.js} +1 -1
  23. package/web/app/immutable/chunks/{DT5Q2Jmj.js → Bdc65NEQ.js} +1 -1
  24. package/web/app/immutable/chunks/{C7thT2ms.js → BeQgENlX.js} +2 -2
  25. package/web/app/immutable/chunks/{B23d5Yfo.js → Birl2IVg.js} +1 -1
  26. package/web/app/immutable/chunks/{CYpZUzoj.js → BkihpvKL.js} +1 -1
  27. package/web/app/immutable/chunks/{CJ1Dpkrt.js → BlFd81-v.js} +1 -1
  28. package/web/app/immutable/chunks/{CCvVdljB.js → BlT4teVV.js} +4 -4
  29. package/web/app/immutable/chunks/{DoyVDaTb.js → Bps4iLJn.js} +4 -4
  30. package/web/app/immutable/chunks/{DBlqBvy2.js → Bqoh360O.js} +1 -1
  31. package/web/app/immutable/chunks/{Ds5aPEie.js → BsK6wYXS.js} +1 -1
  32. package/web/app/immutable/chunks/{Cn-YBhRU.js → BvJvc00D.js} +1 -1
  33. package/web/app/immutable/chunks/{CZVjbgX7.js → BvsWgdDN.js} +1 -1
  34. package/web/app/immutable/chunks/{BXx0_hoY.js → BwRzklL-.js} +1 -1
  35. package/web/app/immutable/chunks/{kreze8nM.js → Bz3o8mDx.js} +1 -1
  36. package/web/app/immutable/chunks/{BYHL7f-o.js → Bzwi2DK9.js} +1 -1
  37. package/web/app/immutable/chunks/{ENrq2u9U.js → C-ed1TQP.js} +1 -1
  38. package/web/app/immutable/chunks/{C6zxCrip.js → C77WGAqb.js} +1 -1
  39. package/web/app/immutable/chunks/{B1uzxfut.js → CCm4GqAl.js} +1 -1
  40. package/web/app/immutable/chunks/{rEy1x9l-.js → CHoHyRl1.js} +1 -1
  41. package/web/app/immutable/chunks/{DZV2V5fi.js → CKLDoMvu.js} +1 -1
  42. package/web/app/immutable/chunks/{DdvHgSkO.js → CNe7onyb.js} +1 -1
  43. package/web/app/immutable/chunks/{ryt6otaw.js → COluFRpM.js} +1 -1
  44. package/web/app/immutable/chunks/{B4eFGFID.js → COnjfEGr.js} +1 -1
  45. package/web/app/immutable/chunks/{LhcvTANM.js → CQGCQvNO.js} +1 -1
  46. package/web/app/immutable/chunks/{DijIGUXn.js → CQdlmcpA.js} +1 -1
  47. package/web/app/immutable/chunks/{s0HC56rw.js → CT1ksaco.js} +1 -1
  48. package/web/app/immutable/chunks/{l7dT_A_I.js → CTznmnCI.js} +1 -1
  49. package/web/app/immutable/chunks/{DhL3Eboo.js → CUs0opCC.js} +1 -1
  50. package/web/app/immutable/chunks/{CekMEpak.js → CW7SMyin.js} +1 -1
  51. package/web/app/immutable/chunks/{NDgheiFV.js → CYgkTCkB.js} +1 -1
  52. package/web/app/immutable/chunks/{C7DZvlvi.js → CZZEgzPG.js} +1 -1
  53. package/web/app/immutable/chunks/{DfczcOVE.js → CZh3YXGa.js} +1 -1
  54. package/web/app/immutable/chunks/{CPyvU1r-.js → CZlx42aK.js} +1 -1
  55. package/web/app/immutable/chunks/{aCadB4nL.js → C_8_aIYH.js} +1 -1
  56. package/web/app/immutable/chunks/{DpovJWOP.js → Ca-HFDl4.js} +1 -1
  57. package/web/app/immutable/chunks/{BQLTqtmQ.js → CbVy_SFp.js} +1 -1
  58. package/web/app/immutable/chunks/{QSo6OuKO.js → Cc2zTL0w.js} +1 -1
  59. package/web/app/immutable/chunks/{Dbi5oC7F.js → Chj4eExC.js} +1 -1
  60. package/web/app/immutable/chunks/{BM-Wmgwu.js → CiOVJ92X.js} +1 -1
  61. package/web/app/immutable/chunks/{D-fXqqnE.js → Cj2RYqvI.js} +1 -1
  62. package/web/app/immutable/chunks/{DZRY3xSl.js → CoxfoefW.js} +1 -1
  63. package/web/app/immutable/chunks/{F6m_bVNY.js → CoyCN9J6.js} +1 -1
  64. package/web/app/immutable/chunks/{Cbq5Om9o.js → CpAH86bK.js} +1 -1
  65. package/web/app/immutable/chunks/{_2a4fTCb.js → CqPWbhqQ.js} +1 -1
  66. package/web/app/immutable/chunks/{CcgdffiB.js → CqX9OYLx.js} +1 -1
  67. package/web/app/immutable/chunks/{C_un4XFs.js → CrDXkRmL.js} +3 -3
  68. package/web/app/immutable/chunks/{BgILVAPs.js → CruURYIo.js} +1 -1
  69. package/web/app/immutable/chunks/{CZRQTHTi.js → CsP3_IiP.js} +1 -1
  70. package/web/app/immutable/chunks/{DcqjhmJI.js → CsdYTvLa.js} +1 -1
  71. package/web/app/immutable/chunks/{DzGY80DS.js → CuMYCRBc.js} +1 -1
  72. package/web/app/immutable/chunks/{cDn1Yz-L.js → CvOEFHIi.js} +1 -1
  73. package/web/app/immutable/chunks/{DCjZb7I_.js → CvfICP_e.js} +3 -3
  74. package/web/app/immutable/chunks/{RGzrW3oT.js → CyIRNhfo.js} +1 -1
  75. package/web/app/immutable/chunks/{DZvUc-jV.js → CzTOJ-RC.js} +1 -1
  76. package/web/app/immutable/chunks/{DtgYGVlq.js → D26xAGUV.js} +2 -2
  77. package/web/app/immutable/chunks/{-7gmVeUK.js → D39kn1Kj.js} +1 -1
  78. package/web/app/immutable/chunks/{dcX3GC1e.js → D5XNO0iw.js} +12 -12
  79. package/web/app/immutable/chunks/{B823L8ep.js → D8rDmkBS.js} +1 -1
  80. package/web/app/immutable/chunks/{BhEgU_4W.js → D9JU74lv.js} +1 -1
  81. package/web/app/immutable/chunks/{Bapgv9X7.js → DAdnLTte.js} +1 -1
  82. package/web/app/immutable/chunks/{VBxTbW_s.js → DBLNxGLo.js} +2 -2
  83. package/web/app/immutable/chunks/{BDBW9UZ2.js → DBtReqdq.js} +1 -1
  84. package/web/app/immutable/chunks/{BG8fdwua.js → DDd0mrO_.js} +1 -1
  85. package/web/app/immutable/chunks/{8Gv9_SMI.js → DGPt1Rmr.js} +1 -1
  86. package/web/app/immutable/chunks/{DMa8lRWY.js → DIo6dt4D.js} +1 -1
  87. package/web/app/immutable/chunks/{ZoN-HTET.js → DIzQd2Pc.js} +1 -1
  88. package/web/app/immutable/chunks/{CkD6WGjQ.js → DJtfG0d7.js} +1 -1
  89. package/web/app/immutable/chunks/{pFPptWXo.js → DPWE7gCc.js} +1 -1
  90. package/web/app/immutable/chunks/{C4IXfWJj.js → DQOXI0aG.js} +1 -1
  91. package/web/app/immutable/chunks/{Bv6xs8L-.js → DRfFNuAv.js} +1 -1
  92. package/web/app/immutable/chunks/{CnMfB5o1.js → DYR-Lw2g.js} +2 -2
  93. package/web/app/immutable/chunks/{CxLMdxaj.js → DaGPt6aR.js} +1 -1
  94. package/web/app/immutable/chunks/{k7VteEqF.js → DbwBDRhB.js} +1 -1
  95. package/web/app/immutable/chunks/{CeWSOi2a.js → DdHWhFZW.js} +1 -1
  96. package/web/app/immutable/chunks/{xl-EDhgG.js → Deeg9Eu-.js} +1 -1
  97. package/web/app/immutable/chunks/{A7KY6R2O.js → DgI1Tl0-.js} +1 -1
  98. package/web/app/immutable/chunks/{BuRppXky.js → Dijipve3.js} +1 -1
  99. package/web/app/immutable/chunks/{BZOTEYEY.js → Dj3yCQKZ.js} +1 -1
  100. package/web/app/immutable/chunks/{BrGpSYk2.js → DkrbZVri.js} +3 -3
  101. package/web/app/immutable/chunks/{Hz-7JeWl.js → DpR5pCWV.js} +1 -1
  102. package/web/app/immutable/chunks/{DLJWWJE5.js → DqbmScxl.js} +1 -1
  103. package/web/app/immutable/chunks/{CcAIrTom.js → DsfybZhj.js} +1 -1
  104. package/web/app/immutable/chunks/{BiBFPcjE.js → Dys6C3u0.js} +1 -1
  105. package/web/app/immutable/chunks/{BMg7nPuL.js → DzaZjwWE.js} +4 -4
  106. package/web/app/immutable/chunks/{Cpe1wSXn.js → Exl2b2cW.js} +3 -3
  107. package/web/app/immutable/chunks/{CyHBMY4h.js → FLqL4ipM.js} +1 -1
  108. package/web/app/immutable/chunks/{4c19Vd75.js → Hd61r63s.js} +1 -1
  109. package/web/app/immutable/chunks/{NqvfaOJW.js → HxiDYrBi.js} +2 -2
  110. package/web/app/immutable/chunks/{DUt3xZ1M.js → K8bSaOgl.js} +1 -1
  111. package/web/app/immutable/chunks/{DOQMErS-.js → OzS1Lc27.js} +1 -1
  112. package/web/app/immutable/chunks/{C84ZX8cd.js → QCacuydi.js} +1 -1
  113. package/web/app/immutable/chunks/{DVSId-GR.js → ZbRk-UkQ.js} +1 -1
  114. package/web/app/immutable/chunks/{DatzKkab.js → aKDMgeHa.js} +1 -1
  115. package/web/app/immutable/chunks/{CACc5HER.js → cuI1HNig.js} +1 -1
  116. package/web/app/immutable/chunks/{BgEs_TeL.js → hoB_B0gc.js} +1 -1
  117. package/web/app/immutable/chunks/{DxAPD7L7.js → i_NTivOk.js} +1 -1
  118. package/web/app/immutable/chunks/{CwiHYSkL.js → izSb4qrH.js} +1 -1
  119. package/web/app/immutable/chunks/{ANMlC0NI.js → l0ISWt9F.js} +6 -6
  120. package/web/app/immutable/chunks/{Bz2t5xK9.js → m-YSnsRn.js} +1 -1
  121. package/web/app/immutable/chunks/{doJ1Sz8A.js → nhXrKuzk.js} +2 -2
  122. package/web/app/immutable/chunks/{BsGK8he7.js → uNdiTdeS.js} +1 -1
  123. package/web/app/immutable/chunks/{CO_SSNcv.js → vYw2RcgV.js} +1 -1
  124. package/web/app/immutable/chunks/{DGW5dV5l.js → wZy9ojGD.js} +1 -1
  125. package/web/app/immutable/chunks/{DcWpWnVi.js → zapl_pAB.js} +1 -1
  126. package/web/app/immutable/entry/{app.BbPhoWSk.js → app.DvMxHwjm.js} +2 -2
  127. package/web/app/immutable/entry/start.CdInQEt-.js +1 -0
  128. package/web/app/immutable/nodes/{0.Dw6M_WBs.js → 0.CSBCH_h-.js} +1 -1
  129. package/web/app/immutable/nodes/{1.BH9vg_er.js → 1.BJSseA5f.js} +1 -1
  130. package/web/app/immutable/nodes/{10.CsLCX161.js → 10.BdrqBgeF.js} +1 -1
  131. package/web/app/immutable/nodes/{14.KrsQ8qD7.js → 14.DMwnrSCT.js} +1 -1
  132. package/web/app/immutable/nodes/{18.C9430ImP.js → 18.-WSN77ch.js} +2 -2
  133. package/web/app/immutable/nodes/{2.BvA7ukrZ.js → 2.guxMA4od.js} +4 -4
  134. package/web/app/immutable/nodes/{3.IFM-xmst.js → 3.0mLDvvZX.js} +1 -1
  135. package/web/app/immutable/nodes/{4.XoTkKBlw.js → 4.C3jl9cd0.js} +1 -1
  136. package/web/app/immutable/nodes/{5.k6nEeF1l.js → 5.DNZ2mydt.js} +1 -1
  137. package/web/app/immutable/nodes/{6.B2DQsTaQ.js → 6.BhCpj7WE.js} +1 -1
  138. package/web/app/immutable/nodes/{7.CIgktKus.js → 7.Btgbvayk.js} +1 -1
  139. package/web/app/immutable/nodes/{8.g21Iin89.js → 8.BEZLI5FY.js} +4 -4
  140. package/web/app/immutable/nodes/{9.do1SRV7N.js → 9.DOOOdUl6.js} +4 -4
  141. package/web/app/version.json +1 -1
  142. package/web/index.html +9 -9
  143. package/web/app/immutable/entry/start.CzmyJjmJ.js +0 -1
@@ -1 +1 @@
1
- import"./DYhIMPy1.js";import{p as De}from"./BZQDFgmp.js";import"./cFbB-5Cu.js";import{D as Oe,E as we,c as We,F as ke}from"./BLgIfeYS.js";import{s as qe}from"./D-fXqqnE.js";import{i as _e}from"./C59or46M.js";function Ze(t,i={}){const l=(i.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const v=i.duration??160,y=v<=80?"fast":v<=160?"moderate":"slow";return Oe(t,{axis:i.axis,tier:y},{direction:"in"})}function $e(){return qe.get("enableComponentTransitions")}const Ae={request(){},settle(){}},O=new WeakMap,He=2,ze=2e3,re=2,Pe=1e3,Ve=3e3;function et(t,i){let l=i.enabled??!0,o=i.follow,v=i.onFollowChange,y=i.onScrollStateChange,T=i.threshold??100,w=!1,h=null,u=null,m=null,x=null,d=null,b=null,M=null,F=null,S=0,R=null,g=!1,$=null;const L=new Set,W=new Map,P=new WeakSet,k=new Map,A=document.createElement("div");A.dataset.followBottomAnchor="",A.setAttribute("aria-hidden","true"),A.style.cssText=`height:1px;${i.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function G(e){e===A||k.has(e)||(k.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function V(e){const n=k.get(e);n!==void 0&&(e.style.overflowAnchor=n,k.delete(e))}function I(e){if(e)for(const r of t.children)r instanceof HTMLElement&&G(r);else for(const r of k.keys())V(r);const n=e?"auto":"none";A.style.overflowAnchor!==n&&(A.style.overflowAnchor=n),e?(A.parentElement!==t||A.nextSibling)&&t.append(A):A.remove()}function H(){I(o)}function C(){A.remove();for(const e of k.keys())V(e)}function Y(e){P.add(e),x?.observe(e)}function j(){d!==null&&cancelAnimationFrame(d),F!==null&&cancelAnimationFrame(F),d=null,F=null,S=0,R=null}function c(){return Math.max(0,t.scrollHeight-t.clientHeight)}function D(){return $??=getComputedStyle(t).overflowAnchor!=="none",$}function q(){const e=c(),n=t.scrollTop,r=h??void 0;h={maximum:e,scrollTop:n};const f={maximum:e,scrollTop:n,previous:r};return p.observe(f),f}function U(e=q()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),h={maximum:e.maximum,scrollTop:e.maximum},{maximum:e.maximum,scrollTop:e.maximum}}function N(e=q()){const n=Math.max(0,e.maximum-e.scrollTop),r=n<=T;u?.distanceFromBottom===n&&u.isAtBottom===r&&u.isFollowing===o||(u={distanceFromBottom:n,isAtBottom:r,isFollowing:o},y?.({distanceFromBottom:n,isAtBottom:r,isFollowing:o}))}function _(e,n=!0){if(p.cancel(),!l){o=e;return}const r=o!==e;r&&(o=e,I(e)),r&&n&&v?.(e),e||j(),N()}function ee(e,n=!0){if(!L.delete(e))return;const r=(W.get(e.element)??1)-1;r>0?W.set(e.element,r):(W.delete(e.element),P.has(e.element)||x?.unobserve?.(e.element)),S=0,n&&X()}function te(e=!0){if(L.size===0)return;const n=performance.now();for(const r of L)(!t.contains(r.element)||n>=r.expiresAt)&&ee(r,e)}function oe(){if(d=null,g||!l||!o)return;if(te(!1),L.size>0){d=requestAnimationFrame(oe);return}const e=U(),{maximum:n}=e;N(e),n===R?S+=1:(S=0,R=n),S<He&&(d=requestAnimationFrame(oe))}function X(){g||!l||!o||d!==null||(d=requestAnimationFrame(oe))}function z(e=!0){if(g||!l||!o)return;const n=U(),{maximum:r}=n;N(n),S=0,R=r,e&&X()}function ne(){M===null&&(M=requestAnimationFrame(()=>{M=null,!(g||!l)&&N()}))}function Te(){if(F=null,g||!l)return;let e=q();const n=e.scrollTop!==e.maximum;e=U(e),(n||e.maximum!==R||L.size>0)&&(S=0,R=e.maximum,X()),N(e)}function Fe(){if(!(g||!l)){if(o){if(d!==null||F!==null)return;F=requestAnimationFrame(Te);return}ne()}}function Se(){if(!(g||!l)){if(o){z(F===null);return}ne()}}const K={followAndScroll(){_(!0),z()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(te(),L.size>0):!1,beforeMutation(e,n){if(g||!l||!o)return Ae;const r={element:e,expiresAt:performance.now()+(n.maxHoldMs??ze)};L.add(r);const f=W.get(e)??0;return W.set(e,f+1),f===0&&!P.has(e)&&x?.observe(e),S=0,X(),{request(){!L.has(r)||g||(D()?X():z())},settle(){if(!(g||!L.has(r))){if(D()){ee(r);return}ee(r,!1),z()}}}}};function Le(){let e=null,n=null,r=null,f;function Q(s){return!e||s&&e.wheel!==s?!1:!e.wheel?.defaultPrevented&&performance.now()<e.expiresAt}function Me(s,a){if(s.maximum-s.scrollTop<=re)return!0;const B=s.previous;return a&&B!==void 0&&B.maximum<s.maximum&&B.maximum-s.scrollTop<=re}function Z(s,a){return Me(s,a)?(K.followAndScroll(),!0):!1}function ge(s){const a=q();return Q(s)&&Z(a,!0)}function Re(s){f=s,r===null&&(r=requestAnimationFrame(()=>{r=null;const a=f;f=void 0,!(g||!l||!Q(a))&&(ge(a)||N())}))}function Ne(s,a){const B=Math.max(0,a.maximum-a.scrollTop);if(a.maximum!==s.maximum)return s.maximum=a.maximum,s.distance=B,s.movedTowardBottom=!1,!1;const ve=B-s.distance;return s.distance=B,ve>0?(s.movedTowardBottom=!1,_(!1),!0):ve===0?!1:(s.movedTowardBottom=!0,Z(a,!1))}function Ce(s){if(o||!e)return!1;const a=s.previous;return a&&s.scrollTop<a.scrollTop?(e=null,!1):(!a||s.scrollTop>a.scrollTop)&&Q()&&Z(s,!0)}return{isDragging:()=>n!==null,start(s,a){const B=s==="touch"?Ve:Pe;e={wheel:a,expiresAt:performance.now()+B}},grab(s){if(e=null,!s){n=null;return}const a=c();n={maximum:a,distance:Math.max(0,a-t.scrollTop),movedTowardBottom:!1}},move(s){return n?Ne(n,s):Ce(s)},land(s,a){if(s==="frame"){Re(a);return}if(s==="scrollend"){Q()&&ge(),e=null;return}if(!n)return;const{movedTowardBottom:B}=n;n=null,B&&Z(q(),!1)||N()},observe(s){const a=s.previous;e&&a!==void 0&&s.maximum<a.maximum&&s.maximum-s.scrollTop<=re&&(e=null)},cancel(){e=null},requestBottom(){K.followAndScroll()},reset(){e=null,n=null,f=void 0,r!==null&&cancelAnimationFrame(r),r=null}}}const p=Le();function ie(e){e.deltaY<0?_(!1):e.deltaY>0&&(p.start("wheel",e),p.land("frame",e))}function le(e){e.target===t?p.land("scrollend"):p.cancel()}let se=0;function ae(e){p.cancel(),w=!1,se=e.touches[0]?.clientY??0}function ue(e){const n=e.touches[0]?.clientY??0,r=se-n;w=r>0,r<0&&_(!1)}function ce(){w&&p.start("touch"),p.land("frame")}function fe(e){if(p.cancel(),["ArrowUp","PageUp","Home"].includes(e.key))_(!1);else if(["ArrowDown","PageDown","End"].includes(e.key)){if(e.target instanceof Element&&_e(e.target))return;if(e.key==="End"){p.requestBottom();return}p.start("keyboard"),p.land("frame")}}function Be(e){if(e.button!==0||e.target!==t)return!1;const n=Math.max(0,t.offsetWidth-t.clientWidth);if(n===0)return!1;const r=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(r.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=r.left+f:e.clientX>=r.right-f}function me(){const e=p.isDragging();if(!e&&o&&d!==null)return;let n=q();p.move(n)||(o&&!e&&(n=U(n)),N(n))}function de(e){p.grab(Be(e))}function J(){p.land("release")}function Ee(){if(!m){m=new MutationObserver(e=>{let n=!1;for(const r of e)if(r.type==="childList"){for(const f of r.removedNodes)n=!0,f instanceof HTMLElement&&V(f);for(const f of r.addedNodes)f instanceof HTMLElement&&f!==A&&x&&(Y(f),o&&f.parentElement===t&&G(f))}n&&te(),I(o),Fe()}),m.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),x=new ResizeObserver(Se),Y(t);for(const e of t.children)e instanceof HTMLElement&&e!==A&&Y(e)}}function be(){m?.disconnect(),m=null,x?.disconnect(),x=null}function pe(e=!1){if(!l||g)return;if(O.set(t,K),t.addEventListener("scroll",me,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",ie,{passive:!0}),t.addEventListener("touchstart",ae,{passive:!0}),t.addEventListener("touchmove",ue,{passive:!0}),t.addEventListener("touchend",ce,{passive:!0}),t.addEventListener("keydown",fe),t.addEventListener("pointerdown",de,{passive:!0}),window.addEventListener("pointerup",J,{passive:!0}),window.addEventListener("pointercancel",J,{passive:!0}),H(),Ee(),e){b=requestAnimationFrame(()=>{b=null,!(g||!l)&&(D(),o?z():N())});return}D();let n=q();o&&(n=U(n),R=n.maximum),N(n)}function he(){p.reset(),w=!1,h=null,L.clear(),W.clear(),j(),b!==null&&cancelAnimationFrame(b),b=null,M!==null&&cancelAnimationFrame(M),M=null,u=null,$=null,O.get(t)===K&&O.delete(t),be(),C(),t.removeEventListener("scroll",me),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",ie),t.removeEventListener("touchstart",ae),t.removeEventListener("touchmove",ue),t.removeEventListener("touchend",ce),t.removeEventListener("keydown",fe),t.removeEventListener("pointerdown",de),window.removeEventListener("pointerup",J),window.removeEventListener("pointercancel",J)}return pe(!0),{update(e){v=e.onFollowChange,y=e.onScrollStateChange,T=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,pe(!0);return}l?e.follow&&!o?(_(!0,!1),z()):!e.follow&&o?_(!1,!1):b===null&&ne():o=e.follow},destroy(){g=!0,he()}}}function tt(t){return O.get(t)?.isFollowing()??!1}function ot(t){return O.get(t)?.isNativeScrollAnchoringActive()??!1}function nt(t){return O.get(t)?.hasActiveMutation()??!1}function xe(t,i={}){let l=t;for(;l;){const o=O.get(l);if(o)return o.beforeMutation(t,i);l=l.parentElement}return Ae}function Ie(t){const{scrollTop:i,scrollHeight:l,clientHeight:o}=t;return l-i-o}function Ye(t,i=100){return Ie(t)<=i}function Ue(t,i=!1){t.scrollTo({top:t.scrollHeight,behavior:i?"smooth":"auto"})}function rt(t){const i=O.get(t);if(i){i.followAndScroll();return}Ue(t)}function it(t,i,l=150,o){const v=t();if(!v)return;const y=v.scrollTop,T=performance.now();function w(u){return 1-Math.pow(1-u,3)}function h(u){const m=t();if(!m)return;const x=u-T,d=Math.min(x/l,1),b=typeof i=="function"?i(m):i;m.scrollTop=y+(b-y)*w(d),d<1?requestAnimationFrame(h):o?.(m)}requestAnimationFrame(h)}function lt(t,i="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),v=Ye(t,100);if(v&&O.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:v};const y=t.querySelectorAll(i);let T=null,w=0,h;for(const u of y){const m=u.getBoundingClientRect();if(m.top>=o.bottom)break;if(m.top>=o.top){T||(T=u,w=m.top-o.top);const x=u.getAttribute("data-message-id");if(x){h={id:x,offsetFromViewport:m.top-o.top};break}}}return{element:T,offsetFromViewport:w,scrollTop:l,isNearBottom:v,...h?{message:h}:{}}}function ye(t,i){if(i.message){const l=t.querySelector(`[data-message-id="${CSS.escape(i.message.id)}"]`);if(l)return{element:l,offsetFromViewport:i.message.offsetFromViewport}}return i.element?.isConnected?{element:i.element,offsetFromViewport:i.offsetFromViewport}:null}function st(t,i){return ye(t,i)!==null}function at(t,i){const l=ye(t,i);if(l){const{element:o,offsetFromViewport:v}=l,y=t.getBoundingClientRect(),h=o.getBoundingClientRect().top-y.top-v;Math.abs(h)>5&&(t.scrollTop+=h)}}function E(t,i){const l=Number.parseFloat(String(t[i]));return Number.isFinite(l)?l:0}function ut(t,i={},l={}){const o=t,y={maxHoldMs:we[i.tier??"moderate"].settleMs*2+500};let T=xe(o,y);const w=()=>{T?.settle(),T=null},h=()=>{T??=xe(o,y)};if(!$e()||De())return w(),{duration:0};const u=getComputedStyle(o),m=i.axis??"y",x=o.getBoundingClientRect(),d=m==="y"?E(u,"height")||x.height:E(u,"width")||x.width;if(!Number.isFinite(d)||d<=0)return w(),{duration:0};const b=E(u,"opacity")||1,M=i.tier??"moderate",F=we[M],S=l.direction==="out",R=typeof u.getPropertyValue=="function"?S?We(o,{tier:M}):ke(o,{tier:M}):{duration:S?F.exit.duration:F.settleMs,easing:F.exit.easing},g=R.duration??(S?F.exit.duration:F.settleMs),$=i.y??-4,L=E(u,"paddingTop"),W=E(u,"paddingBottom"),P=E(u,"marginTop"),k=E(u,"marginBottom"),A=E(u,"paddingLeft"),G=E(u,"paddingRight"),V=E(u,"marginLeft"),I=E(u,"marginRight");let H=null,C=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const Y=(c,D)=>{o.style.overflow="hidden",m==="y"?(o.style.height=`${c*d}px`,o.style.paddingTop=`${c*L}px`,o.style.paddingBottom=`${c*W}px`,o.style.marginTop=`${c*P}px`,o.style.marginBottom=`${c*k}px`):(o.style.width=`${c*d}px`,o.style.paddingLeft=`${c*A}px`,o.style.paddingRight=`${c*G}px`,o.style.marginLeft=`${c*V}px`,o.style.marginRight=`${c*I}px`),o.style.opacity=`${c*b}`,o.style.transform=m==="y"?`translateY(${$*D}px)`:`translateX(${$*D}px)`},j=()=>{o.style.overflow="",o.style.height="",o.style.width="",o.style.paddingTop="",o.style.paddingBottom="",o.style.marginTop="",o.style.marginBottom="",o.style.paddingLeft="",o.style.paddingRight="",o.style.marginLeft="",o.style.marginRight="",o.style.opacity="",o.style.transform=""};return{duration:g,easing:R.easing,tick:(c,D)=>{if(l.direction==="both"&&(H===null?c<1&&(C="outro"):c<H?(h(),C="outro"):c>H&&(h(),C="intro")),H=c,c===1&&C!=="outro"){j(),w(),C="idle";return}Y(c,D),T?.request(),c===0&&C==="outro"&&(w(),C="idle")}}}export{it as a,$e as b,xe as c,st as d,lt as e,et as f,rt as g,nt as h,tt as i,ot as j,Ze as k,Ue as l,at as r,ut as s};
1
+ import"./DYhIMPy1.js";import{p as De}from"./BZQDFgmp.js";import"./cFbB-5Cu.js";import{D as Oe,E as we,c as We,F as ke}from"./BLgIfeYS.js";import{s as qe}from"./Cj2RYqvI.js";import{i as _e}from"./C59or46M.js";function Ze(t,i={}){const l=(i.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const v=i.duration??160,y=v<=80?"fast":v<=160?"moderate":"slow";return Oe(t,{axis:i.axis,tier:y},{direction:"in"})}function $e(){return qe.get("enableComponentTransitions")}const Ae={request(){},settle(){}},O=new WeakMap,He=2,ze=2e3,re=2,Pe=1e3,Ve=3e3;function et(t,i){let l=i.enabled??!0,o=i.follow,v=i.onFollowChange,y=i.onScrollStateChange,T=i.threshold??100,w=!1,h=null,u=null,m=null,x=null,d=null,b=null,M=null,F=null,S=0,R=null,g=!1,$=null;const L=new Set,W=new Map,P=new WeakSet,k=new Map,A=document.createElement("div");A.dataset.followBottomAnchor="",A.setAttribute("aria-hidden","true"),A.style.cssText=`height:1px;${i.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function G(e){e===A||k.has(e)||(k.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function V(e){const n=k.get(e);n!==void 0&&(e.style.overflowAnchor=n,k.delete(e))}function I(e){if(e)for(const r of t.children)r instanceof HTMLElement&&G(r);else for(const r of k.keys())V(r);const n=e?"auto":"none";A.style.overflowAnchor!==n&&(A.style.overflowAnchor=n),e?(A.parentElement!==t||A.nextSibling)&&t.append(A):A.remove()}function H(){I(o)}function C(){A.remove();for(const e of k.keys())V(e)}function Y(e){P.add(e),x?.observe(e)}function j(){d!==null&&cancelAnimationFrame(d),F!==null&&cancelAnimationFrame(F),d=null,F=null,S=0,R=null}function c(){return Math.max(0,t.scrollHeight-t.clientHeight)}function D(){return $??=getComputedStyle(t).overflowAnchor!=="none",$}function q(){const e=c(),n=t.scrollTop,r=h??void 0;h={maximum:e,scrollTop:n};const f={maximum:e,scrollTop:n,previous:r};return p.observe(f),f}function U(e=q()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),h={maximum:e.maximum,scrollTop:e.maximum},{maximum:e.maximum,scrollTop:e.maximum}}function N(e=q()){const n=Math.max(0,e.maximum-e.scrollTop),r=n<=T;u?.distanceFromBottom===n&&u.isAtBottom===r&&u.isFollowing===o||(u={distanceFromBottom:n,isAtBottom:r,isFollowing:o},y?.({distanceFromBottom:n,isAtBottom:r,isFollowing:o}))}function _(e,n=!0){if(p.cancel(),!l){o=e;return}const r=o!==e;r&&(o=e,I(e)),r&&n&&v?.(e),e||j(),N()}function ee(e,n=!0){if(!L.delete(e))return;const r=(W.get(e.element)??1)-1;r>0?W.set(e.element,r):(W.delete(e.element),P.has(e.element)||x?.unobserve?.(e.element)),S=0,n&&X()}function te(e=!0){if(L.size===0)return;const n=performance.now();for(const r of L)(!t.contains(r.element)||n>=r.expiresAt)&&ee(r,e)}function oe(){if(d=null,g||!l||!o)return;if(te(!1),L.size>0){d=requestAnimationFrame(oe);return}const e=U(),{maximum:n}=e;N(e),n===R?S+=1:(S=0,R=n),S<He&&(d=requestAnimationFrame(oe))}function X(){g||!l||!o||d!==null||(d=requestAnimationFrame(oe))}function z(e=!0){if(g||!l||!o)return;const n=U(),{maximum:r}=n;N(n),S=0,R=r,e&&X()}function ne(){M===null&&(M=requestAnimationFrame(()=>{M=null,!(g||!l)&&N()}))}function Te(){if(F=null,g||!l)return;let e=q();const n=e.scrollTop!==e.maximum;e=U(e),(n||e.maximum!==R||L.size>0)&&(S=0,R=e.maximum,X()),N(e)}function Fe(){if(!(g||!l)){if(o){if(d!==null||F!==null)return;F=requestAnimationFrame(Te);return}ne()}}function Se(){if(!(g||!l)){if(o){z(F===null);return}ne()}}const K={followAndScroll(){_(!0),z()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(te(),L.size>0):!1,beforeMutation(e,n){if(g||!l||!o)return Ae;const r={element:e,expiresAt:performance.now()+(n.maxHoldMs??ze)};L.add(r);const f=W.get(e)??0;return W.set(e,f+1),f===0&&!P.has(e)&&x?.observe(e),S=0,X(),{request(){!L.has(r)||g||(D()?X():z())},settle(){if(!(g||!L.has(r))){if(D()){ee(r);return}ee(r,!1),z()}}}}};function Le(){let e=null,n=null,r=null,f;function Q(s){return!e||s&&e.wheel!==s?!1:!e.wheel?.defaultPrevented&&performance.now()<e.expiresAt}function Me(s,a){if(s.maximum-s.scrollTop<=re)return!0;const B=s.previous;return a&&B!==void 0&&B.maximum<s.maximum&&B.maximum-s.scrollTop<=re}function Z(s,a){return Me(s,a)?(K.followAndScroll(),!0):!1}function ge(s){const a=q();return Q(s)&&Z(a,!0)}function Re(s){f=s,r===null&&(r=requestAnimationFrame(()=>{r=null;const a=f;f=void 0,!(g||!l||!Q(a))&&(ge(a)||N())}))}function Ne(s,a){const B=Math.max(0,a.maximum-a.scrollTop);if(a.maximum!==s.maximum)return s.maximum=a.maximum,s.distance=B,s.movedTowardBottom=!1,!1;const ve=B-s.distance;return s.distance=B,ve>0?(s.movedTowardBottom=!1,_(!1),!0):ve===0?!1:(s.movedTowardBottom=!0,Z(a,!1))}function Ce(s){if(o||!e)return!1;const a=s.previous;return a&&s.scrollTop<a.scrollTop?(e=null,!1):(!a||s.scrollTop>a.scrollTop)&&Q()&&Z(s,!0)}return{isDragging:()=>n!==null,start(s,a){const B=s==="touch"?Ve:Pe;e={wheel:a,expiresAt:performance.now()+B}},grab(s){if(e=null,!s){n=null;return}const a=c();n={maximum:a,distance:Math.max(0,a-t.scrollTop),movedTowardBottom:!1}},move(s){return n?Ne(n,s):Ce(s)},land(s,a){if(s==="frame"){Re(a);return}if(s==="scrollend"){Q()&&ge(),e=null;return}if(!n)return;const{movedTowardBottom:B}=n;n=null,B&&Z(q(),!1)||N()},observe(s){const a=s.previous;e&&a!==void 0&&s.maximum<a.maximum&&s.maximum-s.scrollTop<=re&&(e=null)},cancel(){e=null},requestBottom(){K.followAndScroll()},reset(){e=null,n=null,f=void 0,r!==null&&cancelAnimationFrame(r),r=null}}}const p=Le();function ie(e){e.deltaY<0?_(!1):e.deltaY>0&&(p.start("wheel",e),p.land("frame",e))}function le(e){e.target===t?p.land("scrollend"):p.cancel()}let se=0;function ae(e){p.cancel(),w=!1,se=e.touches[0]?.clientY??0}function ue(e){const n=e.touches[0]?.clientY??0,r=se-n;w=r>0,r<0&&_(!1)}function ce(){w&&p.start("touch"),p.land("frame")}function fe(e){if(p.cancel(),["ArrowUp","PageUp","Home"].includes(e.key))_(!1);else if(["ArrowDown","PageDown","End"].includes(e.key)){if(e.target instanceof Element&&_e(e.target))return;if(e.key==="End"){p.requestBottom();return}p.start("keyboard"),p.land("frame")}}function Be(e){if(e.button!==0||e.target!==t)return!1;const n=Math.max(0,t.offsetWidth-t.clientWidth);if(n===0)return!1;const r=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(r.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=r.left+f:e.clientX>=r.right-f}function me(){const e=p.isDragging();if(!e&&o&&d!==null)return;let n=q();p.move(n)||(o&&!e&&(n=U(n)),N(n))}function de(e){p.grab(Be(e))}function J(){p.land("release")}function Ee(){if(!m){m=new MutationObserver(e=>{let n=!1;for(const r of e)if(r.type==="childList"){for(const f of r.removedNodes)n=!0,f instanceof HTMLElement&&V(f);for(const f of r.addedNodes)f instanceof HTMLElement&&f!==A&&x&&(Y(f),o&&f.parentElement===t&&G(f))}n&&te(),I(o),Fe()}),m.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),x=new ResizeObserver(Se),Y(t);for(const e of t.children)e instanceof HTMLElement&&e!==A&&Y(e)}}function be(){m?.disconnect(),m=null,x?.disconnect(),x=null}function pe(e=!1){if(!l||g)return;if(O.set(t,K),t.addEventListener("scroll",me,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",ie,{passive:!0}),t.addEventListener("touchstart",ae,{passive:!0}),t.addEventListener("touchmove",ue,{passive:!0}),t.addEventListener("touchend",ce,{passive:!0}),t.addEventListener("keydown",fe),t.addEventListener("pointerdown",de,{passive:!0}),window.addEventListener("pointerup",J,{passive:!0}),window.addEventListener("pointercancel",J,{passive:!0}),H(),Ee(),e){b=requestAnimationFrame(()=>{b=null,!(g||!l)&&(D(),o?z():N())});return}D();let n=q();o&&(n=U(n),R=n.maximum),N(n)}function he(){p.reset(),w=!1,h=null,L.clear(),W.clear(),j(),b!==null&&cancelAnimationFrame(b),b=null,M!==null&&cancelAnimationFrame(M),M=null,u=null,$=null,O.get(t)===K&&O.delete(t),be(),C(),t.removeEventListener("scroll",me),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",ie),t.removeEventListener("touchstart",ae),t.removeEventListener("touchmove",ue),t.removeEventListener("touchend",ce),t.removeEventListener("keydown",fe),t.removeEventListener("pointerdown",de),window.removeEventListener("pointerup",J),window.removeEventListener("pointercancel",J)}return pe(!0),{update(e){v=e.onFollowChange,y=e.onScrollStateChange,T=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,pe(!0);return}l?e.follow&&!o?(_(!0,!1),z()):!e.follow&&o?_(!1,!1):b===null&&ne():o=e.follow},destroy(){g=!0,he()}}}function tt(t){return O.get(t)?.isFollowing()??!1}function ot(t){return O.get(t)?.isNativeScrollAnchoringActive()??!1}function nt(t){return O.get(t)?.hasActiveMutation()??!1}function xe(t,i={}){let l=t;for(;l;){const o=O.get(l);if(o)return o.beforeMutation(t,i);l=l.parentElement}return Ae}function Ie(t){const{scrollTop:i,scrollHeight:l,clientHeight:o}=t;return l-i-o}function Ye(t,i=100){return Ie(t)<=i}function Ue(t,i=!1){t.scrollTo({top:t.scrollHeight,behavior:i?"smooth":"auto"})}function rt(t){const i=O.get(t);if(i){i.followAndScroll();return}Ue(t)}function it(t,i,l=150,o){const v=t();if(!v)return;const y=v.scrollTop,T=performance.now();function w(u){return 1-Math.pow(1-u,3)}function h(u){const m=t();if(!m)return;const x=u-T,d=Math.min(x/l,1),b=typeof i=="function"?i(m):i;m.scrollTop=y+(b-y)*w(d),d<1?requestAnimationFrame(h):o?.(m)}requestAnimationFrame(h)}function lt(t,i="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),v=Ye(t,100);if(v&&O.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:v};const y=t.querySelectorAll(i);let T=null,w=0,h;for(const u of y){const m=u.getBoundingClientRect();if(m.top>=o.bottom)break;if(m.top>=o.top){T||(T=u,w=m.top-o.top);const x=u.getAttribute("data-message-id");if(x){h={id:x,offsetFromViewport:m.top-o.top};break}}}return{element:T,offsetFromViewport:w,scrollTop:l,isNearBottom:v,...h?{message:h}:{}}}function ye(t,i){if(i.message){const l=t.querySelector(`[data-message-id="${CSS.escape(i.message.id)}"]`);if(l)return{element:l,offsetFromViewport:i.message.offsetFromViewport}}return i.element?.isConnected?{element:i.element,offsetFromViewport:i.offsetFromViewport}:null}function st(t,i){return ye(t,i)!==null}function at(t,i){const l=ye(t,i);if(l){const{element:o,offsetFromViewport:v}=l,y=t.getBoundingClientRect(),h=o.getBoundingClientRect().top-y.top-v;Math.abs(h)>5&&(t.scrollTop+=h)}}function E(t,i){const l=Number.parseFloat(String(t[i]));return Number.isFinite(l)?l:0}function ut(t,i={},l={}){const o=t,y={maxHoldMs:we[i.tier??"moderate"].settleMs*2+500};let T=xe(o,y);const w=()=>{T?.settle(),T=null},h=()=>{T??=xe(o,y)};if(!$e()||De())return w(),{duration:0};const u=getComputedStyle(o),m=i.axis??"y",x=o.getBoundingClientRect(),d=m==="y"?E(u,"height")||x.height:E(u,"width")||x.width;if(!Number.isFinite(d)||d<=0)return w(),{duration:0};const b=E(u,"opacity")||1,M=i.tier??"moderate",F=we[M],S=l.direction==="out",R=typeof u.getPropertyValue=="function"?S?We(o,{tier:M}):ke(o,{tier:M}):{duration:S?F.exit.duration:F.settleMs,easing:F.exit.easing},g=R.duration??(S?F.exit.duration:F.settleMs),$=i.y??-4,L=E(u,"paddingTop"),W=E(u,"paddingBottom"),P=E(u,"marginTop"),k=E(u,"marginBottom"),A=E(u,"paddingLeft"),G=E(u,"paddingRight"),V=E(u,"marginLeft"),I=E(u,"marginRight");let H=null,C=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const Y=(c,D)=>{o.style.overflow="hidden",m==="y"?(o.style.height=`${c*d}px`,o.style.paddingTop=`${c*L}px`,o.style.paddingBottom=`${c*W}px`,o.style.marginTop=`${c*P}px`,o.style.marginBottom=`${c*k}px`):(o.style.width=`${c*d}px`,o.style.paddingLeft=`${c*A}px`,o.style.paddingRight=`${c*G}px`,o.style.marginLeft=`${c*V}px`,o.style.marginRight=`${c*I}px`),o.style.opacity=`${c*b}`,o.style.transform=m==="y"?`translateY(${$*D}px)`:`translateX(${$*D}px)`},j=()=>{o.style.overflow="",o.style.height="",o.style.width="",o.style.paddingTop="",o.style.paddingBottom="",o.style.marginTop="",o.style.marginBottom="",o.style.paddingLeft="",o.style.paddingRight="",o.style.marginLeft="",o.style.marginRight="",o.style.opacity="",o.style.transform=""};return{duration:g,easing:R.easing,tick:(c,D)=>{if(l.direction==="both"&&(H===null?c<1&&(C="outro"):c<H?(h(),C="outro"):c>H&&(h(),C="intro")),H=c,c===1&&C!=="outro"){j(),w(),C="idle";return}Y(c,D),T?.request(),c===0&&C==="outro"&&(w(),C="idle")}}}export{it as a,$e as b,xe as c,st as d,lt as e,et as f,rt as g,nt as h,tt as i,ot as j,Ze as k,Ue as l,at as r,ut as s};
@@ -1 +1 @@
1
- import{t as N,bq as m,by as O,b as R,bo as W}from"./Y9-4hTF9.js";import{bs as T,a7 as U,ay as Y,W as s,bn as J,aA as v,be as p,b$ as f,b_ as u,bO as d,a5 as L,bA as P,bS as Q,aD as V,aB as A,c9 as X,aG as Z,bI as tt}from"./DYhIMPy1.js";import{i as C}from"./BL2lJmRT.js";import{E as S}from"./BS8Oxiwq.js";import"./cFbB-5Cu.js";import"./-CHLoCv2.js";import"./DOH10_LL.js";import{f as z}from"./q6hitSEG.js";import{F as et,$ as at,bL as ot}from"./Mc93eSxl.js";import"./CrWhihJ_.js";import{I as st}from"./BZQDFgmp.js";import{e as nt,b as rt}from"./CIxD8Y3D.js";var it=A('<span aria-hidden="true"><!></span>'),lt=A('<div class="flex flex-wrap justify-center gap-2"><!> <!></div>');function ct(g,n){if(new.target)return N({component:ct,...g});T(n,!0);let o=m(n,"view",7),b=m(n,"canMove",7,!1),w=m(n,"waiting",7,!1),h=m(n,"onWait",7),x=m(n,"onMove",7);var E={get view(){return o()},set view(t){o(t),v()},get canMove(){return b()},set canMove(t=!1){b(t),v()},get waiting(){return w()},set waiting(t=!1){w(t),v()},get onWait(){return h()},set onWait(t){h(t),v()},get onMove(){return x()},set onMove(t){x(t),v()},$set:O,$on:(t,k)=>R(n,t,k)},H=U(),I=Y(H);{var B=t=>{S(t,{class:"h-full min-h-0",density:"compact","data-workspace-home-panel-notice":"starting",icon:_=>{var r=it(),e=L(r);st(e,{size:16}),P(r),s(_,r)},title:_=>{p();var r=f();u(e=>d(r,e),[()=>W.workspaceHome_starting_label()]),s(_,r)},$$slots:{icon:!0,title:!0}})},F=t=>{S(t,{class:"h-full",get"data-workspace-home-panel-notice"(){return o().state},icon:e=>{{let a=X(()=>o().state==="moving"?at:ot);et(e,{get icon(){return V(a)},class:"size-5"})}},title:e=>{p();var a=f();u(l=>d(a,l),[()=>rt(o().state==="moving"?"moving":"detached")]),s(e,a)},description:e=>{p();var a=f();u(l=>d(a,l),[()=>nt(o())]),s(e,a)},actions:e=>{var a=lt(),l=L(a);{var q=i=>{z(i,{variant:"outline",size:"sm",get disabled(){return w()},onclick:()=>h()?.(),children:(M,K)=>{p();var c=f();u(y=>d(c,y),[()=>W.workspaceHome_wait_label()]),s(M,c)},$$slots:{default:!0}})};C(l,i=>{o().canWait&&i(q)})}var D=Q(l,2);{var G=i=>{z(i,{variant:"outline",size:"sm",onclick:()=>x()?.(),children:(M,K)=>{p();var c=f();u(y=>d(c,y),[()=>W.workspaceHome_move_label()]),s(M,c)},$$slots:{default:!0}})};C(D,i=>{b()&&i(G)})}P(a),s(e,a)},$$slots:{icon:!0,title:!0,description:!0,actions:!0}})};C(I,t=>{o().starting?t(B):t(F,-1)})}return s(g,H),J(E)}const $=Symbol("workspace-home-panel");function kt(g){tt($,g)}function Mt(){return Z($)}export{ct as W,Mt as g,kt as s};
1
+ import{t as N,bq as m,by as O,b as R,bo as W}from"./Y9-4hTF9.js";import{bs as T,a7 as U,ay as Y,W as s,bn as J,aA as v,be as p,b$ as f,b_ as u,bO as d,a5 as L,bA as P,bS as Q,aD as V,aB as A,c9 as X,aG as Z,bI as tt}from"./DYhIMPy1.js";import{i as C}from"./BL2lJmRT.js";import{E as S}from"./BS8Oxiwq.js";import"./cFbB-5Cu.js";import"./-CHLoCv2.js";import"./DOH10_LL.js";import{f as z}from"./q6hitSEG.js";import{F as et,$ as at,bL as ot}from"./Mc93eSxl.js";import"./CrWhihJ_.js";import{I as st}from"./BZQDFgmp.js";import{e as nt,b as rt}from"./BTLLp91d.js";var it=A('<span aria-hidden="true"><!></span>'),lt=A('<div class="flex flex-wrap justify-center gap-2"><!> <!></div>');function ct(g,n){if(new.target)return N({component:ct,...g});T(n,!0);let o=m(n,"view",7),b=m(n,"canMove",7,!1),w=m(n,"waiting",7,!1),h=m(n,"onWait",7),x=m(n,"onMove",7);var E={get view(){return o()},set view(t){o(t),v()},get canMove(){return b()},set canMove(t=!1){b(t),v()},get waiting(){return w()},set waiting(t=!1){w(t),v()},get onWait(){return h()},set onWait(t){h(t),v()},get onMove(){return x()},set onMove(t){x(t),v()},$set:O,$on:(t,k)=>R(n,t,k)},H=U(),I=Y(H);{var B=t=>{S(t,{class:"h-full min-h-0",density:"compact","data-workspace-home-panel-notice":"starting",icon:_=>{var r=it(),e=L(r);st(e,{size:16}),P(r),s(_,r)},title:_=>{p();var r=f();u(e=>d(r,e),[()=>W.workspaceHome_starting_label()]),s(_,r)},$$slots:{icon:!0,title:!0}})},F=t=>{S(t,{class:"h-full",get"data-workspace-home-panel-notice"(){return o().state},icon:e=>{{let a=X(()=>o().state==="moving"?at:ot);et(e,{get icon(){return V(a)},class:"size-5"})}},title:e=>{p();var a=f();u(l=>d(a,l),[()=>rt(o().state==="moving"?"moving":"detached")]),s(e,a)},description:e=>{p();var a=f();u(l=>d(a,l),[()=>nt(o())]),s(e,a)},actions:e=>{var a=lt(),l=L(a);{var q=i=>{z(i,{variant:"outline",size:"sm",get disabled(){return w()},onclick:()=>h()?.(),children:(M,K)=>{p();var c=f();u(y=>d(c,y),[()=>W.workspaceHome_wait_label()]),s(M,c)},$$slots:{default:!0}})};C(l,i=>{o().canWait&&i(q)})}var D=Q(l,2);{var G=i=>{z(i,{variant:"outline",size:"sm",onclick:()=>x()?.(),children:(M,K)=>{p();var c=f();u(y=>d(c,y),[()=>W.workspaceHome_move_label()]),s(M,c)},$$slots:{default:!0}})};C(D,i=>{b()&&i(G)})}P(a),s(e,a)},$$slots:{icon:!0,title:!0,description:!0,actions:!0}})};C(I,t=>{o().starting?t(B):t(F,-1)})}return s(g,H),J(E)}const $=Symbol("workspace-home-panel");function kt(g){tt($,g)}function Mt(){return Z($)}export{ct as W,Mt as g,kt as s};