@v-miniapp/ui-react 1.0.45 → 1.0.47
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/dist/components/app/types/app.d.ts +10 -0
- package/dist/components/app/utils/data-theme.d.ts +1 -2
- package/dist/components/carousel/index.d.ts +1 -0
- package/dist/external/index.js +3128 -3106
- package/dist/index.js +2438 -2416
- package/dist-storybook/assets/{ANIMATION-CUdn1GTK.js → ANIMATION-DLCDVwPI.js} +1 -1
- package/dist-storybook/assets/{APP_FRAMEWORK-ljbIOHYd.js → APP_FRAMEWORK-B9Mrudgl.js} +8 -8
- package/dist-storybook/assets/{BOTTOM_TAB_BAR-DxCwCfBK.js → BOTTOM_TAB_BAR-Bgfy-nnv.js} +1 -1
- package/dist-storybook/assets/{CUSTOM_ERROR_BOUNDARY-B4wTQNZc.js → CUSTOM_ERROR_BOUNDARY-G_i_6aho.js} +1 -1
- package/dist-storybook/assets/{Color-AVL7NMMY-1_8XTICv.js → Color-AVL7NMMY-OD8SQvXt.js} +1 -1
- package/dist-storybook/assets/{DocsRenderer-PQXLIZUC-BO86igwd.js → DocsRenderer-PQXLIZUC-D8kbgtPd.js} +2 -2
- package/dist-storybook/assets/{GETTING_STARTED-H_vVi5cv.js → GETTING_STARTED-Bf6ENjZo.js} +1 -1
- package/dist-storybook/assets/{INFINITE_SCROLL-BtM3uoX0.js → INFINITE_SCROLL-O36i5W8i.js} +1 -1
- package/dist-storybook/assets/{KEEP_ALIVE-CL2au0al.js → KEEP_ALIVE-CicDtVw6.js} +1 -1
- package/dist-storybook/assets/{LOCALE-XTCey55y.js → LOCALE-D_43J3RD.js} +1 -1
- package/dist-storybook/assets/{MIGRATION_GUIDE-2LONslE4.js → MIGRATION_GUIDE-Dn2gFk5v.js} +3 -3
- package/dist-storybook/assets/{MOBILE_BEHAVIOURS-DZ6alKTX.js → MOBILE_BEHAVIOURS-D5jOxNiz.js} +1 -1
- package/dist-storybook/assets/{PAGE_LAYOUT-BuOpN-1Y.js → PAGE_LAYOUT-C0sW9iZo.js} +1 -1
- package/dist-storybook/assets/{ROUTING_NAVIGATION-BCPHXNto.js → ROUTING_NAVIGATION-Bpj_mu5r.js} +1 -1
- package/dist-storybook/assets/{TAILWIND_INTEGRATION-_T-VfvkM.js → TAILWIND_INTEGRATION-CVrohRXO.js} +1 -1
- package/dist-storybook/assets/THEME_MODE-Sc8cgznR.js +111 -0
- package/dist-storybook/assets/{_setToString-CbM921C9.js → _setToString-CjYxL0rS.js} +1 -1
- package/dist-storybook/assets/{alert-DLW8CoyB.js → alert-abKmNYys.js} +1 -1
- package/dist-storybook/assets/{alert.stories-B-vuojPh.js → alert.stories-XyvS4WTm.js} +1 -1
- package/dist-storybook/assets/{avatar-GxcYPA1p.js → avatar-B-jvPnzm.js} +1 -1
- package/dist-storybook/assets/{avatar.stories-KYFztAc8.js → avatar.stories-glTjw5Kd.js} +1 -1
- package/dist-storybook/assets/{axe-CmvD4WV5.js → axe-B8nlqekz.js} +1 -1
- package/dist-storybook/assets/{badge-D_LzMVtw.js → badge-Cc9u7jBX.js} +1 -1
- package/dist-storybook/assets/{badge.stories-Be2ItCmQ.js → badge.stories-CeNmmdtv.js} +1 -1
- package/dist-storybook/assets/{blocks-BuaOUtiH.js → blocks-CpOj9FQ_.js} +3 -3
- package/dist-storybook/assets/{bottom-tab-bar-CtcTAxuI.js → bottom-tab-bar-BsPd0FD7.js} +1 -1
- package/dist-storybook/assets/{bottom-tab-bar.stories-CDmEve6z.js → bottom-tab-bar.stories-BG1ee2eN.js} +1 -1
- package/dist-storybook/assets/{button-CL7GeC23.js → button-GtWXUngt.js} +1 -1
- package/dist-storybook/assets/{button.stories-CaqLWQiY.js → button.stories-3d_T0h_Z.js} +1 -1
- package/dist-storybook/assets/{calendar-dOCsjhVU.js → calendar-CJ5_NxYx.js} +1 -1
- package/dist-storybook/assets/{calendar.stories-DLWZldet.js → calendar.stories-DEleEKoa.js} +1 -1
- package/dist-storybook/assets/{carousel-1Kww3hIz.js → carousel-sbzGq2WF.js} +1 -1
- package/dist-storybook/assets/{carousel.stories-B8YbGOOr.js → carousel.stories-DY9nDa3M.js} +1 -1
- package/dist-storybook/assets/{checkbox-MGytNNRt.js → checkbox-CMpJJxvm.js} +1 -1
- package/dist-storybook/assets/{checkbox.stories-CLvfZPiw.js → checkbox.stories-BY8W9TRC.js} +1 -1
- package/dist-storybook/assets/{chip-kG4p82WT.js → chip-zY6gJxDk.js} +1 -1
- package/dist-storybook/assets/{chip.stories-BbwJb5eD.js → chip.stories-CXh30Tdq.js} +1 -1
- package/dist-storybook/assets/{classname-CUR_zgkh.js → classname-DoNrELT0.js} +1 -1
- package/dist-storybook/assets/{date-Cg-Uk_pp.js → date-Ci5dIit0.js} +1 -1
- package/dist-storybook/assets/{date-field.stories-Diptwqfv.js → date-field.stories-CerGwXZy.js} +1 -1
- package/dist-storybook/assets/{date-picker-Dnq_-0Md.js → date-picker-BCIW_1-h.js} +1 -1
- package/dist-storybook/assets/{date-picker.stories-BuGWvzFL.js → date-picker.stories-DUaL7sft.js} +1 -1
- package/dist-storybook/assets/{dialog.stories-DJ0WsSkA.js → dialog.stories-BtQMDA-1.js} +1 -1
- package/dist-storybook/assets/{dropdown.stories-D6JUYP73.js → dropdown.stories-DF69os0J.js} +1 -1
- package/dist-storybook/assets/{embla-carousel-react.esm-BYjpaHZ9.js → embla-carousel-react.esm-CCQjHA-d.js} +1 -1
- package/dist-storybook/assets/{icon-DdQsMyRa.js → icon-TJ3FHxUI.js} +1 -1
- package/dist-storybook/assets/{icon.stories-B-ZvRzFf.js → icon.stories-Ch36FMIn.js} +1 -1
- package/dist-storybook/assets/{iframe-CQAwSt4E.js → iframe-CLEfhyJc.js} +3 -3
- package/dist-storybook/assets/{image-C3EsNRhz.js → image-D6Yo4ht9.js} +1 -1
- package/dist-storybook/assets/{image.stories-C4l8D3ju.js → image.stories-CJPB43ys.js} +1 -1
- package/dist-storybook/assets/{index-CgMRTj-o.js → index-7xlKHfV2.js} +1 -1
- package/dist-storybook/assets/{index-DHiZ-gXR.js → index-CaMbLGUB.js} +1 -1
- package/dist-storybook/assets/{index-BV0AJWP6.js → index-DRIh_SUo.js} +1 -1
- package/dist-storybook/assets/{input-wrapper-BKHgnPy6.js → input-wrapper-D_9hAdHZ.js} +1 -1
- package/dist-storybook/assets/{label-DV2iCDmN.js → label-fI1oWVKU.js} +1 -1
- package/dist-storybook/assets/{label.stories-BwTIPFXX.js → label.stories-C3xDUHd-.js} +1 -1
- package/dist-storybook/assets/{navigation-bar-vI-FPasP.js → navigation-bar-CiGSH7u8.js} +2 -2
- package/dist-storybook/assets/{navigation-bar.stories-DYuFaJFD.js → navigation-bar.stories-BvGp7uJf.js} +1 -1
- package/dist-storybook/assets/{number-field-CXKmnfKe.js → number-field-DNj4myBV.js} +1 -1
- package/dist-storybook/assets/{number-field.stories--fn26TJu.js → number-field.stories-B_Bj8RqE.js} +1 -1
- package/dist-storybook/assets/{omit-Bsx5nTI0.js → omit-CStFhbPt.js} +1 -1
- package/dist-storybook/assets/{option-item-LRh_OyV4.js → option-item-BloohEvW.js} +1 -1
- package/dist-storybook/assets/{option-item.stories-snjAvgay.js → option-item.stories-BjtolfPz.js} +1 -1
- package/dist-storybook/assets/{pagination-DZHoBs_4.js → pagination-Dcazh6R_.js} +1 -1
- package/dist-storybook/assets/{pagination.stories-BoEs0jzS.js → pagination.stories-CrGsYeRw.js} +1 -1
- package/dist-storybook/assets/{pick-BhmhLmLe.js → pick-DbIUGM9R.js} +1 -1
- package/dist-storybook/assets/{radio-B5NJxG_l.js → radio-t2E8E0Oc.js} +1 -1
- package/dist-storybook/assets/{radio.stories-DuN-Awi_.js → radio.stories-BEG-zTwI.js} +1 -1
- package/dist-storybook/assets/{rating-BdXViYBv.js → rating-DsULci27.js} +1 -1
- package/dist-storybook/assets/{rating.stories-BCcQjMEx.js → rating.stories-Dwk8Ov3Q.js} +1 -1
- package/dist-storybook/assets/{react-18-CNyWQ7je.js → react-18-4mLDkQmf.js} +1 -1
- package/dist-storybook/assets/{react-hufnxGVs.js → react-mAVd1wAc.js} +1 -1
- package/dist-storybook/assets/{search-field-CQqgFbfg.js → search-field-CuiHMy7j.js} +1 -1
- package/dist-storybook/assets/{search-field.stories-DiCZbhng.js → search-field.stories-BnsT36yY.js} +1 -1
- package/dist-storybook/assets/{section-content-DGNB4eLN.js → section-content-pkGNuEs6.js} +1 -1
- package/dist-storybook/assets/{section.stories-C2I_kKhu.js → section.stories-B5IhLkbG.js} +1 -1
- package/dist-storybook/assets/{sheet.stories-wk1JaKU5.js → sheet.stories-COzxyiqj.js} +1 -1
- package/dist-storybook/assets/{skeleton-C91JgehG.js → skeleton-Dn8rwbgX.js} +1 -1
- package/dist-storybook/assets/{skeleton.stories-BCmX-VNr.js → skeleton.stories-B71MlMyi.js} +1 -1
- package/dist-storybook/assets/{store-CPumdfcU.js → store-DxAqU1JB.js} +1 -1
- package/dist-storybook/assets/{switch-p-aXI-ev.js → switch-BziC1t_8.js} +1 -1
- package/dist-storybook/assets/{switch.stories-BqPLNKB9.js → switch.stories-DMBBwZef.js} +1 -1
- package/dist-storybook/assets/{tab-bar-CSeCmtIZ.js → tab-bar-DZ3oOU50.js} +1 -1
- package/dist-storybook/assets/{tab-bar.stories-Cb6v8H2w.js → tab-bar.stories-Bp9w6nc3.js} +1 -1
- package/dist-storybook/assets/{text-area-DwSXyqOe.js → text-area-CAmJ2yms.js} +1 -1
- package/dist-storybook/assets/{text-area.stories-By8bCfgc.js → text-area.stories-BZ3HXtij.js} +1 -1
- package/dist-storybook/assets/{text-field-jK6rpOo2.js → text-field-CjrgfYOZ.js} +1 -1
- package/dist-storybook/assets/{text-field.stories-CrWBAhvI.js → text-field.stories-vSXYvs0U.js} +1 -1
- package/dist-storybook/assets/{toast-provider-DurnMJhd.js → toast-provider-B9k1NBG6.js} +1 -1
- package/dist-storybook/assets/{toast.stories-iWAToAZA.js → toast.stories-DQKbk7dO.js} +1 -1
- package/dist-storybook/assets/{tooltip-QDdel5My.js → tooltip-VnA8Hy0S.js} +1 -1
- package/dist-storybook/assets/{tooltip.stories-RC6SuPPD.js → tooltip.stories-wuthZ3Sv.js} +1 -1
- package/dist-storybook/assets/{typography-DEpAJl_i.js → typography-DoV67nnS.js} +1 -1
- package/dist-storybook/assets/{typography.stories-Bu8qFugR.js → typography.stories-DD9HLY16.js} +1 -1
- package/dist-storybook/assets/{uploader.stories-B2wW9qVy.js → uploader.stories-sModULvT.js} +1 -1
- package/dist-storybook/assets/{use-app-pause-B_tWHKJK.js → use-app-pause-BQYQ2_kc.js} +1 -1
- package/dist-storybook/assets/{use-app-resume--900G-dV.js → use-app-resume-BHDCAORn.js} +1 -1
- package/dist-storybook/assets/{use-custom-icon-event-3VExRzvC.js → use-custom-icon-event-BCGSFwaE.js} +1 -1
- package/dist-storybook/assets/{use-did-hide-BUsL73ab.js → use-did-hide-Cosc0Bts.js} +1 -1
- package/dist-storybook/assets/{use-did-show-C1-VLDxi.js → use-did-show-CTWe5NYk.js} +1 -1
- package/dist-storybook/assets/{use-histories-E4E2jJEY.js → use-histories-CAcE6nVz.js} +1 -1
- package/dist-storybook/assets/{use-history-o1im8IDj.js → use-history-FuEbPpap.js} +1 -1
- package/dist-storybook/assets/{use-location-CUEaBO4P.js → use-location-CdUC1tic.js} +1 -1
- package/dist-storybook/assets/{use-navigate-C4CTuFSZ.js → use-navigate-DP9paY1K.js} +1 -1
- package/dist-storybook/assets/{use-navigation-type-Dcz4hgKo.js → use-navigation-type-BWVxMUtZ.js} +1 -1
- package/dist-storybook/assets/{use-page-config-DSJBVQbq.js → use-page-config-5u8OF-8L.js} +1 -1
- package/dist-storybook/assets/{use-page-scroll-dY-U1Vv4.js → use-page-scroll-nPQcBn5B.js} +1 -1
- package/dist-storybook/assets/{use-page-state-CtNpwGPN.js → use-page-state-CULl52gw.js} +1 -1
- package/dist-storybook/assets/{use-settings-changed-BBJwIHTE.js → use-settings-changed-2GP5ZsJS.js} +1 -1
- package/dist-storybook/assets/{visibility-sensor-CwrzJO06.js → visibility-sensor-huP-8j4n.js} +1 -1
- package/dist-storybook/iframe.html +1 -1
- package/dist-storybook/index.json +1 -1
- package/dist-storybook/project.json +1 -1
- package/dist-storybook/stories-data.json +6 -6
- package/package.json +1 -1
- package/dist-storybook/assets/DARK_MODE-CoHseCDO.js +0 -57
package/dist-storybook/assets/{pagination.stories-BoEs0jzS.js → pagination.stories-CrGsYeRw.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,r as d}from"./iframe-
|
|
1
|
+
import{j as e,r as d}from"./iframe-CLEfhyJc.js";import{T as x,S as g,M as p,P as v,a as y}from"./blocks-CpOj9FQ_.js";import{t}from"./store-D2RudmNr.js";import{P as o}from"./pagination-Dcazh6R_.js";import{B as l}from"./button-GtWXUngt.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CaMbLGUB.js";import"./classname-DoNrELT0.js";import"./icon-TJ3FHxUI.js";import"./colors-_6nFGM3e.js";import"./typography-DoV67nnS.js";const u=()=>{const n=`
|
|
2
2
|
## ${t("common.table.title")}
|
|
3
3
|
|
|
4
4
|
| ${t("common.table.name")} | ${t("common.table.type")} | ${t("common.table.required")} | ${t("common.table.description")} |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as G}from"./iframe-
|
|
1
|
+
import{g as G}from"./iframe-CLEfhyJc.js";import{r as m,a as O,b as L,c as C}from"./omit-CStFhbPt.js";import{r as D,a as F,b as E,c as w,d as J,e as M}from"./_setToString-CjYxL0rS.js";var I,H;function N(){if(H)return I;H=1;var n=D(),a=m(),i=E(),e=F(),s=O();function h(u,r,_,l){if(!e(u))return u;r=a(r,u);for(var t=-1,f=r.length,q=f-1,v=u;v!=null&&++t<f;){var c=s(r[t]),P=_;if(c==="__proto__"||c==="constructor"||c==="prototype")return u;if(t!=q){var d=v[c];P=l?l(d,c,v):void 0,P===void 0&&(P=e(d)?d:i(r[t+1])?[]:{})}n(v,c,P),v=v[c]}return u}return I=h,I}var g,B;function Q(){if(B)return g;B=1;var n=L(),a=N(),i=m();function e(s,h,u){for(var r=-1,_=h.length,l={};++r<_;){var t=h[r],f=n(s,t);u(f,t)&&a(l,i(t,s),f)}return l}return g=e,g}var o,S;function T(){if(S)return o;S=1;function n(a,i){return a!=null&&i in Object(a)}return o=n,o}var x,p;function U(){if(p)return x;p=1;var n=m(),a=w(),i=J(),e=E(),s=M(),h=O();function u(r,_,l){_=n(_,r);for(var t=-1,f=_.length,q=!1;++t<f;){var v=h(_[t]);if(!(q=r!=null&&l(r,v)))break;r=r[v]}return q||++t!=f?q:(f=r==null?0:r.length,!!f&&s(f)&&e(v,f)&&(i(r)||a(r)))}return x=u,x}var k,A;function W(){if(A)return k;A=1;var n=T(),a=U();function i(e,s){return e!=null&&a(e,s,n)}return k=i,k}var R,y;function X(){if(y)return R;y=1;var n=Q(),a=W();function i(e,s){return n(e,s,function(h,u){return a(e,u)})}return R=i,R}var b,K;function Y(){if(K)return b;K=1;var n=X(),a=C(),i=a(function(e,s){return e==null?{}:n(e,s)});return b=i,b}var Z=Y();const j=G(Z);export{j as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,j as s}from"./iframe-
|
|
1
|
+
import{r as n,j as s}from"./iframe-CLEfhyJc.js";import{c as N,g as k}from"./classname-DoNrELT0.js";import{u as C}from"./index-DRIh_SUo.js";import{T as $}from"./typography-DoV67nnS.js";const e=k("radio"),j=n.forwardRef((o,d)=>{const{theme:m="brand",type:i="radio",className:f,style:p,onChange:y,checked:R,defaultChecked:v,disabled:c,children:h,typography:_,...b}=o,t=m||"brand",r=n.useRef(null),[g,l]=n.useState(!1),[u,x]=C(o,{trigger:"onChange",defaultValuePropName:"defaultChecked",valuePropName:"checked"});return n.useImperativeHandle(d,()=>({focus:()=>r.current?.focus?.(),blur:()=>r.current?.blur?.()})),s.jsxs("label",{className:N(e,{[`${e}--${t}`]:t,[`${e}--checked`]:u,[`${e}--focus`]:g,[`${e}--disabled`]:c},f),style:p,children:[s.jsxs("span",{className:`${e}__button`,children:[s.jsx("span",{className:`${e}__overlay`}),s.jsx("span",{className:`${e}__icon`}),s.jsx("input",{...b,type:i,checked:u,disabled:c,onChange:a=>x(a.target.checked),ref:r,className:`${e}__input`,onFocus:a=>{l(!0),o.onFocus?.(a)},onBlur:a=>{l(!1),o.onBlur?.(a)}})]}),s.jsx($,{size:"base",..._,component:"span",children:h})]})});j.__docgenInfo={description:"",methods:[{name:"focus",docblock:null,modifiers:[],params:[],returns:null},{name:"blur",docblock:null,modifiers:[],params:[],returns:null}],displayName:"Radio"};export{j as R};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,r as h}from"./iframe-
|
|
1
|
+
import{j as o,r as h}from"./iframe-CLEfhyJc.js";import{T as g,S as b,M as y,P as k,a as v}from"./blocks-CpOj9FQ_.js";import{t as e}from"./store-D2RudmNr.js";import{R as t}from"./radio-t2E8E0Oc.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CaMbLGUB.js";import"./classname-DoNrELT0.js";import"./index-DRIh_SUo.js";import"./index-B-Ksafg0.js";import"./typography-DoV67nnS.js";import"./colors-_6nFGM3e.js";const f=()=>{const a=`
|
|
2
2
|
## ${e("common.table.title")}
|
|
3
3
|
|
|
4
4
|
| ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f,j as e}from"./iframe-
|
|
1
|
+
import{r as f,j as e}from"./iframe-CLEfhyJc.js";import{g as p,c as _}from"./classname-DoNrELT0.js";import{u as j}from"./index-DRIh_SUo.js";const m=p("rating"),g=({value:r=0,...o})=>{const i=Math.max(Math.min(r,1),0)*100,s=f.useId(),t="M21.2849 7.66933C21.1676 7.308 20.8543 7.044 20.4783 6.98933L14.3183 6.09467L11.5636 0.512C11.2276 -0.170667 10.1063 -0.170667 9.77025 0.512L7.01559 6.09333L0.855586 6.988C0.479586 7.04267 0.166253 7.30667 0.0489193 7.668C-0.068414 8.02933 0.0289192 8.428 0.302253 8.69333L4.75959 13.0373L3.70625 19.172C3.64225 19.548 3.79559 19.9267 4.10359 20.1507C4.41159 20.3733 4.82092 20.4027 5.15692 20.2267L10.6663 17.3293L16.1756 20.2267C16.3223 20.304 16.4809 20.3413 16.6409 20.3413C16.8476 20.3413 17.0543 20.2773 17.2289 20.1507C17.5369 19.9267 17.6916 19.548 17.6263 19.172L16.5729 13.0373L21.0303 8.69333C21.3036 8.428 21.4009 8.02933 21.2836 7.668L21.2849 7.66933Z";return e.jsx("span",{className:`${m}__icon`,...o,children:e.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 22 21",fill:"none",children:[e.jsx("defs",{children:e.jsx("clipPath",{id:s,children:e.jsx("path",{d:t})})}),e.jsx("path",{className:`${m}__icon-empty`,d:t}),e.jsx("rect",{className:`${m}__icon-filled`,width:`${i}%`,height:"100%",clipPath:`url(#${s})`})]})})};g.__docgenInfo={description:"",methods:[],displayName:"Star",props:{value:{defaultValue:{value:"0",computed:!1},required:!1}}};const v=5,d=p("rating"),L=r=>{const{size:o="medium",className:i,max:s=v,readonly:t=!1,defaultValue:$,onChange:M,value:P,...x}=r,[c,C]=j(r,{trigger:"onChange",valuePropName:"value",defaultValuePropName:"defaultValue"}),h=f.useMemo(()=>{const a=Math.max(Math.floor(s),0);if(a<=0)return[];const n=u=>{if(u+1<=c)return 1;const l=u+1-c;return l>1?0:1-l};return Array.from({length:a},(u,l)=>({value:n(l)}))},[c,s]),N=a=>{t||C(a+1)};return e.jsx("div",{className:_(d,{[`${d}--readonly`]:t,[`${d}--${o}`]:!0},i),...x,children:h.length?h.map((a,n)=>e.jsx(g,{value:a.value,onClick:()=>N(n)},n)):null})};L.__docgenInfo={description:"",methods:[],displayName:"Rating"};export{L as R};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,r as g}from"./iframe-
|
|
1
|
+
import{j as t,r as g}from"./iframe-CLEfhyJc.js";import{t as e}from"./store-D2RudmNr.js";import{R as n}from"./rating-DsULci27.js";import{T as u,S as y,M as p,P as x,a as f}from"./blocks-CpOj9FQ_.js";import"./preload-helper-PPVm8Dsz.js";import"./classname-DoNrELT0.js";import"./index-DRIh_SUo.js";import"./index-B-Ksafg0.js";import"./index-CaMbLGUB.js";const v=()=>{const l=`
|
|
2
2
|
## ${e("common.table.title")}
|
|
3
3
|
|
|
4
4
|
| ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Qh,r as ei}from"./iframe-
|
|
1
|
+
import{a as Qh,r as ei}from"./iframe-CLEfhyJc.js";import{r as Xh}from"./index-CaMbLGUB.js";import"./preload-helper-PPVm8Dsz.js";var ai={exports:{}},ie={},ti={exports:{}},ui={};var fy;function Gh(){return fy||(fy=1,(function(M){function cl(z,T){var U=z.length;z.push(T);l:for(;0<U;){var W=U-1>>>1,w=z[W];if(0<ia(w,T))z[W]=T,z[U]=w,U=W;else break l}}function L(z){return z.length===0?null:z[0]}function s(z){if(z.length===0)return null;var T=z[0],U=z.pop();if(U!==T){z[0]=U;l:for(var W=0,w=z.length,bl=w>>>1;W<bl;){var r=2*(W+1)-1,Z=z[r],vl=r+1,ua=z[vl];if(0>ia(Z,U))vl<w&&0>ia(ua,Z)?(z[W]=ua,z[vl]=U,W=vl):(z[W]=Z,z[r]=U,W=r);else if(vl<w&&0>ia(ua,U))z[W]=ua,z[vl]=U,W=vl;else break l}}return T}function ia(z,T){var U=z.sortIndex-T.sortIndex;return U!==0?U:z.id-T.id}if(M.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var va=performance;M.unstable_now=function(){return va.now()}}else{var du=Date,ve=du.now();M.unstable_now=function(){return du.now()-ve}}var Cl=[],aa=[],ye=1,N=null,il=3,qa=!1,kl=!1,Rl=!1,Dt=!1,Ot=typeof setTimeout=="function"?setTimeout:null,Su=typeof clearTimeout=="function"?clearTimeout:null,Zl=typeof setImmediate<"u"?setImmediate:null;function Ba(z){for(var T=L(aa);T!==null;){if(T.callback===null)s(aa);else if(T.startTime<=z)s(aa),T.sortIndex=T.expirationTime,cl(Cl,T);else break;T=L(aa)}}function et(z){if(Rl=!1,Ba(z),!kl)if(L(Cl)!==null)kl=!0,ta||(ta=!0,jl());else{var T=L(aa);T!==null&&ma(et,T.startTime-z)}}var ta=!1,ya=-1,rl=5,Ut=-1;function me(){return Dt?!0:!(M.unstable_now()-Ut<rl)}function _t(){if(Dt=!1,ta){var z=M.unstable_now();Ut=z;var T=!0;try{l:{kl=!1,Rl&&(Rl=!1,Su(ya),ya=-1),qa=!0;var U=il;try{a:{for(Ba(z),N=L(Cl);N!==null&&!(N.expirationTime>z&&me());){var W=N.callback;if(typeof W=="function"){N.callback=null,il=N.priorityLevel;var w=W(N.expirationTime<=z);if(z=M.unstable_now(),typeof w=="function"){N.callback=w,Ba(z),T=!0;break a}N===L(Cl)&&s(Cl),Ba(z)}else s(Cl);N=L(Cl)}if(N!==null)T=!0;else{var bl=L(aa);bl!==null&&ma(et,bl.startTime-z),T=!1}}break l}finally{N=null,il=U,qa=!1}T=void 0}}finally{T?jl():ta=!1}}}var jl;if(typeof Zl=="function")jl=function(){Zl(_t)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,gu=he.port2;he.port1.onmessage=_t,jl=function(){gu.postMessage(null)}}else jl=function(){Ot(_t,0)};function ma(z,T){ya=Ot(function(){z(M.unstable_now())},T)}M.unstable_IdlePriority=5,M.unstable_ImmediatePriority=1,M.unstable_LowPriority=4,M.unstable_NormalPriority=3,M.unstable_Profiling=null,M.unstable_UserBlockingPriority=2,M.unstable_cancelCallback=function(z){z.callback=null},M.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):rl=0<z?Math.floor(1e3/z):5},M.unstable_getCurrentPriorityLevel=function(){return il},M.unstable_next=function(z){switch(il){case 1:case 2:case 3:var T=3;break;default:T=il}var U=il;il=T;try{return z()}finally{il=U}},M.unstable_requestPaint=function(){Dt=!0},M.unstable_runWithPriority=function(z,T){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var U=il;il=z;try{return T()}finally{il=U}},M.unstable_scheduleCallback=function(z,T,U){var W=M.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?W+U:W):U=W,z){case 1:var w=-1;break;case 2:w=250;break;case 5:w=1073741823;break;case 4:w=1e4;break;default:w=5e3}return w=U+w,z={id:ye++,callback:T,priorityLevel:z,startTime:U,expirationTime:w,sortIndex:-1},U>W?(z.sortIndex=U,cl(aa,z),L(Cl)===null&&z===L(aa)&&(Rl?(Su(ya),ya=-1):Rl=!0,ma(et,U-W))):(z.sortIndex=w,cl(Cl,z),kl||qa||(kl=!0,ta||(ta=!0,jl()))),z},M.unstable_shouldYield=me,M.unstable_wrapCallback=function(z){var T=il;return function(){var U=il;il=T;try{return z.apply(this,arguments)}finally{il=U}}}})(ui)),ui}var cy;function Ch(){return cy||(cy=1,ti.exports=Gh()),ti.exports}var iy;function Rh(){if(iy)return ie;iy=1;var M=Ch(),cl=Qh(),L=Xh();function s(l){var a="https://react.dev/errors/"+l;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)a+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+l+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function ia(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function va(l){var a=l,t=l;if(l.alternate)for(;a.return;)a=a.return;else{l=a;do a=l,(a.flags&4098)!==0&&(t=a.return),l=a.return;while(l)}return a.tag===3?t:null}function du(l){if(l.tag===13){var a=l.memoizedState;if(a===null&&(l=l.alternate,l!==null&&(a=l.memoizedState)),a!==null)return a.dehydrated}return null}function ve(l){if(l.tag===31){var a=l.memoizedState;if(a===null&&(l=l.alternate,l!==null&&(a=l.memoizedState)),a!==null)return a.dehydrated}return null}function Cl(l){if(va(l)!==l)throw Error(s(188))}function aa(l){var a=l.alternate;if(!a){if(a=va(l),a===null)throw Error(s(188));return a!==l?null:l}for(var t=l,u=a;;){var e=t.return;if(e===null)break;var n=e.alternate;if(n===null){if(u=e.return,u!==null){t=u;continue}break}if(e.child===n.child){for(n=e.child;n;){if(n===t)return Cl(e),l;if(n===u)return Cl(e),a;n=n.sibling}throw Error(s(188))}if(t.return!==u.return)t=e,u=n;else{for(var f=!1,c=e.child;c;){if(c===t){f=!0,t=e,u=n;break}if(c===u){f=!0,u=e,t=n;break}c=c.sibling}if(!f){for(c=n.child;c;){if(c===t){f=!0,t=n,u=e;break}if(c===u){f=!0,u=n,t=e;break}c=c.sibling}if(!f)throw Error(s(189))}}if(t.alternate!==u)throw Error(s(190))}if(t.tag!==3)throw Error(s(188));return t.stateNode.current===t?l:a}function ye(l){var a=l.tag;if(a===5||a===26||a===27||a===6)return l;for(l=l.child;l!==null;){if(a=ye(l),a!==null)return a;l=l.sibling}return null}var N=Object.assign,il=Symbol.for("react.element"),qa=Symbol.for("react.transitional.element"),kl=Symbol.for("react.portal"),Rl=Symbol.for("react.fragment"),Dt=Symbol.for("react.strict_mode"),Ot=Symbol.for("react.profiler"),Su=Symbol.for("react.consumer"),Zl=Symbol.for("react.context"),Ba=Symbol.for("react.forward_ref"),et=Symbol.for("react.suspense"),ta=Symbol.for("react.suspense_list"),ya=Symbol.for("react.memo"),rl=Symbol.for("react.lazy"),Ut=Symbol.for("react.activity"),me=Symbol.for("react.memo_cache_sentinel"),_t=Symbol.iterator;function jl(l){return l===null||typeof l!="object"?null:(l=_t&&l[_t]||l["@@iterator"],typeof l=="function"?l:null)}var he=Symbol.for("react.client.reference");function gu(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===he?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Rl:return"Fragment";case Ot:return"Profiler";case Dt:return"StrictMode";case et:return"Suspense";case ta:return"SuspenseList";case Ut:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case kl:return"Portal";case Zl:return l.displayName||"Context";case Su:return(l._context.displayName||"Context")+".Consumer";case Ba:var a=l.render;return l=l.displayName,l||(l=a.displayName||a.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case ya:return a=l.displayName||null,a!==null?a:gu(l.type)||"Memo";case rl:a=l._payload,l=l._init;try{return gu(l(a))}catch{}}return null}var ma=Array.isArray,z=cl.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=L.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U={pending:!1,data:null,method:null,action:null},W=[],w=-1;function bl(l){return{current:l}}function r(l){0>w||(l.current=W[w],W[w]=null,w--)}function Z(l,a){w++,W[w]=l.current,l.current=a}var vl=bl(null),ua=bl(null),Ya=bl(null),de=bl(null);function Se(l,a){switch(Z(Ya,a),Z(ua,l),Z(vl,null),a.nodeType){case 9:case 11:l=(l=a.documentElement)&&(l=l.namespaceURI)?N1(l):0;break;default:if(l=a.tagName,a=a.namespaceURI)a=N1(a),l=q1(a,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}r(vl),Z(vl,l)}function Ht(){r(vl),r(ua),r(Ya)}function Gn(l){l.memoizedState!==null&&Z(de,l);var a=vl.current,t=q1(a,l.type);a!==t&&(Z(ua,l),Z(vl,t))}function ge(l){ua.current===l&&(r(vl),r(ua)),de.current===l&&(r(de),ee._currentValue=U)}var Cn,ni;function nt(l){if(Cn===void 0)try{throw Error()}catch(t){var a=t.stack.trim().match(/\n( *(at )?)/);Cn=a&&a[1]||"",ni=-1<t.stack.indexOf(`
|
|
2
2
|
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
3
|
`+Cn+l+ni}var Rn=!1;function Zn(l,a){if(!l||Rn)return"";Rn=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(a){var A=function(){throw Error()};if(Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(S){var d=S}Reflect.construct(l,[],A)}else{try{A.call()}catch(S){d=S}l.call(A.prototype)}}else{try{throw Error()}catch(S){d=S}(A=l())&&typeof A.catch=="function"&&A.catch(function(){})}}catch(S){if(S&&d&&typeof S.stack=="string")return[S.stack,d.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var e=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");e&&e.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=u.DetermineComponentFrameRoot(),f=n[0],c=n[1];if(f&&c){var i=f.split(`
|
|
4
4
|
`),h=c.split(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as u}from"./iframe-
|
|
1
|
+
import{e as u}from"./iframe-CLEfhyJc.js";const S=t=>{let e;const n=new Set,o=(s,r)=>{const c=typeof s=="function"?s(e):s;if(!Object.is(c,e)){const g=e;e=r??(typeof c!="object"||c===null)?c:Object.assign({},e,c),n.forEach(f=>f(e,g))}},i=()=>e,a={setState:o,getState:i,getInitialState:()=>l,subscribe:s=>(n.add(s),()=>n.delete(s))},l=e=t(o,i,a);return a},d=(t=>t?S(t):S),I=t=>t;function j(t,e=I){const n=u.useSyncExternalStore(t.subscribe,u.useCallback(()=>e(t.getState()),[t,e]),u.useCallback(()=>e(t.getInitialState()),[t,e]));return u.useDebugValue(n),n}const b=t=>{const e=d(t),n=o=>j(e,o);return Object.assign(n,e),n},O=(t=>t?b(t):b);export{O as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,j as l}from"./iframe-
|
|
1
|
+
import{r as i,j as l}from"./iframe-CLEfhyJc.js";import{T as n}from"./text-field-CjrgfYOZ.js";import{u as t}from"./index-DRIh_SUo.js";import{c,g as m}from"./classname-DoNrELT0.js";const f=m("text-field"),d=e=>{const[a,o]=t(e,{trigger:"onChange",valuePropName:"value"}),s=i.useRef(null);return l.jsx(n,{ref:s,leadingIcon:{name:"magnifier",size:20,color:"alias-object-secondary"},loadingType:"search",...e,className:c(f,e.className),trailingIcon:a?{name:"circle-xmark",type:"fill",size:20,color:"alias-object-secondary"}:void 0,onTrailingIconClick:r=>{r.preventDefault(),r.stopPropagation(),o(""),s?.current?.focus()},value:a,onChange:o})};d.__docgenInfo={description:"",methods:[],displayName:"SearchField"};export{d as S};
|
package/dist-storybook/assets/{search-field.stories-DiCZbhng.js → search-field.stories-BnsT36yY.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,r as h}from"./iframe-
|
|
1
|
+
import{j as o,r as h}from"./iframe-CLEfhyJc.js";import{T as u,S as b,M as p,P as F,a as g}from"./blocks-CpOj9FQ_.js";import{t as e}from"./store-D2RudmNr.js";import{S as l}from"./search-field-CuiHMy7j.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CaMbLGUB.js";import"./text-field-CjrgfYOZ.js";import"./classname-DoNrELT0.js";import"./input-wrapper-D_9hAdHZ.js";import"./icon-TJ3FHxUI.js";import"./colors-_6nFGM3e.js";import"./label-fI1oWVKU.js";import"./typography-DoV67nnS.js";import"./skeleton-Dn8rwbgX.js";import"./pick-DbIUGM9R.js";import"./omit-CStFhbPt.js";import"./_setToString-CjYxL0rS.js";import"./index-DRIh_SUo.js";import"./index-B-Ksafg0.js";const y=()=>{const m=`
|
|
2
2
|
## ${e("common.table.title")}
|
|
3
3
|
|
|
4
4
|
| ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as s}from"./iframe-
|
|
1
|
+
import{j as s}from"./iframe-CLEfhyJc.js";import{c as r,g as c}from"./classname-DoNrELT0.js";import{r as l}from"./icon-TJ3FHxUI.js";import{T as f}from"./typography-DoV67nnS.js";const i=c("section"),N=({className:a,space:e=!0,shape:o="rounded",...t})=>s.jsx("section",{className:r(i,a,{[`${i}--space`]:e,[`${i}--shape-${o}`]:o}),...t});N.__docgenInfo={description:"",methods:[],displayName:"Section",props:{space:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"true",computed:!1}},shape:{required:!1,tsType:{name:"union",raw:"'rounded' | 'square'",elements:[{name:"literal",value:"'rounded'"},{name:"literal",value:"'square'"}]},description:"",defaultValue:{value:"'rounded'",computed:!1}}}};const n=c("section-title"),x=({className:a,leftIcon:e,onLeftIconClick:o,rightIcon:t,onRightIconClick:d,right:m,title:p,...u})=>s.jsxs("div",{className:r(n,a),...u,children:[!!e&&s.jsx("div",{className:`${n}__icon`,onClick:o,children:l(e)}),s.jsx(f,{size:"large",weight:"regular",color:"alias-object-primary",className:`${n}__title`,children:p}),!!t&&s.jsx("div",{className:`${n}__icon`,onClick:d,children:l(t)}),m]});x.__docgenInfo={description:"",methods:[],displayName:"SectionTitle"};const _=c("section-content"),h=({className:a,...e})=>s.jsx("div",{className:r(_,a),...e});h.__docgenInfo={description:"",methods:[],displayName:"SectionContent"};export{N as S,x as a,h as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t}from"./iframe-
|
|
1
|
+
import{j as t}from"./iframe-CLEfhyJc.js";import{S as a,a as m,b as p}from"./section-content-pkGNuEs6.js";import{t as e}from"./store-D2RudmNr.js";import{T as u,S,M as l,P as h,a as y}from"./blocks-CpOj9FQ_.js";import"./preload-helper-PPVm8Dsz.js";import"./classname-DoNrELT0.js";import"./icon-TJ3FHxUI.js";import"./colors-_6nFGM3e.js";import"./typography-DoV67nnS.js";import"./index-CaMbLGUB.js";const x=()=>{const d=`
|
|
2
2
|
## ${e("common.table.title")}
|
|
3
3
|
|
|
4
4
|
| ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,r as c}from"./iframe-
|
|
1
|
+
import{j as t,r as c}from"./iframe-CLEfhyJc.js";import{S as r,d as p,e as i,f}from"./chip-zY6gJxDk.js";import{B as s}from"./button-GtWXUngt.js";import{t as e}from"./store-D2RudmNr.js";import{T as C,S as x,M as B,P as j,a as y}from"./blocks-CpOj9FQ_.js";import"./preload-helper-PPVm8Dsz.js";import"./classname-DoNrELT0.js";import"./icon-TJ3FHxUI.js";import"./colors-_6nFGM3e.js";import"./navigation-bar-CiGSH7u8.js";import"./visibility-sensor-huP-8j4n.js";import"./index-B-Ksafg0.js";import"./store-DxAqU1JB.js";import"./_setToString-CjYxL0rS.js";import"./react-mAVd1wAc.js";import"./omit-CStFhbPt.js";import"./pick-DbIUGM9R.js";import"./image-D6Yo4ht9.js";import"./typography-DoV67nnS.js";import"./bottom-tab-bar-BsPd0FD7.js";import"./toast-provider-B9k1NBG6.js";import"./carousel-sbzGq2WF.js";import"./embla-carousel-react.esm-CCQjHA-d.js";import"./pagination-Dcazh6R_.js";import"./section-content-pkGNuEs6.js";import"./option-item-BloohEvW.js";import"./index-DRIh_SUo.js";import"./alert-abKmNYys.js";import"./skeleton-Dn8rwbgX.js";import"./label-fI1oWVKU.js";import"./input-wrapper-D_9hAdHZ.js";import"./text-field-CjrgfYOZ.js";import"./number-field-DNj4myBV.js";import"./checkbox-CMpJJxvm.js";import"./radio-t2E8E0Oc.js";import"./date-Ci5dIit0.js";import"./date-picker-BCIW_1-h.js";import"./calendar-CJ5_NxYx.js";import"./search-field-CuiHMy7j.js";import"./text-area-CAmJ2yms.js";import"./avatar-B-jvPnzm.js";import"./badge-Cc9u7jBX.js";import"./switch-BziC1t_8.js";import"./tab-bar-DZ3oOU50.js";import"./rating-DsULci27.js";import"./tooltip-VnA8Hy0S.js";import"./index-CaMbLGUB.js";const b=()=>{const n=`
|
|
2
2
|
## ${e("common.table.title")}
|
|
3
3
|
|
|
4
4
|
| ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as r}from"./iframe-
|
|
1
|
+
import{j as r}from"./iframe-CLEfhyJc.js";import{c as n,g as u}from"./classname-DoNrELT0.js";const s=u("skeleton"),o=({animated:e=!0,className:t,width:l,height:a,shape:m="square",...i})=>r.jsx("div",{...i,className:n(s,`${s}--${m}`,{[`${s}--animated`]:e},t),style:{...l?{"--width":l+(typeof l=="number"?"px":"")}:{},...a?{"--height":a+(typeof a=="number"?"px":"")}:{}}}),d=e=>r.jsx(o,{...e,className:n(`${s}--title`,e.className)}),p=({lineCount:e=3,...t})=>r.jsx("div",{children:new Array(e).fill(0).map((l,a)=>r.jsx(o,{...t,className:n(`${s}__paragraph-line`,t.className)},a))});o.__docgenInfo={description:"",methods:[],displayName:"Skeleton",props:{animated:{defaultValue:{value:"true",computed:!1},required:!1},shape:{defaultValue:{value:"'square'",computed:!1},required:!1}}};d.__docgenInfo={description:"",methods:[],displayName:"SkeletonTitle"};p.__docgenInfo={description:"",methods:[],displayName:"SkeletonParagraph",props:{lineCount:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"3",computed:!1}}}};export{o as S,d as a,p as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as n}from"./iframe-
|
|
1
|
+
import{j as n}from"./iframe-CLEfhyJc.js";import{S as m,a as d,b as l}from"./skeleton-Dn8rwbgX.js";import{t as e}from"./store-D2RudmNr.js";import{T as g,S as u,M as c,P as x,a as k}from"./blocks-CpOj9FQ_.js";import"./preload-helper-PPVm8Dsz.js";import"./classname-DoNrELT0.js";import"./index-CaMbLGUB.js";const S=()=>{const h=`
|
|
2
2
|
## ${e("common.table.title")}
|
|
3
3
|
|
|
4
4
|
### Skeleton
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as ue}from"./iframe-
|
|
1
|
+
import{g as ue}from"./iframe-CLEfhyJc.js";import{f as oe,g as ee,h as re,i as ce,j as fe,k as ae,l as de,m as ge,n as he,o as be,c as me,d as Le,p as qe,q as pe,a as B,s as ye,t as Te,u as ve,v as _e,w as Re,x as we,b as Ae}from"./_setToString-CjYxL0rS.js";import{c as Oe}from"./react-mAVd1wAc.js";const ne={"pullToRefresh.canReleaseText":"Thả để làm mới","pullToRefresh.completeText":"Làm mới hoàn tất","pullToRefresh.pullingText":"Kéo để làm mới","pullToRefresh.refreshingText":"Đang làm mới...","calendar.monthLabel[0]":"Tháng 1","calendar.monthLabel[1]":"Tháng 2","calendar.monthLabel[2]":"Tháng 3","calendar.monthLabel[3]":"Tháng 4","calendar.monthLabel[4]":"Tháng 5","calendar.monthLabel[5]":"Tháng 6","calendar.monthLabel[6]":"Tháng 7","calendar.monthLabel[7]":"Tháng 8","calendar.monthLabel[8]":"Tháng 9","calendar.monthLabel[9]":"Tháng 10","calendar.monthLabel[10]":"Tháng 11","calendar.monthLabel[11]":"Tháng 12","calendar.weekdayLabel[0]":"CN","calendar.weekdayLabel[1]":"T2","calendar.weekdayLabel[2]":"T3","calendar.weekdayLabel[3]":"T4","calendar.weekdayLabel[4]":"T5","calendar.weekdayLabel[5]":"T6","calendar.weekdayLabel[6]":"T7","calendar.headerLabel":"{month} - {year}","calendar.weekday":"{day}"};var A,J;function te(){if(J)return A;J=1;var r=oe(),n=ee();function e(a,i,t){(t!==void 0&&!n(a[i],t)||t===void 0&&!(i in a))&&r(a,i,t)}return A=e,A}var O,N;function Ie(){if(N)return O;N=1;function r(n){return function(e,a,i){for(var t=-1,u=Object(e),s=i(e),l=s.length;l--;){var c=s[n?l:++t];if(a(u[c],c,u)===!1)break}return e}}return O=r,O}var I,K;function Me(){if(K)return I;K=1;var r=Ie(),n=r();return I=n,I}var M,$;function Fe(){if($)return M;$=1;var r=re(),n=ce();function e(a){return n(a)&&r(a)}return M=e,M}var F,U;function ie(){if(U)return F;U=1;function r(n,e){if(!(e==="constructor"&&typeof n[e]=="function")&&e!="__proto__")return n[e]}return F=r,F}var x,W;function xe(){if(W)return x;W=1;var r=fe(),n=ae();function e(a){return r(a,n(a))}return x=e,x}var k,H;function ke(){if(H)return k;H=1;var r=te(),n=de(),e=ge(),a=he(),i=be(),t=me(),u=Le(),s=Fe(),l=qe(),c=pe(),g=B(),L=ye(),h=Te(),b=ie(),m=xe();function q(v,G,p,se,le,_,y){var d=b(v,p),o=b(G,p),V=y.get(o);if(V){r(v,p,V);return}var f=_?_(d,o,p+"",v,G,y):void 0,T=f===void 0;if(T){var R=u(o),w=!R&&l(o),E=!R&&!w&&h(o);f=o,R||w||E?u(d)?f=d:s(d)?f=a(d):w?(T=!1,f=n(o,!0)):E?(T=!1,f=e(o,!0)):f=[]:L(o)||t(o)?(f=d,t(d)?f=m(d):(!g(d)||c(d))&&(f=i(o))):T=!1}T&&(y.set(o,f),le(f,o,se,_,y),y.delete(o)),r(v,p,f)}return k=q,k}var C,Q;function Ce(){if(Q)return C;Q=1;var r=ve(),n=te(),e=Me(),a=ke(),i=B(),t=ae(),u=ie();function s(l,c,g,L,h){l!==c&&e(c,function(b,m){if(h||(h=new r),i(b))a(l,c,m,g,s,L,h);else{var q=L?L(u(l,m),b,m+"",l,c,h):void 0;q===void 0&&(q=b),n(l,m,q)}},t)}return C=s,C}var j,X;function je(){if(X)return j;X=1;var r=_e(),n=Re(),e=we();function a(i,t){return e(n(i,t,r),i+"")}return j=a,j}var P,Y;function Pe(){if(Y)return P;Y=1;var r=ee(),n=re(),e=Ae(),a=B();function i(t,u,s){if(!a(s))return!1;var l=typeof u;return(l=="number"?n(s)&&e(u,s.length):l=="string"&&u in s)?r(s[u],t):!1}return P=i,P}var S,Z;function Se(){if(Z)return S;Z=1;var r=je(),n=Pe();function e(a){return r(function(i,t){var u=-1,s=t.length,l=s>1?t[s-1]:void 0,c=s>2?t[2]:void 0;for(l=a.length>3&&typeof l=="function"?(s--,l):void 0,c&&n(t[0],t[1],c)&&(l=s<3?void 0:l,s=1),i=Object(i);++u<s;){var g=t[u];g&&a(i,g,u,l)}return i})}return S=e,S}var D,z;function De(){if(z)return D;z=1;var r=Ce(),n=Se(),e=n(function(a,i,t){r(a,i,t)});return D=e,D}var Be=De();const Ge=ue(Be),Ve={"pullToRefresh.canReleaseText":"Release to refresh","pullToRefresh.completeText":"Refresh complete","pullToRefresh.pullingText":"Pulling to refresh","pullToRefresh.refreshingText":"Refreshing...","calendar.monthLabel[0]":"January","calendar.monthLabel[1]":"February","calendar.monthLabel[2]":"March","calendar.monthLabel[3]":"April","calendar.monthLabel[4]":"May","calendar.monthLabel[5]":"June","calendar.monthLabel[6]":"July","calendar.monthLabel[7]":"August","calendar.monthLabel[8]":"September","calendar.monthLabel[9]":"October","calendar.monthLabel[10]":"November","calendar.monthLabel[11]":"December","calendar.weekdayLabel[0]":"Sun","calendar.weekdayLabel[1]":"Mon","calendar.weekdayLabel[2]":"Tue","calendar.weekdayLabel[3]":"Wed","calendar.weekdayLabel[4]":"Thu","calendar.weekdayLabel[5]":"Fri","calendar.weekdayLabel[6]":"Sat","calendar.headerLabel":"{month} - {year}","calendar.weekday":"{day}"};function Ee(r,n){if(!n)return r;const e=[];let a=0;return r.replace(/\{(\w+)\}/g,(i,t,u)=>(u>a&&e.push(r.slice(a,u)),e.push(n[t]?.toString()??i),a=u+i.length,i)),a<r.length&&e.push(r.slice(a)),e.join("")}const Je={vi:ne,en:Ve},Ne=(r,n)=>Ge({},r,n),We=Oe((r,n)=>({language:"system",systemLanguage:window.LANG_CODE||new URL(window?.location.href).searchParams.get("langCode")||"vi",initialized:!1,resources:Je,translate:(e,a,i)=>{const t=i??n().language,{resources:u,systemLanguage:s}=n();let l=t;t==="system"&&(l=s);const g=(u[l]??ne)[e];return g?Ee(g,a):(console.warn(`Translation key "${e}" not found in locale "${t}"`),e)},setLanguage:e=>{r({language:e})},init:e=>{r(({resources:a})=>({resources:Ne(a,e?.resources),initialized:!0}))}}));export{Ge as m,We as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c,j as t}from"./iframe-
|
|
1
|
+
import{r as c,j as t}from"./iframe-CLEfhyJc.js";import{c as p,g as b}from"./classname-DoNrELT0.js";import{u as x}from"./index-DRIh_SUo.js";const e=b("switch"),C=c.forwardRef((a,u)=>{const{disabled:o=!1,theme:d="brand",className:m,style:f,checked:N,defaultChecked:_,onChange:g,...h}=a,l=c.useRef(null),[i,n]=c.useState(!1),[r,k]=x(a,{defaultValuePropName:"defaultChecked",valuePropName:"checked",trigger:"onChange"});return c.useImperativeHandle(u,()=>({focus:()=>l.current?.focus?.(),blur:()=>l.current?.blur?.()})),t.jsxs("label",{className:p(e,{[`${e}--checked`]:r,[`${e}--unchecked`]:!r,[`${e}--disabled`]:o,[`${e}--focus`]:i,[`${e}--theme-${d}`]:!0},m),style:f,children:[t.jsx("span",{className:`${e}__overlay`}),t.jsx("span",{className:`${e}__thumb`}),t.jsx("input",{...h,type:"checkbox",checked:r,disabled:o,onChange:s=>k(s.target.checked),ref:l,className:`${e}__input`,onFocus:s=>{n(!0),a.onFocus?.(s)},onBlur:s=>{n(!1),a.onBlur?.(s)}})]})});C.__docgenInfo={description:"",methods:[{name:"focus",docblock:null,modifiers:[],params:[],returns:null},{name:"blur",docblock:null,modifiers:[],params:[],returns:null}],displayName:"Switch"};export{C as S};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,r as c}from"./iframe-
|
|
1
|
+
import{j as e,r as c}from"./iframe-CLEfhyJc.js";import{S as s}from"./switch-BziC1t_8.js";import{B as y}from"./button-GtWXUngt.js";import{t as n}from"./store-D2RudmNr.js";import{T as b,S as w,M as u,P as v,a as S}from"./blocks-CpOj9FQ_.js";import"./preload-helper-PPVm8Dsz.js";import"./classname-DoNrELT0.js";import"./index-DRIh_SUo.js";import"./index-B-Ksafg0.js";import"./icon-TJ3FHxUI.js";import"./colors-_6nFGM3e.js";import"./typography-DoV67nnS.js";import"./index-CaMbLGUB.js";const k=()=>{const t=`
|
|
2
2
|
## ${n("common.table.title")}
|
|
3
3
|
| ${n("common.table.name")} | ${n("common.table.type")} | ${n("common.table.required")} | ${n("common.table.description")} |
|
|
4
4
|
| :--- | :--- | :--- | :--- |
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as a,j as i}from"./iframe-
|
|
1
|
+
import{r as a,j as i}from"./iframe-CLEfhyJc.js";import{c as $,g as S}from"./classname-DoNrELT0.js";import{r as G}from"./icon-TJ3FHxUI.js";import{T as F}from"./typography-DoV67nnS.js";import{a as H,B as W}from"./badge-Cc9u7jBX.js";import{u as J}from"./index-DRIh_SUo.js";const p=S("tab-bar__item"),B=a.forwardRef(({className:u,id:r,active:w,icon:m,name:I,badge:n,onItemClick:f,...k},v)=>{const o=()=>{if(!m)return null;const t=i.jsx("span",{className:`${p}__icon`,children:G(m)});return n?i.jsxs(H,{children:[t,i.jsx(W,{...n===!0?{}:n})]}):t},h=()=>{const t=i.jsx(F,{component:"span",size:"base",className:`${p}__label`,children:I});return!n||m?t:i.jsxs("div",{className:`${p}__label-with-badge`,children:[t,i.jsx(W,{...n===!0?{}:n})]})};return i.jsxs("div",{ref:v,className:$(p,{[`${p}--active`]:w},u),onClick:()=>f?.(),...k,children:[o(),h()]})});B.__docgenInfo={description:"",methods:[],displayName:"TabBarItem",props:{id:{required:!0,tsType:{name:"string"},description:""},icon:{required:!1,tsType:{name:"union",raw:"IIconProps | ReactNode",elements:[{name:"intersection",raw:"Destination & Omit<Origin, keyof Destination>",elements:[{name:"intersection",raw:`{
|
|
2
2
|
size?: number | string
|
|
3
3
|
color?: IColor
|
|
4
4
|
animation?: IIconAnimation
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,r as o}from"./iframe-
|
|
1
|
+
import{j as t,r as o}from"./iframe-CLEfhyJc.js";import{T as i}from"./tab-bar-DZ3oOU50.js";import{t as e}from"./store-D2RudmNr.js";import{T as x,S as g,M as v,P as y,a as T}from"./blocks-CpOj9FQ_.js";import"./preload-helper-PPVm8Dsz.js";import"./classname-DoNrELT0.js";import"./icon-TJ3FHxUI.js";import"./colors-_6nFGM3e.js";import"./typography-DoV67nnS.js";import"./badge-Cc9u7jBX.js";import"./index-DRIh_SUo.js";import"./index-B-Ksafg0.js";import"./index-CaMbLGUB.js";const f=()=>{const n=`
|
|
2
2
|
## ${e("common.table.title")}
|
|
3
3
|
| ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
|
|
4
4
|
| :--- | :--- | :--- | :--- |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,j as s}from"./iframe-
|
|
1
|
+
import{r,j as s}from"./iframe-CLEfhyJc.js";import{c as i,g as h}from"./classname-DoNrELT0.js";import{g as f,I as x}from"./input-wrapper-D_9hAdHZ.js";import{T as N}from"./typography-DoV67nnS.js";import{u as b}from"./index-DRIh_SUo.js";import{S as c}from"./skeleton-Dn8rwbgX.js";const o=h("text-area"),_=r.forwardRef((m,p)=>{const{wrapper:l,props:e}=f(m),[g,n]=r.useState(e.autoFocus),t=r.useRef(null),[u,d]=b(e,{trigger:"onChange",valuePropName:"value"});return r.useImperativeHandle(p,()=>({focus:()=>t.current?.focus?.(),blur:()=>t.current?.blur?.()})),s.jsx(x,{...l,className:i(o,l.className),align:"start",isFocus:g,onClick:()=>t.current?.focus(),bottomInput:e.maxLength?s.jsxs(N,{size:"x-small",weight:400,color:"alias-object-secondary",className:`${o}__count`,children:["(",u?.length||0,"/",e.maxLength,")"]}):null,loadingNode:e.loading&&s.jsxs("div",{className:`${o}__loading`,children:[s.jsx(c,{width:128,height:12,shape:"pill"}),s.jsx(c,{width:40,height:12,shape:"pill"})]}),children:s.jsx("textarea",{rows:3,...e,maxLength:e.maxLength,value:u,onChange:a=>d?.(a.target.value),disabled:l.disabled,onFocus:a=>{n(!0),e.onFocus?.(a)},onBlur:a=>{n(!1),e.onBlur?.(a)},ref:t,className:i(`${o}__input`,{[`${o}__input--auto-height`]:e.autoHeight},e.inputClassName)})})});_.__docgenInfo={description:"",methods:[{name:"focus",docblock:null,modifiers:[],params:[],returns:null},{name:"blur",docblock:null,modifiers:[],params:[],returns:null}],displayName:"TextArea"};export{_ as T};
|
package/dist-storybook/assets/{text-area.stories-By8bCfgc.js → text-area.stories-BZ3HXtij.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,r as g}from"./iframe-
|
|
1
|
+
import{j as t,r as g}from"./iframe-CLEfhyJc.js";import{T as o}from"./text-area-CAmJ2yms.js";import{t as e}from"./store-D2RudmNr.js";import{T as u,S as h,M as x,P as A,a as b}from"./blocks-CpOj9FQ_.js";import"./preload-helper-PPVm8Dsz.js";import"./classname-DoNrELT0.js";import"./input-wrapper-D_9hAdHZ.js";import"./icon-TJ3FHxUI.js";import"./colors-_6nFGM3e.js";import"./label-fI1oWVKU.js";import"./typography-DoV67nnS.js";import"./skeleton-Dn8rwbgX.js";import"./pick-DbIUGM9R.js";import"./omit-CStFhbPt.js";import"./_setToString-CjYxL0rS.js";import"./index-DRIh_SUo.js";import"./index-B-Ksafg0.js";import"./index-CaMbLGUB.js";const y=()=>{const r=`
|
|
2
2
|
## ${e("common.table.title")}
|
|
3
3
|
| ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
|
|
4
4
|
| :--- | :--- | :--- | :--- |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,j as o}from"./iframe-
|
|
1
|
+
import{r,j as o}from"./iframe-CLEfhyJc.js";import{c as d,g as m}from"./classname-DoNrELT0.js";import{g as f,I as g}from"./input-wrapper-D_9hAdHZ.js";import{S as i}from"./skeleton-Dn8rwbgX.js";const l=m("text-field"),h=r.forwardRef((u,c)=>{const{wrapper:n,props:e}=f(u),[p,t]=r.useState(e.autoFocus),a=r.useRef(null);return r.useImperativeHandle(c,()=>({focus:()=>a.current?.focus?.(),blur:()=>a.current?.blur?.()})),o.jsx(g,{...n,isFocus:p,onClick:()=>a.current?.focus(),loadingNode:e.loading&&o.jsxs("div",{className:`${l}__loading ${l}__loading--${e.loadingType}`,children:[o.jsx(i,{width:e.loadingType==="search"?24:40,height:e.loadingType==="search"?24:13,shape:"pill"}),o.jsx(i,{width:128,height:13,shape:"pill"})]}),children:o.jsx("input",{...e,onChange:s=>e.onChange?.(s.target.value),disabled:n.disabled,onFocus:s=>{t(!0),e.onFocus?.(s)},onBlur:s=>{t(!1),e.onBlur?.(s)},ref:a,className:d(l,e.inputClassName)})})});h.__docgenInfo={description:"",methods:[{name:"focus",docblock:null,modifiers:[],params:[],returns:null},{name:"blur",docblock:null,modifiers:[],params:[],returns:null}],displayName:"TextField"};export{h as T};
|
package/dist-storybook/assets/{text-field.stories-CrWBAhvI.js → text-field.stories-vSXYvs0U.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,r as x}from"./iframe-
|
|
1
|
+
import{j as t,r as x}from"./iframe-CLEfhyJc.js";import{T as o}from"./text-field-CjrgfYOZ.js";import{t as e}from"./store-D2RudmNr.js";import{T as g,S as u,M as d,P as h,a as F}from"./blocks-CpOj9FQ_.js";import"./preload-helper-PPVm8Dsz.js";import"./classname-DoNrELT0.js";import"./input-wrapper-D_9hAdHZ.js";import"./icon-TJ3FHxUI.js";import"./colors-_6nFGM3e.js";import"./label-fI1oWVKU.js";import"./typography-DoV67nnS.js";import"./skeleton-Dn8rwbgX.js";import"./pick-DbIUGM9R.js";import"./omit-CStFhbPt.js";import"./_setToString-CjYxL0rS.js";import"./index-CaMbLGUB.js";const b=()=>{const p=`
|
|
2
2
|
## ${e("common.table.title")}
|
|
3
3
|
| ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
|
|
4
4
|
| :--- | :--- | :---: | :--- |
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as v,j as C}from"./iframe-CQAwSt4E.js";import{c as Pr,g as Ns}from"./classname-CUR_zgkh.js";import{r as Sn}from"./blocks-BuaOUtiH.js";import{r as Sr,I as bn}from"./icon-DdQsMyRa.js";import{T as br}from"./typography-DEpAJl_i.js";import{c as wr}from"./react-hufnxGVs.js";import{B as Ar}from"./button-CL7GeC23.js";const Ne=v.createContext({});function Ue(t){const e=v.useRef(null);return e.current===null&&(e.current=t()),e.current}const Ke=typeof window<"u",Us=Ke?v.useLayoutEffect:v.useEffect,Jt=v.createContext(null);function We(t,e){t.indexOf(e)===-1&&t.push(e)}function $e(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const X=(t,e,n)=>n>e?e:n<t?t:n;let _e=()=>{};const Y={},Ks=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function Ws(t){return typeof t=="object"&&t!==null}const $s=t=>/^0[^.\s]+$/u.test(t);function Ge(t){let e;return()=>(e===void 0&&(e=t()),e)}const $=t=>t,Vr=(t,e)=>n=>e(t(n)),kt=(...t)=>t.reduce(Vr),Mt=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s};class ze{constructor(){this.subscriptions=[]}add(e){return We(this.subscriptions,e),()=>$e(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let o=0;o<i;o++){const r=this.subscriptions[o];r&&r(e,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const z=t=>t*1e3,W=t=>t/1e3;function _s(t,e){return e?t*(1e3/e):0}const Gs=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Cr=1e-7,Mr=12;function Dr(t,e,n,s,i){let o,r,a=0;do r=e+(n-e)/2,o=Gs(r,s,i)-t,o>0?n=r:e=r;while(Math.abs(o)>Cr&&++a<Mr);return r}function Ft(t,e,n,s){if(t===e&&n===s)return $;const i=o=>Dr(o,0,1,t,n);return o=>o===0||o===1?o:Gs(i(o),e,s)}const zs=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Hs=t=>e=>1-t(1-e),Xs=Ft(.33,1.53,.69,.99),He=Hs(Xs),Ys=zs(He),qs=t=>(t*=2)<1?.5*He(t):.5*(2-Math.pow(2,-10*(t-1))),Xe=t=>1-Math.sin(Math.acos(t)),Zs=Hs(Xe),Js=zs(Xe),Rr=Ft(.42,0,1,1),Er=Ft(0,0,.58,1),Qs=Ft(.42,0,.58,1),Lr=t=>Array.isArray(t)&&typeof t[0]!="number",ti=t=>Array.isArray(t)&&typeof t[0]=="number",kr={linear:$,easeIn:Rr,easeInOut:Qs,easeOut:Er,circIn:Xe,circInOut:Js,circOut:Zs,backIn:He,backInOut:Ys,backOut:Xs,anticipate:qs},Fr=t=>typeof t=="string",wn=t=>{if(ti(t)){_e(t.length===4);const[e,n,s,i]=t;return Ft(e,n,s,i)}else if(Fr(t))return kr[t];return t},jt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Ir(t,e){let n=new Set,s=new Set,i=!1,o=!1;const r=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(c){r.has(c)&&(u.schedule(c),t()),c(a)}const u={schedule:(c,h=!1,f=!1)=>{const m=f&&i?n:s;return h&&r.add(c),m.has(c)||m.add(c),c},cancel:c=>{s.delete(c),r.delete(c)},process:c=>{if(a=c,i){o=!0;return}i=!0,[n,s]=[s,n],n.forEach(l),n.clear(),i=!1,o&&(o=!1,u.process(c))}};return u}const Br=40;function ei(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=jt.reduce((y,w)=>(y[w]=Ir(o),y),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:h,preRender:f,render:d,postRender:m}=r,g=()=>{const y=Y.useManualTiming?i.timestamp:performance.now();n=!1,Y.useManualTiming||(i.delta=s?1e3/60:Math.max(Math.min(y-i.timestamp,Br),1)),i.timestamp=y,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),h.process(i),f.process(i),d.process(i),m.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(g))},x=()=>{n=!0,s=!0,i.isProcessing||t(g)};return{schedule:jt.reduce((y,w)=>{const P=r[w];return y[w]=(A,V=!1,b=!1)=>(n||x(),P.schedule(A,V,b)),y},{}),cancel:y=>{for(let w=0;w<jt.length;w++)r[jt[w]].cancel(y)},state:i,steps:r}}const{schedule:M,cancel:J,state:I,steps:ne}=ei(typeof requestAnimationFrame<"u"?requestAnimationFrame:$,!0);let Kt;function jr(){Kt=void 0}const N={now:()=>(Kt===void 0&&N.set(I.isProcessing||Y.useManualTiming?I.timestamp:performance.now()),Kt),set:t=>{Kt=t,queueMicrotask(jr)}},ni=t=>e=>typeof e=="string"&&e.startsWith(t),si=ni("--"),Or=ni("var(--"),Ye=t=>Or(t)?Nr.test(t.split("/*")[0].trim()):!1,Nr=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,vt={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Dt={...vt,transform:t=>X(0,1,t)},Ot={...vt,default:1},wt=t=>Math.round(t*1e5)/1e5,qe=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Ur(t){return t==null}const Kr=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ze=(t,e)=>n=>!!(typeof n=="string"&&Kr.test(n)&&n.startsWith(t)||e&&!Ur(n)&&Object.prototype.hasOwnProperty.call(n,e)),ii=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,o,r,a]=s.match(qe);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},Wr=t=>X(0,255,t),se={...vt,transform:t=>Math.round(Wr(t))},it={test:Ze("rgb","red"),parse:ii("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+se.transform(t)+", "+se.transform(e)+", "+se.transform(n)+", "+wt(Dt.transform(s))+")"};function $r(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const ye={test:Ze("#"),parse:$r,transform:it.transform},It=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Z=It("deg"),H=It("%"),S=It("px"),_r=It("vh"),Gr=It("vw"),An={...H,parse:t=>H.parse(t)/100,transform:t=>H.transform(t*100)},ct={test:Ze("hsl","hue"),parse:ii("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+H.transform(wt(e))+", "+H.transform(wt(n))+", "+wt(Dt.transform(s))+")"},E={test:t=>it.test(t)||ye.test(t)||ct.test(t),parse:t=>it.test(t)?it.parse(t):ct.test(t)?ct.parse(t):ye.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?it.transform(t):ct.transform(t),getAnimatableNone:t=>{const e=E.parse(t);return e.alpha=0,E.transform(e)}},zr=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Hr(t){return isNaN(t)&&typeof t=="string"&&(t.match(qe)?.length||0)+(t.match(zr)?.length||0)>0}const ri="number",oi="color",Xr="var",Yr="var(",Vn="${}",qr=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Rt(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(qr,l=>(E.test(l)?(s.color.push(o),i.push(oi),n.push(E.parse(l))):l.startsWith(Yr)?(s.var.push(o),i.push(Xr),n.push(l)):(s.number.push(o),i.push(ri),n.push(parseFloat(l))),++o,Vn)).split(Vn);return{values:n,split:a,indexes:s,types:i}}function ai(t){return Rt(t).values}function li(t){const{split:e,types:n}=Rt(t),s=e.length;return i=>{let o="";for(let r=0;r<s;r++)if(o+=e[r],i[r]!==void 0){const a=n[r];a===ri?o+=wt(i[r]):a===oi?o+=E.transform(i[r]):o+=i[r]}return o}}const Zr=t=>typeof t=="number"?0:E.test(t)?E.getAnimatableNone(t):t;function Jr(t){const e=ai(t);return li(t)(e.map(Zr))}const Q={test:Hr,parse:ai,createTransformer:li,getAnimatableNone:Jr};function ie(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Qr({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,o=0,r=0;if(!e)i=o=r=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;i=ie(l,a,t+1/3),o=ie(l,a,t),r=ie(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:s}}function Gt(t,e){return n=>n>0?e:t}const D=(t,e,n)=>t+(e-t)*n,re=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},to=[ye,it,ct],eo=t=>to.find(e=>e.test(t));function Cn(t){const e=eo(t);if(!e)return!1;let n=e.parse(t);return e===ct&&(n=Qr(n)),n}const Mn=(t,e)=>{const n=Cn(t),s=Cn(e);if(!n||!s)return Gt(t,e);const i={...n};return o=>(i.red=re(n.red,s.red,o),i.green=re(n.green,s.green,o),i.blue=re(n.blue,s.blue,o),i.alpha=D(n.alpha,s.alpha,o),it.transform(i))},ve=new Set(["none","hidden"]);function no(t,e){return ve.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function so(t,e){return n=>D(t,e,n)}function Je(t){return typeof t=="number"?so:typeof t=="string"?Ye(t)?Gt:E.test(t)?Mn:oo:Array.isArray(t)?ci:typeof t=="object"?E.test(t)?Mn:io:Gt}function ci(t,e){const n=[...t],s=n.length,i=t.map((o,r)=>Je(o)(o,e[r]));return o=>{for(let r=0;r<s;r++)n[r]=i[r](o);return n}}function io(t,e){const n={...t,...e},s={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(s[i]=Je(t[i])(t[i],e[i]));return i=>{for(const o in s)n[o]=s[o](i);return n}}function ro(t,e){const n=[],s={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const o=e.types[i],r=t.indexes[o][s[o]],a=t.values[r]??0;n[i]=a,s[o]++}return n}const oo=(t,e)=>{const n=Q.createTransformer(e),s=Rt(t),i=Rt(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?ve.has(t)&&!i.values.length||ve.has(e)&&!s.values.length?no(t,e):kt(ci(ro(s,i),i.values),n):Gt(t,e)};function ui(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?D(t,e,n):Je(t)(t,e)}const ao=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>M.update(e,n),stop:()=>J(e),now:()=>I.isProcessing?I.timestamp:N.now()}},hi=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let o=0;o<i;o++)s+=Math.round(t(o/(i-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},zt=2e4;function Qe(t){let e=0;const n=50;let s=t.next(e);for(;!s.done&&e<zt;)e+=n,s=t.next(e);return e>=zt?1/0:e}function lo(t,e=100,n){const s=n({...t,keyframes:[0,e]}),i=Math.min(Qe(s),zt);return{type:"keyframes",ease:o=>s.next(i*o).value/e,duration:W(i)}}const co=5;function fi(t,e,n){const s=Math.max(e-co,0);return _s(n-t(s),e-s)}const R={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},oe=.001;function uo({duration:t=R.duration,bounce:e=R.bounce,velocity:n=R.velocity,mass:s=R.mass}){let i,o,r=1-e;r=X(R.minDamping,R.maxDamping,r),t=X(R.minDuration,R.maxDuration,W(t)),r<1?(i=u=>{const c=u*r,h=c*t,f=c-n,d=xe(u,r),m=Math.exp(-h);return oe-f/d*m},o=u=>{const h=u*r*t,f=h*n+n,d=Math.pow(r,2)*Math.pow(u,2)*t,m=Math.exp(-h),g=xe(Math.pow(u,2),r);return(-i(u)+oe>0?-1:1)*((f-d)*m)/g}):(i=u=>{const c=Math.exp(-u*t),h=(u-n)*t+1;return-oe+c*h},o=u=>{const c=Math.exp(-u*t),h=(n-u)*(t*t);return c*h});const a=5/t,l=fo(i,o,a);if(t=z(t),isNaN(l))return{stiffness:R.stiffness,damping:R.damping,duration:t};{const u=Math.pow(l,2)*s;return{stiffness:u,damping:r*2*Math.sqrt(s*u),duration:t}}}const ho=12;function fo(t,e,n){let s=n;for(let i=1;i<ho;i++)s=s-t(s)/e(s);return s}function xe(t,e){return t*Math.sqrt(1-e*e)}const mo=["duration","bounce"],po=["stiffness","damping","mass"];function Dn(t,e){return e.some(n=>t[n]!==void 0)}function go(t){let e={velocity:R.velocity,stiffness:R.stiffness,damping:R.damping,mass:R.mass,isResolvedFromDuration:!1,...t};if(!Dn(t,po)&&Dn(t,mo))if(t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,o=2*X(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:R.mass,stiffness:i,damping:o}}else{const n=uo(t);e={...e,...n,mass:R.mass},e.isResolvedFromDuration=!0}return e}function Ht(t=R.visualDuration,e=R.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const o=n.keyframes[0],r=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:h,velocity:f,isResolvedFromDuration:d}=go({...n,velocity:-W(n.velocity||0)}),m=f||0,g=u/(2*Math.sqrt(l*c)),x=r-o,p=W(Math.sqrt(l/c)),T=Math.abs(x)<5;s||(s=T?R.restSpeed.granular:R.restSpeed.default),i||(i=T?R.restDelta.granular:R.restDelta.default);let y;if(g<1){const P=xe(p,g);y=A=>{const V=Math.exp(-g*p*A);return r-V*((m+g*p*x)/P*Math.sin(P*A)+x*Math.cos(P*A))}}else if(g===1)y=P=>r-Math.exp(-p*P)*(x+(m+p*x)*P);else{const P=p*Math.sqrt(g*g-1);y=A=>{const V=Math.exp(-g*p*A),b=Math.min(P*A,300);return r-V*((m+g*p*x)*Math.sinh(b)+P*x*Math.cosh(b))/P}}const w={calculatedDuration:d&&h||null,next:P=>{const A=y(P);if(d)a.done=P>=h;else{let V=P===0?m:0;g<1&&(V=P===0?z(m):fi(y,P,A));const b=Math.abs(V)<=s,k=Math.abs(r-A)<=i;a.done=b&&k}return a.value=a.done?r:A,a},toString:()=>{const P=Math.min(Qe(w),zt),A=hi(V=>w.next(P*V).value,P,30);return P+"ms "+A},toTransition:()=>{}};return w}Ht.applyToOptions=t=>{const e=lo(t,100,Ht);return t.ease=e.ease,t.duration=z(e.duration),t.type="keyframes",t};function Te({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],f={done:!1,value:h},d=b=>a!==void 0&&b<a||l!==void 0&&b>l,m=b=>a===void 0?l:l===void 0||Math.abs(a-b)<Math.abs(l-b)?a:l;let g=n*e;const x=h+g,p=r===void 0?x:r(x);p!==x&&(g=p-h);const T=b=>-g*Math.exp(-b/s),y=b=>p+T(b),w=b=>{const k=T(b),j=y(b);f.done=Math.abs(k)<=u,f.value=f.done?p:j};let P,A;const V=b=>{d(f.value)&&(P=b,A=Ht({keyframes:[f.value,m(f.value)],velocity:fi(y,b,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return V(0),{calculatedDuration:null,next:b=>{let k=!1;return!A&&P===void 0&&(k=!0,w(b),V(b)),P!==void 0&&b>=P?A.next(b-P):(!k&&w(b),f)}}}function yo(t,e,n){const s=[],i=n||Y.mix||ui,o=t.length-1;for(let r=0;r<o;r++){let a=i(t[r],t[r+1]);if(e){const l=Array.isArray(e)?e[r]||$:e;a=kt(l,a)}s.push(a)}return s}function vo(t,e,{clamp:n=!0,ease:s,mixer:i}={}){const o=t.length;if(_e(o===e.length),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=yo(e,s,i),l=a.length,u=c=>{if(r&&c<t[0])return e[0];let h=0;if(l>1)for(;h<t.length-2&&!(c<t[h+1]);h++);const f=Mt(t[h],t[h+1],c);return a[h](f)};return n?c=>u(X(t[0],t[o-1],c)):u}function xo(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=Mt(0,e,s);t.push(D(n,1,i))}}function To(t){const e=[0];return xo(e,t.length-1),e}function Po(t,e){return t.map(n=>n*e)}function So(t,e){return t.map(()=>e||Qs).splice(0,t.length-1)}function At({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=Lr(s)?s.map(wn):wn(s),o={done:!1,value:e[0]},r=Po(n&&n.length===e.length?n:To(e),t),a=vo(r,e,{ease:Array.isArray(i)?i:So(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const bo=t=>t!==null;function tn(t,{repeat:e,repeatType:n="loop"},s,i=1){const o=t.filter(bo),a=i<0||e&&n!=="loop"&&e%2===1?0:o.length-1;return!a||s===void 0?o[a]:s}const wo={decay:Te,inertia:Te,tween:At,keyframes:At,spring:Ht};function di(t){typeof t.type=="string"&&(t.type=wo[t.type])}class en{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const Ao=t=>t/100;class nn extends en{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==N.now()&&this.tick(N.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;di(e);const{type:n=At,repeat:s=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=n||At;l!==At&&typeof a[0]!="number"&&(this.mixKeyframes=kt(Ao,ui(a[0],a[1])),a=[0,100]);const u=l({...e,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-r})),u.calculatedDuration===null&&(u.calculatedDuration=Qe(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(s+1)-i,this.generator=u}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:s,totalDuration:i,mixKeyframes:o,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return s.next(0);const{delay:u=0,keyframes:c,repeat:h,repeatType:f,repeatDelay:d,type:m,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const p=this.currentTime-u*(this.playbackSpeed>=0?1:-1),T=this.playbackSpeed>=0?p<0:p>i;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let y=this.currentTime,w=s;if(h){const b=Math.min(this.currentTime,i)/a;let k=Math.floor(b),j=b%1;!j&&b>=1&&(j=1),j===1&&k--,k=Math.min(k,h+1),k%2&&(f==="reverse"?(j=1-j,d&&(j-=d/a)):f==="mirror"&&(w=r)),y=X(0,1,j)*a}const P=T?{done:!1,value:c[0]}:w.next(y);o&&(P.value=o(P.value));let{done:A}=P;!T&&l!==null&&(A=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const V=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&A);return V&&m!==Te&&(P.value=tn(c,this.options,x,this.speed)),g&&g(P.value),V&&this.finish(),P}then(e,n){return this.finished.then(e,n)}get duration(){return W(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+W(e)}get time(){return W(this.currentTime)}set time(e){e=z(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(N.now());const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=W(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=ao,startTime:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=n??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(N.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function Vo(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const rt=t=>t*180/Math.PI,Pe=t=>{const e=rt(Math.atan2(t[1],t[0]));return Se(e)},Co={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Pe,rotateZ:Pe,skewX:t=>rt(Math.atan(t[1])),skewY:t=>rt(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Se=t=>(t=t%360,t<0&&(t+=360),t),Rn=Pe,En=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Ln=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Mo={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:En,scaleY:Ln,scale:t=>(En(t)+Ln(t))/2,rotateX:t=>Se(rt(Math.atan2(t[6],t[5]))),rotateY:t=>Se(rt(Math.atan2(-t[2],t[0]))),rotateZ:Rn,rotate:Rn,skewX:t=>rt(Math.atan(t[4])),skewY:t=>rt(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function be(t){return t.includes("scale")?1:0}function we(t,e){if(!t||t==="none")return be(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,i;if(n)s=Mo,i=n;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=Co,i=a}if(!i)return be(e);const o=s[e],r=i[1].split(",").map(Ro);return typeof o=="function"?o(r):r[o]}const Do=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return we(n,e)};function Ro(t){return parseFloat(t.trim())}const xt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Tt=new Set(xt),kn=t=>t===vt||t===S,Eo=new Set(["x","y","z"]),Lo=xt.filter(t=>!Eo.has(t));function ko(t){const e=[];return Lo.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const ot={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>we(e,"x"),y:(t,{transform:e})=>we(e,"y")};ot.translateX=ot.x;ot.translateY=ot.y;const at=new Set;let Ae=!1,Ve=!1,Ce=!1;function mi(){if(Ve){const t=Array.from(at).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=ko(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([o,r])=>{s.getValue(o)?.set(r)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Ve=!1,Ae=!1,at.forEach(t=>t.complete(Ce)),at.clear()}function pi(){at.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Ve=!0)})}function Fo(){Ce=!0,pi(),mi(),Ce=!1}class sn{constructor(e,n,s,i,o,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(at.add(this),Ae||(Ae=!0,M.read(pi),M.resolveKeyframes(mi))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;if(e[0]===null){const o=i?.get(),r=e[e.length-1];if(o!==void 0)e[0]=o;else if(s&&n){const a=s.readValue(n,r);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=r),i&&o===void 0&&i.set(e[0])}Vo(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),at.delete(this)}cancel(){this.state==="scheduled"&&(at.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Io=t=>t.startsWith("--");function Bo(t,e,n){Io(e)?t.style.setProperty(e,n):t.style[e]=n}const jo=Ge(()=>window.ScrollTimeline!==void 0),Oo={};function No(t,e){const n=Ge(t);return()=>Oo[e]??n()}const gi=No(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),bt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,Fn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:bt([0,.65,.55,1]),circOut:bt([.55,0,1,.45]),backIn:bt([.31,.01,.66,-.59]),backOut:bt([.33,1.53,.69,.99])};function yi(t,e){if(t)return typeof t=="function"?gi()?hi(t,e):"ease-out":ti(t)?bt(t):Array.isArray(t)?t.map(n=>yi(n,e)||Fn.easeOut):Fn[t]}function Uo(t,e,n,{delay:s=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[e]:n};l&&(c.offset=l);const h=yi(a,i);Array.isArray(h)&&(c.easing=h);const f={delay:s,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),t.animate(c,f)}function vi(t){return typeof t=="function"&&"applyToOptions"in t}function Ko({type:t,...e}){return vi(t)&&gi()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class Wo extends en{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:n,name:s,keyframes:i,pseudoElement:o,allowFlatten:r=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=!!o,this.allowFlatten=r,this.options=e,_e(typeof e.type!="string");const u=Ko(e);this.animation=Uo(n,s,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=tn(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):Bo(n,s,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return W(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+W(e)}get time(){return W(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=z(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&jo()?(this.animation.timeline=e,$):n(this)}}const xi={anticipate:qs,backInOut:Ys,circInOut:Js};function $o(t){return t in xi}function _o(t){typeof t.ease=="string"&&$o(t.ease)&&(t.ease=xi[t.ease])}const In=10;class Go extends Wo{constructor(e){_o(e),di(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:s,onComplete:i,element:o,...r}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const a=new nn({...r,autoplay:!1}),l=z(this.finishedTime??this.time);n.setWithVelocity(a.sample(l-In).value,a.sample(l).value,In),a.stop()}}const Bn=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Q.test(t)||t==="0")&&!t.startsWith("url("));function zo(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function Ho(t,e,n,s){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],r=Bn(i,e),a=Bn(o,e);return!r||!a?!1:zo(t)||(n==="spring"||vi(n))&&s}function Me(t){t.duration=0,t.type="keyframes"}const Xo=new Set(["opacity","clipPath","filter","transform"]),Yo=Ge(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function qo(t){const{motionValue:e,name:n,repeatDelay:s,repeatType:i,damping:o,type:r}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=e.owner.getProps();return Yo()&&n&&Xo.has(n)&&(n!=="transform"||!u)&&!l&&!s&&i!=="mirror"&&o!==0&&r!=="inertia"}const Zo=40;class Jo extends en{constructor({autoplay:e=!0,delay:n=0,type:s="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",keyframes:a,name:l,motionValue:u,element:c,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=N.now();const f={autoplay:e,delay:n,type:s,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:u,element:c,...h},d=c?.KeyframeResolver||sn;this.keyframeResolver=new d(a,(m,g,x)=>this.onKeyframesResolved(m,g,f,!x),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,n,s,i){this.keyframeResolver=void 0;const{name:o,type:r,velocity:a,delay:l,isHandoff:u,onUpdate:c}=s;this.resolvedAt=N.now(),Ho(e,o,r,a)||((Y.instantAnimations||!l)&&c?.(tn(e,s,n)),e[0]=e[e.length-1],Me(s),s.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Zo?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:e},d=!u&&qo(f)?new Go({...f,element:f.motionValue.owner.current}):new nn(f);d.finished.then(()=>this.notifyFinished()).catch($),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Fo()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Qo=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ta(t){const e=Qo.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function Ti(t,e,n=1){const[s,i]=ta(t);if(!s)return;const o=window.getComputedStyle(e).getPropertyValue(s);if(o){const r=o.trim();return Ks(r)?parseFloat(r):r}return Ye(i)?Ti(i,e,n+1):i}function rn(t,e){return t?.[e]??t?.default??t}const Pi=new Set(["width","height","top","left","right","bottom",...xt]),ea={test:t=>t==="auto",parse:t=>t},Si=t=>e=>e.test(t),bi=[vt,S,H,Z,Gr,_r,ea],jn=t=>bi.find(Si(t));function na(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||$s(t):!0}const sa=new Set(["brightness","contrast","saturate","opacity"]);function ia(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(qe)||[];if(!s)return t;const i=n.replace(s,"");let o=sa.has(e)?1:0;return s!==n&&(o*=100),e+"("+o+i+")"}const ra=/\b([a-z-]*)\(.*?\)/gu,De={...Q,getAnimatableNone:t=>{const e=t.match(ra);return e?e.map(ia).join(" "):t}},On={...vt,transform:Math.round},oa={rotate:Z,rotateX:Z,rotateY:Z,rotateZ:Z,scale:Ot,scaleX:Ot,scaleY:Ot,scaleZ:Ot,skew:Z,skewX:Z,skewY:Z,distance:S,translateX:S,translateY:S,translateZ:S,x:S,y:S,z:S,perspective:S,transformPerspective:S,opacity:Dt,originX:An,originY:An,originZ:S},on={borderWidth:S,borderTopWidth:S,borderRightWidth:S,borderBottomWidth:S,borderLeftWidth:S,borderRadius:S,radius:S,borderTopLeftRadius:S,borderTopRightRadius:S,borderBottomRightRadius:S,borderBottomLeftRadius:S,width:S,maxWidth:S,height:S,maxHeight:S,top:S,right:S,bottom:S,left:S,padding:S,paddingTop:S,paddingRight:S,paddingBottom:S,paddingLeft:S,margin:S,marginTop:S,marginRight:S,marginBottom:S,marginLeft:S,backgroundPositionX:S,backgroundPositionY:S,...oa,zIndex:On,fillOpacity:Dt,strokeOpacity:Dt,numOctaves:On},aa={...on,color:E,backgroundColor:E,outlineColor:E,fill:E,stroke:E,borderColor:E,borderTopColor:E,borderRightColor:E,borderBottomColor:E,borderLeftColor:E,filter:De,WebkitFilter:De},wi=t=>aa[t];function Ai(t,e){let n=wi(t);return n!==De&&(n=Q),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const la=new Set(["auto","none","0"]);function ca(t,e,n){let s=0,i;for(;s<t.length&&!i;){const o=t[s];typeof o=="string"&&!la.has(o)&&Rt(o).values.length&&(i=t[s]),s++}if(i&&n)for(const o of e)t[o]=Ai(n,i)}class ua extends sn{constructor(e,n,s,i,o){super(e,n,s,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<e.length;l++){let u=e[l];if(typeof u=="string"&&(u=u.trim(),Ye(u))){const c=Ti(u,n.current);c!==void 0&&(e[l]=c),l===e.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!Pi.has(s)||e.length!==2)return;const[i,o]=e,r=jn(i),a=jn(o);if(r!==a)if(kn(r)&&kn(a))for(let l=0;l<e.length;l++){const u=e[l];typeof u=="string"&&(e[l]=parseFloat(u))}else ot[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,s=[];for(let i=0;i<e.length;i++)(e[i]===null||na(e[i]))&&s.push(i);s.length&&ca(e,s,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:s}=this;if(!e||!e.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ot[s](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&e.getValue(s,i).jump(i,!1)}measureEndState(){const{element:e,name:n,unresolvedKeyframes:s}=this;if(!e||!e.current)return;const i=e.getValue(n);i&&i.jump(this.measuredOrigin,!1);const o=s.length-1,r=s[o];s[o]=ot[n](e.measureViewportBox(),window.getComputedStyle(e.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,l])=>{e.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function ha(t,e,n){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let s=document;const i=n?.[t]??s.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}const Vi=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function Ci(t){return Ws(t)&&"offsetHeight"in t}const Nn=30,fa=t=>!isNaN(parseFloat(t));class da{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{const i=N.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=N.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=fa(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new ze);const s=this.events[e].add(n);return e==="change"?()=>{s(),M.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=N.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Nn)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Nn);return _s(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function gt(t,e){return new da(t,e)}const{schedule:an}=ei(queueMicrotask,!1),G={x:!1,y:!1};function Mi(){return G.x||G.y}function ma(t){return t==="x"||t==="y"?G[t]?null:(G[t]=!0,()=>{G[t]=!1}):G.x||G.y?null:(G.x=G.y=!0,()=>{G.x=G.y=!1})}function Di(t,e){const n=ha(t),s=new AbortController,i={passive:!0,...e,signal:s.signal};return[n,i,()=>s.abort()]}function Un(t){return!(t.pointerType==="touch"||Mi())}function pa(t,e,n={}){const[s,i,o]=Di(t,n),r=a=>{if(!Un(a))return;const{target:l}=a,u=e(l,a);if(typeof u!="function"||!l)return;const c=h=>{Un(h)&&(u(h),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return s.forEach(a=>{a.addEventListener("pointerenter",r,i)}),o}const Ri=(t,e)=>e?t===e?!0:Ri(t,e.parentElement):!1,ln=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,ga=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ya(t){return ga.has(t.tagName)||t.tabIndex!==-1}const Wt=new WeakSet;function Kn(t){return e=>{e.key==="Enter"&&t(e)}}function ae(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const va=(t,e)=>{const n=t.currentTarget;if(!n)return;const s=Kn(()=>{if(Wt.has(n))return;ae(n,"down");const i=Kn(()=>{ae(n,"up")}),o=()=>ae(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",s,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),e)};function Wn(t){return ln(t)&&!Mi()}function xa(t,e,n={}){const[s,i,o]=Di(t,n),r=a=>{const l=a.currentTarget;if(!Wn(a))return;Wt.add(l);const u=e(l,a),c=(d,m)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),Wt.has(l)&&Wt.delete(l),Wn(d)&&typeof u=="function"&&u(d,{success:m})},h=d=>{c(d,l===window||l===document||n.useGlobalTarget||Ri(l,d.target))},f=d=>{c(d,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",f,i)};return s.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),Ci(a)&&(a.addEventListener("focus",u=>va(u,i)),!ya(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Ei(t){return Ws(t)&&"ownerSVGElement"in t}function Ta(t){return Ei(t)&&t.tagName==="svg"}const B=t=>!!(t&&t.getVelocity),Pa=[...bi,E,Q],Sa=t=>Pa.find(Si(t)),cn=v.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function $n(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function ba(...t){return e=>{let n=!1;const s=t.map(i=>{const o=$n(i,e);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<s.length;i++){const o=s[i];typeof o=="function"?o():$n(t[i],null)}}}}function wa(...t){return v.useCallback(ba(...t),t)}class Aa extends v.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const s=n.offsetParent,i=Ci(s)&&s.offsetWidth||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Va({children:t,isPresent:e,anchorX:n,root:s}){const i=v.useId(),o=v.useRef(null),r=v.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:a}=v.useContext(cn),l=wa(o,t?.ref);return v.useInsertionEffect(()=>{const{width:u,height:c,top:h,left:f,right:d}=r.current;if(e||!o.current||!u||!c)return;const m=n==="left"?`left: ${f}`:`right: ${d}`;o.current.dataset.motionPopId=i;const g=document.createElement("style");a&&(g.nonce=a);const x=s??document.head;return x.appendChild(g),g.sheet&&g.sheet.insertRule(`
|
|
1
|
+
import{r as v,j as C}from"./iframe-CLEfhyJc.js";import{c as Pr,g as Ns}from"./classname-DoNrELT0.js";import{r as Sn}from"./blocks-CpOj9FQ_.js";import{r as Sr,I as bn}from"./icon-TJ3FHxUI.js";import{T as br}from"./typography-DoV67nnS.js";import{c as wr}from"./react-mAVd1wAc.js";import{B as Ar}from"./button-GtWXUngt.js";const Ne=v.createContext({});function Ue(t){const e=v.useRef(null);return e.current===null&&(e.current=t()),e.current}const Ke=typeof window<"u",Us=Ke?v.useLayoutEffect:v.useEffect,Jt=v.createContext(null);function We(t,e){t.indexOf(e)===-1&&t.push(e)}function $e(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const X=(t,e,n)=>n>e?e:n<t?t:n;let _e=()=>{};const Y={},Ks=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function Ws(t){return typeof t=="object"&&t!==null}const $s=t=>/^0[^.\s]+$/u.test(t);function Ge(t){let e;return()=>(e===void 0&&(e=t()),e)}const $=t=>t,Vr=(t,e)=>n=>e(t(n)),kt=(...t)=>t.reduce(Vr),Mt=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s};class ze{constructor(){this.subscriptions=[]}add(e){return We(this.subscriptions,e),()=>$e(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let o=0;o<i;o++){const r=this.subscriptions[o];r&&r(e,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const z=t=>t*1e3,W=t=>t/1e3;function _s(t,e){return e?t*(1e3/e):0}const Gs=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Cr=1e-7,Mr=12;function Dr(t,e,n,s,i){let o,r,a=0;do r=e+(n-e)/2,o=Gs(r,s,i)-t,o>0?n=r:e=r;while(Math.abs(o)>Cr&&++a<Mr);return r}function Ft(t,e,n,s){if(t===e&&n===s)return $;const i=o=>Dr(o,0,1,t,n);return o=>o===0||o===1?o:Gs(i(o),e,s)}const zs=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Hs=t=>e=>1-t(1-e),Xs=Ft(.33,1.53,.69,.99),He=Hs(Xs),Ys=zs(He),qs=t=>(t*=2)<1?.5*He(t):.5*(2-Math.pow(2,-10*(t-1))),Xe=t=>1-Math.sin(Math.acos(t)),Zs=Hs(Xe),Js=zs(Xe),Rr=Ft(.42,0,1,1),Er=Ft(0,0,.58,1),Qs=Ft(.42,0,.58,1),Lr=t=>Array.isArray(t)&&typeof t[0]!="number",ti=t=>Array.isArray(t)&&typeof t[0]=="number",kr={linear:$,easeIn:Rr,easeInOut:Qs,easeOut:Er,circIn:Xe,circInOut:Js,circOut:Zs,backIn:He,backInOut:Ys,backOut:Xs,anticipate:qs},Fr=t=>typeof t=="string",wn=t=>{if(ti(t)){_e(t.length===4);const[e,n,s,i]=t;return Ft(e,n,s,i)}else if(Fr(t))return kr[t];return t},jt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Ir(t,e){let n=new Set,s=new Set,i=!1,o=!1;const r=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(c){r.has(c)&&(u.schedule(c),t()),c(a)}const u={schedule:(c,h=!1,f=!1)=>{const m=f&&i?n:s;return h&&r.add(c),m.has(c)||m.add(c),c},cancel:c=>{s.delete(c),r.delete(c)},process:c=>{if(a=c,i){o=!0;return}i=!0,[n,s]=[s,n],n.forEach(l),n.clear(),i=!1,o&&(o=!1,u.process(c))}};return u}const Br=40;function ei(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=jt.reduce((y,w)=>(y[w]=Ir(o),y),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:h,preRender:f,render:d,postRender:m}=r,g=()=>{const y=Y.useManualTiming?i.timestamp:performance.now();n=!1,Y.useManualTiming||(i.delta=s?1e3/60:Math.max(Math.min(y-i.timestamp,Br),1)),i.timestamp=y,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),h.process(i),f.process(i),d.process(i),m.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(g))},x=()=>{n=!0,s=!0,i.isProcessing||t(g)};return{schedule:jt.reduce((y,w)=>{const P=r[w];return y[w]=(A,V=!1,b=!1)=>(n||x(),P.schedule(A,V,b)),y},{}),cancel:y=>{for(let w=0;w<jt.length;w++)r[jt[w]].cancel(y)},state:i,steps:r}}const{schedule:M,cancel:J,state:I,steps:ne}=ei(typeof requestAnimationFrame<"u"?requestAnimationFrame:$,!0);let Kt;function jr(){Kt=void 0}const N={now:()=>(Kt===void 0&&N.set(I.isProcessing||Y.useManualTiming?I.timestamp:performance.now()),Kt),set:t=>{Kt=t,queueMicrotask(jr)}},ni=t=>e=>typeof e=="string"&&e.startsWith(t),si=ni("--"),Or=ni("var(--"),Ye=t=>Or(t)?Nr.test(t.split("/*")[0].trim()):!1,Nr=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,vt={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Dt={...vt,transform:t=>X(0,1,t)},Ot={...vt,default:1},wt=t=>Math.round(t*1e5)/1e5,qe=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Ur(t){return t==null}const Kr=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ze=(t,e)=>n=>!!(typeof n=="string"&&Kr.test(n)&&n.startsWith(t)||e&&!Ur(n)&&Object.prototype.hasOwnProperty.call(n,e)),ii=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,o,r,a]=s.match(qe);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},Wr=t=>X(0,255,t),se={...vt,transform:t=>Math.round(Wr(t))},it={test:Ze("rgb","red"),parse:ii("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+se.transform(t)+", "+se.transform(e)+", "+se.transform(n)+", "+wt(Dt.transform(s))+")"};function $r(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const ye={test:Ze("#"),parse:$r,transform:it.transform},It=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Z=It("deg"),H=It("%"),S=It("px"),_r=It("vh"),Gr=It("vw"),An={...H,parse:t=>H.parse(t)/100,transform:t=>H.transform(t*100)},ct={test:Ze("hsl","hue"),parse:ii("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+H.transform(wt(e))+", "+H.transform(wt(n))+", "+wt(Dt.transform(s))+")"},E={test:t=>it.test(t)||ye.test(t)||ct.test(t),parse:t=>it.test(t)?it.parse(t):ct.test(t)?ct.parse(t):ye.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?it.transform(t):ct.transform(t),getAnimatableNone:t=>{const e=E.parse(t);return e.alpha=0,E.transform(e)}},zr=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Hr(t){return isNaN(t)&&typeof t=="string"&&(t.match(qe)?.length||0)+(t.match(zr)?.length||0)>0}const ri="number",oi="color",Xr="var",Yr="var(",Vn="${}",qr=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Rt(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(qr,l=>(E.test(l)?(s.color.push(o),i.push(oi),n.push(E.parse(l))):l.startsWith(Yr)?(s.var.push(o),i.push(Xr),n.push(l)):(s.number.push(o),i.push(ri),n.push(parseFloat(l))),++o,Vn)).split(Vn);return{values:n,split:a,indexes:s,types:i}}function ai(t){return Rt(t).values}function li(t){const{split:e,types:n}=Rt(t),s=e.length;return i=>{let o="";for(let r=0;r<s;r++)if(o+=e[r],i[r]!==void 0){const a=n[r];a===ri?o+=wt(i[r]):a===oi?o+=E.transform(i[r]):o+=i[r]}return o}}const Zr=t=>typeof t=="number"?0:E.test(t)?E.getAnimatableNone(t):t;function Jr(t){const e=ai(t);return li(t)(e.map(Zr))}const Q={test:Hr,parse:ai,createTransformer:li,getAnimatableNone:Jr};function ie(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Qr({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,o=0,r=0;if(!e)i=o=r=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;i=ie(l,a,t+1/3),o=ie(l,a,t),r=ie(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:s}}function Gt(t,e){return n=>n>0?e:t}const D=(t,e,n)=>t+(e-t)*n,re=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},to=[ye,it,ct],eo=t=>to.find(e=>e.test(t));function Cn(t){const e=eo(t);if(!e)return!1;let n=e.parse(t);return e===ct&&(n=Qr(n)),n}const Mn=(t,e)=>{const n=Cn(t),s=Cn(e);if(!n||!s)return Gt(t,e);const i={...n};return o=>(i.red=re(n.red,s.red,o),i.green=re(n.green,s.green,o),i.blue=re(n.blue,s.blue,o),i.alpha=D(n.alpha,s.alpha,o),it.transform(i))},ve=new Set(["none","hidden"]);function no(t,e){return ve.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function so(t,e){return n=>D(t,e,n)}function Je(t){return typeof t=="number"?so:typeof t=="string"?Ye(t)?Gt:E.test(t)?Mn:oo:Array.isArray(t)?ci:typeof t=="object"?E.test(t)?Mn:io:Gt}function ci(t,e){const n=[...t],s=n.length,i=t.map((o,r)=>Je(o)(o,e[r]));return o=>{for(let r=0;r<s;r++)n[r]=i[r](o);return n}}function io(t,e){const n={...t,...e},s={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(s[i]=Je(t[i])(t[i],e[i]));return i=>{for(const o in s)n[o]=s[o](i);return n}}function ro(t,e){const n=[],s={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const o=e.types[i],r=t.indexes[o][s[o]],a=t.values[r]??0;n[i]=a,s[o]++}return n}const oo=(t,e)=>{const n=Q.createTransformer(e),s=Rt(t),i=Rt(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?ve.has(t)&&!i.values.length||ve.has(e)&&!s.values.length?no(t,e):kt(ci(ro(s,i),i.values),n):Gt(t,e)};function ui(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?D(t,e,n):Je(t)(t,e)}const ao=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>M.update(e,n),stop:()=>J(e),now:()=>I.isProcessing?I.timestamp:N.now()}},hi=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let o=0;o<i;o++)s+=Math.round(t(o/(i-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},zt=2e4;function Qe(t){let e=0;const n=50;let s=t.next(e);for(;!s.done&&e<zt;)e+=n,s=t.next(e);return e>=zt?1/0:e}function lo(t,e=100,n){const s=n({...t,keyframes:[0,e]}),i=Math.min(Qe(s),zt);return{type:"keyframes",ease:o=>s.next(i*o).value/e,duration:W(i)}}const co=5;function fi(t,e,n){const s=Math.max(e-co,0);return _s(n-t(s),e-s)}const R={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},oe=.001;function uo({duration:t=R.duration,bounce:e=R.bounce,velocity:n=R.velocity,mass:s=R.mass}){let i,o,r=1-e;r=X(R.minDamping,R.maxDamping,r),t=X(R.minDuration,R.maxDuration,W(t)),r<1?(i=u=>{const c=u*r,h=c*t,f=c-n,d=xe(u,r),m=Math.exp(-h);return oe-f/d*m},o=u=>{const h=u*r*t,f=h*n+n,d=Math.pow(r,2)*Math.pow(u,2)*t,m=Math.exp(-h),g=xe(Math.pow(u,2),r);return(-i(u)+oe>0?-1:1)*((f-d)*m)/g}):(i=u=>{const c=Math.exp(-u*t),h=(u-n)*t+1;return-oe+c*h},o=u=>{const c=Math.exp(-u*t),h=(n-u)*(t*t);return c*h});const a=5/t,l=fo(i,o,a);if(t=z(t),isNaN(l))return{stiffness:R.stiffness,damping:R.damping,duration:t};{const u=Math.pow(l,2)*s;return{stiffness:u,damping:r*2*Math.sqrt(s*u),duration:t}}}const ho=12;function fo(t,e,n){let s=n;for(let i=1;i<ho;i++)s=s-t(s)/e(s);return s}function xe(t,e){return t*Math.sqrt(1-e*e)}const mo=["duration","bounce"],po=["stiffness","damping","mass"];function Dn(t,e){return e.some(n=>t[n]!==void 0)}function go(t){let e={velocity:R.velocity,stiffness:R.stiffness,damping:R.damping,mass:R.mass,isResolvedFromDuration:!1,...t};if(!Dn(t,po)&&Dn(t,mo))if(t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,o=2*X(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:R.mass,stiffness:i,damping:o}}else{const n=uo(t);e={...e,...n,mass:R.mass},e.isResolvedFromDuration=!0}return e}function Ht(t=R.visualDuration,e=R.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const o=n.keyframes[0],r=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:h,velocity:f,isResolvedFromDuration:d}=go({...n,velocity:-W(n.velocity||0)}),m=f||0,g=u/(2*Math.sqrt(l*c)),x=r-o,p=W(Math.sqrt(l/c)),T=Math.abs(x)<5;s||(s=T?R.restSpeed.granular:R.restSpeed.default),i||(i=T?R.restDelta.granular:R.restDelta.default);let y;if(g<1){const P=xe(p,g);y=A=>{const V=Math.exp(-g*p*A);return r-V*((m+g*p*x)/P*Math.sin(P*A)+x*Math.cos(P*A))}}else if(g===1)y=P=>r-Math.exp(-p*P)*(x+(m+p*x)*P);else{const P=p*Math.sqrt(g*g-1);y=A=>{const V=Math.exp(-g*p*A),b=Math.min(P*A,300);return r-V*((m+g*p*x)*Math.sinh(b)+P*x*Math.cosh(b))/P}}const w={calculatedDuration:d&&h||null,next:P=>{const A=y(P);if(d)a.done=P>=h;else{let V=P===0?m:0;g<1&&(V=P===0?z(m):fi(y,P,A));const b=Math.abs(V)<=s,k=Math.abs(r-A)<=i;a.done=b&&k}return a.value=a.done?r:A,a},toString:()=>{const P=Math.min(Qe(w),zt),A=hi(V=>w.next(P*V).value,P,30);return P+"ms "+A},toTransition:()=>{}};return w}Ht.applyToOptions=t=>{const e=lo(t,100,Ht);return t.ease=e.ease,t.duration=z(e.duration),t.type="keyframes",t};function Te({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],f={done:!1,value:h},d=b=>a!==void 0&&b<a||l!==void 0&&b>l,m=b=>a===void 0?l:l===void 0||Math.abs(a-b)<Math.abs(l-b)?a:l;let g=n*e;const x=h+g,p=r===void 0?x:r(x);p!==x&&(g=p-h);const T=b=>-g*Math.exp(-b/s),y=b=>p+T(b),w=b=>{const k=T(b),j=y(b);f.done=Math.abs(k)<=u,f.value=f.done?p:j};let P,A;const V=b=>{d(f.value)&&(P=b,A=Ht({keyframes:[f.value,m(f.value)],velocity:fi(y,b,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return V(0),{calculatedDuration:null,next:b=>{let k=!1;return!A&&P===void 0&&(k=!0,w(b),V(b)),P!==void 0&&b>=P?A.next(b-P):(!k&&w(b),f)}}}function yo(t,e,n){const s=[],i=n||Y.mix||ui,o=t.length-1;for(let r=0;r<o;r++){let a=i(t[r],t[r+1]);if(e){const l=Array.isArray(e)?e[r]||$:e;a=kt(l,a)}s.push(a)}return s}function vo(t,e,{clamp:n=!0,ease:s,mixer:i}={}){const o=t.length;if(_e(o===e.length),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=yo(e,s,i),l=a.length,u=c=>{if(r&&c<t[0])return e[0];let h=0;if(l>1)for(;h<t.length-2&&!(c<t[h+1]);h++);const f=Mt(t[h],t[h+1],c);return a[h](f)};return n?c=>u(X(t[0],t[o-1],c)):u}function xo(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=Mt(0,e,s);t.push(D(n,1,i))}}function To(t){const e=[0];return xo(e,t.length-1),e}function Po(t,e){return t.map(n=>n*e)}function So(t,e){return t.map(()=>e||Qs).splice(0,t.length-1)}function At({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=Lr(s)?s.map(wn):wn(s),o={done:!1,value:e[0]},r=Po(n&&n.length===e.length?n:To(e),t),a=vo(r,e,{ease:Array.isArray(i)?i:So(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const bo=t=>t!==null;function tn(t,{repeat:e,repeatType:n="loop"},s,i=1){const o=t.filter(bo),a=i<0||e&&n!=="loop"&&e%2===1?0:o.length-1;return!a||s===void 0?o[a]:s}const wo={decay:Te,inertia:Te,tween:At,keyframes:At,spring:Ht};function di(t){typeof t.type=="string"&&(t.type=wo[t.type])}class en{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const Ao=t=>t/100;class nn extends en{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==N.now()&&this.tick(N.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;di(e);const{type:n=At,repeat:s=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=n||At;l!==At&&typeof a[0]!="number"&&(this.mixKeyframes=kt(Ao,ui(a[0],a[1])),a=[0,100]);const u=l({...e,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-r})),u.calculatedDuration===null&&(u.calculatedDuration=Qe(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(s+1)-i,this.generator=u}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:s,totalDuration:i,mixKeyframes:o,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return s.next(0);const{delay:u=0,keyframes:c,repeat:h,repeatType:f,repeatDelay:d,type:m,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const p=this.currentTime-u*(this.playbackSpeed>=0?1:-1),T=this.playbackSpeed>=0?p<0:p>i;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let y=this.currentTime,w=s;if(h){const b=Math.min(this.currentTime,i)/a;let k=Math.floor(b),j=b%1;!j&&b>=1&&(j=1),j===1&&k--,k=Math.min(k,h+1),k%2&&(f==="reverse"?(j=1-j,d&&(j-=d/a)):f==="mirror"&&(w=r)),y=X(0,1,j)*a}const P=T?{done:!1,value:c[0]}:w.next(y);o&&(P.value=o(P.value));let{done:A}=P;!T&&l!==null&&(A=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const V=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&A);return V&&m!==Te&&(P.value=tn(c,this.options,x,this.speed)),g&&g(P.value),V&&this.finish(),P}then(e,n){return this.finished.then(e,n)}get duration(){return W(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+W(e)}get time(){return W(this.currentTime)}set time(e){e=z(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(N.now());const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=W(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=ao,startTime:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=n??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(N.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function Vo(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const rt=t=>t*180/Math.PI,Pe=t=>{const e=rt(Math.atan2(t[1],t[0]));return Se(e)},Co={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Pe,rotateZ:Pe,skewX:t=>rt(Math.atan(t[1])),skewY:t=>rt(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Se=t=>(t=t%360,t<0&&(t+=360),t),Rn=Pe,En=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Ln=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Mo={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:En,scaleY:Ln,scale:t=>(En(t)+Ln(t))/2,rotateX:t=>Se(rt(Math.atan2(t[6],t[5]))),rotateY:t=>Se(rt(Math.atan2(-t[2],t[0]))),rotateZ:Rn,rotate:Rn,skewX:t=>rt(Math.atan(t[4])),skewY:t=>rt(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function be(t){return t.includes("scale")?1:0}function we(t,e){if(!t||t==="none")return be(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,i;if(n)s=Mo,i=n;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=Co,i=a}if(!i)return be(e);const o=s[e],r=i[1].split(",").map(Ro);return typeof o=="function"?o(r):r[o]}const Do=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return we(n,e)};function Ro(t){return parseFloat(t.trim())}const xt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Tt=new Set(xt),kn=t=>t===vt||t===S,Eo=new Set(["x","y","z"]),Lo=xt.filter(t=>!Eo.has(t));function ko(t){const e=[];return Lo.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const ot={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>we(e,"x"),y:(t,{transform:e})=>we(e,"y")};ot.translateX=ot.x;ot.translateY=ot.y;const at=new Set;let Ae=!1,Ve=!1,Ce=!1;function mi(){if(Ve){const t=Array.from(at).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=ko(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([o,r])=>{s.getValue(o)?.set(r)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Ve=!1,Ae=!1,at.forEach(t=>t.complete(Ce)),at.clear()}function pi(){at.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Ve=!0)})}function Fo(){Ce=!0,pi(),mi(),Ce=!1}class sn{constructor(e,n,s,i,o,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(at.add(this),Ae||(Ae=!0,M.read(pi),M.resolveKeyframes(mi))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;if(e[0]===null){const o=i?.get(),r=e[e.length-1];if(o!==void 0)e[0]=o;else if(s&&n){const a=s.readValue(n,r);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=r),i&&o===void 0&&i.set(e[0])}Vo(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),at.delete(this)}cancel(){this.state==="scheduled"&&(at.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Io=t=>t.startsWith("--");function Bo(t,e,n){Io(e)?t.style.setProperty(e,n):t.style[e]=n}const jo=Ge(()=>window.ScrollTimeline!==void 0),Oo={};function No(t,e){const n=Ge(t);return()=>Oo[e]??n()}const gi=No(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),bt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,Fn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:bt([0,.65,.55,1]),circOut:bt([.55,0,1,.45]),backIn:bt([.31,.01,.66,-.59]),backOut:bt([.33,1.53,.69,.99])};function yi(t,e){if(t)return typeof t=="function"?gi()?hi(t,e):"ease-out":ti(t)?bt(t):Array.isArray(t)?t.map(n=>yi(n,e)||Fn.easeOut):Fn[t]}function Uo(t,e,n,{delay:s=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[e]:n};l&&(c.offset=l);const h=yi(a,i);Array.isArray(h)&&(c.easing=h);const f={delay:s,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),t.animate(c,f)}function vi(t){return typeof t=="function"&&"applyToOptions"in t}function Ko({type:t,...e}){return vi(t)&&gi()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class Wo extends en{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:n,name:s,keyframes:i,pseudoElement:o,allowFlatten:r=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=!!o,this.allowFlatten=r,this.options=e,_e(typeof e.type!="string");const u=Ko(e);this.animation=Uo(n,s,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=tn(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):Bo(n,s,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return W(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+W(e)}get time(){return W(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=z(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&jo()?(this.animation.timeline=e,$):n(this)}}const xi={anticipate:qs,backInOut:Ys,circInOut:Js};function $o(t){return t in xi}function _o(t){typeof t.ease=="string"&&$o(t.ease)&&(t.ease=xi[t.ease])}const In=10;class Go extends Wo{constructor(e){_o(e),di(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:s,onComplete:i,element:o,...r}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const a=new nn({...r,autoplay:!1}),l=z(this.finishedTime??this.time);n.setWithVelocity(a.sample(l-In).value,a.sample(l).value,In),a.stop()}}const Bn=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Q.test(t)||t==="0")&&!t.startsWith("url("));function zo(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function Ho(t,e,n,s){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],r=Bn(i,e),a=Bn(o,e);return!r||!a?!1:zo(t)||(n==="spring"||vi(n))&&s}function Me(t){t.duration=0,t.type="keyframes"}const Xo=new Set(["opacity","clipPath","filter","transform"]),Yo=Ge(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function qo(t){const{motionValue:e,name:n,repeatDelay:s,repeatType:i,damping:o,type:r}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=e.owner.getProps();return Yo()&&n&&Xo.has(n)&&(n!=="transform"||!u)&&!l&&!s&&i!=="mirror"&&o!==0&&r!=="inertia"}const Zo=40;class Jo extends en{constructor({autoplay:e=!0,delay:n=0,type:s="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",keyframes:a,name:l,motionValue:u,element:c,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=N.now();const f={autoplay:e,delay:n,type:s,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:u,element:c,...h},d=c?.KeyframeResolver||sn;this.keyframeResolver=new d(a,(m,g,x)=>this.onKeyframesResolved(m,g,f,!x),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,n,s,i){this.keyframeResolver=void 0;const{name:o,type:r,velocity:a,delay:l,isHandoff:u,onUpdate:c}=s;this.resolvedAt=N.now(),Ho(e,o,r,a)||((Y.instantAnimations||!l)&&c?.(tn(e,s,n)),e[0]=e[e.length-1],Me(s),s.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Zo?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:e},d=!u&&qo(f)?new Go({...f,element:f.motionValue.owner.current}):new nn(f);d.finished.then(()=>this.notifyFinished()).catch($),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Fo()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Qo=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ta(t){const e=Qo.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function Ti(t,e,n=1){const[s,i]=ta(t);if(!s)return;const o=window.getComputedStyle(e).getPropertyValue(s);if(o){const r=o.trim();return Ks(r)?parseFloat(r):r}return Ye(i)?Ti(i,e,n+1):i}function rn(t,e){return t?.[e]??t?.default??t}const Pi=new Set(["width","height","top","left","right","bottom",...xt]),ea={test:t=>t==="auto",parse:t=>t},Si=t=>e=>e.test(t),bi=[vt,S,H,Z,Gr,_r,ea],jn=t=>bi.find(Si(t));function na(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||$s(t):!0}const sa=new Set(["brightness","contrast","saturate","opacity"]);function ia(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(qe)||[];if(!s)return t;const i=n.replace(s,"");let o=sa.has(e)?1:0;return s!==n&&(o*=100),e+"("+o+i+")"}const ra=/\b([a-z-]*)\(.*?\)/gu,De={...Q,getAnimatableNone:t=>{const e=t.match(ra);return e?e.map(ia).join(" "):t}},On={...vt,transform:Math.round},oa={rotate:Z,rotateX:Z,rotateY:Z,rotateZ:Z,scale:Ot,scaleX:Ot,scaleY:Ot,scaleZ:Ot,skew:Z,skewX:Z,skewY:Z,distance:S,translateX:S,translateY:S,translateZ:S,x:S,y:S,z:S,perspective:S,transformPerspective:S,opacity:Dt,originX:An,originY:An,originZ:S},on={borderWidth:S,borderTopWidth:S,borderRightWidth:S,borderBottomWidth:S,borderLeftWidth:S,borderRadius:S,radius:S,borderTopLeftRadius:S,borderTopRightRadius:S,borderBottomRightRadius:S,borderBottomLeftRadius:S,width:S,maxWidth:S,height:S,maxHeight:S,top:S,right:S,bottom:S,left:S,padding:S,paddingTop:S,paddingRight:S,paddingBottom:S,paddingLeft:S,margin:S,marginTop:S,marginRight:S,marginBottom:S,marginLeft:S,backgroundPositionX:S,backgroundPositionY:S,...oa,zIndex:On,fillOpacity:Dt,strokeOpacity:Dt,numOctaves:On},aa={...on,color:E,backgroundColor:E,outlineColor:E,fill:E,stroke:E,borderColor:E,borderTopColor:E,borderRightColor:E,borderBottomColor:E,borderLeftColor:E,filter:De,WebkitFilter:De},wi=t=>aa[t];function Ai(t,e){let n=wi(t);return n!==De&&(n=Q),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const la=new Set(["auto","none","0"]);function ca(t,e,n){let s=0,i;for(;s<t.length&&!i;){const o=t[s];typeof o=="string"&&!la.has(o)&&Rt(o).values.length&&(i=t[s]),s++}if(i&&n)for(const o of e)t[o]=Ai(n,i)}class ua extends sn{constructor(e,n,s,i,o){super(e,n,s,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<e.length;l++){let u=e[l];if(typeof u=="string"&&(u=u.trim(),Ye(u))){const c=Ti(u,n.current);c!==void 0&&(e[l]=c),l===e.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!Pi.has(s)||e.length!==2)return;const[i,o]=e,r=jn(i),a=jn(o);if(r!==a)if(kn(r)&&kn(a))for(let l=0;l<e.length;l++){const u=e[l];typeof u=="string"&&(e[l]=parseFloat(u))}else ot[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,s=[];for(let i=0;i<e.length;i++)(e[i]===null||na(e[i]))&&s.push(i);s.length&&ca(e,s,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:s}=this;if(!e||!e.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ot[s](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&e.getValue(s,i).jump(i,!1)}measureEndState(){const{element:e,name:n,unresolvedKeyframes:s}=this;if(!e||!e.current)return;const i=e.getValue(n);i&&i.jump(this.measuredOrigin,!1);const o=s.length-1,r=s[o];s[o]=ot[n](e.measureViewportBox(),window.getComputedStyle(e.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,l])=>{e.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function ha(t,e,n){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let s=document;const i=n?.[t]??s.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}const Vi=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function Ci(t){return Ws(t)&&"offsetHeight"in t}const Nn=30,fa=t=>!isNaN(parseFloat(t));class da{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{const i=N.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=N.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=fa(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new ze);const s=this.events[e].add(n);return e==="change"?()=>{s(),M.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=N.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Nn)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Nn);return _s(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function gt(t,e){return new da(t,e)}const{schedule:an}=ei(queueMicrotask,!1),G={x:!1,y:!1};function Mi(){return G.x||G.y}function ma(t){return t==="x"||t==="y"?G[t]?null:(G[t]=!0,()=>{G[t]=!1}):G.x||G.y?null:(G.x=G.y=!0,()=>{G.x=G.y=!1})}function Di(t,e){const n=ha(t),s=new AbortController,i={passive:!0,...e,signal:s.signal};return[n,i,()=>s.abort()]}function Un(t){return!(t.pointerType==="touch"||Mi())}function pa(t,e,n={}){const[s,i,o]=Di(t,n),r=a=>{if(!Un(a))return;const{target:l}=a,u=e(l,a);if(typeof u!="function"||!l)return;const c=h=>{Un(h)&&(u(h),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return s.forEach(a=>{a.addEventListener("pointerenter",r,i)}),o}const Ri=(t,e)=>e?t===e?!0:Ri(t,e.parentElement):!1,ln=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,ga=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ya(t){return ga.has(t.tagName)||t.tabIndex!==-1}const Wt=new WeakSet;function Kn(t){return e=>{e.key==="Enter"&&t(e)}}function ae(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const va=(t,e)=>{const n=t.currentTarget;if(!n)return;const s=Kn(()=>{if(Wt.has(n))return;ae(n,"down");const i=Kn(()=>{ae(n,"up")}),o=()=>ae(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",s,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),e)};function Wn(t){return ln(t)&&!Mi()}function xa(t,e,n={}){const[s,i,o]=Di(t,n),r=a=>{const l=a.currentTarget;if(!Wn(a))return;Wt.add(l);const u=e(l,a),c=(d,m)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),Wt.has(l)&&Wt.delete(l),Wn(d)&&typeof u=="function"&&u(d,{success:m})},h=d=>{c(d,l===window||l===document||n.useGlobalTarget||Ri(l,d.target))},f=d=>{c(d,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",f,i)};return s.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),Ci(a)&&(a.addEventListener("focus",u=>va(u,i)),!ya(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Ei(t){return Ws(t)&&"ownerSVGElement"in t}function Ta(t){return Ei(t)&&t.tagName==="svg"}const B=t=>!!(t&&t.getVelocity),Pa=[...bi,E,Q],Sa=t=>Pa.find(Si(t)),cn=v.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function $n(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function ba(...t){return e=>{let n=!1;const s=t.map(i=>{const o=$n(i,e);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<s.length;i++){const o=s[i];typeof o=="function"?o():$n(t[i],null)}}}}function wa(...t){return v.useCallback(ba(...t),t)}class Aa extends v.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const s=n.offsetParent,i=Ci(s)&&s.offsetWidth||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Va({children:t,isPresent:e,anchorX:n,root:s}){const i=v.useId(),o=v.useRef(null),r=v.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:a}=v.useContext(cn),l=wa(o,t?.ref);return v.useInsertionEffect(()=>{const{width:u,height:c,top:h,left:f,right:d}=r.current;if(e||!o.current||!u||!c)return;const m=n==="left"?`left: ${f}`:`right: ${d}`;o.current.dataset.motionPopId=i;const g=document.createElement("style");a&&(g.nonce=a);const x=s??document.head;return x.appendChild(g),g.sheet&&g.sheet.insertRule(`
|
|
2
2
|
[data-motion-pop-id="${i}"] {
|
|
3
3
|
position: absolute !important;
|
|
4
4
|
width: ${u}px !important;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o}from"./iframe-
|
|
1
|
+
import{j as o}from"./iframe-CLEfhyJc.js";import{T as M,S as k,M as y,P as N,a as T}from"./blocks-CpOj9FQ_.js";import{T as e,a as j}from"./toast-provider-B9k1NBG6.js";import{B as s}from"./button-GtWXUngt.js";import{t}from"./store-D2RudmNr.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CaMbLGUB.js";import"./classname-DoNrELT0.js";import"./icon-TJ3FHxUI.js";import"./colors-_6nFGM3e.js";import"./typography-DoV67nnS.js";import"./react-mAVd1wAc.js";const D=()=>{const n=`
|
|
2
2
|
## ${t("common.table.title")}
|
|
3
3
|
|
|
4
4
|
| ${t("common.table.name")} | ${t("common.table.type")} | ${t("common.table.required")} | ${t("common.table.description")} |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as o}from"./iframe-
|
|
1
|
+
import{j as o}from"./iframe-CLEfhyJc.js";import{c as e,g as n}from"./classname-DoNrELT0.js";import{I as p}from"./icon-TJ3FHxUI.js";const s=n("tooltip"),d=r=>{const{type:a="default",position:t="top",closeable:i,className:c,children:l,...m}=r;return o.jsxs("div",{className:e(s,`${s}--${a}`,c),...m,children:[o.jsx("div",{className:e(`${s}__arrow`,`${s}__arrow--${t}`,`${s}__arrow--${a}`)}),o.jsx("div",{className:`${s}__content`,children:l}),i&&o.jsx("div",{className:`${s}__close`,children:o.jsx(p,{name:"xmark",size:16})})]})};d.__docgenInfo={description:"",methods:[],displayName:"Tooltip"};export{d as T};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t}from"./iframe-
|
|
1
|
+
import{j as t}from"./iframe-CLEfhyJc.js";import{T as e}from"./tooltip-VnA8Hy0S.js";import{t as o}from"./store-D2RudmNr.js";import{T as a,S as d,M as c,P as g,a as h}from"./blocks-CpOj9FQ_.js";import"./preload-helper-PPVm8Dsz.js";import"./classname-DoNrELT0.js";import"./icon-TJ3FHxUI.js";import"./colors-_6nFGM3e.js";import"./index-CaMbLGUB.js";const x=()=>{const m=`
|
|
2
2
|
## ${o("common.table.title")}
|
|
3
3
|
| ${o("common.table.name")} | ${o("common.table.type")} | ${o("common.table.required")} | ${o("common.table.description")} |
|
|
4
4
|
| :--- | :--- | :---: | :--- |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as l}from"./iframe-
|
|
1
|
+
import{j as l}from"./iframe-CLEfhyJc.js";import{c as m,g as n}from"./classname-DoNrELT0.js";import{g as f}from"./colors-_6nFGM3e.js";const e=n("typography"),u=({component:s,size:a="inherit",weight:o="inherit",color:r,className:t,...i})=>{const p=s||"div";return l.jsx(p,{className:m(e,`${e}__size--${a}`,`${e}__weight--${o}`,t),...i,style:{color:f(r)}})};u.__docgenInfo={description:"",methods:[],displayName:"Typography",props:{size:{defaultValue:{value:"'inherit'",computed:!1},required:!1},weight:{defaultValue:{value:"'inherit'",computed:!1},required:!1}}};export{u as T};
|