@intent-hq/web 2.334.0 → 2.334.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.
- package/package.json +1 -1
- package/web/app/immutable/assets/{0.C1mKQsv9.css → 0.CvWOFl38.css} +1 -1
- package/web/app/immutable/chunks/{AMK506zb.js → 1a35li_H.js} +1 -1
- package/web/app/immutable/chunks/{Ug0dtdu2.js → 5lryxeCY.js} +4 -4
- package/web/app/immutable/chunks/{fJUF_fJi.js → 84oPQ-Z5.js} +1 -1
- package/web/app/immutable/chunks/{D0BUPqIH.js → 98zeaLhZ.js} +4 -4
- package/web/app/immutable/chunks/{gVcm9LZ1.js → AatSgrMY.js} +1 -1
- package/web/app/immutable/chunks/{SpNk3-qf.js → B7TKG7Bc.js} +1 -1
- package/web/app/immutable/chunks/{DDRhcF_8.js → BB4mIFvl.js} +1 -1
- package/web/app/immutable/chunks/{l8UFOWir.js → BB_nvikr.js} +3 -3
- package/web/app/immutable/chunks/{CZnrzyHp.js → BC6AKL03.js} +1 -1
- package/web/app/immutable/chunks/{8ZRaDoDY.js → BF68vBH8.js} +1 -1
- package/web/app/immutable/chunks/{t1ZWo-I1.js → BG8GLROv.js} +1 -1
- package/web/app/immutable/chunks/{4AVTvQlm.js → BIq2Xhur.js} +1 -1
- package/web/app/immutable/chunks/{rNW14wgI.js → BIsYlFzn.js} +1 -1
- package/web/app/immutable/chunks/{DxHHBDex.js → BJGFYlGb.js} +1 -1
- package/web/app/immutable/chunks/{BHvVwiFl.js → BKPhrwG0.js} +1 -1
- package/web/app/immutable/chunks/{CJB7cvC2.js → BLxkwNki.js} +1 -1
- package/web/app/immutable/chunks/{BJOBGHF6.js → BQvAnzVz.js} +1 -1
- package/web/app/immutable/chunks/{BRJ8JwtZ.js → BTKF7gxr.js} +2 -2
- package/web/app/immutable/chunks/{DANuQK8j.js → BTnJmaeL.js} +1 -1
- package/web/app/immutable/chunks/{Bmyv2TKf.js → BU9Iey12.js} +1 -1
- package/web/app/immutable/chunks/{BsYAGCCJ.js → BV7IkfLg.js} +1 -1
- package/web/app/immutable/chunks/{BpidAqRA.js → BVL9duQ5.js} +6 -6
- package/web/app/immutable/chunks/{Bvt4TKMh.js → BcKZevFv.js} +1 -1
- package/web/app/immutable/chunks/{DKNnPYeR.js → Bcj40e95.js} +1 -1
- package/web/app/immutable/chunks/{BiRCgfI8.js → BdiB84y6.js} +1 -1
- package/web/app/immutable/chunks/{BdYPHOrS.js → Bg69H70_.js} +1 -1
- package/web/app/immutable/chunks/BhJWXUqD.js +1 -0
- package/web/app/immutable/chunks/{Cil-vK29.js → Bm8WkBC5.js} +1 -1
- package/web/app/immutable/chunks/{DiUyyFSb.js → BqvnKOi9.js} +1 -1
- package/web/app/immutable/chunks/{BaeUp1de.js → BrfSOvfx.js} +1 -1
- package/web/app/immutable/chunks/{Csi1v0mQ.js → BxMH5MYD.js} +1 -1
- package/web/app/immutable/chunks/{CRLRbkCn.js → BxlBk-YD.js} +1 -1
- package/web/app/immutable/chunks/{CuXSY9SQ.js → ByJNkQwF.js} +2 -2
- package/web/app/immutable/chunks/{1N54IjFy.js → C02vDFWb.js} +1 -1
- package/web/app/immutable/chunks/{T2yA2AgY.js → C0FI_9IJ.js} +1 -1
- package/web/app/immutable/chunks/{DhSqfFgd.js → C1mdnBVP.js} +1 -1
- package/web/app/immutable/chunks/{BuEytmbB.js → C4w7bKuP.js} +1 -1
- package/web/app/immutable/chunks/{BrK9k8X4.js → C5sAinDF.js} +1 -1
- package/web/app/immutable/chunks/{B77TCztV.js → CE0qVU3E.js} +1 -1
- package/web/app/immutable/chunks/{CwakGbfV.js → CGn9WrVN.js} +1 -1
- package/web/app/immutable/chunks/{CwMAKc0Q.js → CHfzOEVZ.js} +1 -1
- package/web/app/immutable/chunks/{f7LaE2V_.js → CKaKgIKD.js} +4 -4
- package/web/app/immutable/chunks/{BMFAZxzl.js → CMXoRP_2.js} +1 -1
- package/web/app/immutable/chunks/{DLtIqvYl.js → CNG639uN.js} +2 -2
- package/web/app/immutable/chunks/{CWYYinAo.js → CQBJXrfq.js} +1 -1
- package/web/app/immutable/chunks/{BMMqOSaL.js → CQYxiSKc.js} +1 -1
- package/web/app/immutable/chunks/{DvQkR2Is.js → CRc5ctc6.js} +1 -1
- package/web/app/immutable/chunks/{DVWbUaqE.js → CSpV9hdy.js} +2 -2
- package/web/app/immutable/chunks/{2J-nekl4.js → CaLGGtgx.js} +3 -3
- package/web/app/immutable/chunks/{DMHPeP9b.js → Cd_9iDaC.js} +1 -1
- package/web/app/immutable/chunks/{CGiCL1Ov.js → Cfb3Qeug.js} +1 -1
- package/web/app/immutable/chunks/{BjdHDlxK.js → CfcCegh1.js} +1 -1
- package/web/app/immutable/chunks/{D-Uzg_w_.js → Ckm2No1k.js} +1 -1
- package/web/app/immutable/chunks/{072Tb_6D.js → CmSOlSZC.js} +1 -1
- package/web/app/immutable/chunks/{DJQSxFj4.js → Cmu_2tL6.js} +1 -1
- package/web/app/immutable/chunks/{DwLudbcs.js → CmyB5JxB.js} +1 -1
- package/web/app/immutable/chunks/{C4RucMn0.js → CnrqTlrs.js} +1 -1
- package/web/app/immutable/chunks/{C-tVLzji.js → CqrY9mln.js} +1 -1
- package/web/app/immutable/chunks/{zobwBhBP.js → Ct1LOYoS.js} +1 -1
- package/web/app/immutable/chunks/{N6ccAT9m.js → Ctfb1OGa.js} +3 -3
- package/web/app/immutable/chunks/{CMpcqAa4.js → CxObU6mx.js} +3 -3
- package/web/app/immutable/chunks/{dLK087oD.js → CzM51AXZ.js} +1 -1
- package/web/app/immutable/chunks/{BuCbZihK.js → D4_SdDSY.js} +2 -2
- package/web/app/immutable/chunks/{BcvgmgBl.js → D6yTIC5N.js} +1 -1
- package/web/app/immutable/chunks/{CwiXEybf.js → D71eQlAo.js} +1 -1
- package/web/app/immutable/chunks/{BW9zdIKM.js → D7R04yQS.js} +1 -1
- package/web/app/immutable/chunks/{VLZW5k04.js → D8NIsfN6.js} +1 -1
- package/web/app/immutable/chunks/{DKf1LSfP.js → D9-PpMwq.js} +1 -1
- package/web/app/immutable/chunks/{CwMqpcMm.js → D9qxaQL5.js} +1 -1
- package/web/app/immutable/chunks/{DNEb71Dh.js → DDh9M6q9.js} +1 -1
- package/web/app/immutable/chunks/{MItv5vwZ.js → DE2wtizW.js} +1 -1
- package/web/app/immutable/chunks/{BIvp5Tt2.js → DEz9kFbW.js} +1 -1
- package/web/app/immutable/chunks/{BNcmjmX0.js → DFEZjAED.js} +1 -1
- package/web/app/immutable/chunks/{m2BK1mVX.js → DFGudu4t.js} +1 -1
- package/web/app/immutable/chunks/{BBA4Bzbm.js → DGi2Fba3.js} +1 -1
- package/web/app/immutable/chunks/{BNhmUsaA.js → DJ_QkvrV.js} +1 -1
- package/web/app/immutable/chunks/{D0Nn2MSZ.js → DJlAXimI.js} +12 -12
- package/web/app/immutable/chunks/{03PfIO_9.js → DKw2ZZkQ.js} +1 -1
- package/web/app/immutable/chunks/{DVTVoVn3.js → DO346qNj.js} +1 -1
- package/web/app/immutable/chunks/{DySSBJC4.js → DPw7hFRN.js} +1 -1
- package/web/app/immutable/chunks/{DziBVnxJ.js → DR6Ht6M1.js} +3 -3
- package/web/app/immutable/chunks/{CwKaV1IY.js → DTEa5xLA.js} +1 -1
- package/web/app/immutable/chunks/{DWLCZ9bk.js → DTKQLf-J.js} +1 -1
- package/web/app/immutable/chunks/{BFBxuHtI.js → DXmtjPbD.js} +1 -1
- package/web/app/immutable/chunks/{D-JSvqq2.js → DYNXYjAR.js} +2 -2
- package/web/app/immutable/chunks/{DZTtqmYJ.js → DaaWvDkX.js} +1 -1
- package/web/app/immutable/chunks/{HjTnEK4j.js → DbbZJ-ci.js} +1 -1
- package/web/app/immutable/chunks/{CKrDMmMA.js → DgEbpU39.js} +1 -1
- package/web/app/immutable/chunks/{DqdGC4dy.js → Dk-fSG07.js} +1 -1
- package/web/app/immutable/chunks/{B6KMCDK3.js → Dmoe9MK3.js} +1 -1
- package/web/app/immutable/chunks/{BYS_XVzS.js → DoF4MEp9.js} +1 -1
- package/web/app/immutable/chunks/{BE_5EfDm.js → DpeaMqro.js} +4 -4
- package/web/app/immutable/chunks/{DAxsY0Gj.js → Dv8x14z4.js} +1 -1
- package/web/app/immutable/chunks/{B29HdkQh.js → Dw5VqvaP.js} +1 -1
- package/web/app/immutable/chunks/{BcRUrG7V.js → DwfTQh-H.js} +1 -1
- package/web/app/immutable/chunks/{BfiKUtfz.js → DyBxytvu.js} +1 -1
- package/web/app/immutable/chunks/{CBC7YFdV.js → Dye-X7T_.js} +1 -1
- package/web/app/immutable/chunks/{CFS-CWu3.js → DzQlISID.js} +1 -1
- package/web/app/immutable/chunks/{B3RoFPrI.js → EuR2YZ_C.js} +1 -1
- package/web/app/immutable/chunks/{zP9pbpMh.js → GcxLTXiO.js} +1 -1
- package/web/app/immutable/chunks/{BpnwXy6U.js → LRsTXnWs.js} +1 -1
- package/web/app/immutable/chunks/{Bp1o3thS.js → Ld5BQbYA.js} +1 -1
- package/web/app/immutable/chunks/{DyEA97Ij.js → MXIhoqMp.js} +1 -1
- package/web/app/immutable/chunks/{Cn1E5b8h.js → O-buqhJY.js} +1 -1
- package/web/app/immutable/chunks/{YkXzGZ8n.js → O8s5IMhm.js} +1 -1
- package/web/app/immutable/chunks/{Ossh6uZu.js → P0G8SF-C.js} +1 -1
- package/web/app/immutable/chunks/{CiqS40z1.js → RRAwtvUd.js} +1 -1
- package/web/app/immutable/chunks/{BduWPjcR.js → SQzrn-hj.js} +1 -1
- package/web/app/immutable/chunks/{fOffirGV.js → V_REijln.js} +1 -1
- package/web/app/immutable/chunks/{wylA95cI.js → YQg_WR6M.js} +1 -1
- package/web/app/immutable/chunks/{CCGEGA0G.js → cryzjV1m.js} +1 -1
- package/web/app/immutable/chunks/{xD874lNR.js → d3gRw0Do.js} +2 -2
- package/web/app/immutable/chunks/{B7_YNW7R.js → h_b6HIC4.js} +1 -1
- package/web/app/immutable/chunks/{B_sZwi21.js → mCK8DuNp.js} +1 -1
- package/web/app/immutable/chunks/{DdWD_Vv3.js → o_iWJsCl.js} +1 -1
- package/web/app/immutable/chunks/{DF71nvkU.js → pQONxOXo.js} +1 -1
- package/web/app/immutable/chunks/{CYttmgAy.js → q6xIsTef.js} +2 -2
- package/web/app/immutable/chunks/{B94CMzpV.js → tJ85SevO.js} +1 -1
- package/web/app/immutable/chunks/{BY2EZOH5.js → uNB-15BN.js} +1 -1
- package/web/app/immutable/chunks/{B0h3U-Yz.js → w1vzEwno.js} +1 -1
- package/web/app/immutable/chunks/{ClZsJ0tq.js → yLsotFg8.js} +1 -1
- package/web/app/immutable/chunks/{wP6HsJDJ.js → zMvJMha7.js} +1 -1
- package/web/app/immutable/entry/{app.DzJavKOz.js → app.BAAMRv7O.js} +2 -2
- package/web/app/immutable/entry/start.BEVcXDol.js +1 -0
- package/web/app/immutable/nodes/{0.DwHYAcJA.js → 0.DyD0fi7b.js} +1 -1
- package/web/app/immutable/nodes/{1.CNlxk-Wb.js → 1.BRJugl3H.js} +1 -1
- package/web/app/immutable/nodes/{10.Bnp8Ru15.js → 10.DU8LBbo3.js} +1 -1
- package/web/app/immutable/nodes/{14.C5EP7pij.js → 14.lTJrp1kU.js} +1 -1
- package/web/app/immutable/nodes/{17.CWgUp0nx.js → 17.UWmox1Xi.js} +2 -2
- package/web/app/immutable/nodes/{2.i3va2l-3.js → 2.CvCIoPSO.js} +4 -4
- package/web/app/immutable/nodes/{3.TRZPY3g1.js → 3.CiC6Pfn1.js} +1 -1
- package/web/app/immutable/nodes/{4.Q_cklVfx.js → 4.BOU-eZjM.js} +1 -1
- package/web/app/immutable/nodes/{5.DQss9mOg.js → 5.BLr7NlgQ.js} +1 -1
- package/web/app/immutable/nodes/{6.B1fe3H2i.js → 6.D5uxDNVM.js} +1 -1
- package/web/app/immutable/nodes/{7.Bs2GT-JO.js → 7.CDiSYs4g.js} +1 -1
- package/web/app/immutable/nodes/{8.Bhi1HY5b.js → 8.YvvNLxxs.js} +4 -4
- package/web/app/immutable/nodes/{9.BWi2XzAl.js → 9.BiG9XKa-.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +10 -10
- package/web/app/immutable/chunks/DVNTCHDs.js +0 -1
- package/web/app/immutable/entry/start.D3-DqMWL.js +0 -1
package/web/app/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1794595334243"}
|
package/web/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
7
|
<meta
|
|
8
8
|
http-equiv="Content-Security-Policy"
|
|
9
|
-
content="default-src 'self'; script-src 'self' 'sha256-ErCPy+cwb4YIIMN0nZVs1ZoI67ACVXoYgfr6+XWomVc=' 'sha256-bKjEYuryRSPMtxgc+wq/MSpZnfwXdxKH8X4X1bzY5pQ=' 'sha256-2SbiJTQTD3LKMsLk4fseCFivcYGgwzAZd7gIOUxAxb4=' 'sha256
|
|
9
|
+
content="default-src 'self'; script-src 'self' 'sha256-ErCPy+cwb4YIIMN0nZVs1ZoI67ACVXoYgfr6+XWomVc=' 'sha256-bKjEYuryRSPMtxgc+wq/MSpZnfwXdxKH8X4X1bzY5pQ=' 'sha256-2SbiJTQTD3LKMsLk4fseCFivcYGgwzAZd7gIOUxAxb4=' 'sha256-nOtQ1v6T9Rai71alJLoAUjwR1zioS8HEVvWucMFlJIM='; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https: workspace-asset: workspace-file:; font-src 'self' data:; media-src 'self' data: blob: https: workspace-asset: workspace-file:; connect-src 'self' blob: https: wss: http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:* workspace-file: workspace-asset:; worker-src 'self' blob: data:;"
|
|
10
10
|
/>
|
|
11
11
|
<title>Intent</title>
|
|
12
12
|
<!-- Runtime web configuration is a same-origin deployment asset, never a Vite-bundled secret. -->
|
|
@@ -171,16 +171,16 @@
|
|
|
171
171
|
import('/@vite/client').catch(() => {});
|
|
172
172
|
}
|
|
173
173
|
</script>
|
|
174
|
-
<link href="/app/immutable/entry/start.
|
|
175
|
-
<link href="/app/immutable/chunks/
|
|
174
|
+
<link href="/app/immutable/entry/start.BEVcXDol.js" rel="modulepreload">
|
|
175
|
+
<link href="/app/immutable/chunks/BVL9duQ5.js" rel="modulepreload">
|
|
176
176
|
<link href="/app/immutable/chunks/DYhIMPy1.js" rel="modulepreload">
|
|
177
|
-
<link href="/app/immutable/entry/app.
|
|
177
|
+
<link href="/app/immutable/entry/app.BAAMRv7O.js" rel="modulepreload">
|
|
178
178
|
<link href="/app/immutable/chunks/Dso1_H3c.js" rel="modulepreload">
|
|
179
179
|
<link href="/app/immutable/chunks/BdWqymET.js" rel="modulepreload">
|
|
180
180
|
<link href="/app/immutable/chunks/D-N7efrx.js" rel="modulepreload">
|
|
181
181
|
<link href="/app/immutable/chunks/B3KrGqdQ.js" rel="modulepreload">
|
|
182
182
|
<link href="/app/immutable/chunks/BaIAhI85.js" rel="modulepreload">
|
|
183
|
-
<link href="/app/immutable/nodes/0.
|
|
183
|
+
<link href="/app/immutable/nodes/0.DyD0fi7b.js" rel="modulepreload">
|
|
184
184
|
<link href="/app/immutable/chunks/BfNeIJAh.js" rel="modulepreload">
|
|
185
185
|
<link href="/app/immutable/chunks/DCCFERAn.js" rel="modulepreload">
|
|
186
186
|
<link href="/app/immutable/chunks/CIyUrgF0.js" rel="modulepreload">
|
|
@@ -195,12 +195,12 @@
|
|
|
195
195
|
<link href="/app/immutable/chunks/CMiilI_P.js" rel="modulepreload">
|
|
196
196
|
<link href="/app/immutable/chunks/Bobasviv.js" rel="modulepreload">
|
|
197
197
|
<link href="/app/immutable/chunks/Cxbk0QV6.js" rel="modulepreload">
|
|
198
|
-
<link href="/app/immutable/chunks/
|
|
198
|
+
<link href="/app/immutable/chunks/q6xIsTef.js" rel="modulepreload">
|
|
199
199
|
|
|
200
200
|
<link href="/app/immutable/assets/spinner.D_TRo5Hy.css" rel="stylesheet">
|
|
201
201
|
<link href="/app/immutable/assets/button.-yaUNjRS.css" rel="stylesheet">
|
|
202
202
|
<link href="/app/immutable/assets/notify.BeL_JB6L.css" rel="stylesheet">
|
|
203
|
-
<link href="/app/immutable/assets/0.
|
|
203
|
+
<link href="/app/immutable/assets/0.CvWOFl38.css" rel="stylesheet">
|
|
204
204
|
<script src="/generated/paraglide.js"></script>
|
|
205
205
|
</head>
|
|
206
206
|
<body data-sveltekit-preload-data="hover">
|
|
@@ -243,15 +243,15 @@
|
|
|
243
243
|
<div style="display: contents" id="app">
|
|
244
244
|
<script>
|
|
245
245
|
{
|
|
246
|
-
|
|
246
|
+
__sveltekit_1i87ho6 = {
|
|
247
247
|
base: ""
|
|
248
248
|
};
|
|
249
249
|
|
|
250
250
|
const element = document.currentScript.parentElement;
|
|
251
251
|
|
|
252
252
|
Promise.all([
|
|
253
|
-
import("/app/immutable/entry/start.
|
|
254
|
-
import("/app/immutable/entry/app.
|
|
253
|
+
import("/app/immutable/entry/start.BEVcXDol.js"),
|
|
254
|
+
import("/app/immutable/entry/app.BAAMRv7O.js")
|
|
255
255
|
]).then(([kit, app]) => {
|
|
256
256
|
kit.start(app, element);
|
|
257
257
|
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DYhIMPy1.js";import{s as Ce}from"./CnMdEUN9.js";import{D as De,E as ge,c as Oe,F as We}from"./Cl-7Au8R.js";import{s as ke}from"./ClZsJ0tq.js";import{i as qe}from"./B4egTWvZ.js";function Je(t,l={}){const i=(l.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[i]);if(!Number.isFinite(o))return{duration:0};const v=l.duration??160,x=v<=80?"fast":v<=160?"moderate":"slow";return De(t,{axis:l.axis,tier:x},{direction:"in"})}function _e(){return ke.get("enableComponentTransitions")}const ye={request(){},settle(){}},O=new WeakMap,$e=2,He=2e3,ve=2,ze=1e3,Pe=3e3;function Qe(t,l){let i=l.enabled??!0,o=l.follow,v=l.onFollowChange,x=l.onScrollStateChange,T=l.threshold??100,w=!1,h=null,a=null,f=null,y=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;${l.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function j(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&&j(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),y?.observe(e)}function K(){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;return h={maximum:e,scrollTop:n},{maximum:e,scrollTop:n,previous:r}}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;a?.distanceFromBottom===n&&a.isAtBottom===r&&a.isFollowing===o||(a={distanceFromBottom:n,isAtBottom:r,isFollowing:o},x?.({distanceFromBottom:n,isAtBottom:r,isFollowing:o}))}function _(e,n=!0){if(p.cancel(),!i){o=e;return}const r=o!==e;r&&(o=e,I(e)),r&&n&&v?.(e),e||K(),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)||y?.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||!i||!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<$e&&(d=requestAnimationFrame(oe))}function X(){g||!i||!o||d!==null||(d=requestAnimationFrame(oe))}function z(e=!0){if(g||!i||!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||!i)&&N()}))}function xe(){if(F=null,g||!i)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 Te(){if(!(g||!i)){if(o){if(d!==null||F!==null)return;F=requestAnimationFrame(xe);return}ne()}}function Fe(){if(!(g||!i)){if(o){z(F===null);return}ne()}}const J={followAndScroll(){_(!0),z()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(te(),L.size>0):!1,beforeMutation(e,n){if(g||!i||!o)return ye;const r={element:e,expiresAt:performance.now()+(n.maxHoldMs??He)};L.add(r);const m=W.get(e)??0;return W.set(e,m+1),m===0&&!P.has(e)&&y?.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 Se(){let e=null,n=null,r=null,m;function re(s){return!e||s&&e.wheel!==s?!1:!e.wheel?.defaultPrevented&&performance.now()<e.expiresAt}function be(s,u){if(s.maximum-s.scrollTop<=ve)return!0;const B=s.previous;return u&&B!==void 0&&B.maximum<s.maximum&&B.maximum-s.scrollTop<=ve}function G(s,u){return be(s,u)?(J.followAndScroll(),!0):!1}function Me(s){m=s,r===null&&(r=requestAnimationFrame(()=>{r=null;const u=m;m=void 0,!(g||!i||!re(u))&&(G(q(),!0)||N())}))}function Re(s,u){const B=Math.max(0,u.maximum-u.scrollTop);if(u.maximum!==s.maximum)return s.maximum=u.maximum,s.distance=B,s.movedTowardBottom=!1,!1;const Z=B-s.distance;return s.distance=B,Z>0?(s.movedTowardBottom=!1,_(!1),!0):Z===0?!1:(s.movedTowardBottom=!0,G(u,!1))}function Ne(s){if(o||!e)return!1;const u=s.previous;return u&&s.scrollTop<u.scrollTop?(e=null,!1):(!u||s.scrollTop>u.scrollTop)&&re()&&G(s,!0)}return{isDragging:()=>n!==null,start(s,u){const B=s==="touch"?Pe:ze;e={wheel:u,expiresAt:performance.now()+B}},grab(s){if(e=null,!s){n=null;return}const u=c();n={maximum:u,distance:Math.max(0,u-t.scrollTop),movedTowardBottom:!1}},move(s){return n?Re(n,s):Ne(s)},land(s,u){if(s==="frame"){Me(u);return}if(s==="scrollend"){const Z=re();e=null,Z&&G(q(),!0);return}if(!n)return;const{movedTowardBottom:B}=n;n=null,B&&G(q(),!1)||N()},cancel(){e=null},requestBottom(){J.followAndScroll()},reset(){e=null,n=null,m=void 0,r!==null&&cancelAnimationFrame(r),r=null}}}const p=Se();function le(e){e.deltaY<0?_(!1):e.deltaY>0&&(p.start("wheel",e),p.land("frame",e))}function ie(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&&qe(e.target))return;if(e.key==="End"){p.requestBottom();return}p.start("keyboard"),p.land("frame")}}function Le(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(),m=t.offsetWidth>0?n*(r.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=r.left+m:e.clientX>=r.right-m}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(Le(e))}function Q(){p.land("release")}function Be(){if(!f){f=new MutationObserver(e=>{let n=!1;for(const r of e)if(r.type==="childList"){for(const m of r.removedNodes)n=!0,m instanceof HTMLElement&&V(m);for(const m of r.addedNodes)m instanceof HTMLElement&&m!==A&&y&&(Y(m),o&&m.parentElement===t&&j(m))}n&&te(),I(o),Te()}),f.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),y=new ResizeObserver(Fe),Y(t);for(const e of t.children)e instanceof HTMLElement&&e!==A&&Y(e)}}function Ee(){f?.disconnect(),f=null,y?.disconnect(),y=null}function he(e=!1){if(!i||g)return;if(O.set(t,J),t.addEventListener("scroll",me,{passive:!0}),t.addEventListener("scrollend",ie,{passive:!0,capture:!0}),t.addEventListener("wheel",le,{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",Q,{passive:!0}),window.addEventListener("pointercancel",Q,{passive:!0}),H(),Be(),e){b=requestAnimationFrame(()=>{b=null,!(g||!i)&&(D(),o?z():N())});return}D();let n=q();o&&(n=U(n),R=n.maximum),N(n)}function pe(){p.reset(),w=!1,h=null,L.clear(),W.clear(),K(),b!==null&&cancelAnimationFrame(b),b=null,M!==null&&cancelAnimationFrame(M),M=null,a=null,$=null,O.get(t)===J&&O.delete(t),Ee(),C(),t.removeEventListener("scroll",me),t.removeEventListener("scrollend",ie,!0),t.removeEventListener("wheel",le),t.removeEventListener("touchstart",ae),t.removeEventListener("touchmove",ue),t.removeEventListener("touchend",ce),t.removeEventListener("keydown",fe),t.removeEventListener("pointerdown",de),window.removeEventListener("pointerup",Q),window.removeEventListener("pointercancel",Q)}return he(!0),{update(e){v=e.onFollowChange,x=e.onScrollStateChange,T=e.threshold??100;const n=e.enabled??!0;if(i!==n&&(n||pe(),i=n,i)){o=e.follow,he(!0);return}i?e.follow&&!o?(_(!0,!1),z()):!e.follow&&o?_(!1,!1):b===null&&ne():o=e.follow},destroy(){g=!0,pe()}}}function Ze(t){return O.get(t)?.isFollowing()??!1}function et(t){return O.get(t)?.isNativeScrollAnchoringActive()??!1}function tt(t){return O.get(t)?.hasActiveMutation()??!1}function we(t,l={}){let i=t;for(;i;){const o=O.get(i);if(o)return o.beforeMutation(t,l);i=i.parentElement}return ye}function Ve(t){const{scrollTop:l,scrollHeight:i,clientHeight:o}=t;return i-l-o}function Ie(t,l=100){return Ve(t)<=l}function Ye(t,l=!1){t.scrollTo({top:t.scrollHeight,behavior:l?"smooth":"auto"})}function ot(t){const l=O.get(t);if(l){l.followAndScroll();return}Ye(t)}function nt(t,l,i=150,o){const v=t();if(!v)return;const x=v.scrollTop,T=performance.now();function w(a){return 1-Math.pow(1-a,3)}function h(a){const f=t();if(!f)return;const y=a-T,d=Math.min(y/i,1),b=typeof l=="function"?l(f):l;f.scrollTop=x+(b-x)*w(d),d<1?requestAnimationFrame(h):o?.(f)}requestAnimationFrame(h)}function rt(t,l="[data-message-id], [data-lazy-turn-key]"){const i=t.scrollTop,o=t.getBoundingClientRect(),v=Ie(t,100);if(v&&O.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:i,isNearBottom:v};const x=t.querySelectorAll(l);let T=null,w=0,h;for(const a of x){const f=a.getBoundingClientRect();if(f.top>=o.bottom)break;if(f.top>=o.top){T||(T=a,w=f.top-o.top);const y=a.getAttribute("data-message-id");if(y){h={id:y,offsetFromViewport:f.top-o.top};break}}}return{element:T,offsetFromViewport:w,scrollTop:i,isNearBottom:v,...h?{message:h}:{}}}function Ae(t,l){if(l.message){const i=t.querySelector(`[data-message-id="${CSS.escape(l.message.id)}"]`);if(i)return{element:i,offsetFromViewport:l.message.offsetFromViewport}}return l.element?.isConnected?{element:l.element,offsetFromViewport:l.offsetFromViewport}:null}function lt(t,l){return Ae(t,l)!==null}function it(t,l){const i=Ae(t,l);if(i){const{element:o,offsetFromViewport:v}=i,x=t.getBoundingClientRect(),h=o.getBoundingClientRect().top-x.top-v;Math.abs(h)>5&&(t.scrollTop+=h)}}function E(t,l){const i=Number.parseFloat(String(t[l]));return Number.isFinite(i)?i:0}function st(t,l={},i={}){const o=t,x={maxHoldMs:ge[l.tier??"moderate"].settleMs*2+500};let T=we(o,x);const w=()=>{T?.settle(),T=null},h=()=>{T??=we(o,x)};if(!_e()||Ce())return w(),{duration:0};const a=getComputedStyle(o),f=l.axis??"y",y=o.getBoundingClientRect(),d=f==="y"?E(a,"height")||y.height:E(a,"width")||y.width;if(!Number.isFinite(d)||d<=0)return w(),{duration:0};const b=E(a,"opacity")||1,M=l.tier??"moderate",F=ge[M],S=i.direction==="out",R=typeof a.getPropertyValue=="function"?S?Oe(o,{tier:M}):We(o,{tier:M}):{duration:S?F.exit.duration:F.settleMs,easing:F.exit.easing},g=R.duration??(S?F.exit.duration:F.settleMs),$=l.y??-4,L=E(a,"paddingTop"),W=E(a,"paddingBottom"),P=E(a,"marginTop"),k=E(a,"marginBottom"),A=E(a,"paddingLeft"),j=E(a,"paddingRight"),V=E(a,"marginLeft"),I=E(a,"marginRight");let H=null,C=i.direction==="out"?"outro":i.direction==="in"?"intro":"idle";const Y=(c,D)=>{o.style.overflow="hidden",f==="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*j}px`,o.style.marginLeft=`${c*V}px`,o.style.marginRight=`${c*I}px`),o.style.opacity=`${c*b}`,o.style.transform=f==="y"?`translateY(${$*D}px)`:`translateX(${$*D}px)`},K=()=>{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(i.direction==="both"&&(H===null?c<1&&(C="outro"):c<H?(h(),C="outro"):c>H&&(h(),C="intro")),H=c,c===1&&C!=="outro"){K(),w(),C="idle";return}Y(c,D),T?.request(),c===0&&C==="outro"&&(w(),C="idle")}}}export{nt as a,_e as b,we as c,lt as d,rt as e,Qe as f,ot as g,tt as h,Ze as i,et as j,Je as k,Ye as l,it as r,st as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as o,s as r}from"../chunks/BpidAqRA.js";export{o as load_css,r as start};
|