@rainbow-robotics/preview-host 1.3.6-dev.8 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/assets/{AmrCapabilityControl.DylvnUEO.js → AmrCapabilityControl.BrB4gWci.js} +1 -1
  2. package/dist/assets/RbLocalizationProvider.CMEaJz_8.js +311 -0
  3. package/dist/assets/__federation_expose_App.BtK24QCB.js +1350 -0
  4. package/dist/assets/__federation_fn_import.DdkEuT6t.js +23 -0
  5. package/dist/assets/__federation_shared_@emotion/{styled.CajkAQAy.js → styled.ETfwMsQo.js} +1 -1
  6. package/dist/assets/__federation_shared_@tanstack/{react-query.DZtZx7JL.js → react-query.fVz8BOIk.js} +1 -1
  7. package/dist/assets/{cssMode.Dtrsp9Hl.js → cssMode.EEbNlNtF.js} +1 -1
  8. package/dist/assets/{emotion-styled-base.browser.esm.BLoY4bbE.js → emotion-styled-base.browser.esm.BIcjgOzg.js} +1 -1
  9. package/dist/assets/{freemarker2.CyJpVLMx.js → freemarker2.CnBD5I4p.js} +1 -1
  10. package/dist/assets/{handlebars.CsnXKzpH.js → handlebars.COGiavr-.js} +1 -1
  11. package/dist/assets/{html.Cs-v4IId.js → html.BigkG63T.js} +1 -1
  12. package/dist/assets/{htmlMode.BkLJ-g13.js → htmlMode.BFqQcR9K.js} +1 -1
  13. package/dist/assets/{index.B34TfqNB.js → index.1gxtOcyM.js} +1 -1
  14. package/dist/assets/index.BFyW4OKK.js +1 -0
  15. package/dist/assets/{MapInfo.CrdLZcke.js → index.D7QGPpBS.js} +6 -11
  16. package/dist/assets/{javascript.CnXk03IN.js → javascript.CmJH3eOS.js} +1 -1
  17. package/dist/assets/{jsonMode.DHUETSBC.js → jsonMode.XZLue_kY.js} +1 -1
  18. package/dist/assets/{liquid.ycj1GnlX.js → liquid.kUSJggwm.js} +1 -1
  19. package/dist/assets/{lspLanguageFeatures.qBXuaIUh.js → lspLanguageFeatures.DgJgA_Mi.js} +1 -1
  20. package/dist/assets/{mdx.DQv9SiE_.js → mdx.DuUa6LG4.js} +1 -1
  21. package/dist/assets/{python.CGG4dQnL.js → python.4mFHFFoP.js} +1 -1
  22. package/dist/assets/{razor.BfFBX4H4.js → razor.CVLwv3TS.js} +1 -1
  23. package/dist/assets/remoteEntry.js +1 -1
  24. package/dist/assets/{tsMode.BRgsBy91.js → tsMode.CXJykgGy.js} +1 -1
  25. package/dist/assets/{typescript.BTl_2OW3.js → typescript.DgyEkW4L.js} +1 -1
  26. package/dist/assets/useFileDownload.BFL8lywd.js +4753 -0
  27. package/dist/assets/{xml.CCn6EavV.js → xml.BEm17y6w.js} +1 -1
  28. package/dist/assets/{yaml.D2ikp_I-.js → yaml.CEKLGBGL.js} +1 -1
  29. package/dist/imgs/nexus/forms/gripper/gripper_23.png +0 -0
  30. package/dist/index.html +7 -8
  31. package/dist/plugin-shared/plugin-ui_react.js +1 -1
  32. package/package.json +1 -1
  33. package/dist/assets/RbLocalizationProvider.929YVAAi.js +0 -301
  34. package/dist/assets/__federation_expose_App.MoFBQejr.js +0 -1288
  35. package/dist/assets/__federation_fn_import.ByOnqCI5.js +0 -24
  36. package/dist/assets/index.BHxdk7pU.js +0 -1
  37. package/dist/assets/index.BkLy899B.js +0 -1
  38. package/dist/assets/useJsonFileDownload.DzAbJDyG.js +0 -4773
@@ -0,0 +1,311 @@
1
+ import{importShared as q}from"./__federation_fn_import.DdkEuT6t.js";import{j as Z}from"./jsx-runtime.CBqCNPYB.js";import{h as q6,E as U6,a as Y6,c as G6}from"./emotion-styled-base.browser.esm.BIcjgOzg.js";import{c as Rp,r as Qv,g as Ea}from"./index.P6snMalu.js";var Fm={exports:{}},vn={};/** @license React v16.13.1
2
+ * react-is.production.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */var Ey;function TO(){if(Ey)return vn;Ey=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,r=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,i=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,d=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,y=t?Symbol.for("react.fundamental"):60117,_=t?Symbol.for("react.responder"):60118,S=t?Symbol.for("react.scope"):60119;function x(R){if(typeof R=="object"&&R!==null){var P=R.$$typeof;switch(P){case e:switch(R=R.type,R){case l:case u:case r:case a:case o:case f:return R;default:switch(R=R&&R.$$typeof,R){case s:case d:case g:case v:case i:return R;default:return P}}case n:return P}}}function C(R){return x(R)===u}return vn.AsyncMode=l,vn.ConcurrentMode=u,vn.ContextConsumer=s,vn.ContextProvider=i,vn.Element=e,vn.ForwardRef=d,vn.Fragment=r,vn.Lazy=g,vn.Memo=v,vn.Portal=n,vn.Profiler=a,vn.StrictMode=o,vn.Suspense=f,vn.isAsyncMode=function(R){return C(R)||x(R)===l},vn.isConcurrentMode=C,vn.isContextConsumer=function(R){return x(R)===s},vn.isContextProvider=function(R){return x(R)===i},vn.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===e},vn.isForwardRef=function(R){return x(R)===d},vn.isFragment=function(R){return x(R)===r},vn.isLazy=function(R){return x(R)===g},vn.isMemo=function(R){return x(R)===v},vn.isPortal=function(R){return x(R)===n},vn.isProfiler=function(R){return x(R)===a},vn.isStrictMode=function(R){return x(R)===o},vn.isSuspense=function(R){return x(R)===f},vn.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===r||R===u||R===a||R===o||R===f||R===m||typeof R=="object"&&R!==null&&(R.$$typeof===g||R.$$typeof===v||R.$$typeof===i||R.$$typeof===s||R.$$typeof===d||R.$$typeof===y||R.$$typeof===_||R.$$typeof===S||R.$$typeof===w)},vn.typeOf=x,vn}var My;function NO(){return My||(My=1,Fm.exports=TO()),Fm.exports}var Vm,ky;function PO(){if(ky)return Vm;ky=1;var t=NO(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[t.ForwardRef]=r,a[t.Memo]=o;function i(g){return t.isMemo(g)?o:a[g.$$typeof]||e}var s=Object.defineProperty,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;function v(g,w,y){if(typeof w!="string"){if(m){var _=f(w);_&&_!==m&&v(g,_,y)}var S=l(w);u&&(S=S.concat(u(w)));for(var x=i(g),C=i(w),R=0;R<S.length;++R){var P=S[R];if(!n[P]&&!(y&&y[P])&&!(C&&C[P])&&!(x&&x[P])){var O=d(w,P);try{s(g,P,O)}catch{}}}}return g}return Vm=v,Vm}PO();var Mr=Z.Fragment,h=function(e,n,r){return q6.call(n,"css")?Z.jsx(U6,Y6(e,n),r):Z.jsx(e,n,r)},ne=function(e,n,r){return q6.call(n,"css")?Z.jsxs(U6,Y6(e,n),r):Z.jsxs(e,n,r)};function K6(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(n=K6(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function p0(){for(var t,e,n=0,r="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=K6(t))&&(r&&(r+=" "),r+=e);return r}const AO=(t,e)=>{const n=new Array(t.length+e.length);for(let r=0;r<t.length;r++)n[r]=t[r];for(let r=0;r<e.length;r++)n[t.length+r]=e[r];return n},IO=(t,e)=>({classGroupId:t,validator:e}),X6=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),h0="-",Ry=[],OO="arbitrary..",LO=t=>{const e=DO(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return $O(i);const s=i.split(h0),l=s[0]===""&&s.length>1?1:0;return Z6(s,l,e)},getConflictingClassGroupIds:(i,s)=>{if(s){const l=r[i],u=n[i];return l?u?AO(u,l):l:u||Ry}return n[i]||Ry}}},Z6=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const o=t[e],a=n.nextPart.get(o);if(a){const u=Z6(t,e+1,a);if(u)return u}const i=n.validators;if(i===null)return;const s=e===0?t.join(h0):t.slice(e).join(h0),l=i.length;for(let u=0;u<l;u++){const d=i[u];if(d.validator(s))return d.classGroupId}},$O=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),r=e.slice(0,n);return r?OO+r:void 0})(),DO=t=>{const{theme:e,classGroups:n}=t;return BO(n,e)},BO=(t,e)=>{const n=X6();for(const r in t){const o=t[r];Jv(o,n,r,e)}return n},Jv=(t,e,n,r)=>{const o=t.length;for(let a=0;a<o;a++){const i=t[a];zO(i,e,n,r)}},zO=(t,e,n,r)=>{if(typeof t=="string"){FO(t,e,n);return}if(typeof t=="function"){VO(t,e,n,r);return}jO(t,e,n,r)},FO=(t,e,n)=>{const r=t===""?e:Q6(e,t);r.classGroupId=n},VO=(t,e,n,r)=>{if(HO(t)){Jv(t(r),e,n,r);return}e.validators===null&&(e.validators=[]),e.validators.push(IO(n,t))},jO=(t,e,n,r)=>{const o=Object.entries(t),a=o.length;for(let i=0;i<a;i++){const[s,l]=o[i];Jv(l,Q6(e,s),n,r)}},Q6=(t,e)=>{let n=t;const r=e.split(h0),o=r.length;for(let a=0;a<o;a++){const i=r[a];let s=n.nextPart.get(i);s||(s=X6(),n.nextPart.set(i,s)),n=s}return n},HO=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,WO=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),r=Object.create(null);const o=(a,i)=>{n[a]=i,e++,e>t&&(e=0,r=n,n=Object.create(null))};return{get(a){let i=n[a];if(i!==void 0)return i;if((i=r[a])!==void 0)return o(a,i),i},set(a,i){a in n?n[a]=i:o(a,i)}}},Y2="!",Ty=":",qO=[],Ny=(t,e,n,r,o)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),UO=t=>{const{prefix:e,experimentalParseClassName:n}=t;let r=o=>{const a=[];let i=0,s=0,l=0,u;const d=o.length;for(let w=0;w<d;w++){const y=o[w];if(i===0&&s===0){if(y===Ty){a.push(o.slice(l,w)),l=w+1;continue}if(y==="/"){u=w;continue}}y==="["?i++:y==="]"?i--:y==="("?s++:y===")"&&s--}const f=a.length===0?o:o.slice(l);let m=f,v=!1;f.endsWith(Y2)?(m=f.slice(0,-1),v=!0):f.startsWith(Y2)&&(m=f.slice(1),v=!0);const g=u&&u>l?u-l:void 0;return Ny(a,v,m,g)};if(e){const o=e+Ty,a=r;r=i=>i.startsWith(o)?a(i.slice(o.length)):Ny(qO,!1,i,void 0,!0)}if(n){const o=r;r=a=>n({className:a,parseClassName:o})}return r},YO=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,r)=>{e.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let a=0;a<n.length;a++){const i=n[a],s=i[0]==="[",l=e.has(i);s||l?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(i)):o.push(i)}return o.length>0&&(o.sort(),r.push(...o)),r}},GO=t=>({cache:WO(t.cacheSize),parseClassName:UO(t),sortModifiers:YO(t),...LO(t)}),KO=/\s+/,XO=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:a}=e,i=[],s=t.trim().split(KO);let l="";for(let u=s.length-1;u>=0;u-=1){const d=s[u],{isExternal:f,modifiers:m,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:w}=n(d);if(f){l=d+(l.length>0?" "+l:l);continue}let y=!!w,_=r(y?g.substring(0,w):g);if(!_){if(!y){l=d+(l.length>0?" "+l:l);continue}if(_=r(g),!_){l=d+(l.length>0?" "+l:l);continue}y=!1}const S=m.length===0?"":m.length===1?m[0]:a(m).join(":"),x=v?S+Y2:S,C=x+_;if(i.indexOf(C)>-1)continue;i.push(C);const R=o(_,y);for(let P=0;P<R.length;++P){const O=R[P];i.push(x+O)}l=d+(l.length>0?" "+l:l)}return l},ZO=(...t)=>{let e=0,n,r,o="";for(;e<t.length;)(n=t[e++])&&(r=J6(n))&&(o&&(o+=" "),o+=r);return o},J6=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=J6(t[r]))&&(n&&(n+=" "),n+=e);return n},QO=(t,...e)=>{let n,r,o,a;const i=l=>{const u=e.reduce((d,f)=>f(d),t());return n=GO(u),r=n.cache.get,o=n.cache.set,a=s,s(l)},s=l=>{const u=r(l);if(u)return u;const d=XO(l,n);return o(l,d),d};return a=i,(...l)=>a(ZO(...l))},JO=[],rr=t=>{const e=n=>n[t]||JO;return e.isThemeGetter=!0,e},e8=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,t8=/^\((?:(\w[\w-]*):)?(.+)\)$/i,eL=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,tL=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,nL=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,rL=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,oL=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aL=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,cs=t=>eL.test(t),Xt=t=>!!t&&!Number.isNaN(Number(t)),us=t=>!!t&&Number.isInteger(Number(t)),jm=t=>t.endsWith("%")&&Xt(t.slice(0,-1)),ki=t=>tL.test(t),n8=()=>!0,iL=t=>nL.test(t)&&!rL.test(t),ew=()=>!1,sL=t=>oL.test(t),lL=t=>aL.test(t),cL=t=>!lt(t)&&!ct(t),uL=t=>js(t,a8,ew),lt=t=>e8.test(t),dl=t=>js(t,i8,iL),Py=t=>js(t,wL,Xt),dL=t=>js(t,l8,n8),fL=t=>js(t,s8,ew),Ay=t=>js(t,r8,ew),pL=t=>js(t,o8,lL),Tp=t=>js(t,c8,sL),ct=t=>t8.test(t),td=t=>Yl(t,i8),hL=t=>Yl(t,s8),Iy=t=>Yl(t,r8),mL=t=>Yl(t,a8),gL=t=>Yl(t,o8),Np=t=>Yl(t,c8,!0),vL=t=>Yl(t,l8,!0),js=(t,e,n)=>{const r=e8.exec(t);return r?r[1]?e(r[1]):n(r[2]):!1},Yl=(t,e,n=!1)=>{const r=t8.exec(t);return r?r[1]?e(r[1]):n:!1},r8=t=>t==="position"||t==="percentage",o8=t=>t==="image"||t==="url",a8=t=>t==="length"||t==="size"||t==="bg-size",i8=t=>t==="length",wL=t=>t==="number",s8=t=>t==="family-name",l8=t=>t==="number"||t==="weight",c8=t=>t==="shadow",bL=()=>{const t=rr("color"),e=rr("font"),n=rr("text"),r=rr("font-weight"),o=rr("tracking"),a=rr("leading"),i=rr("breakpoint"),s=rr("container"),l=rr("spacing"),u=rr("radius"),d=rr("shadow"),f=rr("inset-shadow"),m=rr("text-shadow"),v=rr("drop-shadow"),g=rr("blur"),w=rr("perspective"),y=rr("aspect"),_=rr("ease"),S=rr("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],R=()=>[...C(),ct,lt],P=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto","contain","none"],$=()=>[ct,lt,l],A=()=>[cs,"full","auto",...$()],M=()=>[us,"none","subgrid",ct,lt],L=()=>["auto",{span:["full",us,ct,lt]},us,ct,lt],B=()=>[us,"auto",ct,lt],F=()=>["auto","min","max","fr",ct,lt],N=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],V=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...$()],I=()=>[cs,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...$()],D=()=>[cs,"screen","full","dvw","lvw","svw","min","max","fit",...$()],U=()=>[cs,"screen","full","lh","dvh","lvh","svh","min","max","fit",...$()],Y=()=>[t,ct,lt],oe=()=>[...C(),Iy,Ay,{position:[ct,lt]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],re=()=>["auto","cover","contain",mL,uL,{size:[ct,lt]}],le=()=>[jm,td,dl],ee=()=>["","none","full",u,ct,lt],te=()=>["",Xt,td,dl],ue=()=>["solid","dashed","dotted","double"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],we=()=>[Xt,jm,Iy,Ay],ye=()=>["","none",g,ct,lt],Le=()=>["none",Xt,ct,lt],Oe=()=>["none",Xt,ct,lt],Ne=()=>[Xt,ct,lt],me=()=>[cs,"full",...$()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ki],breakpoint:[ki],color:[n8],container:[ki],"drop-shadow":[ki],ease:["in","out","in-out"],font:[cL],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ki],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ki],shadow:[ki],spacing:["px",Xt],text:[ki],"text-shadow":[ki],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",cs,lt,ct,y]}],container:["container"],columns:[{columns:[Xt,lt,ct,s]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:R()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:A()}],"inset-x":[{"inset-x":A()}],"inset-y":[{"inset-y":A()}],start:[{"inset-s":A(),start:A()}],end:[{"inset-e":A(),end:A()}],"inset-bs":[{"inset-bs":A()}],"inset-be":[{"inset-be":A()}],top:[{top:A()}],right:[{right:A()}],bottom:[{bottom:A()}],left:[{left:A()}],visibility:["visible","invisible","collapse"],z:[{z:[us,"auto",ct,lt]}],basis:[{basis:[cs,"full","auto",s,...$()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Xt,cs,"auto","initial","none",lt]}],grow:[{grow:["",Xt,ct,lt]}],shrink:[{shrink:["",Xt,ct,lt]}],order:[{order:[us,"first","last","none",ct,lt]}],"grid-cols":[{"grid-cols":M()}],"col-start-end":[{col:L()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":M()}],"row-start-end":[{row:L()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:$()}],"gap-x":[{"gap-x":$()}],"gap-y":[{"gap-y":$()}],"justify-content":[{justify:[...N(),"normal"]}],"justify-items":[{"justify-items":[...V(),"normal"]}],"justify-self":[{"justify-self":["auto",...V()]}],"align-content":[{content:["normal",...N()]}],"align-items":[{items:[...V(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...V(),{baseline:["","last"]}]}],"place-content":[{"place-content":N()}],"place-items":[{"place-items":[...V(),"baseline"]}],"place-self":[{"place-self":["auto",...V()]}],p:[{p:$()}],px:[{px:$()}],py:[{py:$()}],ps:[{ps:$()}],pe:[{pe:$()}],pbs:[{pbs:$()}],pbe:[{pbe:$()}],pt:[{pt:$()}],pr:[{pr:$()}],pb:[{pb:$()}],pl:[{pl:$()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":$()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":$()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],"inline-size":[{inline:["auto",...D()]}],"min-inline-size":[{"min-inline":["auto",...D()]}],"max-inline-size":[{"max-inline":["none",...D()]}],"block-size":[{block:["auto",...U()]}],"min-block-size":[{"min-block":["auto",...U()]}],"max-block-size":[{"max-block":["none",...U()]}],w:[{w:[s,"screen",...I()]}],"min-w":[{"min-w":[s,"screen","none",...I()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...I()]}],h:[{h:["screen","lh",...I()]}],"min-h":[{"min-h":["screen","lh","none",...I()]}],"max-h":[{"max-h":["screen","lh",...I()]}],"font-size":[{text:["base",n,td,dl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,vL,dL]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",jm,lt]}],"font-family":[{font:[hL,fL,e]}],"font-features":[{"font-features":[lt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,ct,lt]}],"line-clamp":[{"line-clamp":[Xt,"none",ct,Py]}],leading:[{leading:[a,...$()]}],"list-image":[{"list-image":["none",ct,lt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ct,lt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Y()}],"text-color":[{text:Y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:[Xt,"from-font","auto",ct,dl]}],"text-decoration-color":[{decoration:Y()}],"underline-offset":[{"underline-offset":[Xt,"auto",ct,lt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ct,lt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ct,lt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:oe()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:re()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},us,ct,lt],radial:["",ct,lt],conic:[us,ct,lt]},gL,pL]}],"bg-color":[{bg:Y()}],"gradient-from-pos":[{from:le()}],"gradient-via-pos":[{via:le()}],"gradient-to-pos":[{to:le()}],"gradient-from":[{from:Y()}],"gradient-via":[{via:Y()}],"gradient-to":[{to:Y()}],rounded:[{rounded:ee()}],"rounded-s":[{"rounded-s":ee()}],"rounded-e":[{"rounded-e":ee()}],"rounded-t":[{"rounded-t":ee()}],"rounded-r":[{"rounded-r":ee()}],"rounded-b":[{"rounded-b":ee()}],"rounded-l":[{"rounded-l":ee()}],"rounded-ss":[{"rounded-ss":ee()}],"rounded-se":[{"rounded-se":ee()}],"rounded-ee":[{"rounded-ee":ee()}],"rounded-es":[{"rounded-es":ee()}],"rounded-tl":[{"rounded-tl":ee()}],"rounded-tr":[{"rounded-tr":ee()}],"rounded-br":[{"rounded-br":ee()}],"rounded-bl":[{"rounded-bl":ee()}],"border-w":[{border:te()}],"border-w-x":[{"border-x":te()}],"border-w-y":[{"border-y":te()}],"border-w-s":[{"border-s":te()}],"border-w-e":[{"border-e":te()}],"border-w-bs":[{"border-bs":te()}],"border-w-be":[{"border-be":te()}],"border-w-t":[{"border-t":te()}],"border-w-r":[{"border-r":te()}],"border-w-b":[{"border-b":te()}],"border-w-l":[{"border-l":te()}],"divide-x":[{"divide-x":te()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":te()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ue(),"hidden","none"]}],"divide-style":[{divide:[...ue(),"hidden","none"]}],"border-color":[{border:Y()}],"border-color-x":[{"border-x":Y()}],"border-color-y":[{"border-y":Y()}],"border-color-s":[{"border-s":Y()}],"border-color-e":[{"border-e":Y()}],"border-color-bs":[{"border-bs":Y()}],"border-color-be":[{"border-be":Y()}],"border-color-t":[{"border-t":Y()}],"border-color-r":[{"border-r":Y()}],"border-color-b":[{"border-b":Y()}],"border-color-l":[{"border-l":Y()}],"divide-color":[{divide:Y()}],"outline-style":[{outline:[...ue(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Xt,ct,lt]}],"outline-w":[{outline:["",Xt,td,dl]}],"outline-color":[{outline:Y()}],shadow:[{shadow:["","none",d,Np,Tp]}],"shadow-color":[{shadow:Y()}],"inset-shadow":[{"inset-shadow":["none",f,Np,Tp]}],"inset-shadow-color":[{"inset-shadow":Y()}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Y()}],"ring-offset-w":[{"ring-offset":[Xt,dl]}],"ring-offset-color":[{"ring-offset":Y()}],"inset-ring-w":[{"inset-ring":te()}],"inset-ring-color":[{"inset-ring":Y()}],"text-shadow":[{"text-shadow":["none",m,Np,Tp]}],"text-shadow-color":[{"text-shadow":Y()}],opacity:[{opacity:[Xt,ct,lt]}],"mix-blend":[{"mix-blend":[...ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Xt]}],"mask-image-linear-from-pos":[{"mask-linear-from":we()}],"mask-image-linear-to-pos":[{"mask-linear-to":we()}],"mask-image-linear-from-color":[{"mask-linear-from":Y()}],"mask-image-linear-to-color":[{"mask-linear-to":Y()}],"mask-image-t-from-pos":[{"mask-t-from":we()}],"mask-image-t-to-pos":[{"mask-t-to":we()}],"mask-image-t-from-color":[{"mask-t-from":Y()}],"mask-image-t-to-color":[{"mask-t-to":Y()}],"mask-image-r-from-pos":[{"mask-r-from":we()}],"mask-image-r-to-pos":[{"mask-r-to":we()}],"mask-image-r-from-color":[{"mask-r-from":Y()}],"mask-image-r-to-color":[{"mask-r-to":Y()}],"mask-image-b-from-pos":[{"mask-b-from":we()}],"mask-image-b-to-pos":[{"mask-b-to":we()}],"mask-image-b-from-color":[{"mask-b-from":Y()}],"mask-image-b-to-color":[{"mask-b-to":Y()}],"mask-image-l-from-pos":[{"mask-l-from":we()}],"mask-image-l-to-pos":[{"mask-l-to":we()}],"mask-image-l-from-color":[{"mask-l-from":Y()}],"mask-image-l-to-color":[{"mask-l-to":Y()}],"mask-image-x-from-pos":[{"mask-x-from":we()}],"mask-image-x-to-pos":[{"mask-x-to":we()}],"mask-image-x-from-color":[{"mask-x-from":Y()}],"mask-image-x-to-color":[{"mask-x-to":Y()}],"mask-image-y-from-pos":[{"mask-y-from":we()}],"mask-image-y-to-pos":[{"mask-y-to":we()}],"mask-image-y-from-color":[{"mask-y-from":Y()}],"mask-image-y-to-color":[{"mask-y-to":Y()}],"mask-image-radial":[{"mask-radial":[ct,lt]}],"mask-image-radial-from-pos":[{"mask-radial-from":we()}],"mask-image-radial-to-pos":[{"mask-radial-to":we()}],"mask-image-radial-from-color":[{"mask-radial-from":Y()}],"mask-image-radial-to-color":[{"mask-radial-to":Y()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[Xt]}],"mask-image-conic-from-pos":[{"mask-conic-from":we()}],"mask-image-conic-to-pos":[{"mask-conic-to":we()}],"mask-image-conic-from-color":[{"mask-conic-from":Y()}],"mask-image-conic-to-color":[{"mask-conic-to":Y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:oe()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:re()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ct,lt]}],filter:[{filter:["","none",ct,lt]}],blur:[{blur:ye()}],brightness:[{brightness:[Xt,ct,lt]}],contrast:[{contrast:[Xt,ct,lt]}],"drop-shadow":[{"drop-shadow":["","none",v,Np,Tp]}],"drop-shadow-color":[{"drop-shadow":Y()}],grayscale:[{grayscale:["",Xt,ct,lt]}],"hue-rotate":[{"hue-rotate":[Xt,ct,lt]}],invert:[{invert:["",Xt,ct,lt]}],saturate:[{saturate:[Xt,ct,lt]}],sepia:[{sepia:["",Xt,ct,lt]}],"backdrop-filter":[{"backdrop-filter":["","none",ct,lt]}],"backdrop-blur":[{"backdrop-blur":ye()}],"backdrop-brightness":[{"backdrop-brightness":[Xt,ct,lt]}],"backdrop-contrast":[{"backdrop-contrast":[Xt,ct,lt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Xt,ct,lt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Xt,ct,lt]}],"backdrop-invert":[{"backdrop-invert":["",Xt,ct,lt]}],"backdrop-opacity":[{"backdrop-opacity":[Xt,ct,lt]}],"backdrop-saturate":[{"backdrop-saturate":[Xt,ct,lt]}],"backdrop-sepia":[{"backdrop-sepia":["",Xt,ct,lt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":$()}],"border-spacing-x":[{"border-spacing-x":$()}],"border-spacing-y":[{"border-spacing-y":$()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ct,lt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Xt,"initial",ct,lt]}],ease:[{ease:["linear","initial",_,ct,lt]}],delay:[{delay:[Xt,ct,lt]}],animate:[{animate:["none",S,ct,lt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,ct,lt]}],"perspective-origin":[{"perspective-origin":R()}],rotate:[{rotate:Le()}],"rotate-x":[{"rotate-x":Le()}],"rotate-y":[{"rotate-y":Le()}],"rotate-z":[{"rotate-z":Le()}],scale:[{scale:Oe()}],"scale-x":[{"scale-x":Oe()}],"scale-y":[{"scale-y":Oe()}],"scale-z":[{"scale-z":Oe()}],"scale-3d":["scale-3d"],skew:[{skew:Ne()}],"skew-x":[{"skew-x":Ne()}],"skew-y":[{"skew-y":Ne()}],transform:[{transform:[ct,lt,"","none","gpu","cpu"]}],"transform-origin":[{origin:R()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:me()}],"translate-x":[{"translate-x":me()}],"translate-y":[{"translate-y":me()}],"translate-z":[{"translate-z":me()}],"translate-none":["translate-none"],accent:[{accent:Y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Y()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ct,lt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mbs":[{"scroll-mbs":$()}],"scroll-mbe":[{"scroll-mbe":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pbs":[{"scroll-pbs":$()}],"scroll-pbe":[{"scroll-pbe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ct,lt]}],fill:[{fill:["none",...Y()]}],"stroke-w":[{stroke:[Xt,td,dl,Py]}],stroke:[{stroke:["none",...Y()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},yL=QO(bL),Dl=t=>Number(t.replace(/,/gi,"")),Wo=t=>{if(t=String(t??0),t.match(/[^0-9,.]/g))return t;if(t){const e=t.split(".");return e[0]=(e[0]??"").replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}return"0"},Bi=t=>{const e=t.split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e},rn=(t,e)=>(...n)=>{let o=`${n.reduce((s,l,u)=>{if(typeof l=="string")s+=`${l} `,n[u]=t[l];else if(typeof l=="object"){const d={};s+=Object.entries(l).reduce((f,[m,v])=>(t[m]&&(d[t[m]]=!!v),v&&(f+=` ${m} `),f),""),n[u]=d}return s},"")} ${p0(n)}`;e&&(o+=` ${e} ${p0([t[e]])} `,n.push(t[e]));const a=o.trim().split(" ");return a.filter((s,l)=>a.indexOf(s)===l).join(" ")};function ae(...t){return yL(p0(t))}const m0=t=>{if(typeof t=="object"&&t!==null)return Array.isArray(t)?t.map(e=>e==="true"||e==="false"?e==="true":typeof e=="object"&&e!==null?m0(e):e):Object.entries(t).reduce((e,[n,r])=>r==="true"||r==="false"?{...e,[n]:r==="true"}:typeof r=="object"&&r!==null?{...e,[n]:m0(r)}:{...e,[n]:r},{})},bhe=t=>t?t.charAt(0).toUpperCase()+t.slice(1):"",yhe=t=>typeof t=="number"||!t||Number.isNaN(Number(t))||String(t??"")?.endsWith(".")?t:Number(t),_he=t=>t*Math.PI/180,xhe=t=>t*180/Math.PI,She=t=>t/1e3,Che=t=>{if(t==null)return"-";if(t===0)return"0 Byte";const e=["Byte","KB","MB","GB","TB"],n=Math.min(Math.floor(Math.log(t)/Math.log(1024)),e.length-1),r=t/1024**n;return`${n===0?r:r.toFixed(2)} ${e[n]}`},Oy="data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2023C11%2021.8954%2011.8954%2021%2013%2021H19C20.1046%2021%2021%2021.8954%2021%2023V41C21%2042.1046%2020.1046%2043%2019%2043H13C11.8954%2043%2011%2042.1046%2011%2041V23Z'%20fill='%23FB2C36'/%3e%3cpath%20d='M50.3086%2016.0078C53.4789%2016.1684%2056%2018.7898%2056%2022V42C56%2045.3137%2053.3137%2048%2050%2048H12C8.68629%2048%206%2045.3137%206%2042V22C6%2018.7898%208.52111%2016.1684%2011.6914%2016.0078L12%2016H50L50.3086%2016.0078ZM12%2019C10.3431%2019%209%2020.3431%209%2022V42C9%2043.6569%2010.3431%2045%2012%2045H50C51.6569%2045%2053%2043.6569%2053%2042V22C53%2020.3431%2051.6569%2019%2050%2019H12ZM59.5%2025C60.3284%2025%2061%2025.6716%2061%2026.5V37.5C61%2038.3284%2060.3284%2039%2059.5%2039C58.6716%2039%2058%2038.3284%2058%2037.5V26.5C58%2025.6716%2058.6716%2025%2059.5%2025Z'%20fill='%23FAFAFA'%20fill-opacity='0.3'/%3e%3c/svg%3e",_L=`<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
9
+ <path d="M11 23C11 21.8954 11.8954 21 13 21H49C50.1046 21 51 21.8954 51 23V41C51 42.1046 50.1046 43 49 43H13C11.8954 43 11 42.1046 11 41V23Z" fill="#00C951"/>
10
+ <path d="M50.3086 16.0078C53.4789 16.1684 56 18.7898 56 22V42C56 45.3137 53.3137 48 50 48H12C8.68629 48 6 45.3137 6 42V22C6 18.7898 8.52111 16.1684 11.6914 16.0078L12 16H50L50.3086 16.0078ZM12 19C10.3431 19 9 20.3431 9 22V42C9 43.6569 10.3431 45 12 45H50C51.6569 45 53 43.6569 53 42V22C53 20.3431 51.6569 19 50 19H12ZM59.5 25C60.3284 25 61 25.6716 61 26.5V37.5C61 38.3284 60.3284 39 59.5 39C58.6716 39 58 38.3284 58 37.5V26.5C58 25.6716 58.6716 25 59.5 25Z" fill="#FAFAFA" fill-opacity="0.3"/>
11
+ </svg>
12
+ `,xL="data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2023C11%2021.8954%2011.8954%2021%2013%2021H49C50.1046%2021%2051%2021.8954%2051%2023V41C51%2042.1046%2050.1046%2043%2049%2043H13C11.8954%2043%2011%2042.1046%2011%2041V23Z'%20fill='%2300C951'/%3e%3cpath%20d='M50.3086%2016.0078C53.4789%2016.1684%2056%2018.7898%2056%2022V42C56%2045.3137%2053.3137%2048%2050%2048H12C8.68629%2048%206%2045.3137%206%2042V22C6%2018.7898%208.52111%2016.1684%2011.6914%2016.0078L12%2016H50L50.3086%2016.0078ZM12%2019C10.3431%2019%209%2020.3431%209%2022V42C9%2043.6569%2010.3431%2045%2012%2045H50C51.6569%2045%2053%2043.6569%2053%2042V22C53%2020.3431%2051.6569%2019%2050%2019H12ZM59.5%2025C60.3284%2025%2061%2025.6716%2061%2026.5V37.5C61%2038.3284%2060.3284%2039%2059.5%2039C58.6716%2039%2058%2038.3284%2058%2037.5V26.5C58%2025.6716%2058.6716%2025%2059.5%2025Z'%20fill='%23FAFAFA'%20fill-opacity='0.3'/%3e%3c/svg%3e",SL="data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2023C11%2021.8954%2011.8954%2021%2013%2021H29C30.1046%2021%2031%2021.8954%2031%2023V41C31%2042.1046%2030.1046%2043%2029%2043H13C11.8954%2043%2011%2042.1046%2011%2041V23Z'%20fill='%23FF6900'/%3e%3cpath%20d='M50.3086%2016.0078C53.4789%2016.1684%2056%2018.7898%2056%2022V42C56%2045.3137%2053.3137%2048%2050%2048H12C8.68629%2048%206%2045.3137%206%2042V22C6%2018.7898%208.52111%2016.1684%2011.6914%2016.0078L12%2016H50L50.3086%2016.0078ZM12%2019C10.3431%2019%209%2020.3431%209%2022V42C9%2043.6569%2010.3431%2045%2012%2045H50C51.6569%2045%2053%2043.6569%2053%2042V22C53%2020.3431%2051.6569%2019%2050%2019H12ZM59.5%2025C60.3284%2025%2061%2025.6716%2061%2026.5V37.5C61%2038.3284%2060.3284%2039%2059.5%2039C58.6716%2039%2058%2038.3284%2058%2037.5V26.5C58%2025.6716%2058.6716%2025%2059.5%2025Z'%20fill='%23FAFAFA'%20fill-opacity='0.3'/%3e%3c/svg%3e",CL="data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2023C11%2021.8954%2011.8954%2021%2013%2021H39C40.1046%2021%2041%2021.8954%2041%2023V41C41%2042.1046%2040.1046%2043%2039%2043H13C11.8954%2043%2011%2042.1046%2011%2041V23Z'%20fill='%23EAB308'/%3e%3cpath%20d='M50.3086%2016.0078C53.4789%2016.1684%2056%2018.7898%2056%2022V42C56%2045.3137%2053.3137%2048%2050%2048H12C8.68629%2048%206%2045.3137%206%2042V22C6%2018.7898%208.52111%2016.1684%2011.6914%2016.0078L12%2016H50L50.3086%2016.0078ZM12%2019C10.3431%2019%209%2020.3431%209%2022V42C9%2043.6569%2010.3431%2045%2012%2045H50C51.6569%2045%2053%2043.6569%2053%2042V22C53%2020.3431%2051.6569%2019%2050%2019H12ZM59.5%2025C60.3284%2025%2061%2025.6716%2061%2026.5V37.5C61%2038.3284%2060.3284%2039%2059.5%2039C58.6716%2039%2058%2038.3284%2058%2037.5V26.5C58%2025.6716%2058.6716%2025%2059.5%2025Z'%20fill='%23FAFAFA'%20fill-opacity='0.3'/%3e%3c/svg%3e",EL="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2020H7.86671C7.33337%2020%206.93893%2019.7611%206.68337%2019.2833C6.42782%2018.8056%206.4556%2018.3444%206.76671%2017.9L16.7334%203.56666C16.9556%203.25555%2017.2445%203.03888%2017.6%202.91666C17.9556%202.79444%2018.3223%202.79999%2018.7%202.93333C19.0778%203.06666%2019.3556%203.29999%2019.5334%203.63333C19.7112%203.96666%2019.7778%204.32222%2019.7334%204.69999L18.6667%2013.3333H23.8334C24.4112%2013.3333%2024.8167%2013.5889%2025.05%2014.1C25.2834%2014.6111%2025.2112%2015.0889%2024.8334%2015.5333L13.8667%2028.6667C13.6223%2028.9556%2013.3223%2029.1444%2012.9667%2029.2333C12.6112%2029.3222%2012.2667%2029.2889%2011.9334%2029.1333C11.6%2028.9778%2011.3389%2028.7389%2011.15%2028.4167C10.9612%2028.0944%2010.8889%2027.7444%2010.9334%2027.3667L12%2020Z'%20fill='%23FAFAFA'/%3e%3cpath%20d='M17.2546%200.935429C17.866%200.783001%2018.4829%200.798845%2019.073%200.956913L19.3659%201.04773L19.6657%201.16785C20.3511%201.47811%2020.9228%201.98962%2021.2976%202.69227C21.6687%203.38806%2021.8111%204.1537%2021.7194%204.93348L21.7185%204.94519L20.9294%2011.3329H23.8337V13.3329H18.6667L19.7331%204.70008C19.7776%204.32233%2019.7107%203.96698%2019.5329%203.63367C19.3551%203.30034%2019.0777%203.06681%2018.6999%202.93348C18.3222%202.80018%2017.9558%202.79473%2017.6003%202.91687C17.2448%203.03908%2016.9553%203.25525%2016.7331%203.56629L6.76632%2017.9003C6.45548%2018.3445%206.42794%2018.8055%206.68331%2019.2831C6.90699%2019.7013%207.23706%2019.937%207.67355%2019.9891L7.86691%2019.9999H11.9997L10.9333%2027.3671L10.9226%2027.5067C10.9091%2027.8313%2010.9848%2028.1348%2011.1501%2028.4169C11.339%2028.739%2011.6%2028.9781%2011.9333%2029.1337C12.2666%2029.2892%2012.611%2029.3221%2012.9665%2029.2333C13.2776%2029.1555%2013.5462%2029.0012%2013.7722%2028.7704L13.8669%2028.6669L24.8337%2015.5331C25.2112%2015.0888%2025.2827%2014.6114%2025.0495%2014.1005C24.8453%2013.6532%2024.5097%2013.4014%2024.0417%2013.3456L23.8337%2013.3329V11.3329C24.4218%2011.3329%2025.0553%2011.4661%2025.6374%2011.8329C26.1498%2012.1558%2026.5169%2012.5941%2026.7683%2013.0653L26.8698%2013.2694L26.9577%2013.4794C27.1497%2013.9795%2027.2384%2014.5436%2027.1482%2015.1405C27.0469%2015.8102%2026.7423%2016.3698%2026.3679%2016.8143L15.4021%2029.9481L15.3933%2029.9589C14.8876%2030.5564%2014.2278%2030.9797%2013.4519%2031.1737C12.6495%2031.3743%2011.835%2031.2949%2011.0876%2030.9462C10.3807%2030.6163%209.81522%2030.0949%209.42452%2029.4286C9.01113%2028.7234%208.85268%2027.9343%208.94699%2027.1327L8.94991%2027.1063L8.95382%2027.08L9.68917%2021.9999H7.86691C7.29309%2021.9999%206.69041%2021.8678%206.13449%2021.5311C5.58047%2021.1955%205.18671%2020.7257%204.91964%2020.2264C4.64805%2019.7186%204.47659%2019.1183%204.51632%2018.4589C4.55605%2017.7995%204.79869%2017.2241%205.12863%2016.7528L15.0915%202.42469L15.0984%202.41492L15.1062%202.40418C15.566%201.76051%2016.1937%201.28524%2016.9499%201.02527L17.2546%200.935429Z'%20fill='%2309090B'/%3e%3c/svg%3e",ML="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2020H7.86671C7.33337%2020%206.93893%2019.7611%206.68337%2019.2833C6.42782%2018.8056%206.4556%2018.3444%206.76671%2017.9L16.7334%203.56666C16.9556%203.25555%2017.2445%203.03888%2017.6%202.91666C17.9556%202.79444%2018.3223%202.79999%2018.7%202.93333C19.0778%203.06666%2019.3556%203.29999%2019.5334%203.63333C19.7112%203.96666%2019.7778%204.32222%2019.7334%204.69999L18.6667%2013.3333H23.8334C24.4112%2013.3333%2024.8167%2013.5889%2025.05%2014.1C25.2834%2014.6111%2025.2112%2015.0889%2024.8334%2015.5333L13.8667%2028.6667C13.6223%2028.9556%2013.3223%2029.1444%2012.9667%2029.2333C12.6112%2029.3222%2012.2667%2029.2889%2011.9334%2029.1333C11.6%2028.9778%2011.3389%2028.7389%2011.15%2028.4167C10.9612%2028.0944%2010.8889%2027.7444%2010.9334%2027.3667L12%2020Z'%20fill='%2309090B'/%3e%3cpath%20d='M17.2546%200.935429C17.866%200.783001%2018.4829%200.798845%2019.073%200.956913L19.3659%201.04773L19.6657%201.16785C20.3511%201.47811%2020.9228%201.98962%2021.2976%202.69227C21.6687%203.38806%2021.8111%204.1537%2021.7194%204.93348L21.7185%204.94519L20.9294%2011.3329H23.8337V13.3329H18.6667L19.7331%204.70008C19.7776%204.32233%2019.7107%203.96698%2019.5329%203.63367C19.3551%203.30034%2019.0777%203.06681%2018.6999%202.93348C18.3222%202.80018%2017.9558%202.79473%2017.6003%202.91687C17.2448%203.03908%2016.9553%203.25526%2016.7331%203.56629L6.76632%2017.9003C6.45548%2018.3445%206.42794%2018.8055%206.68331%2019.2831C6.90699%2019.7013%207.23706%2019.937%207.67355%2019.9891L7.86691%2019.9999H11.9997L10.9333%2027.3671L10.9226%2027.5067C10.9091%2027.8313%2010.9848%2028.1348%2011.1501%2028.4169C11.339%2028.739%2011.6%2028.9781%2011.9333%2029.1337C12.2666%2029.2892%2012.611%2029.3221%2012.9665%2029.2333C13.2776%2029.1555%2013.5462%2029.0012%2013.7722%2028.7704L13.8669%2028.6669L24.8337%2015.5331C25.2112%2015.0888%2025.2827%2014.6114%2025.0495%2014.1005C24.8453%2013.6532%2024.5097%2013.4014%2024.0417%2013.3456L23.8337%2013.3329V11.3329C24.4218%2011.3329%2025.0553%2011.4661%2025.6374%2011.8329C26.1498%2012.1558%2026.5169%2012.5941%2026.7683%2013.0653L26.8698%2013.2694L26.9577%2013.4794C27.1497%2013.9795%2027.2384%2014.5436%2027.1482%2015.1405C27.0469%2015.8102%2026.7423%2016.3698%2026.3679%2016.8143L15.4021%2029.9481L15.3933%2029.9589C14.8876%2030.5564%2014.2278%2030.9797%2013.4519%2031.1737C12.6495%2031.3743%2011.835%2031.2949%2011.0876%2030.9462C10.3807%2030.6163%209.81522%2030.0949%209.42452%2029.4286C9.01113%2028.7234%208.85268%2027.9343%208.94699%2027.1327L8.94991%2027.1063L8.95382%2027.08L9.68917%2021.9999H7.86691C7.29309%2021.9999%206.69041%2021.8678%206.13449%2021.5311C5.58047%2021.1955%205.18671%2020.7257%204.91964%2020.2264C4.64805%2019.7186%204.47659%2019.1183%204.51632%2018.4589C4.55605%2017.7995%204.79869%2017.2241%205.12863%2016.7528L15.0915%202.42469L15.0984%202.41492L15.1062%202.40418C15.566%201.76051%2016.1937%201.28524%2016.9499%201.02527L17.2546%200.935429Z'%20fill='white'/%3e%3c/svg%3e",Ly=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,$y=p0,he=(t,e)=>n=>{var r;if(e?.variants==null)return $y(t,n?.class,n?.className);const{variants:o,defaultVariants:a}=e,i=Object.keys(o).map(u=>{const d=n?.[u],f=a?.[u];if(d===null)return null;const m=Ly(d)||Ly(f);return o[u][m]}),s=n&&Object.entries(n).reduce((u,d)=>{let[f,m]=d;return m===void 0||(u[f]=m),u},{}),l=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:m,...v}=d;return Object.entries(v).every(g=>{let[w,y]=g;return Array.isArray(y)?y.includes({...a,...s}[w]):{...a,...s}[w]===y})?[...u,f,m]:u},[]);return $y(t,i,l,n?.class,n?.className)},kL=he("relative inline-block shrink-0",{variants:{size:{xs:"size-[1.125rem]",sm:"size-[1.3125rem]",md:"size-[1.5rem]",lg:"size-[1.875rem]"}},defaultVariants:{size:"md"}}),RL=he("pointer-events-none absolute top-1/4 left-1/4 z-[2] h-1/2 w-1/2"),Ehe=he({variants:{status:{empty:"bg-fill-subtle w-0",critical:"bg-fill-danger w-2.5",low:"bg-fill-warning w-5",normal:"bg-accent-yellow w-7",full:"bg-fill-success w-10"}},defaultVariants:{status:"critical"}}),{useMemo:TL}=await q("react"),Dy=64,NL=t=>t==null||t===0?"empty":t<25?"critical":t<50?"low":t<75?"normal":"full",PL={empty:Oy,critical:Oy,low:SL,normal:CL,full:xL},By=_L.match(/<path[^>]*d="([^"]+)"[^>]*fill="#FAFAFA"[^>]*fill-opacity="0\.3"/)?.[1],AL=()=>typeof document>"u"?!1:document.getElementById("rainbow-ui")?.getAttribute("data-theme")==="dark"||document.body.getAttribute("data-theme")==="dark";function Mhe({className:t,wrapperClassName:e,status:n,size:r="md",percent:o,charging:a=!1,borderColor:i,showPercentLabel:s=!1,percentLabelClassName:l,style:u,...d}){const f=o==null?void 0:Math.max(0,Math.min(o,100)),m=TL(()=>f===0&&typeof n<"u"?n:f!==void 0?NL(f):n??"critical",[n,f]),v=PL[m],g=i??"var(--color-border-subtle)",w=AL(),y=!!i||!w,_=w?EL:ML,S=s&&f!=null,x=`${Math.round(f??0)}%`,C=h("div",{"data-slot":"battery",role:"img","aria-label":`battery-${m}`,className:ae(kL({size:r}),t),style:u,...d,children:ne("div",{"data-slot":"battery-icon",className:"absolute inset-0",children:[h("img",{"data-slot":"battery-base",src:v,alt:"","aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full"}),y&&By&&h("svg",{"data-slot":"battery-border","aria-hidden":!0,viewBox:`0 0 ${Dy} ${Dy}`,className:"pointer-events-none absolute inset-0 z-[1] size-full",children:h("path",{d:By,fill:g})}),a&&h("img",{"data-slot":"battery-charging",src:_,alt:"","aria-hidden":!0,className:RL()})]})});return S?ne("div",{"data-slot":"battery-wrapper",className:ae("inline-flex items-center gap-1 align-middle",e),children:[C,h("div",{"data-slot":"battert-percent",className:ae("text-fg-subtle typo-compact-xs-medium flex items-center justify-start",l),children:x})]}):C}const IL="_spinner_1h0pd_40",OL="_rotate_1h0pd_1",LL="_border_1h0pd_46",$L="_path_1h0pd_52",DL="_dash_1h0pd_1",BL={spinner:IL,rotate:OL,border:LL,path:$L,dash:DL},Hm=rn(BL,"rb-ui"),Hi=({className:t="",borderClassName:e,pathClassName:n,size:r=20})=>ne("svg",{className:Hm("spinner",t),viewBox:"0 0 50 50",width:r,height:r,stroke:"currentColor",children:[h("circle",{className:ae(Hm("border"),e),cx:"25",cy:"25",r:"20",fill:"none"}),h("circle",{className:ae(Hm("path"),n),cx:"25",cy:"25",r:"20",fill:"none"})]}),zL="_ripple_78a71_39",FL="_animate_78a71_44",VL={ripple:zL,animate:FL,"material-ripple":"_material-ripple_78a71_1"},{useRef:jL,useCallback:HL,useState:WL,useEffect:qL,memo:UL}=await q("react"),Pp={color:"#ddd",duration:500,maxSize:400,disabled:!1},YL=rn(VL,"rb-ui"),GL=({color:t=Pp.color,duration:e=Pp.duration,maxSize:n=Pp.maxSize,disabled:r=Pp.disabled,children:o})=>{const a=jL(null),[i,s]=WL(null),l=()=>{if(a.current){if(a.current.childElementCount>1)throw new Error("[Ripple]: Ripple 컴포넌트 사용할 시 Ripple 컴포넌트의 하위 자식 엘리먼트 갯수는 하나여야만 합니다. 그렇지 않을 시 Ripple은 작동하지 않습니다.");if(a.current.childElementCount===0)throw new Error("[Ripple]: Ripple 컴포넌트의 하위 자식 엘리먼트가 존재하지 않습니다. 하위 자식 엘리먼트가 없을 경우 Ripple은 작동하지 않습니다.");s(a.current.children[0])}},u=HL(d=>{if(!i||r)return;i.style.position="relative",i.style.overflow="hidden";const{clientX:f,clientY:m}=d,{left:v,top:g,width:w,height:y}=i.getBoundingClientRect(),_=document.createElement("jwripple"),S=w+y/2;_.classList.add("animate"),_.setAttribute("style",`
13
+ position: absolute;
14
+ top: ${m-g}px;
15
+ left: ${f-v}px;
16
+ z-index: 1;
17
+ min-width: 30px;
18
+ min-height: 30px;
19
+ max-width: ${n}px;
20
+ max-height: ${n}px;
21
+ width: ${S}px;
22
+ height: ${S}px;
23
+ background-color: ${t};
24
+ animation-duration: ${Math.abs(e)}ms;
25
+ border-radius: 50%;
26
+ opacity: 0;
27
+ cursor: pointer;
28
+ pointer-events: none;
29
+ transform-origin: center;
30
+ will-change: transform, opacity;
31
+ `),i.prepend(_),d.stopPropagation(),setTimeout(()=>{_.remove()},Math.abs(e)+200)},[i,t,e,r,n]);return qL(()=>{l()},[a]),h("div",{ref:a,className:YL("ripple"),onPointerDown:u,children:o})},Rr=UL(GL),u8=he(["relative inline-flex items-center justify-center whitespace-nowrap","transition-colors select-none"].join(" "),{variants:{size:{"3xs":"gap-0_5 px-1_5 typo-compact-2xs-semibold h-5 rounded-sm","2xs":"gap-0_5 px-1_5 typo-compact-xs-semibold h-6 rounded-sm",xs:"typo-compact-xs-semibold h-7 gap-1 rounded-md px-2",xs2:"typo-compact-xs2-semibold h-8 gap-1 rounded-md px-3",sm:"typo-compact-sm-semibold px-3_5 h-8 gap-1 rounded-md",md:"typo-compact-sm2-semibold h-10 gap-1 rounded-md px-4"},variant:{transparent:["bg-fill-transparent text-fg-default","hover:bg-fill-transparent-hovered","disabled:text-fg-disabled"].join(" "),outlined:["bg-fill-transparent text-fg-default","outline-border-subtle outline outline-1 outline-offset-[-1px]","hover:bg-fill-transparent-hovered","disabled:outline-border-disabled disabled:text-fg-disabled"].join(" "),soft:["bg-fill-subtler text-fg-default","hover:bg-fill-subtler-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),solid:["bg-fill-default text-fg-inverse","hover:bg-fill-default-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),inverse:["bg-fill-inverse text-fg-default","hover:bg-fill-inverse-hovered","disabled:bg-fill-inverse-disabled disabled:text-fg-inverse-disabled"].join(" "),inverseSoft:["bg-fill-inverse-subtle text-fg-default","hover:bg-fill-inverse-subtle-hovered","disabled:bg-fill-inverse-disabled disabled:text-fg-inverse-disabled"].join(" "),brand:["bg-fill-brand text-white","hover:bg-fill-brand-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),brandSoft:["bg-fill-brand-subtlest text-fg-brand","hover:bg-fill-brand-subtler","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),danger:["bg-fill-danger text-white","hover:bg-fill-danger-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),dangerSoft:["bg-fill-danger-subtler text-fg-danger","hover:bg-fill-danger-subtle","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),success:["bg-fill-success text-white","hover:bg-fill-success-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),successSoft:["bg-fill-success-subtler text-fg-success","hover:bg-fill-success-subtle","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" ")},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",variant:"solid"}}),zy=he("inline-flex shrink-0 items-center justify-center [&_svg]:block [&_svg]:shrink-0 [&_svg]:leading-none",{variants:{size:{"3xs":"size-3","2xs":"size-3",xs:"size-3.5",xs2:"size-3.5",sm:"size-3.5",md:"size-4"},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",disabled:!1}}),KL=he("inline-flex items-center justify-center",{variants:{size:{"3xs":"size-3","2xs":"size-3",xs:"size-3.5",xs2:"size-3.5",sm:"size-3.5",md:"size-4"}},defaultVariants:{size:"sm"}}),{forwardRef:XL,useCallback:Fy,useRef:ZL}=await q("react"),Wr=XL(function({className:e,size:n,variant:r,type:o="button",leadingIcon:a,trailingIcon:i,ripple:s,detectDoubleClick:l,children:u,disabled:d,loading:f=!1,onClick:m,...v},g){const w=ZL(null),y=Fy(()=>{l&&(window.clearTimeout(w.current??0),w.current=window.setTimeout(()=>{w.current=null},500))},[l]),_=Fy(S=>{w.current||(m?.(S),y())},[y,m]);return h(Rr,{"data-slot":"label-button-ripple",...s,disabled:d||!!s?.disabled||f,children:ne("button",{ref:g,"data-slot":"label-button","data-pad-focus":"true",className:ae(u8({size:n,variant:r,disabled:!!d||f}),f&&"pointer-events-none",e),"aria-busy":f,disabled:d,type:o,onClick:_,onContextMenu:S=>{S.button!==2&&S.preventDefault()},...v,children:[f&&h("span",{"data-slot":"label-button-spinner",className:ae("absolute top-1/2 left-1/2 inline-flex -translate-x-1/2 -translate-y-1/2 items-center justify-center",KL({size:n})),children:h(Hi,{size:"100%"})}),a&&h("span",{"data-slot":"label-button-leading-icon","aria-hidden":!0,className:ae(zy({size:n,disabled:!!d||f}),f&&"invisible"),children:a}),!!u&&h("span",{"data-slot":"label-button-text",className:ae("inline-flex items-center justify-center",f&&"invisible"),children:u}),i&&h("span",{"data-slot":"label-button-trailing-icon","aria-hidden":!0,className:ae(zy({size:n,disabled:!!d||f}),f&&"invisible"),children:i})]})})}),QL=he(["relative inline-flex shrink-0 items-center justify-center","transition-colors select-none"].join(" "),{variants:{size:{"3xs":"size-5 rounded-sm","2xs":"size-6 rounded-sm",xs:"size-7 rounded-md",xs2:"size-8 rounded-md",sm:"size-9 rounded-md",md:"size-10 rounded-md"},variant:{transparent:["bg-fill-transparent text-fg-default","hover:bg-fill-transparent-hovered","disabled:text-fg-disabled"].join(" "),outlined:["bg-fill-transparent text-fg-default","outline-border-subtle outline outline-1 outline-offset-[-1px]","hover:bg-fill-transparent-hovered","disabled:outline-border-disabled disabled:text-fg-disabled"].join(" "),soft:["bg-fill-subtler text-fg-default","hover:bg-fill-subtler-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),solid:["bg-fill-default text-fg-inverse","hover:bg-fill-default-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),inverse:["bg-fill-inverse text-fg-default","hover:bg-fill-inverse-hovered","disabled:bg-fill-inverse-disabled disabled:text-fg-inverse-disabled"].join(" "),inverseSoft:["bg-fill-inverse-subtle text-fg-inverse","hover:bg-fill-inverse-subtle-hovered","disabled:bg-fill-inverse-disabled disabled:text-fg-inverse-disabled"].join(" "),brand:["bg-fill-brand text-white","hover:bg-fill-brand-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),circle:["bg-fill-transparent text-fg-default rounded-full","outline-border-default outline outline-1 outline-offset-[-1px]","hover:bg-fill-transparent-hovered","disabled:outline-border-disabled disabled:text-fg-disabled"].join(" ")},disabled:{true:"cursor-not-allowed",false:""}},defaultVariants:{size:"sm",variant:"solid"}}),JL=he("inline-flex shrink-0 items-center justify-center [&_svg]:block [&_svg]:shrink-0 [&_svg]:leading-none",{variants:{size:{"3xs":"size-3.5","2xs":"size-3.5",xs:"size-4",xs2:"size-4",sm:"size-4",md:"size-5"},variant:{transparent:"",outlined:"",soft:"",solid:"",inverse:"",inverseSoft:"",brand:"",circle:""},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},compoundVariants:[{variant:"circle",className:"opacity-100",disabled:!0}],defaultVariants:{size:"sm",variant:"solid",disabled:!1}}),e$=he("inline-flex items-center justify-center",{variants:{size:{"3xs":"size-3.5","2xs":"size-3.5",xs:"size-4",xs2:"size-4",sm:"size-4",md:"size-5"},variant:{transparent:"text-fg-default",outlined:"text-fg-default",soft:"text-fg-default",solid:"text-fg-inverse",inverse:"text-fg-default",inverseSoft:"text-fg-inverse",brand:"text-fg-default",circle:"text-fg-default"},disabled:{true:"text-fg-disabled pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",variant:"solid",disabled:!1}}),t$=he("",{variants:{variant:{transparent:"",outlined:"",soft:"",solid:"",inverse:"",inverseSoft:"stroke-fg-inverse-disabled",brand:"",circle:""},disabled:{true:"",false:""}},defaultVariants:{variant:"solid",disabled:!1}}),n$=he("",{variants:{variant:{transparent:"",outlined:"",soft:"",solid:"",inverse:"",inverseSoft:"stroke-fg-inverse",brand:"",circle:""},disabled:{true:"",false:""}},defaultVariants:{variant:"solid",disabled:!1}}),{forwardRef:r$,useCallback:Vy,useRef:o$}=await q("react"),d8=r$(({className:t,size:e,variant:n,type:r="button",icon:o,children:a,ripple:i,detectDoubleClick:s,disabled:l,loading:u=!1,onClick:d,...f},m)=>{const v=o??a,g=o$(null),w=Vy(()=>{s&&(window.clearTimeout(g.current??0),g.current=window.setTimeout(()=>{g.current=null},500))},[s]),y=Vy(_=>{g.current||(d?.(_),w())},[w,d]);return h(Rr,{"data-slot":"icon-button-ripple",...i,disabled:l||!!i?.disabled||u,children:ne("button",{ref:m,className:ae(QL({size:e,variant:n,disabled:!!l||u}),u&&"pointer-events-none",t),"aria-busy":u,disabled:l,type:r,onClick:y,...f,children:[u&&h("span",{"data-slot":"icon-button-spinner",className:ae("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",e$({size:e,variant:n,disabled:!!l})),children:h(Hi,{size:"100%",borderClassName:t$({variant:n,disabled:!!l}),pathClassName:n$({variant:n,disabled:!!l})})}),v&&h("span",{"data-slot":"icon-button-icon","aria-hidden":!0,className:ae(JL({size:e,variant:n,disabled:!!l||u}),u&&"invisible"),children:v})]})})});d8.displayName="RBIconButton";var Od={exports:{}};/**
32
+ * @license
33
+ * Lodash <https://lodash.com/>
34
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
35
+ * Released under MIT license <https://lodash.com/license>
36
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
37
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
38
+ */var a$=Od.exports,jy;function i$(){return jy||(jy=1,(function(t,e){(function(){var n,r="4.18.1",o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",i="Expected a function",s="Invalid `variable` option passed into `_.template`",l="Invalid `imports` option passed into `_.template`",u="__lodash_hash_undefined__",d=500,f="__lodash_placeholder__",m=1,v=2,g=4,w=1,y=2,_=1,S=2,x=4,C=8,R=16,P=32,O=64,$=128,A=256,M=512,L=30,B="...",F=800,N=16,V=1,z=2,I=3,D=1/0,U=9007199254740991,Y=17976931348623157e292,oe=NaN,Q=4294967295,re=Q-1,le=Q>>>1,ee=[["ary",$],["bind",_],["bindKey",S],["curry",C],["curryRight",R],["flip",M],["partial",P],["partialRight",O],["rearg",A]],te="[object Arguments]",ue="[object Array]",ve="[object AsyncFunction]",we="[object Boolean]",ye="[object Date]",Le="[object DOMException]",Oe="[object Error]",Ne="[object Function]",me="[object GeneratorFunction]",pe="[object Map]",be="[object Number]",Ue="[object Null]",He="[object Object]",qe="[object Promise]",_e="[object Proxy]",at="[object RegExp]",ht="[object Set]",st="[object String]",Ct="[object Symbol]",cn="[object Undefined]",Sn="[object WeakMap]",Jn="[object WeakSet]",Gt="[object ArrayBuffer]",Tn="[object DataView]",Hn="[object Float32Array]",Tt="[object Float64Array]",Ce="[object Int8Array]",Ye="[object Int16Array]",wt="[object Int32Array]",un="[object Uint8Array]",on="[object Uint8ClampedArray]",Lt="[object Uint16Array]",mt="[object Uint32Array]",Ze=/\b__p \+= '';/g,Bt=/\b(__p \+=) '' \+/g,jt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,rt=/&(?:amp|lt|gt|quot|#39);/g,en=/[&<>"']/g,Mn=RegExp(rt.source),_n=RegExp(en.source),Pn=/<%-([\s\S]+?)%>/g,In=/<%([\s\S]+?)%>/g,On=/<%=([\s\S]+?)%>/g,sr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nn=/^\w*$/,Or=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zn=/[\\^$.*+?()[\]{}|]/g,li=RegExp(zn.source),Qo=/^\s+/,Ui=/\s/,Yi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Jo=/\{\n\/\* \[wrapped with (.+)\] \*/,ci=/,? & /,ea=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ra=/[()=,{}\[\]\/\s]/,Zs=/\\(\\)?/g,ta=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,na=/\w*$/,Ta=/^[-+]0x[0-9a-f]+$/i,ra=/^0b[01]+$/i,No=/^\[object .+?Constructor\]$/,Na=/^0o[0-7]+$/i,ui=/^(?:0|[1-9]\d*)$/,di=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Po=/($^)/,fi=/['\n\r\u2028\u2029\\]/g,Fn="\\ud800-\\udfff",Gi="\\u0300-\\u036f",pi="\\ufe20-\\ufe2f",Pa="\\u20d0-\\u20ff",hi=Gi+pi+Pa,po="\\u2700-\\u27bf",ho="a-z\\xdf-\\xf6\\xf8-\\xff",Ki="\\xac\\xb1\\xd7\\xf7",oa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",aa="\\u2000-\\u206f",mi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Aa="A-Z\\xc0-\\xd6\\xd8-\\xde",Ia="\\ufe0e\\ufe0f",ia=Ki+oa+aa+mi,Oa="['’]",Xi="["+Fn+"]",La="["+ia+"]",E="["+hi+"]",H="\\d+",X="["+po+"]",se="["+ho+"]",Re="[^"+Fn+ia+H+po+ho+Aa+"]",Ee="\\ud83c[\\udffb-\\udfff]",De="(?:"+E+"|"+Ee+")",Ke="[^"+Fn+"]",vt="(?:\\ud83c[\\udde6-\\uddff]){2}",bt="[\\ud800-\\udbff][\\udc00-\\udfff]",Et="["+Aa+"]",wn="\\u200d",br="(?:"+se+"|"+Re+")",Lr="(?:"+Et+"|"+Re+")",lr="(?:"+Oa+"(?:d|ll|m|re|s|t|ve))?",Ao="(?:"+Oa+"(?:D|LL|M|RE|S|T|VE))?",Yr=De+"?",$a="["+Ia+"]?",sa="(?:"+wn+"(?:"+[Ke,vt,bt].join("|")+")"+$a+Yr+")*",Zi="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Io="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",gi=$a+Yr+sa,Pu="(?:"+[X,vt,bt].join("|")+")"+gi,Au="(?:"+[Ke+E+"?",E,vt,bt,Xi].join("|")+")",Iu=RegExp(Oa,"g"),Ou=RegExp(E,"g"),Qi=RegExp(Ee+"(?="+Ee+")|"+Au+gi,"g"),mo=RegExp([Et+"?"+se+"+"+lr+"(?="+[La,Et,"$"].join("|")+")",Lr+"+"+Ao+"(?="+[La,Et+br,"$"].join("|")+")",Et+"?"+br+"+"+lr,Et+"+"+Ao,Io,Zi,H,Pu].join("|"),"g"),Me=RegExp("["+wn+Fn+hi+Ia+"]"),ce=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,de=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ie=-1,$e={};$e[Hn]=$e[Tt]=$e[Ce]=$e[Ye]=$e[wt]=$e[un]=$e[on]=$e[Lt]=$e[mt]=!0,$e[te]=$e[ue]=$e[Gt]=$e[we]=$e[Tn]=$e[ye]=$e[Oe]=$e[Ne]=$e[pe]=$e[be]=$e[He]=$e[at]=$e[ht]=$e[st]=$e[Sn]=!1;var Je={};Je[te]=Je[ue]=Je[Gt]=Je[Tn]=Je[we]=Je[ye]=Je[Hn]=Je[Tt]=Je[Ce]=Je[Ye]=Je[wt]=Je[pe]=Je[be]=Je[He]=Je[at]=Je[ht]=Je[st]=Je[Ct]=Je[un]=Je[on]=Je[Lt]=Je[mt]=!0,Je[Oe]=Je[Ne]=Je[Sn]=!1;var dn={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Wn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Gr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ac={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qs=parseFloat,Ji=parseInt,es=typeof Rp=="object"&&Rp&&Rp.Object===Object&&Rp,Js=typeof self=="object"&&self&&self.Object===Object&&self,Ln=es||Js||Function("return this")(),Lu=e&&!e.nodeType&&e,vi=Lu&&!0&&t&&!t.nodeType&&t,el=vi&&vi.exports===Lu,ic=el&&es.process,pr=(function(){try{var xe=vi&&vi.require&&vi.require("util").types;return xe||ic&&ic.binding&&ic.binding("util")}catch{}})(),sc=pr&&pr.isArrayBuffer,Vf=pr&&pr.isDate,ts=pr&&pr.isMap,jf=pr&&pr.isRegExp,lc=pr&&pr.isSet,tl=pr&&pr.isTypedArray;function er(xe,Be,Ae){switch(Ae.length){case 0:return xe.call(Be);case 1:return xe.call(Be,Ae[0]);case 2:return xe.call(Be,Ae[0],Ae[1]);case 3:return xe.call(Be,Ae[0],Ae[1],Ae[2])}return xe.apply(Be,Ae)}function cc(xe,Be,Ae,ot){for(var Dt=-1,pn=xe==null?0:xe.length;++Dt<pn;){var tr=xe[Dt];Be(ot,tr,Ae(tr),xe)}return ot}function yr(xe,Be){for(var Ae=-1,ot=xe==null?0:xe.length;++Ae<ot&&Be(xe[Ae],Ae,xe)!==!1;);return xe}function Hf(xe,Be){for(var Ae=xe==null?0:xe.length;Ae--&&Be(xe[Ae],Ae,xe)!==!1;);return xe}function $u(xe,Be){for(var Ae=-1,ot=xe==null?0:xe.length;++Ae<ot;)if(!Be(xe[Ae],Ae,xe))return!1;return!0}function Oo(xe,Be){for(var Ae=-1,ot=xe==null?0:xe.length,Dt=0,pn=[];++Ae<ot;){var tr=xe[Ae];Be(tr,Ae,xe)&&(pn[Dt++]=tr)}return pn}function cr(xe,Be){var Ae=xe==null?0:xe.length;return!!Ae&&wi(xe,Be,0)>-1}function uc(xe,Be,Ae){for(var ot=-1,Dt=xe==null?0:xe.length;++ot<Dt;)if(Ae(Be,xe[ot]))return!0;return!1}function xn(xe,Be){for(var Ae=-1,ot=xe==null?0:xe.length,Dt=Array(ot);++Ae<ot;)Dt[Ae]=Be(xe[Ae],Ae,xe);return Dt}function Da(xe,Be){for(var Ae=-1,ot=Be.length,Dt=xe.length;++Ae<ot;)xe[Dt+Ae]=Be[Ae];return xe}function dc(xe,Be,Ae,ot){var Dt=-1,pn=xe==null?0:xe.length;for(ot&&pn&&(Ae=xe[++Dt]);++Dt<pn;)Ae=Be(Ae,xe[Dt],Dt,xe);return Ae}function fc(xe,Be,Ae,ot){var Dt=xe==null?0:xe.length;for(ot&&Dt&&(Ae=xe[--Dt]);Dt--;)Ae=Be(Ae,xe[Dt],Dt,xe);return Ae}function pc(xe,Be){for(var Ae=-1,ot=xe==null?0:xe.length;++Ae<ot;)if(Be(xe[Ae],Ae,xe))return!0;return!1}var Wf=j("length");function hc(xe){return xe.split("")}function mc(xe){return xe.match(ea)||[]}function Du(xe,Be,Ae){var ot;return Ae(xe,function(Dt,pn,tr){if(Be(Dt,pn,tr))return ot=pn,!1}),ot}function nl(xe,Be,Ae,ot){for(var Dt=xe.length,pn=Ae+(ot?1:-1);ot?pn--:++pn<Dt;)if(Be(xe[pn],pn,xe))return pn;return-1}function wi(xe,Be,Ae){return Be===Be?gR(xe,Be,Ae):nl(xe,zu,Ae)}function Bu(xe,Be,Ae,ot){for(var Dt=Ae-1,pn=xe.length;++Dt<pn;)if(ot(xe[Dt],Be))return Dt;return-1}function zu(xe){return xe!==xe}function k(xe,Be){var Ae=xe==null?0:xe.length;return Ae?ke(xe,Be)/Ae:oe}function j(xe){return function(Be){return Be==null?n:Be[xe]}}function G(xe){return function(Be){return xe==null?n:xe[Be]}}function ie(xe,Be,Ae,ot,Dt){return Dt(xe,function(pn,tr,Cn){Ae=ot?(ot=!1,pn):Be(Ae,pn,tr,Cn)}),Ae}function Te(xe,Be){var Ae=xe.length;for(xe.sort(Be);Ae--;)xe[Ae]=xe[Ae].value;return xe}function ke(xe,Be){for(var Ae,ot=-1,Dt=xe.length;++ot<Dt;){var pn=Be(xe[ot]);pn!==n&&(Ae=Ae===n?pn:Ae+pn)}return Ae}function ze(xe,Be){for(var Ae=-1,ot=Array(xe);++Ae<xe;)ot[Ae]=Be(Ae);return ot}function Ge(xe,Be){return xn(Be,function(Ae){return[Ae,xe[Ae]]})}function _t(xe){return xe&&xe.slice(0,O3(xe)+1).replace(Qo,"")}function yt(xe){return function(Be){return xe(Be)}}function $t(xe,Be){return xn(Be,function(Ae){return xe[Ae]})}function fn(xe,Be){return xe.has(Be)}function _r(xe,Be){for(var Ae=-1,ot=xe.length;++Ae<ot&&wi(Be,xe[Ae],0)>-1;);return Ae}function Kr(xe,Be){for(var Ae=xe.length;Ae--&&wi(Be,xe[Ae],0)>-1;);return Ae}function go(xe,Be){for(var Ae=xe.length,ot=0;Ae--;)xe[Ae]===Be&&++ot;return ot}var gc=G(dn),qf=G(Wn);function Fu(xe){return"\\"+ac[xe]}function fR(xe,Be){return xe==null?n:xe[Be]}function vc(xe){return Me.test(xe)}function pR(xe){return ce.test(xe)}function hR(xe){for(var Be,Ae=[];!(Be=xe.next()).done;)Ae.push(Be.value);return Ae}function Wh(xe){var Be=-1,Ae=Array(xe.size);return xe.forEach(function(ot,Dt){Ae[++Be]=[Dt,ot]}),Ae}function I3(xe,Be){return function(Ae){return xe(Be(Ae))}}function ns(xe,Be){for(var Ae=-1,ot=xe.length,Dt=0,pn=[];++Ae<ot;){var tr=xe[Ae];(tr===Be||tr===f)&&(xe[Ae]=f,pn[Dt++]=Ae)}return pn}function Uf(xe){var Be=-1,Ae=Array(xe.size);return xe.forEach(function(ot){Ae[++Be]=ot}),Ae}function mR(xe){var Be=-1,Ae=Array(xe.size);return xe.forEach(function(ot){Ae[++Be]=[ot,ot]}),Ae}function gR(xe,Be,Ae){for(var ot=Ae-1,Dt=xe.length;++ot<Dt;)if(xe[ot]===Be)return ot;return-1}function vR(xe,Be,Ae){for(var ot=Ae+1;ot--;)if(xe[ot]===Be)return ot;return ot}function wc(xe){return vc(xe)?bR(xe):Wf(xe)}function la(xe){return vc(xe)?yR(xe):hc(xe)}function O3(xe){for(var Be=xe.length;Be--&&Ui.test(xe.charAt(Be)););return Be}var wR=G(Gr);function bR(xe){for(var Be=Qi.lastIndex=0;Qi.test(xe);)++Be;return Be}function yR(xe){return xe.match(Qi)||[]}function _R(xe){return xe.match(mo)||[]}var xR=(function xe(Be){Be=Be==null?Ln:bc.defaults(Ln.Object(),Be,bc.pick(Ln,de));var Ae=Be.Array,ot=Be.Date,Dt=Be.Error,pn=Be.Function,tr=Be.Math,Cn=Be.Object,qh=Be.RegExp,SR=Be.String,Lo=Be.TypeError,Yf=Ae.prototype,CR=pn.prototype,yc=Cn.prototype,Gf=Be["__core-js_shared__"],Kf=CR.toString,mn=yc.hasOwnProperty,ER=0,L3=(function(){var c=/[^.]+$/.exec(Gf&&Gf.keys&&Gf.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""})(),Xf=yc.toString,MR=Kf.call(Cn),kR=Ln._,RR=qh("^"+Kf.call(mn).replace(zn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zf=el?Be.Buffer:n,rs=Be.Symbol,Qf=Be.Uint8Array,$3=Zf?Zf.allocUnsafe:n,Jf=I3(Cn.getPrototypeOf,Cn),D3=Cn.create,B3=yc.propertyIsEnumerable,ep=Yf.splice,z3=rs?rs.isConcatSpreadable:n,Vu=rs?rs.iterator:n,rl=rs?rs.toStringTag:n,tp=(function(){try{var c=ll(Cn,"defineProperty");return c({},"",{}),c}catch{}})(),TR=Be.clearTimeout!==Ln.clearTimeout&&Be.clearTimeout,NR=ot&&ot.now!==Ln.Date.now&&ot.now,PR=Be.setTimeout!==Ln.setTimeout&&Be.setTimeout,np=tr.ceil,rp=tr.floor,Uh=Cn.getOwnPropertySymbols,AR=Zf?Zf.isBuffer:n,F3=Be.isFinite,IR=Yf.join,OR=I3(Cn.keys,Cn),nr=tr.max,xr=tr.min,LR=ot.now,$R=Be.parseInt,V3=tr.random,DR=Yf.reverse,Yh=ll(Be,"DataView"),ju=ll(Be,"Map"),Gh=ll(Be,"Promise"),_c=ll(Be,"Set"),Hu=ll(Be,"WeakMap"),Wu=ll(Cn,"create"),op=Hu&&new Hu,xc={},BR=cl(Yh),zR=cl(ju),FR=cl(Gh),VR=cl(_c),jR=cl(Hu),ap=rs?rs.prototype:n,qu=ap?ap.valueOf:n,j3=ap?ap.toString:n;function K(c){if(Vn(c)&&!Vt(c)&&!(c instanceof Jt)){if(c instanceof $o)return c;if(mn.call(c,"__wrapped__"))return Hb(c)}return new $o(c)}var Sc=(function(){function c(){}return function(p){if(!$n(p))return{};if(D3)return D3(p);c.prototype=p;var b=new c;return c.prototype=n,b}})();function ip(){}function $o(c,p){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!p,this.__index__=0,this.__values__=n}K.templateSettings={escape:Pn,evaluate:In,interpolate:On,variable:"",imports:{_:K}},K.prototype=ip.prototype,K.prototype.constructor=K,$o.prototype=Sc(ip.prototype),$o.prototype.constructor=$o;function Jt(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Q,this.__views__=[]}function HR(){var c=new Jt(this.__wrapped__);return c.__actions__=Xr(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=Xr(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=Xr(this.__views__),c}function WR(){if(this.__filtered__){var c=new Jt(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function qR(){var c=this.__wrapped__.value(),p=this.__dir__,b=Vt(c),T=p<0,W=b?c.length:0,J=rN(0,W,this.__views__),fe=J.start,ge=J.end,Se=ge-fe,Fe=T?ge:fe-1,Ve=this.__iteratees__,We=Ve.length,Qe=0,dt=xr(Se,this.__takeCount__);if(!b||!T&&W==Se&&dt==Se)return fb(c,this.__actions__);var Nt=[];e:for(;Se--&&Qe<dt;){Fe+=p;for(var qt=-1,xt=c[Fe];++qt<We;){var Qt=Ve[qt],tn=Qt.iteratee,bo=Qt.type,Br=tn(xt);if(bo==z)xt=Br;else if(!Br){if(bo==V)continue e;break e}}Nt[Qe++]=xt}return Nt}Jt.prototype=Sc(ip.prototype),Jt.prototype.constructor=Jt;function ol(c){var p=-1,b=c==null?0:c.length;for(this.clear();++p<b;){var T=c[p];this.set(T[0],T[1])}}function UR(){this.__data__=Wu?Wu(null):{},this.size=0}function YR(c){var p=this.has(c)&&delete this.__data__[c];return this.size-=p?1:0,p}function GR(c){var p=this.__data__;if(Wu){var b=p[c];return b===u?n:b}return mn.call(p,c)?p[c]:n}function KR(c){var p=this.__data__;return Wu?p[c]!==n:mn.call(p,c)}function XR(c,p){var b=this.__data__;return this.size+=this.has(c)?0:1,b[c]=Wu&&p===n?u:p,this}ol.prototype.clear=UR,ol.prototype.delete=YR,ol.prototype.get=GR,ol.prototype.has=KR,ol.prototype.set=XR;function bi(c){var p=-1,b=c==null?0:c.length;for(this.clear();++p<b;){var T=c[p];this.set(T[0],T[1])}}function ZR(){this.__data__=[],this.size=0}function QR(c){var p=this.__data__,b=sp(p,c);if(b<0)return!1;var T=p.length-1;return b==T?p.pop():ep.call(p,b,1),--this.size,!0}function JR(c){var p=this.__data__,b=sp(p,c);return b<0?n:p[b][1]}function eT(c){return sp(this.__data__,c)>-1}function tT(c,p){var b=this.__data__,T=sp(b,c);return T<0?(++this.size,b.push([c,p])):b[T][1]=p,this}bi.prototype.clear=ZR,bi.prototype.delete=QR,bi.prototype.get=JR,bi.prototype.has=eT,bi.prototype.set=tT;function yi(c){var p=-1,b=c==null?0:c.length;for(this.clear();++p<b;){var T=c[p];this.set(T[0],T[1])}}function nT(){this.size=0,this.__data__={hash:new ol,map:new(ju||bi),string:new ol}}function rT(c){var p=bp(this,c).delete(c);return this.size-=p?1:0,p}function oT(c){return bp(this,c).get(c)}function aT(c){return bp(this,c).has(c)}function iT(c,p){var b=bp(this,c),T=b.size;return b.set(c,p),this.size+=b.size==T?0:1,this}yi.prototype.clear=nT,yi.prototype.delete=rT,yi.prototype.get=oT,yi.prototype.has=aT,yi.prototype.set=iT;function al(c){var p=-1,b=c==null?0:c.length;for(this.__data__=new yi;++p<b;)this.add(c[p])}function sT(c){return this.__data__.set(c,u),this}function lT(c){return this.__data__.has(c)}al.prototype.add=al.prototype.push=sT,al.prototype.has=lT;function ca(c){var p=this.__data__=new bi(c);this.size=p.size}function cT(){this.__data__=new bi,this.size=0}function uT(c){var p=this.__data__,b=p.delete(c);return this.size=p.size,b}function dT(c){return this.__data__.get(c)}function fT(c){return this.__data__.has(c)}function pT(c,p){var b=this.__data__;if(b instanceof bi){var T=b.__data__;if(!ju||T.length<o-1)return T.push([c,p]),this.size=++b.size,this;b=this.__data__=new yi(T)}return b.set(c,p),this.size=b.size,this}ca.prototype.clear=cT,ca.prototype.delete=uT,ca.prototype.get=dT,ca.prototype.has=fT,ca.prototype.set=pT;function H3(c,p){var b=Vt(c),T=!b&&ul(c),W=!b&&!T&&ls(c),J=!b&&!T&&!W&&kc(c),fe=b||T||W||J,ge=fe?ze(c.length,SR):[],Se=ge.length;for(var Fe in c)(p||mn.call(c,Fe))&&!(fe&&(Fe=="length"||W&&(Fe=="offset"||Fe=="parent")||J&&(Fe=="buffer"||Fe=="byteLength"||Fe=="byteOffset")||Si(Fe,Se)))&&ge.push(Fe);return ge}function W3(c){var p=c.length;return p?c[am(0,p-1)]:n}function hT(c,p){return yp(Xr(c),il(p,0,c.length))}function mT(c){return yp(Xr(c))}function Kh(c,p,b){(b!==n&&!da(c[p],b)||b===n&&!(p in c))&&Ba(c,p,b)}function Uu(c,p,b){var T=c[p];(!(mn.call(c,p)&&da(T,b))||b===n&&!(p in c))&&Ba(c,p,b)}function sp(c,p){for(var b=c.length;b--;)if(da(c[b][0],p))return b;return-1}function gT(c,p,b,T){return os(c,function(W,J,fe){p(T,W,b(W),fe)}),T}function q3(c,p){return c&&Fa(p,ur(p),c)}function vT(c,p){return c&&Fa(p,Qr(p),c)}function Ba(c,p,b){p=="__proto__"&&tp?tp(c,p,{configurable:!0,enumerable:!0,value:b,writable:!0}):c[p]=b}function Xh(c,p){for(var b=-1,T=p.length,W=Ae(T),J=c==null;++b<T;)W[b]=J?n:Pm(c,p[b]);return W}function il(c,p,b){return c===c&&(b!==n&&(c=c<=b?c:b),p!==n&&(c=c>=p?c:p)),c}function Do(c,p,b,T,W,J){var fe,ge=p&m,Se=p&v,Fe=p&g;if(b&&(fe=W?b(c,T,W,J):b(c)),fe!==n)return fe;if(!$n(c))return c;var Ve=Vt(c);if(Ve){if(fe=aN(c),!ge)return Xr(c,fe)}else{var We=Sr(c),Qe=We==Ne||We==me;if(ls(c))return mb(c,ge);if(We==He||We==te||Qe&&!W){if(fe=Se||Qe?{}:Ob(c),!ge)return Se?GT(c,vT(fe,c)):YT(c,q3(fe,c))}else{if(!Je[We])return W?c:{};fe=iN(c,We,ge)}}J||(J=new ca);var dt=J.get(c);if(dt)return dt;J.set(c,fe),cy(c)?c.forEach(function(xt){fe.add(Do(xt,p,b,xt,c,J))}):sy(c)&&c.forEach(function(xt,Qt){fe.set(Qt,Do(xt,p,b,Qt,c,J))});var Nt=Fe?Se?gm:mm:Se?Qr:ur,qt=Ve?n:Nt(c);return yr(qt||c,function(xt,Qt){qt&&(Qt=xt,xt=c[Qt]),Uu(fe,Qt,Do(xt,p,b,Qt,c,J))}),fe}function wT(c){var p=ur(c);return function(b){return U3(b,c,p)}}function U3(c,p,b){var T=b.length;if(c==null)return!T;for(c=Cn(c);T--;){var W=b[T],J=p[W],fe=c[W];if(fe===n&&!(W in c)||!J(fe))return!1}return!0}function Y3(c,p,b){if(typeof c!="function")throw new Lo(i);return Ju(function(){c.apply(n,b)},p)}function Yu(c,p,b,T){var W=-1,J=cr,fe=!0,ge=c.length,Se=[],Fe=p.length;if(!ge)return Se;b&&(p=xn(p,yt(b))),T?(J=uc,fe=!1):p.length>=o&&(J=fn,fe=!1,p=new al(p));e:for(;++W<ge;){var Ve=c[W],We=b==null?Ve:b(Ve);if(Ve=T||Ve!==0?Ve:0,fe&&We===We){for(var Qe=Fe;Qe--;)if(p[Qe]===We)continue e;Se.push(Ve)}else J(p,We,T)||Se.push(Ve)}return Se}var os=yb(za),G3=yb(Qh,!0);function bT(c,p){var b=!0;return os(c,function(T,W,J){return b=!!p(T,W,J),b}),b}function lp(c,p,b){for(var T=-1,W=c.length;++T<W;){var J=c[T],fe=p(J);if(fe!=null&&(ge===n?fe===fe&&!wo(fe):b(fe,ge)))var ge=fe,Se=J}return Se}function yT(c,p,b,T){var W=c.length;for(b=Ht(b),b<0&&(b=-b>W?0:W+b),T=T===n||T>W?W:Ht(T),T<0&&(T+=W),T=b>T?0:dy(T);b<T;)c[b++]=p;return c}function K3(c,p){var b=[];return os(c,function(T,W,J){p(T,W,J)&&b.push(T)}),b}function hr(c,p,b,T,W){var J=-1,fe=c.length;for(b||(b=lN),W||(W=[]);++J<fe;){var ge=c[J];p>0&&b(ge)?p>1?hr(ge,p-1,b,T,W):Da(W,ge):T||(W[W.length]=ge)}return W}var Zh=_b(),X3=_b(!0);function za(c,p){return c&&Zh(c,p,ur)}function Qh(c,p){return c&&X3(c,p,ur)}function cp(c,p){return Oo(p,function(b){return Ci(c[b])})}function sl(c,p){p=is(p,c);for(var b=0,T=p.length;c!=null&&b<T;)c=c[ua(p[b++])];return b&&b==T?c:n}function Z3(c,p,b){var T=p(c);return Vt(c)?T:Da(T,b(c))}function $r(c){return c==null?c===n?cn:Ue:rl&&rl in Cn(c)?nN(c):mN(c)}function Jh(c,p){return c>p}function _T(c,p){return c!=null&&mn.call(c,p)}function xT(c,p){return c!=null&&p in Cn(c)}function ST(c,p,b){return c>=xr(p,b)&&c<nr(p,b)}function em(c,p,b){for(var T=b?uc:cr,W=c[0].length,J=c.length,fe=J,ge=Ae(J),Se=1/0,Fe=[];fe--;){var Ve=c[fe];fe&&p&&(Ve=xn(Ve,yt(p))),Se=xr(Ve.length,Se),ge[fe]=!b&&(p||W>=120&&Ve.length>=120)?new al(fe&&Ve):n}Ve=c[0];var We=-1,Qe=ge[0];e:for(;++We<W&&Fe.length<Se;){var dt=Ve[We],Nt=p?p(dt):dt;if(dt=b||dt!==0?dt:0,!(Qe?fn(Qe,Nt):T(Fe,Nt,b))){for(fe=J;--fe;){var qt=ge[fe];if(!(qt?fn(qt,Nt):T(c[fe],Nt,b)))continue e}Qe&&Qe.push(Nt),Fe.push(dt)}}return Fe}function CT(c,p,b,T){return za(c,function(W,J,fe){p(T,b(W),J,fe)}),T}function Gu(c,p,b){p=is(p,c),c=Bb(c,p);var T=c==null?c:c[ua(zo(p))];return T==null?n:er(T,c,b)}function Q3(c){return Vn(c)&&$r(c)==te}function ET(c){return Vn(c)&&$r(c)==Gt}function MT(c){return Vn(c)&&$r(c)==ye}function Ku(c,p,b,T,W){return c===p?!0:c==null||p==null||!Vn(c)&&!Vn(p)?c!==c&&p!==p:kT(c,p,b,T,Ku,W)}function kT(c,p,b,T,W,J){var fe=Vt(c),ge=Vt(p),Se=fe?ue:Sr(c),Fe=ge?ue:Sr(p);Se=Se==te?He:Se,Fe=Fe==te?He:Fe;var Ve=Se==He,We=Fe==He,Qe=Se==Fe;if(Qe&&ls(c)){if(!ls(p))return!1;fe=!0,Ve=!1}if(Qe&&!Ve)return J||(J=new ca),fe||kc(c)?Pb(c,p,b,T,W,J):eN(c,p,Se,b,T,W,J);if(!(b&w)){var dt=Ve&&mn.call(c,"__wrapped__"),Nt=We&&mn.call(p,"__wrapped__");if(dt||Nt){var qt=dt?c.value():c,xt=Nt?p.value():p;return J||(J=new ca),W(qt,xt,b,T,J)}}return Qe?(J||(J=new ca),tN(c,p,b,T,W,J)):!1}function RT(c){return Vn(c)&&Sr(c)==pe}function tm(c,p,b,T){var W=b.length,J=W,fe=!T;if(c==null)return!J;for(c=Cn(c);W--;){var ge=b[W];if(fe&&ge[2]?ge[1]!==c[ge[0]]:!(ge[0]in c))return!1}for(;++W<J;){ge=b[W];var Se=ge[0],Fe=c[Se],Ve=ge[1];if(fe&&ge[2]){if(Fe===n&&!(Se in c))return!1}else{var We=new ca;if(T)var Qe=T(Fe,Ve,Se,c,p,We);if(!(Qe===n?Ku(Ve,Fe,w|y,T,We):Qe))return!1}}return!0}function J3(c){if(!$n(c)||uN(c))return!1;var p=Ci(c)?RR:No;return p.test(cl(c))}function TT(c){return Vn(c)&&$r(c)==at}function NT(c){return Vn(c)&&Sr(c)==ht}function PT(c){return Vn(c)&&Mp(c.length)&&!!$e[$r(c)]}function eb(c){return typeof c=="function"?c:c==null?Jr:typeof c=="object"?Vt(c)?rb(c[0],c[1]):nb(c):Sy(c)}function nm(c){if(!Qu(c))return OR(c);var p=[];for(var b in Cn(c))mn.call(c,b)&&b!="constructor"&&p.push(b);return p}function AT(c){if(!$n(c))return hN(c);var p=Qu(c),b=[];for(var T in c)T=="constructor"&&(p||!mn.call(c,T))||b.push(T);return b}function rm(c,p){return c<p}function tb(c,p){var b=-1,T=Zr(c)?Ae(c.length):[];return os(c,function(W,J,fe){T[++b]=p(W,J,fe)}),T}function nb(c){var p=wm(c);return p.length==1&&p[0][2]?$b(p[0][0],p[0][1]):function(b){return b===c||tm(b,c,p)}}function rb(c,p){return ym(c)&&Lb(p)?$b(ua(c),p):function(b){var T=Pm(b,c);return T===n&&T===p?Am(b,c):Ku(p,T,w|y)}}function up(c,p,b,T,W){c!==p&&Zh(p,function(J,fe){if(W||(W=new ca),$n(J))IT(c,p,fe,b,up,T,W);else{var ge=T?T(xm(c,fe),J,fe+"",c,p,W):n;ge===n&&(ge=J),Kh(c,fe,ge)}},Qr)}function IT(c,p,b,T,W,J,fe){var ge=xm(c,b),Se=xm(p,b),Fe=fe.get(Se);if(Fe){Kh(c,b,Fe);return}var Ve=J?J(ge,Se,b+"",c,p,fe):n,We=Ve===n;if(We){var Qe=Vt(Se),dt=!Qe&&ls(Se),Nt=!Qe&&!dt&&kc(Se);Ve=Se,Qe||dt||Nt?Vt(ge)?Ve=ge:qn(ge)?Ve=Xr(ge):dt?(We=!1,Ve=mb(Se,!0)):Nt?(We=!1,Ve=gb(Se,!0)):Ve=[]:ed(Se)||ul(Se)?(Ve=ge,ul(ge)?Ve=fy(ge):(!$n(ge)||Ci(ge))&&(Ve=Ob(Se))):We=!1}We&&(fe.set(Se,Ve),W(Ve,Se,T,J,fe),fe.delete(Se)),Kh(c,b,Ve)}function ob(c,p){var b=c.length;if(b)return p+=p<0?b:0,Si(p,b)?c[p]:n}function ab(c,p,b){p.length?p=xn(p,function(J){return Vt(J)?function(fe){return sl(fe,J.length===1?J[0]:J)}:J}):p=[Jr];var T=-1;p=xn(p,yt(Mt()));var W=tb(c,function(J,fe,ge){var Se=xn(p,function(Fe){return Fe(J)});return{criteria:Se,index:++T,value:J}});return Te(W,function(J,fe){return UT(J,fe,b)})}function OT(c,p){return ib(c,p,function(b,T){return Am(c,T)})}function ib(c,p,b){for(var T=-1,W=p.length,J={};++T<W;){var fe=p[T],ge=sl(c,fe);b(ge,fe)&&Xu(J,is(fe,c),ge)}return J}function LT(c){return function(p){return sl(p,c)}}function om(c,p,b,T){var W=T?Bu:wi,J=-1,fe=p.length,ge=c;for(c===p&&(p=Xr(p)),b&&(ge=xn(c,yt(b)));++J<fe;)for(var Se=0,Fe=p[J],Ve=b?b(Fe):Fe;(Se=W(ge,Ve,Se,T))>-1;)ge!==c&&ep.call(ge,Se,1),ep.call(c,Se,1);return c}function sb(c,p){for(var b=c?p.length:0,T=b-1;b--;){var W=p[b];if(b==T||W!==J){var J=W;Si(W)?ep.call(c,W,1):lm(c,W)}}return c}function am(c,p){return c+rp(V3()*(p-c+1))}function $T(c,p,b,T){for(var W=-1,J=nr(np((p-c)/(b||1)),0),fe=Ae(J);J--;)fe[T?J:++W]=c,c+=b;return fe}function im(c,p){var b="";if(!c||p<1||p>U)return b;do p%2&&(b+=c),p=rp(p/2),p&&(c+=c);while(p);return b}function Kt(c,p){return Sm(Db(c,p,Jr),c+"")}function DT(c){return W3(Rc(c))}function BT(c,p){var b=Rc(c);return yp(b,il(p,0,b.length))}function Xu(c,p,b,T){if(!$n(c))return c;p=is(p,c);for(var W=-1,J=p.length,fe=J-1,ge=c;ge!=null&&++W<J;){var Se=ua(p[W]),Fe=b;if(Se==="__proto__"||Se==="constructor"||Se==="prototype")return c;if(W!=fe){var Ve=ge[Se];Fe=T?T(Ve,Se,ge):n,Fe===n&&(Fe=$n(Ve)?Ve:Si(p[W+1])?[]:{})}Uu(ge,Se,Fe),ge=ge[Se]}return c}var lb=op?function(c,p){return op.set(c,p),c}:Jr,zT=tp?function(c,p){return tp(c,"toString",{configurable:!0,enumerable:!1,value:Om(p),writable:!0})}:Jr;function FT(c){return yp(Rc(c))}function Bo(c,p,b){var T=-1,W=c.length;p<0&&(p=-p>W?0:W+p),b=b>W?W:b,b<0&&(b+=W),W=p>b?0:b-p>>>0,p>>>=0;for(var J=Ae(W);++T<W;)J[T]=c[T+p];return J}function VT(c,p){var b;return os(c,function(T,W,J){return b=p(T,W,J),!b}),!!b}function dp(c,p,b){var T=0,W=c==null?T:c.length;if(typeof p=="number"&&p===p&&W<=le){for(;T<W;){var J=T+W>>>1,fe=c[J];fe!==null&&!wo(fe)&&(b?fe<=p:fe<p)?T=J+1:W=J}return W}return sm(c,p,Jr,b)}function sm(c,p,b,T){var W=0,J=c==null?0:c.length;if(J===0)return 0;p=b(p);for(var fe=p!==p,ge=p===null,Se=wo(p),Fe=p===n;W<J;){var Ve=rp((W+J)/2),We=b(c[Ve]),Qe=We!==n,dt=We===null,Nt=We===We,qt=wo(We);if(fe)var xt=T||Nt;else Fe?xt=Nt&&(T||Qe):ge?xt=Nt&&Qe&&(T||!dt):Se?xt=Nt&&Qe&&!dt&&(T||!qt):dt||qt?xt=!1:xt=T?We<=p:We<p;xt?W=Ve+1:J=Ve}return xr(J,re)}function cb(c,p){for(var b=-1,T=c.length,W=0,J=[];++b<T;){var fe=c[b],ge=p?p(fe):fe;if(!b||!da(ge,Se)){var Se=ge;J[W++]=fe===0?0:fe}}return J}function ub(c){return typeof c=="number"?c:wo(c)?oe:+c}function vo(c){if(typeof c=="string")return c;if(Vt(c))return xn(c,vo)+"";if(wo(c))return j3?j3.call(c):"";var p=c+"";return p=="0"&&1/c==-D?"-0":p}function as(c,p,b){var T=-1,W=cr,J=c.length,fe=!0,ge=[],Se=ge;if(b)fe=!1,W=uc;else if(J>=o){var Fe=p?null:QT(c);if(Fe)return Uf(Fe);fe=!1,W=fn,Se=new al}else Se=p?[]:ge;e:for(;++T<J;){var Ve=c[T],We=p?p(Ve):Ve;if(Ve=b||Ve!==0?Ve:0,fe&&We===We){for(var Qe=Se.length;Qe--;)if(Se[Qe]===We)continue e;p&&Se.push(We),ge.push(Ve)}else W(Se,We,b)||(Se!==ge&&Se.push(We),ge.push(Ve))}return ge}function lm(c,p){p=is(p,c);var b=-1,T=p.length;if(!T)return!0;for(;++b<T;){var W=ua(p[b]);if(W==="__proto__"&&!mn.call(c,"__proto__")||(W==="constructor"||W==="prototype")&&b<T-1)return!1}var J=Bb(c,p);return J==null||delete J[ua(zo(p))]}function db(c,p,b,T){return Xu(c,p,b(sl(c,p)),T)}function fp(c,p,b,T){for(var W=c.length,J=T?W:-1;(T?J--:++J<W)&&p(c[J],J,c););return b?Bo(c,T?0:J,T?J+1:W):Bo(c,T?J+1:0,T?W:J)}function fb(c,p){var b=c;return b instanceof Jt&&(b=b.value()),dc(p,function(T,W){return W.func.apply(W.thisArg,Da([T],W.args))},b)}function cm(c,p,b){var T=c.length;if(T<2)return T?as(c[0]):[];for(var W=-1,J=Ae(T);++W<T;)for(var fe=c[W],ge=-1;++ge<T;)ge!=W&&(J[W]=Yu(J[W]||fe,c[ge],p,b));return as(hr(J,1),p,b)}function pb(c,p,b){for(var T=-1,W=c.length,J=p.length,fe={};++T<W;){var ge=T<J?p[T]:n;b(fe,c[T],ge)}return fe}function um(c){return qn(c)?c:[]}function dm(c){return typeof c=="function"?c:Jr}function is(c,p){return Vt(c)?c:ym(c,p)?[c]:jb(gn(c))}var jT=Kt;function ss(c,p,b){var T=c.length;return b=b===n?T:b,!p&&b>=T?c:Bo(c,p,b)}var hb=TR||function(c){return Ln.clearTimeout(c)};function mb(c,p){if(p)return c.slice();var b=c.length,T=$3?$3(b):new c.constructor(b);return c.copy(T),T}function fm(c){var p=new c.constructor(c.byteLength);return new Qf(p).set(new Qf(c)),p}function HT(c,p){var b=p?fm(c.buffer):c.buffer;return new c.constructor(b,c.byteOffset,c.byteLength)}function WT(c){var p=new c.constructor(c.source,na.exec(c));return p.lastIndex=c.lastIndex,p}function qT(c){return qu?Cn(qu.call(c)):{}}function gb(c,p){var b=p?fm(c.buffer):c.buffer;return new c.constructor(b,c.byteOffset,c.length)}function vb(c,p){if(c!==p){var b=c!==n,T=c===null,W=c===c,J=wo(c),fe=p!==n,ge=p===null,Se=p===p,Fe=wo(p);if(!ge&&!Fe&&!J&&c>p||J&&fe&&Se&&!ge&&!Fe||T&&fe&&Se||!b&&Se||!W)return 1;if(!T&&!J&&!Fe&&c<p||Fe&&b&&W&&!T&&!J||ge&&b&&W||!fe&&W||!Se)return-1}return 0}function UT(c,p,b){for(var T=-1,W=c.criteria,J=p.criteria,fe=W.length,ge=b.length;++T<fe;){var Se=vb(W[T],J[T]);if(Se){if(T>=ge)return Se;var Fe=b[T];return Se*(Fe=="desc"?-1:1)}}return c.index-p.index}function wb(c,p,b,T){for(var W=-1,J=c.length,fe=b.length,ge=-1,Se=p.length,Fe=nr(J-fe,0),Ve=Ae(Se+Fe),We=!T;++ge<Se;)Ve[ge]=p[ge];for(;++W<fe;)(We||W<J)&&(Ve[b[W]]=c[W]);for(;Fe--;)Ve[ge++]=c[W++];return Ve}function bb(c,p,b,T){for(var W=-1,J=c.length,fe=-1,ge=b.length,Se=-1,Fe=p.length,Ve=nr(J-ge,0),We=Ae(Ve+Fe),Qe=!T;++W<Ve;)We[W]=c[W];for(var dt=W;++Se<Fe;)We[dt+Se]=p[Se];for(;++fe<ge;)(Qe||W<J)&&(We[dt+b[fe]]=c[W++]);return We}function Xr(c,p){var b=-1,T=c.length;for(p||(p=Ae(T));++b<T;)p[b]=c[b];return p}function Fa(c,p,b,T){var W=!b;b||(b={});for(var J=-1,fe=p.length;++J<fe;){var ge=p[J],Se=T?T(b[ge],c[ge],ge,b,c):n;Se===n&&(Se=c[ge]),W?Ba(b,ge,Se):Uu(b,ge,Se)}return b}function YT(c,p){return Fa(c,bm(c),p)}function GT(c,p){return Fa(c,Ab(c),p)}function pp(c,p){return function(b,T){var W=Vt(b)?cc:gT,J=p?p():{};return W(b,c,Mt(T,2),J)}}function Cc(c){return Kt(function(p,b){var T=-1,W=b.length,J=W>1?b[W-1]:n,fe=W>2?b[2]:n;for(J=c.length>3&&typeof J=="function"?(W--,J):n,fe&&Dr(b[0],b[1],fe)&&(J=W<3?n:J,W=1),p=Cn(p);++T<W;){var ge=b[T];ge&&c(p,ge,T,J)}return p})}function yb(c,p){return function(b,T){if(b==null)return b;if(!Zr(b))return c(b,T);for(var W=b.length,J=p?W:-1,fe=Cn(b);(p?J--:++J<W)&&T(fe[J],J,fe)!==!1;);return b}}function _b(c){return function(p,b,T){for(var W=-1,J=Cn(p),fe=T(p),ge=fe.length;ge--;){var Se=fe[c?ge:++W];if(b(J[Se],Se,J)===!1)break}return p}}function KT(c,p,b){var T=p&_,W=Zu(c);function J(){var fe=this&&this!==Ln&&this instanceof J?W:c;return fe.apply(T?b:this,arguments)}return J}function xb(c){return function(p){p=gn(p);var b=vc(p)?la(p):n,T=b?b[0]:p.charAt(0),W=b?ss(b,1).join(""):p.slice(1);return T[c]()+W}}function Ec(c){return function(p){return dc(_y(yy(p).replace(Iu,"")),c,"")}}function Zu(c){return function(){var p=arguments;switch(p.length){case 0:return new c;case 1:return new c(p[0]);case 2:return new c(p[0],p[1]);case 3:return new c(p[0],p[1],p[2]);case 4:return new c(p[0],p[1],p[2],p[3]);case 5:return new c(p[0],p[1],p[2],p[3],p[4]);case 6:return new c(p[0],p[1],p[2],p[3],p[4],p[5]);case 7:return new c(p[0],p[1],p[2],p[3],p[4],p[5],p[6])}var b=Sc(c.prototype),T=c.apply(b,p);return $n(T)?T:b}}function XT(c,p,b){var T=Zu(c);function W(){for(var J=arguments.length,fe=Ae(J),ge=J,Se=Mc(W);ge--;)fe[ge]=arguments[ge];var Fe=J<3&&fe[0]!==Se&&fe[J-1]!==Se?[]:ns(fe,Se);if(J-=Fe.length,J<b)return kb(c,p,hp,W.placeholder,n,fe,Fe,n,n,b-J);var Ve=this&&this!==Ln&&this instanceof W?T:c;return er(Ve,this,fe)}return W}function Sb(c){return function(p,b,T){var W=Cn(p);if(!Zr(p)){var J=Mt(b,3);p=ur(p),b=function(ge){return J(W[ge],ge,W)}}var fe=c(p,b,T);return fe>-1?W[J?p[fe]:fe]:n}}function Cb(c){return xi(function(p){var b=p.length,T=b,W=$o.prototype.thru;for(c&&p.reverse();T--;){var J=p[T];if(typeof J!="function")throw new Lo(i);if(W&&!fe&&wp(J)=="wrapper")var fe=new $o([],!0)}for(T=fe?T:b;++T<b;){J=p[T];var ge=wp(J),Se=ge=="wrapper"?vm(J):n;Se&&_m(Se[0])&&Se[1]==($|C|P|A)&&!Se[4].length&&Se[9]==1?fe=fe[wp(Se[0])].apply(fe,Se[3]):fe=J.length==1&&_m(J)?fe[ge]():fe.thru(J)}return function(){var Fe=arguments,Ve=Fe[0];if(fe&&Fe.length==1&&Vt(Ve))return fe.plant(Ve).value();for(var We=0,Qe=b?p[We].apply(this,Fe):Ve;++We<b;)Qe=p[We].call(this,Qe);return Qe}})}function hp(c,p,b,T,W,J,fe,ge,Se,Fe){var Ve=p&$,We=p&_,Qe=p&S,dt=p&(C|R),Nt=p&M,qt=Qe?n:Zu(c);function xt(){for(var Qt=arguments.length,tn=Ae(Qt),bo=Qt;bo--;)tn[bo]=arguments[bo];if(dt)var Br=Mc(xt),yo=go(tn,Br);if(T&&(tn=wb(tn,T,W,dt)),J&&(tn=bb(tn,J,fe,dt)),Qt-=yo,dt&&Qt<Fe){var Un=ns(tn,Br);return kb(c,p,hp,xt.placeholder,b,tn,Un,ge,Se,Fe-Qt)}var fa=We?b:this,Mi=Qe?fa[c]:c;return Qt=tn.length,ge?tn=gN(tn,ge):Nt&&Qt>1&&tn.reverse(),Ve&&Se<Qt&&(tn.length=Se),this&&this!==Ln&&this instanceof xt&&(Mi=qt||Zu(Mi)),Mi.apply(fa,tn)}return xt}function Eb(c,p){return function(b,T){return CT(b,c,p(T),{})}}function mp(c,p){return function(b,T){var W;if(b===n&&T===n)return p;if(b!==n&&(W=b),T!==n){if(W===n)return T;typeof b=="string"||typeof T=="string"?(b=vo(b),T=vo(T)):(b=ub(b),T=ub(T)),W=c(b,T)}return W}}function pm(c){return xi(function(p){return p=xn(p,yt(Mt())),Kt(function(b){var T=this;return c(p,function(W){return er(W,T,b)})})})}function gp(c,p){p=p===n?" ":vo(p);var b=p.length;if(b<2)return b?im(p,c):p;var T=im(p,np(c/wc(p)));return vc(p)?ss(la(T),0,c).join(""):T.slice(0,c)}function ZT(c,p,b,T){var W=p&_,J=Zu(c);function fe(){for(var ge=-1,Se=arguments.length,Fe=-1,Ve=T.length,We=Ae(Ve+Se),Qe=this&&this!==Ln&&this instanceof fe?J:c;++Fe<Ve;)We[Fe]=T[Fe];for(;Se--;)We[Fe++]=arguments[++ge];return er(Qe,W?b:this,We)}return fe}function Mb(c){return function(p,b,T){return T&&typeof T!="number"&&Dr(p,b,T)&&(b=T=n),p=Ei(p),b===n?(b=p,p=0):b=Ei(b),T=T===n?p<b?1:-1:Ei(T),$T(p,b,T,c)}}function vp(c){return function(p,b){return typeof p=="string"&&typeof b=="string"||(p=Fo(p),b=Fo(b)),c(p,b)}}function kb(c,p,b,T,W,J,fe,ge,Se,Fe){var Ve=p&C,We=Ve?fe:n,Qe=Ve?n:fe,dt=Ve?J:n,Nt=Ve?n:J;p|=Ve?P:O,p&=~(Ve?O:P),p&x||(p&=-4);var qt=[c,p,W,dt,We,Nt,Qe,ge,Se,Fe],xt=b.apply(n,qt);return _m(c)&&zb(xt,qt),xt.placeholder=T,Fb(xt,c,p)}function hm(c){var p=tr[c];return function(b,T){if(b=Fo(b),T=T==null?0:xr(Ht(T),292),T&&F3(b)){var W=(gn(b)+"e").split("e"),J=p(W[0]+"e"+(+W[1]+T));return W=(gn(J)+"e").split("e"),+(W[0]+"e"+(+W[1]-T))}return p(b)}}var QT=_c&&1/Uf(new _c([,-0]))[1]==D?function(c){return new _c(c)}:Dm;function Rb(c){return function(p){var b=Sr(p);return b==pe?Wh(p):b==ht?mR(p):Ge(p,c(p))}}function _i(c,p,b,T,W,J,fe,ge){var Se=p&S;if(!Se&&typeof c!="function")throw new Lo(i);var Fe=T?T.length:0;if(Fe||(p&=-97,T=W=n),fe=fe===n?fe:nr(Ht(fe),0),ge=ge===n?ge:Ht(ge),Fe-=W?W.length:0,p&O){var Ve=T,We=W;T=W=n}var Qe=Se?n:vm(c),dt=[c,p,b,T,W,Ve,We,J,fe,ge];if(Qe&&pN(dt,Qe),c=dt[0],p=dt[1],b=dt[2],T=dt[3],W=dt[4],ge=dt[9]=dt[9]===n?Se?0:c.length:nr(dt[9]-Fe,0),!ge&&p&(C|R)&&(p&=-25),!p||p==_)var Nt=KT(c,p,b);else p==C||p==R?Nt=XT(c,p,ge):(p==P||p==(_|P))&&!W.length?Nt=ZT(c,p,b,T):Nt=hp.apply(n,dt);var qt=Qe?lb:zb;return Fb(qt(Nt,dt),c,p)}function Tb(c,p,b,T){return c===n||da(c,yc[b])&&!mn.call(T,b)?p:c}function Nb(c,p,b,T,W,J){return $n(c)&&$n(p)&&(J.set(p,c),up(c,p,n,Nb,J),J.delete(p)),c}function JT(c){return ed(c)?n:c}function Pb(c,p,b,T,W,J){var fe=b&w,ge=c.length,Se=p.length;if(ge!=Se&&!(fe&&Se>ge))return!1;var Fe=J.get(c),Ve=J.get(p);if(Fe&&Ve)return Fe==p&&Ve==c;var We=-1,Qe=!0,dt=b&y?new al:n;for(J.set(c,p),J.set(p,c);++We<ge;){var Nt=c[We],qt=p[We];if(T)var xt=fe?T(qt,Nt,We,p,c,J):T(Nt,qt,We,c,p,J);if(xt!==n){if(xt)continue;Qe=!1;break}if(dt){if(!pc(p,function(Qt,tn){if(!fn(dt,tn)&&(Nt===Qt||W(Nt,Qt,b,T,J)))return dt.push(tn)})){Qe=!1;break}}else if(!(Nt===qt||W(Nt,qt,b,T,J))){Qe=!1;break}}return J.delete(c),J.delete(p),Qe}function eN(c,p,b,T,W,J,fe){switch(b){case Tn:if(c.byteLength!=p.byteLength||c.byteOffset!=p.byteOffset)return!1;c=c.buffer,p=p.buffer;case Gt:return!(c.byteLength!=p.byteLength||!J(new Qf(c),new Qf(p)));case we:case ye:case be:return da(+c,+p);case Oe:return c.name==p.name&&c.message==p.message;case at:case st:return c==p+"";case pe:var ge=Wh;case ht:var Se=T&w;if(ge||(ge=Uf),c.size!=p.size&&!Se)return!1;var Fe=fe.get(c);if(Fe)return Fe==p;T|=y,fe.set(c,p);var Ve=Pb(ge(c),ge(p),T,W,J,fe);return fe.delete(c),Ve;case Ct:if(qu)return qu.call(c)==qu.call(p)}return!1}function tN(c,p,b,T,W,J){var fe=b&w,ge=mm(c),Se=ge.length,Fe=mm(p),Ve=Fe.length;if(Se!=Ve&&!fe)return!1;for(var We=Se;We--;){var Qe=ge[We];if(!(fe?Qe in p:mn.call(p,Qe)))return!1}var dt=J.get(c),Nt=J.get(p);if(dt&&Nt)return dt==p&&Nt==c;var qt=!0;J.set(c,p),J.set(p,c);for(var xt=fe;++We<Se;){Qe=ge[We];var Qt=c[Qe],tn=p[Qe];if(T)var bo=fe?T(tn,Qt,Qe,p,c,J):T(Qt,tn,Qe,c,p,J);if(!(bo===n?Qt===tn||W(Qt,tn,b,T,J):bo)){qt=!1;break}xt||(xt=Qe=="constructor")}if(qt&&!xt){var Br=c.constructor,yo=p.constructor;Br!=yo&&"constructor"in c&&"constructor"in p&&!(typeof Br=="function"&&Br instanceof Br&&typeof yo=="function"&&yo instanceof yo)&&(qt=!1)}return J.delete(c),J.delete(p),qt}function xi(c){return Sm(Db(c,n,Ub),c+"")}function mm(c){return Z3(c,ur,bm)}function gm(c){return Z3(c,Qr,Ab)}var vm=op?function(c){return op.get(c)}:Dm;function wp(c){for(var p=c.name+"",b=xc[p],T=mn.call(xc,p)?b.length:0;T--;){var W=b[T],J=W.func;if(J==null||J==c)return W.name}return p}function Mc(c){var p=mn.call(K,"placeholder")?K:c;return p.placeholder}function Mt(){var c=K.iteratee||Lm;return c=c===Lm?eb:c,arguments.length?c(arguments[0],arguments[1]):c}function bp(c,p){var b=c.__data__;return cN(p)?b[typeof p=="string"?"string":"hash"]:b.map}function wm(c){for(var p=ur(c),b=p.length;b--;){var T=p[b],W=c[T];p[b]=[T,W,Lb(W)]}return p}function ll(c,p){var b=fR(c,p);return J3(b)?b:n}function nN(c){var p=mn.call(c,rl),b=c[rl];try{c[rl]=n;var T=!0}catch{}var W=Xf.call(c);return T&&(p?c[rl]=b:delete c[rl]),W}var bm=Uh?function(c){return c==null?[]:(c=Cn(c),Oo(Uh(c),function(p){return B3.call(c,p)}))}:Bm,Ab=Uh?function(c){for(var p=[];c;)Da(p,bm(c)),c=Jf(c);return p}:Bm,Sr=$r;(Yh&&Sr(new Yh(new ArrayBuffer(1)))!=Tn||ju&&Sr(new ju)!=pe||Gh&&Sr(Gh.resolve())!=qe||_c&&Sr(new _c)!=ht||Hu&&Sr(new Hu)!=Sn)&&(Sr=function(c){var p=$r(c),b=p==He?c.constructor:n,T=b?cl(b):"";if(T)switch(T){case BR:return Tn;case zR:return pe;case FR:return qe;case VR:return ht;case jR:return Sn}return p});function rN(c,p,b){for(var T=-1,W=b.length;++T<W;){var J=b[T],fe=J.size;switch(J.type){case"drop":c+=fe;break;case"dropRight":p-=fe;break;case"take":p=xr(p,c+fe);break;case"takeRight":c=nr(c,p-fe);break}}return{start:c,end:p}}function oN(c){var p=c.match(Jo);return p?p[1].split(ci):[]}function Ib(c,p,b){p=is(p,c);for(var T=-1,W=p.length,J=!1;++T<W;){var fe=ua(p[T]);if(!(J=c!=null&&b(c,fe)))break;c=c[fe]}return J||++T!=W?J:(W=c==null?0:c.length,!!W&&Mp(W)&&Si(fe,W)&&(Vt(c)||ul(c)))}function aN(c){var p=c.length,b=new c.constructor(p);return p&&typeof c[0]=="string"&&mn.call(c,"index")&&(b.index=c.index,b.input=c.input),b}function Ob(c){return typeof c.constructor=="function"&&!Qu(c)?Sc(Jf(c)):{}}function iN(c,p,b){var T=c.constructor;switch(p){case Gt:return fm(c);case we:case ye:return new T(+c);case Tn:return HT(c,b);case Hn:case Tt:case Ce:case Ye:case wt:case un:case on:case Lt:case mt:return gb(c,b);case pe:return new T;case be:case st:return new T(c);case at:return WT(c);case ht:return new T;case Ct:return qT(c)}}function sN(c,p){var b=p.length;if(!b)return c;var T=b-1;return p[T]=(b>1?"& ":"")+p[T],p=p.join(b>2?", ":" "),c.replace(Yi,`{
39
+ /* [wrapped with `+p+`] */
40
+ `)}function lN(c){return Vt(c)||ul(c)||!!(z3&&c&&c[z3])}function Si(c,p){var b=typeof c;return p=p??U,!!p&&(b=="number"||b!="symbol"&&ui.test(c))&&c>-1&&c%1==0&&c<p}function Dr(c,p,b){if(!$n(b))return!1;var T=typeof p;return(T=="number"?Zr(b)&&Si(p,b.length):T=="string"&&p in b)?da(b[p],c):!1}function ym(c,p){if(Vt(c))return!1;var b=typeof c;return b=="number"||b=="symbol"||b=="boolean"||c==null||wo(c)?!0:Nn.test(c)||!sr.test(c)||p!=null&&c in Cn(p)}function cN(c){var p=typeof c;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?c!=="__proto__":c===null}function _m(c){var p=wp(c),b=K[p];if(typeof b!="function"||!(p in Jt.prototype))return!1;if(c===b)return!0;var T=vm(b);return!!T&&c===T[0]}function uN(c){return!!L3&&L3 in c}var dN=Gf?Ci:zm;function Qu(c){var p=c&&c.constructor,b=typeof p=="function"&&p.prototype||yc;return c===b}function Lb(c){return c===c&&!$n(c)}function $b(c,p){return function(b){return b==null?!1:b[c]===p&&(p!==n||c in Cn(b))}}function fN(c){var p=Cp(c,function(T){return b.size===d&&b.clear(),T}),b=p.cache;return p}function pN(c,p){var b=c[1],T=p[1],W=b|T,J=W<(_|S|$),fe=T==$&&b==C||T==$&&b==A&&c[7].length<=p[8]||T==($|A)&&p[7].length<=p[8]&&b==C;if(!(J||fe))return c;T&_&&(c[2]=p[2],W|=b&_?0:x);var ge=p[3];if(ge){var Se=c[3];c[3]=Se?wb(Se,ge,p[4]):ge,c[4]=Se?ns(c[3],f):p[4]}return ge=p[5],ge&&(Se=c[5],c[5]=Se?bb(Se,ge,p[6]):ge,c[6]=Se?ns(c[5],f):p[6]),ge=p[7],ge&&(c[7]=ge),T&$&&(c[8]=c[8]==null?p[8]:xr(c[8],p[8])),c[9]==null&&(c[9]=p[9]),c[0]=p[0],c[1]=W,c}function hN(c){var p=[];if(c!=null)for(var b in Cn(c))p.push(b);return p}function mN(c){return Xf.call(c)}function Db(c,p,b){return p=nr(p===n?c.length-1:p,0),function(){for(var T=arguments,W=-1,J=nr(T.length-p,0),fe=Ae(J);++W<J;)fe[W]=T[p+W];W=-1;for(var ge=Ae(p+1);++W<p;)ge[W]=T[W];return ge[p]=b(fe),er(c,this,ge)}}function Bb(c,p){return p.length<2?c:sl(c,Bo(p,0,-1))}function gN(c,p){for(var b=c.length,T=xr(p.length,b),W=Xr(c);T--;){var J=p[T];c[T]=Si(J,b)?W[J]:n}return c}function xm(c,p){if(!(p==="constructor"&&typeof c[p]=="function")&&p!="__proto__")return c[p]}var zb=Vb(lb),Ju=PR||function(c,p){return Ln.setTimeout(c,p)},Sm=Vb(zT);function Fb(c,p,b){var T=p+"";return Sm(c,sN(T,vN(oN(T),b)))}function Vb(c){var p=0,b=0;return function(){var T=LR(),W=N-(T-b);if(b=T,W>0){if(++p>=F)return arguments[0]}else p=0;return c.apply(n,arguments)}}function yp(c,p){var b=-1,T=c.length,W=T-1;for(p=p===n?T:p;++b<p;){var J=am(b,W),fe=c[J];c[J]=c[b],c[b]=fe}return c.length=p,c}var jb=fN(function(c){var p=[];return c.charCodeAt(0)===46&&p.push(""),c.replace(Or,function(b,T,W,J){p.push(W?J.replace(Zs,"$1"):T||b)}),p});function ua(c){if(typeof c=="string"||wo(c))return c;var p=c+"";return p=="0"&&1/c==-D?"-0":p}function cl(c){if(c!=null){try{return Kf.call(c)}catch{}try{return c+""}catch{}}return""}function vN(c,p){return yr(ee,function(b){var T="_."+b[0];p&b[1]&&!cr(c,T)&&c.push(T)}),c.sort()}function Hb(c){if(c instanceof Jt)return c.clone();var p=new $o(c.__wrapped__,c.__chain__);return p.__actions__=Xr(c.__actions__),p.__index__=c.__index__,p.__values__=c.__values__,p}function wN(c,p,b){(b?Dr(c,p,b):p===n)?p=1:p=nr(Ht(p),0);var T=c==null?0:c.length;if(!T||p<1)return[];for(var W=0,J=0,fe=Ae(np(T/p));W<T;)fe[J++]=Bo(c,W,W+=p);return fe}function bN(c){for(var p=-1,b=c==null?0:c.length,T=0,W=[];++p<b;){var J=c[p];J&&(W[T++]=J)}return W}function yN(){var c=arguments.length;if(!c)return[];for(var p=Ae(c-1),b=arguments[0],T=c;T--;)p[T-1]=arguments[T];return Da(Vt(b)?Xr(b):[b],hr(p,1))}var _N=Kt(function(c,p){return qn(c)?Yu(c,hr(p,1,qn,!0)):[]}),xN=Kt(function(c,p){var b=zo(p);return qn(b)&&(b=n),qn(c)?Yu(c,hr(p,1,qn,!0),Mt(b,2)):[]}),SN=Kt(function(c,p){var b=zo(p);return qn(b)&&(b=n),qn(c)?Yu(c,hr(p,1,qn,!0),n,b):[]});function CN(c,p,b){var T=c==null?0:c.length;return T?(p=b||p===n?1:Ht(p),Bo(c,p<0?0:p,T)):[]}function EN(c,p,b){var T=c==null?0:c.length;return T?(p=b||p===n?1:Ht(p),p=T-p,Bo(c,0,p<0?0:p)):[]}function MN(c,p){return c&&c.length?fp(c,Mt(p,3),!0,!0):[]}function kN(c,p){return c&&c.length?fp(c,Mt(p,3),!0):[]}function RN(c,p,b,T){var W=c==null?0:c.length;return W?(b&&typeof b!="number"&&Dr(c,p,b)&&(b=0,T=W),yT(c,p,b,T)):[]}function Wb(c,p,b){var T=c==null?0:c.length;if(!T)return-1;var W=b==null?0:Ht(b);return W<0&&(W=nr(T+W,0)),nl(c,Mt(p,3),W)}function qb(c,p,b){var T=c==null?0:c.length;if(!T)return-1;var W=T-1;return b!==n&&(W=Ht(b),W=b<0?nr(T+W,0):xr(W,T-1)),nl(c,Mt(p,3),W,!0)}function Ub(c){var p=c==null?0:c.length;return p?hr(c,1):[]}function TN(c){var p=c==null?0:c.length;return p?hr(c,D):[]}function NN(c,p){var b=c==null?0:c.length;return b?(p=p===n?1:Ht(p),hr(c,p)):[]}function PN(c){for(var p=-1,b=c==null?0:c.length,T={};++p<b;){var W=c[p];Ba(T,W[0],W[1])}return T}function Yb(c){return c&&c.length?c[0]:n}function AN(c,p,b){var T=c==null?0:c.length;if(!T)return-1;var W=b==null?0:Ht(b);return W<0&&(W=nr(T+W,0)),wi(c,p,W)}function IN(c){var p=c==null?0:c.length;return p?Bo(c,0,-1):[]}var ON=Kt(function(c){var p=xn(c,um);return p.length&&p[0]===c[0]?em(p):[]}),LN=Kt(function(c){var p=zo(c),b=xn(c,um);return p===zo(b)?p=n:b.pop(),b.length&&b[0]===c[0]?em(b,Mt(p,2)):[]}),$N=Kt(function(c){var p=zo(c),b=xn(c,um);return p=typeof p=="function"?p:n,p&&b.pop(),b.length&&b[0]===c[0]?em(b,n,p):[]});function DN(c,p){return c==null?"":IR.call(c,p)}function zo(c){var p=c==null?0:c.length;return p?c[p-1]:n}function BN(c,p,b){var T=c==null?0:c.length;if(!T)return-1;var W=T;return b!==n&&(W=Ht(b),W=W<0?nr(T+W,0):xr(W,T-1)),p===p?vR(c,p,W):nl(c,zu,W,!0)}function zN(c,p){return c&&c.length?ob(c,Ht(p)):n}var FN=Kt(Gb);function Gb(c,p){return c&&c.length&&p&&p.length?om(c,p):c}function VN(c,p,b){return c&&c.length&&p&&p.length?om(c,p,Mt(b,2)):c}function jN(c,p,b){return c&&c.length&&p&&p.length?om(c,p,n,b):c}var HN=xi(function(c,p){var b=c==null?0:c.length,T=Xh(c,p);return sb(c,xn(p,function(W){return Si(W,b)?+W:W}).sort(vb)),T});function WN(c,p){var b=[];if(!(c&&c.length))return b;var T=-1,W=[],J=c.length;for(p=Mt(p,3);++T<J;){var fe=c[T];p(fe,T,c)&&(b.push(fe),W.push(T))}return sb(c,W),b}function Cm(c){return c==null?c:DR.call(c)}function qN(c,p,b){var T=c==null?0:c.length;return T?(b&&typeof b!="number"&&Dr(c,p,b)?(p=0,b=T):(p=p==null?0:Ht(p),b=b===n?T:Ht(b)),Bo(c,p,b)):[]}function UN(c,p){return dp(c,p)}function YN(c,p,b){return sm(c,p,Mt(b,2))}function GN(c,p){var b=c==null?0:c.length;if(b){var T=dp(c,p);if(T<b&&da(c[T],p))return T}return-1}function KN(c,p){return dp(c,p,!0)}function XN(c,p,b){return sm(c,p,Mt(b,2),!0)}function ZN(c,p){var b=c==null?0:c.length;if(b){var T=dp(c,p,!0)-1;if(da(c[T],p))return T}return-1}function QN(c){return c&&c.length?cb(c):[]}function JN(c,p){return c&&c.length?cb(c,Mt(p,2)):[]}function eP(c){var p=c==null?0:c.length;return p?Bo(c,1,p):[]}function tP(c,p,b){return c&&c.length?(p=b||p===n?1:Ht(p),Bo(c,0,p<0?0:p)):[]}function nP(c,p,b){var T=c==null?0:c.length;return T?(p=b||p===n?1:Ht(p),p=T-p,Bo(c,p<0?0:p,T)):[]}function rP(c,p){return c&&c.length?fp(c,Mt(p,3),!1,!0):[]}function oP(c,p){return c&&c.length?fp(c,Mt(p,3)):[]}var aP=Kt(function(c){return as(hr(c,1,qn,!0))}),iP=Kt(function(c){var p=zo(c);return qn(p)&&(p=n),as(hr(c,1,qn,!0),Mt(p,2))}),sP=Kt(function(c){var p=zo(c);return p=typeof p=="function"?p:n,as(hr(c,1,qn,!0),n,p)});function lP(c){return c&&c.length?as(c):[]}function cP(c,p){return c&&c.length?as(c,Mt(p,2)):[]}function uP(c,p){return p=typeof p=="function"?p:n,c&&c.length?as(c,n,p):[]}function Em(c){if(!(c&&c.length))return[];var p=0;return c=Oo(c,function(b){if(qn(b))return p=nr(b.length,p),!0}),ze(p,function(b){return xn(c,j(b))})}function Kb(c,p){if(!(c&&c.length))return[];var b=Em(c);return p==null?b:xn(b,function(T){return er(p,n,T)})}var dP=Kt(function(c,p){return qn(c)?Yu(c,p):[]}),fP=Kt(function(c){return cm(Oo(c,qn))}),pP=Kt(function(c){var p=zo(c);return qn(p)&&(p=n),cm(Oo(c,qn),Mt(p,2))}),hP=Kt(function(c){var p=zo(c);return p=typeof p=="function"?p:n,cm(Oo(c,qn),n,p)}),mP=Kt(Em);function gP(c,p){return pb(c||[],p||[],Uu)}function vP(c,p){return pb(c||[],p||[],Xu)}var wP=Kt(function(c){var p=c.length,b=p>1?c[p-1]:n;return b=typeof b=="function"?(c.pop(),b):n,Kb(c,b)});function Xb(c){var p=K(c);return p.__chain__=!0,p}function bP(c,p){return p(c),c}function _p(c,p){return p(c)}var yP=xi(function(c){var p=c.length,b=p?c[0]:0,T=this.__wrapped__,W=function(J){return Xh(J,c)};return p>1||this.__actions__.length||!(T instanceof Jt)||!Si(b)?this.thru(W):(T=T.slice(b,+b+(p?1:0)),T.__actions__.push({func:_p,args:[W],thisArg:n}),new $o(T,this.__chain__).thru(function(J){return p&&!J.length&&J.push(n),J}))});function _P(){return Xb(this)}function xP(){return new $o(this.value(),this.__chain__)}function SP(){this.__values__===n&&(this.__values__=uy(this.value()));var c=this.__index__>=this.__values__.length,p=c?n:this.__values__[this.__index__++];return{done:c,value:p}}function CP(){return this}function EP(c){for(var p,b=this;b instanceof ip;){var T=Hb(b);T.__index__=0,T.__values__=n,p?W.__wrapped__=T:p=T;var W=T;b=b.__wrapped__}return W.__wrapped__=c,p}function MP(){var c=this.__wrapped__;if(c instanceof Jt){var p=c;return this.__actions__.length&&(p=new Jt(this)),p=p.reverse(),p.__actions__.push({func:_p,args:[Cm],thisArg:n}),new $o(p,this.__chain__)}return this.thru(Cm)}function kP(){return fb(this.__wrapped__,this.__actions__)}var RP=pp(function(c,p,b){mn.call(c,b)?++c[b]:Ba(c,b,1)});function TP(c,p,b){var T=Vt(c)?$u:bT;return b&&Dr(c,p,b)&&(p=n),T(c,Mt(p,3))}function NP(c,p){var b=Vt(c)?Oo:K3;return b(c,Mt(p,3))}var PP=Sb(Wb),AP=Sb(qb);function IP(c,p){return hr(xp(c,p),1)}function OP(c,p){return hr(xp(c,p),D)}function LP(c,p,b){return b=b===n?1:Ht(b),hr(xp(c,p),b)}function Zb(c,p){var b=Vt(c)?yr:os;return b(c,Mt(p,3))}function Qb(c,p){var b=Vt(c)?Hf:G3;return b(c,Mt(p,3))}var $P=pp(function(c,p,b){mn.call(c,b)?c[b].push(p):Ba(c,b,[p])});function DP(c,p,b,T){c=Zr(c)?c:Rc(c),b=b&&!T?Ht(b):0;var W=c.length;return b<0&&(b=nr(W+b,0)),kp(c)?b<=W&&c.indexOf(p,b)>-1:!!W&&wi(c,p,b)>-1}var BP=Kt(function(c,p,b){var T=-1,W=typeof p=="function",J=Zr(c)?Ae(c.length):[];return os(c,function(fe){J[++T]=W?er(p,fe,b):Gu(fe,p,b)}),J}),zP=pp(function(c,p,b){Ba(c,b,p)});function xp(c,p){var b=Vt(c)?xn:tb;return b(c,Mt(p,3))}function FP(c,p,b,T){return c==null?[]:(Vt(p)||(p=p==null?[]:[p]),b=T?n:b,Vt(b)||(b=b==null?[]:[b]),ab(c,p,b))}var VP=pp(function(c,p,b){c[b?0:1].push(p)},function(){return[[],[]]});function jP(c,p,b){var T=Vt(c)?dc:ie,W=arguments.length<3;return T(c,Mt(p,4),b,W,os)}function HP(c,p,b){var T=Vt(c)?fc:ie,W=arguments.length<3;return T(c,Mt(p,4),b,W,G3)}function WP(c,p){var b=Vt(c)?Oo:K3;return b(c,Ep(Mt(p,3)))}function qP(c){var p=Vt(c)?W3:DT;return p(c)}function UP(c,p,b){(b?Dr(c,p,b):p===n)?p=1:p=Ht(p);var T=Vt(c)?hT:BT;return T(c,p)}function YP(c){var p=Vt(c)?mT:FT;return p(c)}function GP(c){if(c==null)return 0;if(Zr(c))return kp(c)?wc(c):c.length;var p=Sr(c);return p==pe||p==ht?c.size:nm(c).length}function KP(c,p,b){var T=Vt(c)?pc:VT;return b&&Dr(c,p,b)&&(p=n),T(c,Mt(p,3))}var XP=Kt(function(c,p){if(c==null)return[];var b=p.length;return b>1&&Dr(c,p[0],p[1])?p=[]:b>2&&Dr(p[0],p[1],p[2])&&(p=[p[0]]),ab(c,hr(p,1),[])}),Sp=NR||function(){return Ln.Date.now()};function ZP(c,p){if(typeof p!="function")throw new Lo(i);return c=Ht(c),function(){if(--c<1)return p.apply(this,arguments)}}function Jb(c,p,b){return p=b?n:p,p=c&&p==null?c.length:p,_i(c,$,n,n,n,n,p)}function ey(c,p){var b;if(typeof p!="function")throw new Lo(i);return c=Ht(c),function(){return--c>0&&(b=p.apply(this,arguments)),c<=1&&(p=n),b}}var Mm=Kt(function(c,p,b){var T=_;if(b.length){var W=ns(b,Mc(Mm));T|=P}return _i(c,T,p,b,W)}),ty=Kt(function(c,p,b){var T=_|S;if(b.length){var W=ns(b,Mc(ty));T|=P}return _i(p,T,c,b,W)});function ny(c,p,b){p=b?n:p;var T=_i(c,C,n,n,n,n,n,p);return T.placeholder=ny.placeholder,T}function ry(c,p,b){p=b?n:p;var T=_i(c,R,n,n,n,n,n,p);return T.placeholder=ry.placeholder,T}function oy(c,p,b){var T,W,J,fe,ge,Se,Fe=0,Ve=!1,We=!1,Qe=!0;if(typeof c!="function")throw new Lo(i);p=Fo(p)||0,$n(b)&&(Ve=!!b.leading,We="maxWait"in b,J=We?nr(Fo(b.maxWait)||0,p):J,Qe="trailing"in b?!!b.trailing:Qe);function dt(Un){var fa=T,Mi=W;return T=W=n,Fe=Un,fe=c.apply(Mi,fa),fe}function Nt(Un){return Fe=Un,ge=Ju(Qt,p),Ve?dt(Un):fe}function qt(Un){var fa=Un-Se,Mi=Un-Fe,Cy=p-fa;return We?xr(Cy,J-Mi):Cy}function xt(Un){var fa=Un-Se,Mi=Un-Fe;return Se===n||fa>=p||fa<0||We&&Mi>=J}function Qt(){var Un=Sp();if(xt(Un))return tn(Un);ge=Ju(Qt,qt(Un))}function tn(Un){return ge=n,Qe&&T?dt(Un):(T=W=n,fe)}function bo(){ge!==n&&hb(ge),Fe=0,T=Se=W=ge=n}function Br(){return ge===n?fe:tn(Sp())}function yo(){var Un=Sp(),fa=xt(Un);if(T=arguments,W=this,Se=Un,fa){if(ge===n)return Nt(Se);if(We)return hb(ge),ge=Ju(Qt,p),dt(Se)}return ge===n&&(ge=Ju(Qt,p)),fe}return yo.cancel=bo,yo.flush=Br,yo}var QP=Kt(function(c,p){return Y3(c,1,p)}),JP=Kt(function(c,p,b){return Y3(c,Fo(p)||0,b)});function eA(c){return _i(c,M)}function Cp(c,p){if(typeof c!="function"||p!=null&&typeof p!="function")throw new Lo(i);var b=function(){var T=arguments,W=p?p.apply(this,T):T[0],J=b.cache;if(J.has(W))return J.get(W);var fe=c.apply(this,T);return b.cache=J.set(W,fe)||J,fe};return b.cache=new(Cp.Cache||yi),b}Cp.Cache=yi;function Ep(c){if(typeof c!="function")throw new Lo(i);return function(){var p=arguments;switch(p.length){case 0:return!c.call(this);case 1:return!c.call(this,p[0]);case 2:return!c.call(this,p[0],p[1]);case 3:return!c.call(this,p[0],p[1],p[2])}return!c.apply(this,p)}}function tA(c){return ey(2,c)}var nA=jT(function(c,p){p=p.length==1&&Vt(p[0])?xn(p[0],yt(Mt())):xn(hr(p,1),yt(Mt()));var b=p.length;return Kt(function(T){for(var W=-1,J=xr(T.length,b);++W<J;)T[W]=p[W].call(this,T[W]);return er(c,this,T)})}),km=Kt(function(c,p){var b=ns(p,Mc(km));return _i(c,P,n,p,b)}),ay=Kt(function(c,p){var b=ns(p,Mc(ay));return _i(c,O,n,p,b)}),rA=xi(function(c,p){return _i(c,A,n,n,n,p)});function oA(c,p){if(typeof c!="function")throw new Lo(i);return p=p===n?p:Ht(p),Kt(c,p)}function aA(c,p){if(typeof c!="function")throw new Lo(i);return p=p==null?0:nr(Ht(p),0),Kt(function(b){var T=b[p],W=ss(b,0,p);return T&&Da(W,T),er(c,this,W)})}function iA(c,p,b){var T=!0,W=!0;if(typeof c!="function")throw new Lo(i);return $n(b)&&(T="leading"in b?!!b.leading:T,W="trailing"in b?!!b.trailing:W),oy(c,p,{leading:T,maxWait:p,trailing:W})}function sA(c){return Jb(c,1)}function lA(c,p){return km(dm(p),c)}function cA(){if(!arguments.length)return[];var c=arguments[0];return Vt(c)?c:[c]}function uA(c){return Do(c,g)}function dA(c,p){return p=typeof p=="function"?p:n,Do(c,g,p)}function fA(c){return Do(c,m|g)}function pA(c,p){return p=typeof p=="function"?p:n,Do(c,m|g,p)}function hA(c,p){return p==null||U3(c,p,ur(p))}function da(c,p){return c===p||c!==c&&p!==p}var mA=vp(Jh),gA=vp(function(c,p){return c>=p}),ul=Q3((function(){return arguments})())?Q3:function(c){return Vn(c)&&mn.call(c,"callee")&&!B3.call(c,"callee")},Vt=Ae.isArray,vA=sc?yt(sc):ET;function Zr(c){return c!=null&&Mp(c.length)&&!Ci(c)}function qn(c){return Vn(c)&&Zr(c)}function wA(c){return c===!0||c===!1||Vn(c)&&$r(c)==we}var ls=AR||zm,bA=Vf?yt(Vf):MT;function yA(c){return Vn(c)&&c.nodeType===1&&!ed(c)}function _A(c){if(c==null)return!0;if(Zr(c)&&(Vt(c)||typeof c=="string"||typeof c.splice=="function"||ls(c)||kc(c)||ul(c)))return!c.length;var p=Sr(c);if(p==pe||p==ht)return!c.size;if(Qu(c))return!nm(c).length;for(var b in c)if(mn.call(c,b))return!1;return!0}function xA(c,p){return Ku(c,p)}function SA(c,p,b){b=typeof b=="function"?b:n;var T=b?b(c,p):n;return T===n?Ku(c,p,n,b):!!T}function Rm(c){if(!Vn(c))return!1;var p=$r(c);return p==Oe||p==Le||typeof c.message=="string"&&typeof c.name=="string"&&!ed(c)}function CA(c){return typeof c=="number"&&F3(c)}function Ci(c){if(!$n(c))return!1;var p=$r(c);return p==Ne||p==me||p==ve||p==_e}function iy(c){return typeof c=="number"&&c==Ht(c)}function Mp(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=U}function $n(c){var p=typeof c;return c!=null&&(p=="object"||p=="function")}function Vn(c){return c!=null&&typeof c=="object"}var sy=ts?yt(ts):RT;function EA(c,p){return c===p||tm(c,p,wm(p))}function MA(c,p,b){return b=typeof b=="function"?b:n,tm(c,p,wm(p),b)}function kA(c){return ly(c)&&c!=+c}function RA(c){if(dN(c))throw new Dt(a);return J3(c)}function TA(c){return c===null}function NA(c){return c==null}function ly(c){return typeof c=="number"||Vn(c)&&$r(c)==be}function ed(c){if(!Vn(c)||$r(c)!=He)return!1;var p=Jf(c);if(p===null)return!0;var b=mn.call(p,"constructor")&&p.constructor;return typeof b=="function"&&b instanceof b&&Kf.call(b)==MR}var Tm=jf?yt(jf):TT;function PA(c){return iy(c)&&c>=-U&&c<=U}var cy=lc?yt(lc):NT;function kp(c){return typeof c=="string"||!Vt(c)&&Vn(c)&&$r(c)==st}function wo(c){return typeof c=="symbol"||Vn(c)&&$r(c)==Ct}var kc=tl?yt(tl):PT;function AA(c){return c===n}function IA(c){return Vn(c)&&Sr(c)==Sn}function OA(c){return Vn(c)&&$r(c)==Jn}var LA=vp(rm),$A=vp(function(c,p){return c<=p});function uy(c){if(!c)return[];if(Zr(c))return kp(c)?la(c):Xr(c);if(Vu&&c[Vu])return hR(c[Vu]());var p=Sr(c),b=p==pe?Wh:p==ht?Uf:Rc;return b(c)}function Ei(c){if(!c)return c===0?c:0;if(c=Fo(c),c===D||c===-D){var p=c<0?-1:1;return p*Y}return c===c?c:0}function Ht(c){var p=Ei(c),b=p%1;return p===p?b?p-b:p:0}function dy(c){return c?il(Ht(c),0,Q):0}function Fo(c){if(typeof c=="number")return c;if(wo(c))return oe;if($n(c)){var p=typeof c.valueOf=="function"?c.valueOf():c;c=$n(p)?p+"":p}if(typeof c!="string")return c===0?c:+c;c=_t(c);var b=ra.test(c);return b||Na.test(c)?Ji(c.slice(2),b?2:8):Ta.test(c)?oe:+c}function fy(c){return Fa(c,Qr(c))}function DA(c){return c?il(Ht(c),-U,U):c===0?c:0}function gn(c){return c==null?"":vo(c)}var BA=Cc(function(c,p){if(Qu(p)||Zr(p)){Fa(p,ur(p),c);return}for(var b in p)mn.call(p,b)&&Uu(c,b,p[b])}),py=Cc(function(c,p){Fa(p,Qr(p),c)}),hy=Cc(function(c,p,b,T){Fa(p,Qr(p),c,T)}),Nm=Cc(function(c,p,b,T){Fa(p,ur(p),c,T)}),zA=xi(Xh);function FA(c,p){var b=Sc(c);return p==null?b:q3(b,p)}var VA=Kt(function(c,p){c=Cn(c);var b=-1,T=p.length,W=T>2?p[2]:n;for(W&&Dr(p[0],p[1],W)&&(T=1);++b<T;)for(var J=p[b],fe=Qr(J),ge=-1,Se=fe.length;++ge<Se;){var Fe=fe[ge],Ve=c[Fe];(Ve===n||da(Ve,yc[Fe])&&!mn.call(c,Fe))&&(c[Fe]=J[Fe])}return c}),jA=Kt(function(c){return c.push(n,Nb),er(my,n,c)});function HA(c,p){return Du(c,Mt(p,3),za)}function WA(c,p){return Du(c,Mt(p,3),Qh)}function qA(c,p){return c==null?c:Zh(c,Mt(p,3),Qr)}function UA(c,p){return c==null?c:X3(c,Mt(p,3),Qr)}function YA(c,p){return c&&za(c,Mt(p,3))}function GA(c,p){return c&&Qh(c,Mt(p,3))}function KA(c){return c==null?[]:cp(c,ur(c))}function XA(c){return c==null?[]:cp(c,Qr(c))}function Pm(c,p,b){var T=c==null?n:sl(c,p);return T===n?b:T}function ZA(c,p){return c!=null&&Ib(c,p,_T)}function Am(c,p){return c!=null&&Ib(c,p,xT)}var QA=Eb(function(c,p,b){p!=null&&typeof p.toString!="function"&&(p=Xf.call(p)),c[p]=b},Om(Jr)),JA=Eb(function(c,p,b){p!=null&&typeof p.toString!="function"&&(p=Xf.call(p)),mn.call(c,p)?c[p].push(b):c[p]=[b]},Mt),eI=Kt(Gu);function ur(c){return Zr(c)?H3(c):nm(c)}function Qr(c){return Zr(c)?H3(c,!0):AT(c)}function tI(c,p){var b={};return p=Mt(p,3),za(c,function(T,W,J){Ba(b,p(T,W,J),T)}),b}function nI(c,p){var b={};return p=Mt(p,3),za(c,function(T,W,J){Ba(b,W,p(T,W,J))}),b}var rI=Cc(function(c,p,b){up(c,p,b)}),my=Cc(function(c,p,b,T){up(c,p,b,T)}),oI=xi(function(c,p){var b={};if(c==null)return b;var T=!1;p=xn(p,function(J){return J=is(J,c),T||(T=J.length>1),J}),Fa(c,gm(c),b),T&&(b=Do(b,m|v|g,JT));for(var W=p.length;W--;)lm(b,p[W]);return b});function aI(c,p){return gy(c,Ep(Mt(p)))}var iI=xi(function(c,p){return c==null?{}:OT(c,p)});function gy(c,p){if(c==null)return{};var b=xn(gm(c),function(T){return[T]});return p=Mt(p),ib(c,b,function(T,W){return p(T,W[0])})}function sI(c,p,b){p=is(p,c);var T=-1,W=p.length;for(W||(W=1,c=n);++T<W;){var J=c==null?n:c[ua(p[T])];J===n&&(T=W,J=b),c=Ci(J)?J.call(c):J}return c}function lI(c,p,b){return c==null?c:Xu(c,p,b)}function cI(c,p,b,T){return T=typeof T=="function"?T:n,c==null?c:Xu(c,p,b,T)}var vy=Rb(ur),wy=Rb(Qr);function uI(c,p,b){var T=Vt(c),W=T||ls(c)||kc(c);if(p=Mt(p,4),b==null){var J=c&&c.constructor;W?b=T?new J:[]:$n(c)?b=Ci(J)?Sc(Jf(c)):{}:b={}}return(W?yr:za)(c,function(fe,ge,Se){return p(b,fe,ge,Se)}),b}function dI(c,p){return c==null?!0:lm(c,p)}function fI(c,p,b){return c==null?c:db(c,p,dm(b))}function pI(c,p,b,T){return T=typeof T=="function"?T:n,c==null?c:db(c,p,dm(b),T)}function Rc(c){return c==null?[]:$t(c,ur(c))}function hI(c){return c==null?[]:$t(c,Qr(c))}function mI(c,p,b){return b===n&&(b=p,p=n),b!==n&&(b=Fo(b),b=b===b?b:0),p!==n&&(p=Fo(p),p=p===p?p:0),il(Fo(c),p,b)}function gI(c,p,b){return p=Ei(p),b===n?(b=p,p=0):b=Ei(b),c=Fo(c),ST(c,p,b)}function vI(c,p,b){if(b&&typeof b!="boolean"&&Dr(c,p,b)&&(p=b=n),b===n&&(typeof p=="boolean"?(b=p,p=n):typeof c=="boolean"&&(b=c,c=n)),c===n&&p===n?(c=0,p=1):(c=Ei(c),p===n?(p=c,c=0):p=Ei(p)),c>p){var T=c;c=p,p=T}if(b||c%1||p%1){var W=V3();return xr(c+W*(p-c+Qs("1e-"+((W+"").length-1))),p)}return am(c,p)}var wI=Ec(function(c,p,b){return p=p.toLowerCase(),c+(b?by(p):p)});function by(c){return Im(gn(c).toLowerCase())}function yy(c){return c=gn(c),c&&c.replace(di,gc).replace(Ou,"")}function bI(c,p,b){c=gn(c),p=vo(p);var T=c.length;b=b===n?T:il(Ht(b),0,T);var W=b;return b-=p.length,b>=0&&c.slice(b,W)==p}function yI(c){return c=gn(c),c&&_n.test(c)?c.replace(en,qf):c}function _I(c){return c=gn(c),c&&li.test(c)?c.replace(zn,"\\$&"):c}var xI=Ec(function(c,p,b){return c+(b?"-":"")+p.toLowerCase()}),SI=Ec(function(c,p,b){return c+(b?" ":"")+p.toLowerCase()}),CI=xb("toLowerCase");function EI(c,p,b){c=gn(c),p=Ht(p);var T=p?wc(c):0;if(!p||T>=p)return c;var W=(p-T)/2;return gp(rp(W),b)+c+gp(np(W),b)}function MI(c,p,b){c=gn(c),p=Ht(p);var T=p?wc(c):0;return p&&T<p?c+gp(p-T,b):c}function kI(c,p,b){c=gn(c),p=Ht(p);var T=p?wc(c):0;return p&&T<p?gp(p-T,b)+c:c}function RI(c,p,b){return b||p==null?p=0:p&&(p=+p),$R(gn(c).replace(Qo,""),p||0)}function TI(c,p,b){return(b?Dr(c,p,b):p===n)?p=1:p=Ht(p),im(gn(c),p)}function NI(){var c=arguments,p=gn(c[0]);return c.length<3?p:p.replace(c[1],c[2])}var PI=Ec(function(c,p,b){return c+(b?"_":"")+p.toLowerCase()});function AI(c,p,b){return b&&typeof b!="number"&&Dr(c,p,b)&&(p=b=n),b=b===n?Q:b>>>0,b?(c=gn(c),c&&(typeof p=="string"||p!=null&&!Tm(p))&&(p=vo(p),!p&&vc(c))?ss(la(c),0,b):c.split(p,b)):[]}var II=Ec(function(c,p,b){return c+(b?" ":"")+Im(p)});function OI(c,p,b){return c=gn(c),b=b==null?0:il(Ht(b),0,c.length),p=vo(p),c.slice(b,b+p.length)==p}function LI(c,p,b){var T=K.templateSettings;b&&Dr(c,p,b)&&(p=n),c=gn(c),p=Nm({},p,T,Tb);var W=Nm({},p.imports,T.imports,Tb),J=ur(W),fe=$t(W,J);yr(J,function(xt){if(Ra.test(xt))throw new Dt(l)});var ge,Se,Fe=0,Ve=p.interpolate||Po,We="__p += '",Qe=qh((p.escape||Po).source+"|"+Ve.source+"|"+(Ve===On?ta:Po).source+"|"+(p.evaluate||Po).source+"|$","g"),dt="//# sourceURL="+(mn.call(p,"sourceURL")?(p.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ie+"]")+`
41
+ `;c.replace(Qe,function(xt,Qt,tn,bo,Br,yo){return tn||(tn=bo),We+=c.slice(Fe,yo).replace(fi,Fu),Qt&&(ge=!0,We+=`' +
42
+ __e(`+Qt+`) +
43
+ '`),Br&&(Se=!0,We+=`';
44
+ `+Br+`;
45
+ __p += '`),tn&&(We+=`' +
46
+ ((__t = (`+tn+`)) == null ? '' : __t) +
47
+ '`),Fe=yo+xt.length,xt}),We+=`';
48
+ `;var Nt=mn.call(p,"variable")&&p.variable;if(!Nt)We=`with (obj) {
49
+ `+We+`
50
+ }
51
+ `;else if(Ra.test(Nt))throw new Dt(s);We=(Se?We.replace(Ze,""):We).replace(Bt,"$1").replace(jt,"$1;"),We="function("+(Nt||"obj")+`) {
52
+ `+(Nt?"":`obj || (obj = {});
53
+ `)+"var __t, __p = ''"+(ge?", __e = _.escape":"")+(Se?`, __j = Array.prototype.join;
54
+ function print() { __p += __j.call(arguments, '') }
55
+ `:`;
56
+ `)+We+`return __p
57
+ }`;var qt=xy(function(){return pn(J,dt+"return "+We).apply(n,fe)});if(qt.source=We,Rm(qt))throw qt;return qt}function $I(c){return gn(c).toLowerCase()}function DI(c){return gn(c).toUpperCase()}function BI(c,p,b){if(c=gn(c),c&&(b||p===n))return _t(c);if(!c||!(p=vo(p)))return c;var T=la(c),W=la(p),J=_r(T,W),fe=Kr(T,W)+1;return ss(T,J,fe).join("")}function zI(c,p,b){if(c=gn(c),c&&(b||p===n))return c.slice(0,O3(c)+1);if(!c||!(p=vo(p)))return c;var T=la(c),W=Kr(T,la(p))+1;return ss(T,0,W).join("")}function FI(c,p,b){if(c=gn(c),c&&(b||p===n))return c.replace(Qo,"");if(!c||!(p=vo(p)))return c;var T=la(c),W=_r(T,la(p));return ss(T,W).join("")}function VI(c,p){var b=L,T=B;if($n(p)){var W="separator"in p?p.separator:W;b="length"in p?Ht(p.length):b,T="omission"in p?vo(p.omission):T}c=gn(c);var J=c.length;if(vc(c)){var fe=la(c);J=fe.length}if(b>=J)return c;var ge=b-wc(T);if(ge<1)return T;var Se=fe?ss(fe,0,ge).join(""):c.slice(0,ge);if(W===n)return Se+T;if(fe&&(ge+=Se.length-ge),Tm(W)){if(c.slice(ge).search(W)){var Fe,Ve=Se;for(W.global||(W=qh(W.source,gn(na.exec(W))+"g")),W.lastIndex=0;Fe=W.exec(Ve);)var We=Fe.index;Se=Se.slice(0,We===n?ge:We)}}else if(c.indexOf(vo(W),ge)!=ge){var Qe=Se.lastIndexOf(W);Qe>-1&&(Se=Se.slice(0,Qe))}return Se+T}function jI(c){return c=gn(c),c&&Mn.test(c)?c.replace(rt,wR):c}var HI=Ec(function(c,p,b){return c+(b?" ":"")+p.toUpperCase()}),Im=xb("toUpperCase");function _y(c,p,b){return c=gn(c),p=b?n:p,p===n?pR(c)?_R(c):mc(c):c.match(p)||[]}var xy=Kt(function(c,p){try{return er(c,n,p)}catch(b){return Rm(b)?b:new Dt(b)}}),WI=xi(function(c,p){return yr(p,function(b){b=ua(b),Ba(c,b,Mm(c[b],c))}),c});function qI(c){var p=c==null?0:c.length,b=Mt();return c=p?xn(c,function(T){if(typeof T[1]!="function")throw new Lo(i);return[b(T[0]),T[1]]}):[],Kt(function(T){for(var W=-1;++W<p;){var J=c[W];if(er(J[0],this,T))return er(J[1],this,T)}})}function UI(c){return wT(Do(c,m))}function Om(c){return function(){return c}}function YI(c,p){return c==null||c!==c?p:c}var GI=Cb(),KI=Cb(!0);function Jr(c){return c}function Lm(c){return eb(typeof c=="function"?c:Do(c,m))}function XI(c){return nb(Do(c,m))}function ZI(c,p){return rb(c,Do(p,m))}var QI=Kt(function(c,p){return function(b){return Gu(b,c,p)}}),JI=Kt(function(c,p){return function(b){return Gu(c,b,p)}});function $m(c,p,b){var T=ur(p),W=cp(p,T);b==null&&!($n(p)&&(W.length||!T.length))&&(b=p,p=c,c=this,W=cp(p,ur(p)));var J=!($n(b)&&"chain"in b)||!!b.chain,fe=Ci(c);return yr(W,function(ge){var Se=p[ge];c[ge]=Se,fe&&(c.prototype[ge]=function(){var Fe=this.__chain__;if(J||Fe){var Ve=c(this.__wrapped__),We=Ve.__actions__=Xr(this.__actions__);return We.push({func:Se,args:arguments,thisArg:c}),Ve.__chain__=Fe,Ve}return Se.apply(c,Da([this.value()],arguments))})}),c}function eO(){return Ln._===this&&(Ln._=kR),this}function Dm(){}function tO(c){return c=Ht(c),Kt(function(p){return ob(p,c)})}var nO=pm(xn),rO=pm($u),oO=pm(pc);function Sy(c){return ym(c)?j(ua(c)):LT(c)}function aO(c){return function(p){return c==null?n:sl(c,p)}}var iO=Mb(),sO=Mb(!0);function Bm(){return[]}function zm(){return!1}function lO(){return{}}function cO(){return""}function uO(){return!0}function dO(c,p){if(c=Ht(c),c<1||c>U)return[];var b=Q,T=xr(c,Q);p=Mt(p),c-=Q;for(var W=ze(T,p);++b<c;)p(b);return W}function fO(c){return Vt(c)?xn(c,ua):wo(c)?[c]:Xr(jb(gn(c)))}function pO(c){var p=++ER;return gn(c)+p}var hO=mp(function(c,p){return c+p},0),mO=hm("ceil"),gO=mp(function(c,p){return c/p},1),vO=hm("floor");function wO(c){return c&&c.length?lp(c,Jr,Jh):n}function bO(c,p){return c&&c.length?lp(c,Mt(p,2),Jh):n}function yO(c){return k(c,Jr)}function _O(c,p){return k(c,Mt(p,2))}function xO(c){return c&&c.length?lp(c,Jr,rm):n}function SO(c,p){return c&&c.length?lp(c,Mt(p,2),rm):n}var CO=mp(function(c,p){return c*p},1),EO=hm("round"),MO=mp(function(c,p){return c-p},0);function kO(c){return c&&c.length?ke(c,Jr):0}function RO(c,p){return c&&c.length?ke(c,Mt(p,2)):0}return K.after=ZP,K.ary=Jb,K.assign=BA,K.assignIn=py,K.assignInWith=hy,K.assignWith=Nm,K.at=zA,K.before=ey,K.bind=Mm,K.bindAll=WI,K.bindKey=ty,K.castArray=cA,K.chain=Xb,K.chunk=wN,K.compact=bN,K.concat=yN,K.cond=qI,K.conforms=UI,K.constant=Om,K.countBy=RP,K.create=FA,K.curry=ny,K.curryRight=ry,K.debounce=oy,K.defaults=VA,K.defaultsDeep=jA,K.defer=QP,K.delay=JP,K.difference=_N,K.differenceBy=xN,K.differenceWith=SN,K.drop=CN,K.dropRight=EN,K.dropRightWhile=MN,K.dropWhile=kN,K.fill=RN,K.filter=NP,K.flatMap=IP,K.flatMapDeep=OP,K.flatMapDepth=LP,K.flatten=Ub,K.flattenDeep=TN,K.flattenDepth=NN,K.flip=eA,K.flow=GI,K.flowRight=KI,K.fromPairs=PN,K.functions=KA,K.functionsIn=XA,K.groupBy=$P,K.initial=IN,K.intersection=ON,K.intersectionBy=LN,K.intersectionWith=$N,K.invert=QA,K.invertBy=JA,K.invokeMap=BP,K.iteratee=Lm,K.keyBy=zP,K.keys=ur,K.keysIn=Qr,K.map=xp,K.mapKeys=tI,K.mapValues=nI,K.matches=XI,K.matchesProperty=ZI,K.memoize=Cp,K.merge=rI,K.mergeWith=my,K.method=QI,K.methodOf=JI,K.mixin=$m,K.negate=Ep,K.nthArg=tO,K.omit=oI,K.omitBy=aI,K.once=tA,K.orderBy=FP,K.over=nO,K.overArgs=nA,K.overEvery=rO,K.overSome=oO,K.partial=km,K.partialRight=ay,K.partition=VP,K.pick=iI,K.pickBy=gy,K.property=Sy,K.propertyOf=aO,K.pull=FN,K.pullAll=Gb,K.pullAllBy=VN,K.pullAllWith=jN,K.pullAt=HN,K.range=iO,K.rangeRight=sO,K.rearg=rA,K.reject=WP,K.remove=WN,K.rest=oA,K.reverse=Cm,K.sampleSize=UP,K.set=lI,K.setWith=cI,K.shuffle=YP,K.slice=qN,K.sortBy=XP,K.sortedUniq=QN,K.sortedUniqBy=JN,K.split=AI,K.spread=aA,K.tail=eP,K.take=tP,K.takeRight=nP,K.takeRightWhile=rP,K.takeWhile=oP,K.tap=bP,K.throttle=iA,K.thru=_p,K.toArray=uy,K.toPairs=vy,K.toPairsIn=wy,K.toPath=fO,K.toPlainObject=fy,K.transform=uI,K.unary=sA,K.union=aP,K.unionBy=iP,K.unionWith=sP,K.uniq=lP,K.uniqBy=cP,K.uniqWith=uP,K.unset=dI,K.unzip=Em,K.unzipWith=Kb,K.update=fI,K.updateWith=pI,K.values=Rc,K.valuesIn=hI,K.without=dP,K.words=_y,K.wrap=lA,K.xor=fP,K.xorBy=pP,K.xorWith=hP,K.zip=mP,K.zipObject=gP,K.zipObjectDeep=vP,K.zipWith=wP,K.entries=vy,K.entriesIn=wy,K.extend=py,K.extendWith=hy,$m(K,K),K.add=hO,K.attempt=xy,K.camelCase=wI,K.capitalize=by,K.ceil=mO,K.clamp=mI,K.clone=uA,K.cloneDeep=fA,K.cloneDeepWith=pA,K.cloneWith=dA,K.conformsTo=hA,K.deburr=yy,K.defaultTo=YI,K.divide=gO,K.endsWith=bI,K.eq=da,K.escape=yI,K.escapeRegExp=_I,K.every=TP,K.find=PP,K.findIndex=Wb,K.findKey=HA,K.findLast=AP,K.findLastIndex=qb,K.findLastKey=WA,K.floor=vO,K.forEach=Zb,K.forEachRight=Qb,K.forIn=qA,K.forInRight=UA,K.forOwn=YA,K.forOwnRight=GA,K.get=Pm,K.gt=mA,K.gte=gA,K.has=ZA,K.hasIn=Am,K.head=Yb,K.identity=Jr,K.includes=DP,K.indexOf=AN,K.inRange=gI,K.invoke=eI,K.isArguments=ul,K.isArray=Vt,K.isArrayBuffer=vA,K.isArrayLike=Zr,K.isArrayLikeObject=qn,K.isBoolean=wA,K.isBuffer=ls,K.isDate=bA,K.isElement=yA,K.isEmpty=_A,K.isEqual=xA,K.isEqualWith=SA,K.isError=Rm,K.isFinite=CA,K.isFunction=Ci,K.isInteger=iy,K.isLength=Mp,K.isMap=sy,K.isMatch=EA,K.isMatchWith=MA,K.isNaN=kA,K.isNative=RA,K.isNil=NA,K.isNull=TA,K.isNumber=ly,K.isObject=$n,K.isObjectLike=Vn,K.isPlainObject=ed,K.isRegExp=Tm,K.isSafeInteger=PA,K.isSet=cy,K.isString=kp,K.isSymbol=wo,K.isTypedArray=kc,K.isUndefined=AA,K.isWeakMap=IA,K.isWeakSet=OA,K.join=DN,K.kebabCase=xI,K.last=zo,K.lastIndexOf=BN,K.lowerCase=SI,K.lowerFirst=CI,K.lt=LA,K.lte=$A,K.max=wO,K.maxBy=bO,K.mean=yO,K.meanBy=_O,K.min=xO,K.minBy=SO,K.stubArray=Bm,K.stubFalse=zm,K.stubObject=lO,K.stubString=cO,K.stubTrue=uO,K.multiply=CO,K.nth=zN,K.noConflict=eO,K.noop=Dm,K.now=Sp,K.pad=EI,K.padEnd=MI,K.padStart=kI,K.parseInt=RI,K.random=vI,K.reduce=jP,K.reduceRight=HP,K.repeat=TI,K.replace=NI,K.result=sI,K.round=EO,K.runInContext=xe,K.sample=qP,K.size=GP,K.snakeCase=PI,K.some=KP,K.sortedIndex=UN,K.sortedIndexBy=YN,K.sortedIndexOf=GN,K.sortedLastIndex=KN,K.sortedLastIndexBy=XN,K.sortedLastIndexOf=ZN,K.startCase=II,K.startsWith=OI,K.subtract=MO,K.sum=kO,K.sumBy=RO,K.template=LI,K.times=dO,K.toFinite=Ei,K.toInteger=Ht,K.toLength=dy,K.toLower=$I,K.toNumber=Fo,K.toSafeInteger=DA,K.toString=gn,K.toUpper=DI,K.trim=BI,K.trimEnd=zI,K.trimStart=FI,K.truncate=VI,K.unescape=jI,K.uniqueId=pO,K.upperCase=HI,K.upperFirst=Im,K.each=Zb,K.eachRight=Qb,K.first=Yb,$m(K,(function(){var c={};return za(K,function(p,b){mn.call(K.prototype,b)||(c[b]=p)}),c})(),{chain:!1}),K.VERSION=r,yr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){K[c].placeholder=K}),yr(["drop","take"],function(c,p){Jt.prototype[c]=function(b){b=b===n?1:nr(Ht(b),0);var T=this.__filtered__&&!p?new Jt(this):this.clone();return T.__filtered__?T.__takeCount__=xr(b,T.__takeCount__):T.__views__.push({size:xr(b,Q),type:c+(T.__dir__<0?"Right":"")}),T},Jt.prototype[c+"Right"]=function(b){return this.reverse()[c](b).reverse()}}),yr(["filter","map","takeWhile"],function(c,p){var b=p+1,T=b==V||b==I;Jt.prototype[c]=function(W){var J=this.clone();return J.__iteratees__.push({iteratee:Mt(W,3),type:b}),J.__filtered__=J.__filtered__||T,J}}),yr(["head","last"],function(c,p){var b="take"+(p?"Right":"");Jt.prototype[c]=function(){return this[b](1).value()[0]}}),yr(["initial","tail"],function(c,p){var b="drop"+(p?"":"Right");Jt.prototype[c]=function(){return this.__filtered__?new Jt(this):this[b](1)}}),Jt.prototype.compact=function(){return this.filter(Jr)},Jt.prototype.find=function(c){return this.filter(c).head()},Jt.prototype.findLast=function(c){return this.reverse().find(c)},Jt.prototype.invokeMap=Kt(function(c,p){return typeof c=="function"?new Jt(this):this.map(function(b){return Gu(b,c,p)})}),Jt.prototype.reject=function(c){return this.filter(Ep(Mt(c)))},Jt.prototype.slice=function(c,p){c=Ht(c);var b=this;return b.__filtered__&&(c>0||p<0)?new Jt(b):(c<0?b=b.takeRight(-c):c&&(b=b.drop(c)),p!==n&&(p=Ht(p),b=p<0?b.dropRight(-p):b.take(p-c)),b)},Jt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Jt.prototype.toArray=function(){return this.take(Q)},za(Jt.prototype,function(c,p){var b=/^(?:filter|find|map|reject)|While$/.test(p),T=/^(?:head|last)$/.test(p),W=K[T?"take"+(p=="last"?"Right":""):p],J=T||/^find/.test(p);W&&(K.prototype[p]=function(){var fe=this.__wrapped__,ge=T?[1]:arguments,Se=fe instanceof Jt,Fe=ge[0],Ve=Se||Vt(fe),We=function(Qt){var tn=W.apply(K,Da([Qt],ge));return T&&Qe?tn[0]:tn};Ve&&b&&typeof Fe=="function"&&Fe.length!=1&&(Se=Ve=!1);var Qe=this.__chain__,dt=!!this.__actions__.length,Nt=J&&!Qe,qt=Se&&!dt;if(!J&&Ve){fe=qt?fe:new Jt(this);var xt=c.apply(fe,ge);return xt.__actions__.push({func:_p,args:[We],thisArg:n}),new $o(xt,Qe)}return Nt&&qt?c.apply(this,ge):(xt=this.thru(We),Nt?T?xt.value()[0]:xt.value():xt)})}),yr(["pop","push","shift","sort","splice","unshift"],function(c){var p=Yf[c],b=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",T=/^(?:pop|shift)$/.test(c);K.prototype[c]=function(){var W=arguments;if(T&&!this.__chain__){var J=this.value();return p.apply(Vt(J)?J:[],W)}return this[b](function(fe){return p.apply(Vt(fe)?fe:[],W)})}}),za(Jt.prototype,function(c,p){var b=K[p];if(b){var T=b.name+"";mn.call(xc,T)||(xc[T]=[]),xc[T].push({name:p,func:b})}}),xc[hp(n,S).name]=[{name:"wrapper",func:n}],Jt.prototype.clone=HR,Jt.prototype.reverse=WR,Jt.prototype.value=qR,K.prototype.at=yP,K.prototype.chain=_P,K.prototype.commit=xP,K.prototype.next=SP,K.prototype.plant=EP,K.prototype.reverse=MP,K.prototype.toJSON=K.prototype.valueOf=K.prototype.value=kP,K.prototype.first=K.prototype.head,Vu&&(K.prototype[Vu]=CP),K}),bc=xR();vi?((vi.exports=bc)._=bc,Lu._=bc):Ln._=bc}).call(a$)})(Od,Od.exports)),Od.exports}var kn=i$();const s$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em",...t,children:[h("mask",{id:"a",width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:h("path",{fill:"currentColor",d:"M2.054 5.055a.867.867 0 0 1 1.225 0L8 9.775l4.721-4.72a.867.867 0 0 1 1.226 1.225l-5.333 5.334a.867.867 0 0 1-1.226 0L2.054 6.28a.867.867 0 0 1 0-1.225"})}),h("g",{mask:"url(#a)",children:h("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})]}),l$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 26 26",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M8.213 3.336c-.55.55-.55 1.442 0 1.992l7.671 7.67-7.67 7.672a1.408 1.408 0 0 0 1.99 1.991l8.668-8.666c.55-.55.55-1.442 0-1.992l-8.667-8.667a1.41 1.41 0 0 0-1.992 0"})}),c$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 26 26",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M17.787 3.336c.55.55.55 1.442 0 1.992l-7.671 7.67 7.67 7.672a1.409 1.409 0 0 1-1.99 1.991l-8.668-8.666a1.41 1.41 0 0 1 0-1.992l8.667-8.667c.55-.55 1.442-.55 1.992 0"})}),f8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M13.113 4.387a.867.867 0 0 1 0 1.226l-6 6a.867.867 0 0 1-1.225 0l-3-3a.867.867 0 1 1 1.225-1.226L6.5 9.774l5.387-5.387a.867.867 0 0 1 1.226 0"})}),u$=(t={})=>h("svg",{fill:"currentColor","aria-label":"angles_left",viewBox:"0 0 14 14",width:"1em",height:"1em",...t,children:h("path",{d:"m6.679 11.775-3.884-4.26 3.882-4.262a.74.74 0 0 0 .195-.501.83.83 0 0 0-.227-.56c-.343-.277-.828-.25-1.109.058l-4.34 4.735a.74.74 0 0 0 0 1.002l4.313 4.763c.28.309.737.335 1.08.058.345-.246.37-.726.09-1.033m.645-4.79a.74.74 0 0 0 0 1.002l4.312 4.763c.281.309.738.335 1.081.058a.74.74 0 0 0 .06-1.061L8.923 7.514l3.881-4.26A.74.74 0 0 0 13 2.751a.83.83 0 0 0-.227-.56.775.775 0 0 0-1.08.058z"})}),d$=(t={})=>h("svg",{fill:"currentColor","aria-label":"angles_right",viewBox:"0 0 14 14",width:"1em",height:"1em",...t,children:h("path",{d:"M7.351 3.222 11.253 7.5l-3.899 4.25a.74.74 0 0 0-.196.5c0 .206.086.411.228.559a.783.783 0 0 0 1.086-.059L12.803 8a.733.733 0 0 0 0-1L8.472 2.25c-.283-.308-.741-.335-1.086-.058-.291.275-.317.752-.035 1.03M6.704 8a.733.733 0 0 0 0-1L2.343 2.25a.783.783 0 0 0-1.087-.059c-.317.276-.343.753-.06 1.03L5.097 7.5 1.2 11.75a.74.74 0 0 0-.197.5c0 .206.087.411.228.559a.783.783 0 0 0 1.086-.059z"})}),f$=(t={})=>h("svg",{fill:"currentColor","aria-label":"angle_left",viewBox:"0 0 14 14",width:"1em",height:"1em",...t,children:h("path",{d:"m8.699 12.766-4.493-4.75a.746.746 0 0 1 0-1.031l4.493-4.75a.757.757 0 0 1 1.065-.03.747.747 0 0 1 .03 1.06L5.761 7.5l4.031 4.235a.747.747 0 0 1-.03 1.06.76.76 0 0 1-1.064-.029"})}),p$=(t={})=>h("svg",{fill:"currentColor","aria-label":"angle_right",viewBox:"0 0 14 14",width:"1em",height:"1em",...t,children:h("path",{d:"m5.301 2.234 4.493 4.75a.746.746 0 0 1 0 1.032l-4.493 4.75a.757.757 0 0 1-1.065.029.747.747 0 0 1-.03-1.061l4.032-4.235-4.031-4.235a.745.745 0 0 1 .03-1.059.757.757 0 0 1 1.064.03"})}),Hy=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.529 5.529c.26-.26.682-.26.942 0L16 15.057l9.529-9.528a.667.667 0 1 1 .942.942L16.943 16l9.528 9.529a.667.667 0 1 1-.943.942L16 16.943 6.47 26.47a.667.667 0 0 1-.942-.942L15.057 16 5.53 6.471a.667.667 0 0 1 0-.942",clipRule:"evenodd"})}),Wy=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 400 400",width:"1em",height:"1em",...t,children:[h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:".9",strokeWidth:"16",d:"M35 262c125.529-121.062 293.006-54.715 326-46.482"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:".9",strokeWidth:"16",d:"M343.69 143Q361 213.933 361 216.177c0 2.244-33.512 17.953-49 41.823"})]}),khe=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",fillRule:"evenodd",d:"m10.667 6.134-.502-.355A4.24 4.24 0 0 0 7.715 5h-.612c-.405 0-.813.025-1.194.16-2.383.846-4.022 3.935-3.903 10.943.024 1.412.354 2.972 1.628 3.581A3.2 3.2 0 0 0 5.027 20a2.74 2.74 0 0 0 1.53-.437c.41-.268.77-.616 1.13-.964.444-.43.888-.86 1.424-1.138a4.1 4.1 0 0 1 1.89-.461H13c.658 0 1.306.158 1.89.46.536.279.98.709 1.425 1.139.36.348.72.696 1.128.964.39.256.895.437 1.531.437a3.2 3.2 0 0 0 1.393-.316c1.274-.609 1.604-2.17 1.628-3.581.119-7.008-1.52-10.097-3.903-10.942C17.71 5.025 17.3 5 16.897 5h-.612a4.24 4.24 0 0 0-2.45.78l-.502.354a2.31 2.31 0 0 1-2.666 0M16.75 9a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-9.25.25a.75.75 0 0 1 .75.75v.75H9a.75.75 0 0 1 0 1.5h-.75V13a.75.75 0 0 1-1.5 0v-.75H6a.75.75 0 0 1 0-1.5h.75V10a.75.75 0 0 1 .75-.75m11.5 2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m-3.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5m2.25.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0",clipRule:"evenodd"})}),p8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 10 2",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",fillRule:"evenodd",d:"M.133 1C.133.521.521.133 1 .133h8a.867.867 0 1 1 0 1.734H1A.867.867 0 0 1 .133 1",clipRule:"evenodd"})}),h$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",className:"lucide lucide-circle-x-icon lucide-circle-x",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("circle",{cx:"12",cy:"12",r:"10"}),h("path",{d:"m15 9-6 6M9 9l6 6"})]}),m$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",width:"1em",height:"1em",...t,children:[h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.667",d:"M4.167 9.287a5.12 5.12 0 1 1 10.24-.001 5.12 5.12 0 0 1-10.24.001",className:"stroke",clipRule:"evenodd"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.667",d:"m12.908 12.908 2.926 2.926",className:"stroke"})]}),g$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"m18.776 17.89 7.494 7.495a.667.667 0 1 1-.943.943l-7.494-7.495z"}),h("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.333 20a6.667 6.667 0 1 0 0-13.333 6.667 6.667 0 0 0 0 13.333m0 1.333a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),v$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 10 12",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M5.707 11.293a1 1 0 0 1-1.414 0L1.28 8.28A.75.75 0 0 1 1.81 7h6.38a.75.75 0 0 1 .53 1.28z",className:"inactive"}),h("path",{fill:"currentColor",fillOpacity:".16",d:"M4.293.707a1 1 0 0 1 1.414 0L8.72 3.72A.75.75 0 0 1 8.19 5H1.81a.75.75 0 0 1-.53-1.28z",className:"active"})]}),w$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 10 12",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",fillOpacity:".16",d:"M5.707.707a1 1 0 0 0-1.414 0L1.28 3.72A.75.75 0 0 0 1.81 5h6.38a.75.75 0 0 0 .53-1.28zM4.293 11.293a1 1 0 0 0 1.414 0L8.72 8.28A.75.75 0 0 0 8.19 7H1.81a.75.75 0 0 0-.53 1.28z",className:"inactive"})}),b$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 10 12",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",fillOpacity:".16",d:"M5.707 11.293a1 1 0 0 1-1.414 0L1.28 8.28A.75.75 0 0 1 1.81 7h6.38a.75.75 0 0 1 .53 1.28z",className:"active"}),h("path",{fill:"currentColor",d:"M4.293.707a1 1 0 0 1 1.414 0L8.72 3.72A.75.75 0 0 1 8.19 5H1.81a.75.75 0 0 1-.53-1.28z",className:"inactive"})]}),h8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"1em",height:"1em",...t,children:h("path",{d:"M5.317 2.367c1.105-2.212 4.26-2.212 5.366 0L16 13H0z"})}),y$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 448 512",width:"1em",height:"1em",...t,children:h("path",{d:"M207.029 381.476 12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0"})}),_$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 320 512",width:"1em",height:"1em",...t,children:h("path",{d:"M34.52 239.03 228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94"})}),x$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 320 512",width:"1em",height:"1em",...t,children:h("path",{d:"M285.476 272.971 91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941"})}),S$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 448 512",width:"1em",height:"1em",...t,children:h("path",{d:"m240.971 130.524 194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001"})}),C$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 12",width:"1em",height:"1em",...t,children:h("path",{stroke:"currentColor",strokeWidth:"2",d:"M15.86 1.999 9 8.859l-6.86-6.86"})}),E$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 12",width:"1em",height:"1em",...t,children:h("path",{stroke:"currentColor",strokeWidth:"2",d:"m2.139 10.002 6.86-6.86 6.86 6.86"})}),M$=he("group text-fg-default relative inline-flex items-center justify-start select-none",{variants:{size:{xs:"gap-1",xs2:"gap-1",sm:"gap-1",md:"gap-1_5"},disabled:{true:"text-fg-disabled pointer-events-none cursor-not-allowed",false:"cursor-pointer"},readOnly:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",disabled:!1,readOnly:!1}}),k$=he("relative inline-flex shrink-0 cursor-pointer items-center justify-center overflow-visible",{variants:{size:{xs:"size-5",xs2:"size-6",sm:"size-7",md:"size-8"}},defaultVariants:{size:"sm"}}),R$=he("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 rounded-sm duration-200 ease-out",{variants:{size:{xs:"size-3 border",xs2:"size-3.5 border",sm:"size-4 border",md:"size-5 border"},selectedState:{unselected:"",partial:"border-transparent",selected:"border-transparent"},disabled:{true:"border-disabled bg-fill-disabled border",false:""}},compoundVariants:[{selectedState:"unselected",disabled:!1,className:"bg-fill-control-surface border-subtle"},{selectedState:"unselected",disabled:!0,className:"bg-fill-disabled border-disabled"},{selectedState:"partial",disabled:!1,className:"bg-fill-brand"},{selectedState:"selected",disabled:!1,className:"bg-fill-brand"},{selectedState:"partial",disabled:!0,className:"bg-fill-disabled"},{selectedState:"selected",disabled:!0,className:"bg-fill-disabled"}],defaultVariants:{size:"sm",selectedState:"unselected",disabled:!1}}),T$=he("absolute top-1/2 left-1/2 m-auto inline-flex -translate-x-1/2 -translate-y-1/2 text-white duration-200 ease-out",{variants:{size:{xs:"size-3",xs2:"size-3.5",sm:"size-4",md:"size-5"},visible:{true:"scale-100 opacity-100",false:"scale-0 opacity-0"},disabled:{true:"text-fg-disabled",false:""}},defaultVariants:{size:"sm",visible:!1,disabled:!1}}),N$=he("absolute top-1/2 left-1/2 m-auto inline-flex -translate-x-1/2 -translate-y-1/2 text-white duration-200 ease-out",{variants:{size:{xs:"size-2.5",xs2:"size-3",sm:"size-3",md:"size-4"},visible:{true:"scale-100 opacity-100",false:"scale-0 opacity-0"},disabled:{true:"text-fg-disabled",false:""}},defaultVariants:{size:"sm",visible:!1,disabled:!1}}),P$=he("cursor-inherit inline-flex touch-manipulation items-center",{variants:{size:{xs:"typo-compact-xs-normal",xs2:"typo-compact-xs2-normal",sm:"typo-compact-xs2-normal",md:"typo-compact-sm2-normal"},disabled:{true:"text-fg-disabled",false:"text-fg-default"}},defaultVariants:{size:"sm",disabled:!1}}),A$=he("inline-flex items-center select-none"),{forwardRef:I$,useCallback:O$,useEffect:qy,useId:L$,useImperativeHandle:$$,useMemo:Uy,useRef:D$}=await q("react"),tw=I$((t,e)=>{const{className:n="",name:r,size:o,checkValue:a=!0,unCheckValue:i=!1,value:s,children:l,disabled:u,readOnly:d,onChange:f,onBlur:m,onFocus:v,onClick:g,tabIndex:w,handleChange:y}=t,_=D$(null),S=L$(),x=Uy(()=>{if(!(typeof s>"u"))return Array.isArray(a)&&Array.isArray(s)?s.length===a.length&&s.every(O=>a.includes(O)):Array.isArray(s)?s.includes(a):s===a},[s,a]),C=Uy(()=>x?!1:Array.isArray(a)&&Array.isArray(s)?s.length!==a.length&&s.some(O=>a.includes(O)):!1,[x,a,s]),R=O$(O=>{const{name:$,checked:A}=O.target,M=`input[name="${$}"]`,L=document.querySelectorAll(M);if(Array.isArray(a)&&Array.isArray(s)){y?.(s.length>0?[]:a,$);return}if(L.length>1||Array.isArray(s)){const B=document.querySelectorAll(`${M}:checked`);let F=[];const N=a,V=s?[...s]:void 0;for(let z=0;z<B.length;z+=1){const I=typeof a=="number"?Number(B[z].value):B[z].value;F.findIndex(U=>U===I)===-1&&F.push(I)}V&&typeof N<"u"&&V.push(N),F=V?V.filter(z=>F.includes(z)):kn.uniq(F),y?.(F,$)}else y?.(A?a:i,$);f?.(O)},[s,i,y,f,a]);qy(()=>{const O=`input[name="${r||S}"]`;if(document.querySelectorAll(O).length>1||Array.isArray(s)){if(typeof a=="boolean")throw new Error("여러개의 동일한 name 값을 갖거나 data가 배열로 전달된 CheckBox는 boolean타입의 value를 받을 수 없습니다.")}else if(Array.isArray(s))throw new Error("단일의 name 값을 갖는 CheckBox는 배열 타입의 data를 가질 수 없습니다.")},[s,r,S,a]),qy(()=>{_.current&&(_.current.indeterminate=C)},[C]),$$(e,()=>_.current);let P="unselected";return C?P="partial":x&&(P="selected"),h("div",{"data-slot":"checkbox-root",className:ae(M$({size:o,disabled:u,readOnly:d}),n),children:ne("label",{"data-slot":"checkbox-label","data-pad-focus":"true",className:P$({size:o,disabled:u}),onClick:g,children:[h("input",{ref:_,type:"checkbox",name:Array.isArray(a)?S:r||S,value:String(a),checked:x,readOnly:d,disabled:u,tabIndex:w,onBlur:m,onFocus:v,onChange:R,className:"peer pointer-events-none sr-only"}),ne("span",{className:ae("ico-check",k$({size:o})),children:[h("span",{"data-slot":"checkbox-surface",className:R$({size:o,selectedState:P,disabled:u})}),C?h(p8,{className:N$({size:o,visible:C,disabled:u})}):h(f8,{className:T$({size:o,visible:!!x,disabled:u})})]}),h("span",{className:ae("text",A$()),children:l})]})})});tw.displayName="CheckBox";const B$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M5 20a1 1 0 0 1 1 1v5h5a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1M27 20a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 1 1 0-2h5v-5a1 1 0 0 1 1-1"}),h("path",{fill:"currentColor",fillRule:"evenodd",d:"M24 18.5a.707.707 0 0 1 0 1l-7 4c-.63.315-1.37.315-2 0l-7-4a.707.707 0 0 1 0-1l3.294-2.118 1.138-.803L16 17.5l3.647-1.964 1.059.846zM9.5 19l6.5 3.5 6.5-3.5-3.07-1.889L16 18.736l-3.43-1.625z",clipRule:"evenodd"}),h("path",{fill:"currentColor",d:"M11 4a1 1 0 1 1 0 2H6v5a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1zM27 4a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V6h-5a1 1 0 1 1 0-2z"}),h("path",{fill:"currentColor",fillRule:"evenodd",d:"M24 13.5a.707.707 0 0 1 0 1l-3.294 1.882-1.275.73L17 18.5c-.63.315-1.37.315-2 0l-2.43-1.389-1.276-.729L8 14.5a.707.707 0 0 1 0-1L15 9a2.24 2.24 0 0 1 2 0zM9.5 14l6.5 3.5 6.5-3.5-6.5-4z",clipRule:"evenodd"})]}),z$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m20.583 3.003 6 .5a1 1 0 1 1-.166 1.993l-5.412-.452-2.322 3.483 2.354 3.925 5.38-.448a1 1 0 1 1 .166 1.992l-6 .5a1 1 0 0 1-.94-.482L16.933 9.5h-5.059a4 4 0 0 1-1.272 2.035L13 19h13a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2h5l-2.194-6.582q-.391.08-.806.082a4 4 0 1 1 3.874-5h5.09l2.704-4.055.082-.108a1 1 0 0 1 .833-.334M6 27.001h20v-6H6zM8 6.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4"})}),F$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M29 23a1 1 0 0 1-2 0 11 11 0 0 0-18.777-7.777L5.425 18H11a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1v-8a1 1 0 1 1 2 0v5.596l2.81-2.791A13 13 0 0 1 29 23"})}),V$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M30 11v8a1 1 0 0 1-1 1h-8a1 1 0 0 1 0-2h5.575l-2.795-2.776A11 11 0 0 0 5 23a1 1 0 1 1-2 0 13 13 0 0 1 22.193-9.192L28 16.595V11a1 1 0 0 1 2 0"})}),j$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16.004 3.701c6.792 0 12.299 5.507 12.299 12.299s-5.507 12.298-12.299 12.298c-5.6 0-10.323-3.742-11.81-8.86a1 1 0 0 1 1.92-.558c1.245 4.287 5.204 7.418 9.89 7.418 5.688 0 10.299-4.61 10.299-10.298S21.692 5.701 16.004 5.701A10.27 10.27 0 0 0 8.45 9H11a1 1 0 0 1 0 2H6a1 1 0 0 1-1-1V5a1 1 0 0 1 2 0v2.623a12.27 12.27 0 0 1 9.004-3.922"})}),H$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m25.708 18.708-9 9a1 1 0 0 1-1.415 0l-9-9a1 1 0 1 1 1.415-1.415L15 24.586V5a1 1 0 1 1 2 0v19.586l7.293-7.293a1 1 0 1 1 1.415 1.415"})}),W$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28 16a1 1 0 0 1-1 1H7.414l7.294 7.292a1 1 0 0 1-1.415 1.415l-9-9a1 1 0 0 1 0-1.415l9-9a1 1 0 1 1 1.415 1.415L7.414 15H27a1 1 0 0 1 1 1"})}),q$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 7v5a1 1 0 0 1-2 0V9.414L17.414 16 24 22.586V20a1 1 0 0 1 2 0v5a1 1 0 0 1-1 1h-5a1 1 0 0 1 0-2h2.586L16 17.414 9.414 24H12a1 1 0 0 1 0 2H7a1 1 0 0 1-1-1v-5a1 1 0 1 1 2 0v2.586L14.586 16 8 9.414V12a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H9.414L16 14.586 22.586 8H20a1 1 0 1 1 0-2h5a1 1 0 0 1 1 1"})}),U$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m27.708 16.707-9 9a1 1 0 1 1-1.415-1.415L24.586 17H5a1 1 0 1 1 0-2h19.586l-7.293-7.293a1 1 0 0 1 1.415-1.415l9 9a1 1 0 0 1 0 1.415"})}),Y$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m25.708 13.293-9-9a1 1 0 0 0-1.415 0l-9 9a1 1 0 1 0 1.415 1.415L15 7.414V27a1 1 0 1 0 2 0V7.414l7.293 7.294a1 1 0 1 0 1.415-1.415"})}),G$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m11.929 10.515 9.556 9.556a1 1 0 0 1-1.414 1.414l-9.556-9.556a1 1 0 1 1 1.414-1.414m-4.414 7.313a1 1 0 1 0 0 2.001h3.243l-5.365 5.363a1 1 0 1 0 1.415 1.415l5.364-5.365v3.243a1 1 0 0 0 2 0v-5.657a1 1 0 0 0-1-1zM25.193 5.393l-5.365 5.365.001-3.243a1 1 0 0 0-2.001 0v5.657a1 1 0 0 0 1 1h5.657a1 1 0 1 0 0-2.001h-3.243l5.365-5.363a1 1 0 0 0-1.415-1.415"})}),K$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m26.708 22.707-4 4a1 1 0 1 1-1.415-1.415L23.586 23H6a1 1 0 1 1 0-2h17.586l-2.293-2.293a1 1 0 1 1 1.415-1.415l4 4a1 1 0 0 1 0 1.415m-17.415-8a1 1 0 1 0 1.415-1.415L8.414 11H26a1 1 0 1 0 0-2H8.414l2.294-2.293a1 1 0 0 0-1.415-1.415l-4 4a1 1 0 0 0 0 1.415z"})}),X$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27 6v6a1 1 0 0 1-2 0V8.414l-6.292 6.294a1 1 0 1 1-1.415-1.415L23.586 7H20a1 1 0 1 1 0-2h6a1 1 0 0 1 1 1M13.293 17.293 7 23.586V20a1 1 0 1 0-2 0v6a1 1 0 0 0 1 1h6a1 1 0 0 0 0-2H8.414l6.294-6.292a1 1 0 1 0-1.415-1.415"})}),nw=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27 6H9.566a2.01 2.01 0 0 0-1.715.971l-6.708 8.514a1 1 0 0 0 0 1.03l6.708 8.514A2.01 2.01 0 0 0 9.566 26H27a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2m0 18H9.566l-6.4-8 6.4-8H27zm-13.707-5.707L15.586 16l-2.293-2.293a1 1 0 1 1 1.415-1.415L17 14.587l2.293-2.293a1 1 0 0 1 1.415 1.415L18.414 16l2.294 2.293a1 1 0 0 1-1.415 1.415L17 17.414l-2.292 2.293a1 1 0 0 1-1.415-1.415"})}),Z$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M15 7v6a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2m10-2h-6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2M13 17H7a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2m12 0h-6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),Q$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:h("path",{d:"m12 3 8 4.5v9L12 21l-8-4.5v-9zM12 12l8-4.5M12 12v9M12 12 4 7.5"})}),J$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28 15h-2v-2h2a1 1 0 0 1 0 2M4 13a1 1 0 0 0 0 2h2v-2zm22 7q0 .506-.05 1H28a1 1 0 0 1 0 2h-2.46a10 10 0 0 1-19.08 0H4a1 1 0 1 1 0-2h2.05q-.049-.494-.05-1v-1H4a1 1 0 1 1 0-2h2v-2h20v2h2a1 1 0 0 1 0 2h-2zm-9-2a1 1 0 0 0-2 0v8a1 1 0 0 0 2 0zM8.73 7.144A9.97 9.97 0 0 0 6.05 13h19.9a9.97 9.97 0 0 0-2.68-5.856l2.438-2.437a1 1 0 0 0-1.415-1.415L21.756 5.83a9.97 9.97 0 0 0-11.512 0L7.708 3.292a1 1 0 1 0-1.415 1.415z"})}),eD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",fillOpacity:".4",d:"M29 16c0 7.18-5.82 13-13 13S3 23.18 3 16 8.82 3 16 3s13 5.82 13 13"}),h("path",{fill:"currentColor",d:"M23 16a7 7 0 1 1-14 0 7 7 0 0 1 14 0"})]}),tD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"M28 17.2H4"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.8",d:"M13.9 23v-5"}),h("path",{fill:"currentColor",d:"M15.9 18c0-.828-.88-1-1.94-1s-2.06.172-2.06 1 .94 2 2 2 2-1.172 2-2M24.9 18c0-.828-.88-1-1.94-1s-2.06.172-2.06 1 .94 2 2 2 2-1.172 2-2"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.8",d:"M22.9 23v-5"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"M28 13.8H4"}),h("path",{fill:"currentColor",d:"M13 13c0 .828-.88 1-1.94 1S9 13.828 9 13s.94-2 2-2 2 1.172 2 2"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.8",d:"M11 13V8"}),h("rect",{width:"5.8",height:"5.8",x:"8",y:"2",fill:"currentColor",rx:".8"}),h("rect",{width:"5.8",height:"5.8",x:"20",y:"23",fill:"currentColor",rx:".8"}),h("rect",{width:"5.8",height:"5.8",x:"11",y:"23",fill:"currentColor",rx:".8"})]}),rw=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 4h-3V3a1 1 0 0 0-2 0v1H11V3a1 1 0 0 0-2 0v1H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M9 6v1a1 1 0 0 0 2 0V6h10v1a1 1 0 0 0 2 0V6h3v4H6V6zm17 20H6V12h20z"})}),m8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M31.471 9.125a1 1 0 0 0-1.026.049L26 12.13V9a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-3.125l4.445 2.964A1 1 0 0 0 31 23a1 1 0 0 0 1-1V10a1 1 0 0 0-.529-.875M24 23H4V9h20zm6-2.869-4-2.666v-2.93l4-2.66z"})}),nD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M12 10.612a1 1 0 0 1 1 1v.341a5.525 5.525 0 1 1-1.938 7.107 1 1 0 0 1 1.789-.895 3.526 3.526 0 1 0 1.268-4.553H15a1 1 0 0 1 0 2h-3a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1"}),h("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 4a1 1 0 0 1 .831.445L22.535 7H26a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V10a3 3 0 0 1 3-3h3.464l1.705-2.555A1 1 0 0 1 12 4zm-9.168 4.555A1 1 0 0 1 10 9H6a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V10a1 1 0 0 0-1-1h-4a1 1 0 0 1-.832-.445L19.464 6h-6.929z",clipRule:"evenodd"})]}),g8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m26.708 12.708-10 10a1 1 0 0 1-1.415 0l-10-10A1 1 0 0 1 6 11h20a1 1 0 0 1 .708 1.707"})}),v8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M22 6v20a1 1 0 0 1-1.707.708l-10-10a1 1 0 0 1 0-1.415l10-10a1 1 0 0 1 1.708.708"})}),w8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m22.708 16.708-10 10A1 1 0 0 1 11 26V6a1 1 0 0 1 1.707-.707l10 10a1 1 0 0 1 0 1.415"})}),b8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M22 19H10a1 1 0 0 0-.707 1.707l6 6a1 1 0 0 0 1.415 0l6-6A1 1 0 0 0 22 19M9.076 12.383a1 1 0 0 1 .217-1.09l6-6a1 1 0 0 1 1.415 0l6 6A1 1 0 0 1 22 13H10a1 1 0 0 1-.924-.617"})}),y8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26.924 20.383A1 1 0 0 1 26 21H6a1.001 1.001 0 0 1-.707-1.707l10-10a1 1 0 0 1 1.415 0l10 10a1 1 0 0 1 .216 1.09"})}),rD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"2",d:"M6 17 20 2l-2 10 8 3-14 15 1-10z"})}),oD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m26.731 15.683-14 15a1 1 0 0 1-1.711-.875l1.832-9.167-7.203-2.705a1 1 0 0 1-.375-1.625l14-15a1 1 0 0 1 1.71.875l-1.837 9.177 7.204 2.7a1 1 0 0 1 .375 1.62z"})}),aD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M21.708 12.293a1 1 0 0 1 0 1.415l-7 7a1 1 0 0 1-1.415 0l-3-3a1 1 0 0 1 1.415-1.415L14 18.586l6.293-6.293a1 1 0 0 1 1.415 0M29 16A13 13 0 1 1 16 3a13.014 13.014 0 0 1 13 13m-2 0a11 11 0 1 0-11 11 11.01 11.01 0 0 0 11-11"})}),Hs=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m28.708 9.708-16 16a1 1 0 0 1-1.415 0l-7-7a1 1 0 1 1 1.415-1.415L12 23.586 27.293 8.293a1 1 0 1 1 1.415 1.415"})}),K0=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"m26.708 12.707-10 10a1 1 0 0 1-1.415 0l-10-10a1 1 0 1 1 1.415-1.415L16 20.586l9.293-9.294a1 1 0 0 1 1.631.325 1 1 0 0 1-.216 1.09"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),X0=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M20.708 25.292a1 1 0 0 1-1.415 1.415l-10-10a1 1 0 0 1 0-1.415l10-10a1 1 0 1 1 1.415 1.415L11.414 16z"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),_8=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M25.708 25.292a1 1 0 0 1-1.415 1.415l-10-10a1 1 0 0 1 0-1.415l10-10a1 1 0 1 1 1.415 1.415L16.414 16zM6.414 16l9.294-9.293a1 1 0 0 0-1.415-1.415l-10 10a1 1 0 0 0 0 1.415l10 10a1 1 0 0 0 1.415 0 1 1 0 0 0 0-1.415z"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),Su=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"m22.708 16.707-10 10a1 1 0 0 1-1.415 0 1 1 0 0 1 0-1.415L20.586 16l-9.293-9.293a1 1 0 1 1 1.415-1.415l10 10a1 1 0 0 1 0 1.415"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),x8=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M6.292 25.292A1.002 1.002 0 0 0 7 27a1 1 0 0 0 .707-.293l10-10a1 1 0 0 0 0-1.415l-10-10a1 1 0 1 0-1.415 1.415L15.586 16zM25.586 16l-9.294-9.293a1 1 0 0 1 1.415-1.415l10 10a1 1 0 0 1 0 1.415l-10 10a1 1 0 0 1-1.415 0 1 1 0 0 1 0-1.415z"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),ow=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M26.708 20.708a1 1 0 0 1-1.415 0L16 11.414l-9.292 9.294a1 1 0 0 1-1.415-1.415l10-10a1 1 0 0 1 1.415 0l10 10a1 1 0 0 1 0 1.415"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),iD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M12.032 4.631a1 1 0 0 1 .718-1.22c2.132-.55 4.368-.55 6.5 0a1 1 0 1 1-.5 1.937 11 11 0 0 0-5.5 0 1 1 0 0 1-1.218-.717M6.724 6.893a13 13 0 0 0-3.25 5.625 1 1 0 1 0 1.927.533 11 11 0 0 1 2.75-4.761 1 1 0 0 0-1.427-1.397M5.4 18.943a1 1 0 1 0-1.927.536 13 13 0 0 0 3.25 5.625A1 1 0 0 0 8.15 23.7 11 11 0 0 1 5.4 18.944m13.349 7.71a11 11 0 0 1-5.5 0 1 1 0 1 0-.5 1.936c2.132.55 4.368.55 6.5 0a1 1 0 0 0-.5-1.936m9.081-8.403a1 1 0 0 0-1.231.698 11 11 0 0 1-2.75 4.76 1 1 0 0 0 1.427 1.4 13 13 0 0 0 3.25-5.624 1 1 0 0 0-.696-1.234M26.6 13.057a1 1 0 1 0 1.927-.534 13 13 0 0 0-3.25-5.625A1 1 0 1 0 23.85 8.3a11 11 0 0 1 2.749 4.756z"})}),sD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",fillOpacity:".4",d:"M16 3a13 13 0 1 0 13 13A13.013 13.013 0 0 0 16 3m0 24a11 11 0 1 1 11-11 11.01 11.01 0 0 1-11 11"}),h("path",{fill:"currentColor",d:"M3 16c0-3.073 1.068-5.9 2.852-8.125a1 1 0 0 1 1.56 1.25A10.95 10.95 0 0 0 5 16c0 6.075 4.925 11 11 11s11-4.925 11-11a1 1 0 1 1 2 0c0 7.18-5.82 13-13 13S3 23.18 3 16"})]}),lD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"m12 20 4.21-4.21L20 12M12 12l4.21 4.21L20 20"}),h("circle",{cx:"16",cy:"16",r:"12",stroke:"currentColor",strokeWidth:"2"})]}),S8=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M16 3a13 13 0 1 0 13 13A13.013 13.013 0 0 0 16 3m4.708 16.293a1 1 0 0 1-1.415 1.415L16 17.414l-3.293 3.293a1 1 0 0 1-1.415-1.415L14.587 16l-3.293-3.293a1 1 0 1 1 1.415-1.415L16 14.587l3.293-3.293a1 1 0 0 1 1.415 1.415L17.414 16z"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),cD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M21 19a1 1 0 0 1-1 1h-8a1 1 0 1 1 0-2h8a1 1 0 0 1 1 1m-1-5h-8a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2m7-8v21a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h4.533a5.99 5.99 0 0 1 8.935 0H25a2 2 0 0 1 2 2M12 8h8a4 4 0 1 0-8 0m13-2h-3.344A6 6 0 0 1 22 8v1a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V8c0-.681.116-1.358.344-2H7v21h18z"})}),uD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"16",cy:"16",r:"12",stroke:"currentColor",strokeWidth:"2"}),h("rect",{width:"2",height:"8",x:"23",y:"16",fill:"currentColor",rx:"1",transform:"rotate(90 23 16)"}),h("rect",{width:"2",height:"9",x:"15",y:"9",fill:"currentColor",rx:"1"})]}),dD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M11.666 8.753 3.506 16l8.155 7.248a1.003 1.003 0 0 1-.225 1.65 1 1 0 0 1-1.102-.15L1.338 16.75a1 1 0 0 1 0-1.5l8.996-7.998a1.004 1.004 0 1 1 1.332 1.5m18.99 6.498-8.995-7.998a1 1 0 1 0-1.327 1.5L28.494 16l-8.155 7.248a1.003 1.003 0 0 0 .225 1.65 1 1 0 0 0 1.102-.15l8.996-7.998a1 1 0 0 0 0-1.5z"})}),fD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M16 4c6.627 0 12 5.373 12 12s-5.373 12-12 12S4 22.627 4 16 9.373 4 16 4m6.933 7.605a.93.93 0 0 0-1.312-.002l-7.448 7.449-3.707-3.708a.929.929 0 0 0-1.313 1.312l4.365 4.364a.927.927 0 0 0 1.311 0l8.105-8.104a.93.93 0 0 0-.001-1.312"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.855",d:"m9.81 16 4.363 4.364 8.104-8.104"})]}),C8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27 4H11a1 1 0 0 0-1 1v5H5a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-5h5a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1m-7 22H6V12h14zm6-6h-4v-9a1 1 0 0 0-1-1h-9V6h14z"})}),pD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("ellipse",{cx:"12",cy:"6",rx:"8",ry:"3"}),h("path",{d:"M4 6v12c0 1.66 3.58 3 8 3s8-1.34 8-3V6"})]}),E8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27 24a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1zM19.559 10a2 2 0 0 1 1.897 1.367L25 22H7l3.544-10.633A2 2 0 0 1 12.442 10zM3.293 5.293a1 1 0 0 1 1.414 0l3 3a1 1 0 0 1-1.414 1.414l-3-3a1 1 0 0 1 0-1.414M27.293 5.293a1 1 0 0 1 1.414 1.414l-3 3a1 1 0 0 1-1.414-1.414zM16 1a1 1 0 0 1 1 1v4a1 1 0 0 1-2 0V2a1 1 0 0 1 1-1"})}),hD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 5H6a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h9v2h-3a1 1 0 0 0 0 2h8a1 1 0 0 0 0-2h-3v-2h9a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3M6 7h20a1 1 0 0 1 1 1v10H5V8a1 1 0 0 1 1-1m20 16H6a1 1 0 0 1-1-1v-2h22v2a1 1 0 0 1-1 1"})}),mD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m26.74 26.328-20-22a1 1 0 1 0-1.48 1.345L7 7.586V27a3 3 0 0 0 3 3h12a3 3 0 0 0 2.977-2.639l.283.311a1 1 0 1 0 1.48-1.344M23 27a1 1 0 0 1-1 1H10a1 1 0 0 1-1-1V9.786l14 15.4zM8.588 3a1 1 0 0 1 1-1H22a3 3 0 0 1 3 3v13.854a1 1 0 1 1-2 0V5a1 1 0 0 0-1-1H9.588a1 1 0 0 1-1-1"})}),M8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M9.5 11.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0m6.5-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8.5 4a2 2 0 1 0 0-4 2 2 0 0 0 0 4m-17 5a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8.5 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8.5 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4"})}),gD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28.125 10.05 22.95 4.875a3 3 0 0 0-4.243 0L3.875 19.708a3 3 0 0 0 0 4.242l3.757 3.758a1 1 0 0 0 .71.292H27a1 1 0 1 0 0-2H16.412l11.713-11.707a3 3 0 0 0 0-4.243M13.585 26H8.756l-3.465-3.465a1 1 0 0 1 0-1.414L12 14.414 18.586 21zM26.71 12.875 20 19.586 13.414 13l6.71-6.707a1 1 0 0 1 1.416 0l5.172 5.172a1 1 0 0 1 0 1.414z"})}),k8=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24M10.73 5.08A10 10 0 0 1 12 5c7 0 10 7 10 7a13.2 13.2 0 0 1-1.67 2.68"}),h("path",{d:"M6.61 6.61A13.5 13.5 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61M2 2l20 20"})]}),R8=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7"}),h("circle",{cx:"12",cy:"12",r:"3"})]}),vD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m26.708 10.293-7-7A1 1 0 0 0 19 3H7a2 2 0 0 0-2 2v22a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V11a1 1 0 0 0-.293-.707M20 6.413 23.586 10H20zM25 27H7V5h11v6a1 1 0 0 0 1 1h6zm-5.292-7.707a1 1 0 0 1 0 1.415l-3 3a1 1 0 0 1-1.415 0l-3-3a1 1 0 1 1 1.415-1.415L15 20.586V15a1 1 0 0 1 2 0v5.586l1.293-1.293a1 1 0 0 1 1.415 0"})}),wD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M5.345 6.25A1 1 0 0 0 5 7v21a1 1 0 0 0 2 0v-5.529c3.349-2.645 6.234-1.218 9.556.427 2.05 1.013 4.258 2.106 6.625 2.106 1.741 0 3.568-.594 5.478-2.25a1 1 0 0 0 .345-.75V7a1 1 0 0 0-1.659-.75c-3.5 3.029-6.465 1.561-9.901-.14-3.56-1.765-7.596-3.761-12.099.14M27 21.531c-3.349 2.645-6.234 1.218-9.556-.426-3.125-1.544-6.601-3.266-10.444-1.05V7.474c3.349-2.645 6.234-1.219 9.556.425C19.681 9.442 23.16 11.165 27 8.949z"})}),bD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M29 7v15a1 1 0 0 1-.345.75c-1.91 1.654-3.736 2.25-5.478 2.25-2.363 0-4.57-1.093-6.625-2.106C13.234 21.25 10.35 19.826 7 22.47V28a1 1 0 1 1-2 0V7a1 1 0 0 1 .346-.75c4.5-3.897 8.539-1.901 12.099-.14 3.43 1.698 6.404 3.165 9.9.14A1 1 0 0 1 29 7"})}),yD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27.414 9 23 4.586A1.98 1.98 0 0 0 21.586 4H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V10.414A1.98 1.98 0 0 0 27.414 9M21 26H11v-7h10zm5 0h-3v-7a2 2 0 0 0-2-2H11a2 2 0 0 0-2 2v7H6V6h15.586L26 10.414zM20 9a1 1 0 0 1-1 1h-7a1 1 0 1 1 0-2h7a1 1 0 0 1 1 1"})}),_D=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27.414 9 23 4.586A1.98 1.98 0 0 0 21.586 4H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V10.414A1.98 1.98 0 0 0 27.414 9M21 26H11v-7h10zm5 0h-3v-7a2 2 0 0 0-2-2H11a2 2 0 0 0-2 2v7H6V6h15.586L26 10.414zM20 9a1 1 0 0 1-1 1h-7a1 1 0 1 1 0-2h7a1 1 0 0 1 1 1"})}),xD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m28.237 10.263-3.25-3.25a1.221 1.221 0 0 0-1.726 1.726l1.169 1.167h-.305c-5.282 0-6.581 3.12-7.625 5.625-.896 2.15-1.57 3.763-4.342 4.071a4.47 4.47 0 1 0 .028 2.446c4.402-.393 5.593-3.25 6.564-5.579.997-2.399 1.718-4.125 5.375-4.125h.305l-1.17 1.169a1.22 1.22 0 1 0 1.726 1.726l3.25-3.25a1.22 1.22 0 0 0 .001-1.726M7.875 22.906a2.031 2.031 0 1 1 0-4.062 2.031 2.031 0 0 1 0 4.062"})}),SD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M30.625 13.83A2 2 0 0 0 29 13h-2v-2a2 2 0 0 0-2-2h-8.666l-3.466-2.6a2 2 0 0 0-1.2-.4H5a2 2 0 0 0-2 2v18a1 1 0 0 0 1 1h22.388a1 1 0 0 0 .948-.684l3.562-10.683a2 2 0 0 0-.273-1.803M11.668 8l3.732 2.8a1 1 0 0 0 .6.2h9v2H8.721a2 2 0 0 0-1.897 1.367L5 19.838V8zm14 17H5.387L8.72 15H29z"})}),CD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M30.625 13.83A2 2 0 0 0 29 13h-2v-2a2 2 0 0 0-2-2h-8.666l-3.466-2.6a2 2 0 0 0-1.2-.4H5a2 2 0 0 0-2 2v18a1 1 0 0 0 1 1h22.388a1 1 0 0 0 .948-.684l3.562-10.683a2 2 0 0 0-.273-1.803M11.668 8l3.732 2.8a1 1 0 0 0 .6.2h9v2H8.721a2 2 0 0 0-1.897 1.367L5 19.838V8zm14 17H5.387L8.72 15H29z"})}),ED=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"16",cy:"16",r:"12",stroke:"currentColor",strokeWidth:"2"}),h("path",{stroke:"currentColor",strokeWidth:"2",d:"M4 16h24M15.5 4C9 12.5 9 19.5 16 28M16.5 4C23 12.5 23 19.5 16 28"})]}),MD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M30 15h-3.046A11.02 11.02 0 0 0 17 5.046V2a1 1 0 0 0-2 0v3.046A11.016 11.016 0 0 0 5.046 15H2a1 1 0 0 0 0 2h3.046A11.016 11.016 0 0 0 15 26.954V30a1 1 0 0 0 2 0v-3.046A11.02 11.02 0 0 0 26.954 17H30a1 1 0 0 0 0-2M16 25a9 9 0 1 1 9-9 9.01 9.01 0 0 1-9 9m0-14a5 5 0 1 0 0 10 5 5 0 0 0 0-10m0 8a3 3 0 1 1 0-5.999A3 3 0 0 1 16 19"})}),kD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M31.707 13.292a1 1 0 0 0-1.415 0L24 19.586 13.414 9l6.293-6.293a1.001 1.001 0 0 0-1.415-1.415L12 7.586a2 2 0 0 0-.353 2.351L9 12.587a2 2 0 0 0 0 2.827l.586.586-7.294 7.292a1 1 0 0 0 .392 1.657l9 3a1 1 0 0 0 1.024-.241L17 23.413l.586.586a2 2 0 0 0 2.828 0l2.648-2.648A2 2 0 0 0 25.414 21l6.293-6.293a1 1 0 0 0 0-1.415M11.73 25.856l-6.875-2.294L11 17.414 15.586 22zm7.27-3.27L10.414 14 13 11.414 21.586 20z"})}),RD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[ne("g",{fill:"currentColor",clipPath:"url(#a)",children:[h("path",{d:"M10.333 5a1 1 0 1 1 0 2H6v19h20V7h-4.333a1 1 0 1 1 0-2H26a2 2 0 0 1 2 2v19a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z"}),h("path",{d:"M16 4a1 1 0 0 1 1 1v12.586l2.293-2.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 1 1 1.414-1.414L15 17.586V5a1 1 0 0 1 1-1"})]}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),TD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[ne("g",{fill:"currentColor",clipPath:"url(#a)",children:[h("path",{d:"M16.001 17a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3"}),h("path",{fillRule:"evenodd",d:"M16.001 13.5c4.565 0 6.8 4.368 6.894 4.553a1 1 0 0 1 0 .894c-.093.185-2.33 4.553-6.894 4.553-4.565 0-6.802-4.368-6.896-4.553a1 1 0 0 1 0-.894c.094-.185 2.331-4.553 6.896-4.553m0 2c-2.579 0-4.225 2.065-4.838 3 .613.935 2.26 3 4.838 3s4.224-2.065 4.837-3c-.611-.934-2.259-3-4.837-3",clipRule:"evenodd"}),h("path",{fillRule:"evenodd",d:"M26 4a2 2 0 0 1 2 2v20a2 2 0 0 1-1.796 1.99L26 28H6l-.204-.01a2 2 0 0 1-1.785-1.786L4 26V6a2 2 0 0 1 2-2zM6 11v15h20V11zm0-2h20V6H6z",clipRule:"evenodd"})]}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),ND=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 3a13 13 0 1 0 13 13A13.013 13.013 0 0 0 16 3m-.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3M17 23a2 2 0 0 1-2-2v-5a1 1 0 0 1 0-2 2 2 0 0 1 2 2v5a1 1 0 0 1 0 2"})}),PD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 3a13 13 0 1 0 13 13A13.013 13.013 0 0 0 16 3m0 24a11 11 0 1 1 11-11 11.01 11.01 0 0 1-11 11m2-5a1 1 0 0 1-1 1 2 2 0 0 1-2-2v-5a1 1 0 0 1 0-2 2 2 0 0 1 2 2v5a1 1 0 0 1 1 1m-4-11.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0"})}),AD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 18h-9v-6.101a5 5 0 1 0-2 0V18H6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2M13 7a3 3 0 1 1 6 0 3 3 0 0 1-6 0m13 19H6v-6h20z"})}),ID=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[ne("g",{clipPath:"url(#a)",children:[h("path",{fill:"currentColor",d:"M12 20H7.867q-.8 0-1.184-.717-.383-.716.084-1.383l9.966-14.333q.334-.467.867-.65a1.63 1.63 0 0 1 1.1.016q.567.2.833.7.267.501.2 1.067l-1.066 8.633h5.166q.867 0 1.217.767t-.217 1.433L13.867 28.667a1.7 1.7 0 0 1-.9.566 1.5 1.5 0 0 1-1.034-.1 1.75 1.75 0 0 1-.783-.716 1.64 1.64 0 0 1-.217-1.05z"}),h("path",{fill:"currentColor",d:"M17.255.935a3.6 3.6 0 0 1 1.818.022l.293.09.3.12c.685.311 1.257.823 1.631 1.525.372.696.514 1.462.422 2.242v.011l-.79 6.388h2.905v2h-5.167L19.733 4.7a1.78 1.78 0 0 0-.2-1.066 1.45 1.45 0 0 0-.833-.7 1.63 1.63 0 0 0-1.1-.017 1.74 1.74 0 0 0-.867.65L6.766 17.9q-.465.667-.083 1.383.336.628.99.706l.194.01H12l-1.067 7.368-.01.14q-.02.487.227.91.284.483.783.717a1.5 1.5 0 0 0 1.033.1q.467-.117.806-.464l.095-.103 10.967-13.134q.566-.667.215-1.432-.306-.672-1.007-.755l-.208-.013v-2c.588 0 1.221.133 1.803.5.513.323.88.761 1.131 1.232l.102.204.088.21c.192.5.28 1.065.19 1.662a3.4 3.4 0 0 1-.78 1.673L15.402 29.948l-.009.01a3.7 3.7 0 0 1-1.941 1.216 3.5 3.5 0 0 1-2.364-.228 3.75 3.75 0 0 1-1.664-1.517 3.65 3.65 0 0 1-.477-2.296l.003-.027.004-.026.735-5.08H7.867a3.3 3.3 0 0 1-1.733-.469 3.35 3.35 0 0 1-1.214-1.304 3.3 3.3 0 0 1-.404-1.768c.04-.66.283-1.235.612-1.706l9.963-14.328.007-.01.008-.01a3.74 3.74 0 0 1 1.844-1.38z"})]}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),OD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28 16a1 1 0 0 1-1 1H16a1 1 0 1 1 0-2h11a1 1 0 0 1 1 1M16 9h11a1 1 0 0 0 0-2H16a1 1 0 1 0 0 2m11 14H16a1 1 0 0 0 0 2h11a1 1 0 1 0 0-2M10.293 5.292 7 8.586 5.708 7.292a1 1 0 1 0-1.415 1.415l2 2a1 1 0 0 0 1.415 0l4-4a1 1 0 0 0-1.415-1.415m0 8L7 16.586l-1.292-1.294a1 1 0 0 0-1.415 1.415l2 2a1 1 0 0 0 1.415 0l4-4a1 1 0 0 0-1.415-1.415m0 8L7 24.586l-1.292-1.294A1 1 0 0 0 4 24a1 1 0 0 0 .293.707l2 2a1 1 0 0 0 1.415 0l4-4a1 1 0 0 0-1.415-1.415"})}),LD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 10H12V7a4 4 0 0 1 4-4c1.921 0 3.65 1.375 4.02 3.199a1 1 0 0 0 1.96-.398C21.415 3.02 18.9 1 16 1a6.006 6.006 0 0 0-6 6v3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V12a2 2 0 0 0-2-2M16 20.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})}),$D=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 10h-4V7a6 6 0 1 0-12 0v3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V12a2 2 0 0 0-2-2M16 20.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3M20 10h-8V7a4 4 0 1 1 8 0z"})}),DD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M25 4h-4.532a5.99 5.99 0 0 0-8.935 0H7a2 2 0 0 0-2 2v21a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m-9 0a4 4 0 0 1 4 4h-8a4 4 0 0 1 4-4m4 16h-8a1 1 0 1 1 0-2h8a1 1 0 0 1 0 2m0-4h-8a1 1 0 1 1 0-2h8a1 1 0 0 1 0 2"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),BD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M19 14a1 1 0 0 1-1 1h-8a1 1 0 1 1 0-2h8a1 1 0 0 1 1 1m9.708 14.708a1 1 0 0 1-1.415 0l-6.258-6.26a11.013 11.013 0 1 1 1.414-1.413l6.258 6.258a1 1 0 0 1 0 1.415M14 23a9 9 0 1 0-9-9 9.01 9.01 0 0 0 9 9"})}),zD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M19 14a1 1 0 0 1-1 1h-3v3a1 1 0 1 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 2 0v3h3a1 1 0 0 1 1 1m9.708 14.708a1 1 0 0 1-1.415 0l-6.258-6.26a11.013 11.013 0 1 1 1.414-1.413l6.258 6.258a1 1 0 0 1 0 1.415M14 23a9 9 0 1 0-9-9 9.01 9.01 0 0 0 9 9"})}),FD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 8a5 5 0 1 0 0 10 5 5 0 0 0 0-10m0 8a3 3 0 1 1 0-5.999A3 3 0 0 1 16 16m0-14A11.013 11.013 0 0 0 5 13c0 3.925 1.814 8.085 5.25 12.031a31.8 31.8 0 0 0 5.181 4.788 1 1 0 0 0 1.148 0 31.8 31.8 0 0 0 5.171-4.788C25.181 21.085 27 16.925 27 13A11.01 11.01 0 0 0 16 2m0 25.75C13.934 26.125 7 20.156 7 13a9 9 0 0 1 18 0c0 7.154-6.934 13.125-9 14.75"})}),VD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 2A11.013 11.013 0 0 0 5 13c0 9.413 10 16.521 10.426 16.819a1 1 0 0 0 1.148 0C17 29.52 27 22.413 27 13A11.01 11.01 0 0 0 16 2m0 7a4 4 0 1 1 0 8 4 4 0 0 1 0-8"})}),jD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28.615 6.211a1 1 0 0 0-.857-.181l-7.642 1.91-7.668-3.835a1 1 0 0 0-.69-.075l-8 2A1 1 0 0 0 3 7v18a1 1 0 0 0 1.242.97l7.642-1.91 7.668 3.835a1.02 1.02 0 0 0 .69.075l8-2A1 1 0 0 0 29 25V7a1 1 0 0 0-.385-.789M13 6.618l6 3v15.765l-6-3zM5 7.78l6-1.5V22.22l-6 1.5zM27 24.22l-6 1.5V9.78l6-1.5z"})}),HD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28.615 6.211a1 1 0 0 0-.857-.181l-7.283 1.82a1 1 0 0 1-.69-.075l-7.337-3.67a1 1 0 0 0-.69-.075l-8 2A1 1 0 0 0 3 7v18a1 1 0 0 0 1.242.97l7.283-1.82a1 1 0 0 1 .69.076l7.337 3.669a1.02 1.02 0 0 0 .69.075l8-2A1 1 0 0 0 29 25V7a1 1 0 0 0-.385-.789M12 21.755c0 .135-.111.242-.242.275l-5.516 1.378A1 1 0 0 1 5 22.438V8.562a1 1 0 0 1 .757-.97l6.08-1.52a.13.13 0 0 1 .163.127zm15 1.683a1 1 0 0 1-.757.97l-6.08 1.52a.13.13 0 0 1-.163-.127V10.245c0-.135.111-.242.242-.274l5.515-1.379a1 1 0 0 1 1.243.97z"})}),WD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m28.237 10.263-3.25-3.25a1.221 1.221 0 0 0-1.726 1.726l1.169 1.167h-.305c-5.282 0-6.581 3.12-7.625 5.625-.896 2.15-1.57 3.763-4.342 4.071a4.469 4.469 0 1 0 .028 2.446c4.402-.393 5.593-3.25 6.564-5.579.997-2.399 1.718-4.125 5.375-4.125h.305l-1.17 1.169a1.22 1.22 0 1 0 1.726 1.726l3.25-3.25a1.22 1.22 0 0 0 .001-1.726M7.875 22.906a2.031 2.031 0 1 1 0-4.062 2.031 2.031 0 0 1 0 4.062"})}),T8=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M28 16a1 1 0 0 1-1 1H5a1 1 0 0 1 0-2h22a1 1 0 0 1 1 1"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),qD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 5H6a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h20a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3m1 17a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1zm-6 6a1 1 0 0 1-1 1h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1"})}),UD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M27.98 16.648a11.999 11.999 0 0 1-23.72 1.854A12 12 0 0 1 15.35 4.018c.54-.03.822.613.535 1.07A8 8 0 0 0 26.91 16.113c.46-.286 1.1-.005 1.071.535"})}),YD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M12 17H8v3a1 1 0 0 1-1.707.708l-4-4a1 1 0 0 1 0-1.415l4-4A1 1 0 0 1 8 12v3h4a1 1 0 1 1 0 2m0-9h3v4a1 1 0 1 0 2 0V8h3a1 1 0 0 0 .708-1.707l-4-4a1 1 0 0 0-1.415 0l-4 4A1 1 0 0 0 12 8m17.708 7.293-4-4A1 1 0 0 0 24 12v3h-4a1 1 0 1 0 0 2h4v3a1 1 0 0 0 1.708.708l4-4a1 1 0 0 0 0-1.415M20 24h-3v-4a1 1 0 0 0-2 0v4h-3a1 1 0 0 0-.707 1.708l4 4a1 1 0 0 0 1.415 0l4-4A1 1 0 0 0 20 24"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),GD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M29.666 13.276 7.676 5.125l-.02-.006A2 2 0 0 0 5.12 7.676l8.157 21.99A1.97 1.97 0 0 0 15.16 31h.037a1.97 1.97 0 0 0 1.876-1.411l.007-.025 2.73-9.75 9.75-2.73.025-.008a2 2 0 0 0 .078-3.797zM18.73 18.038a1 1 0 0 0-.692.692L15.162 29l-.007-.021L7 7l21.978 8.153.02.007z"})}),KD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M29.666 13.276 7.676 5.125l-.02-.006A2 2 0 0 0 5.12 7.676l8.157 21.99A1.97 1.97 0 0 0 15.16 31h.037a1.97 1.97 0 0 0 1.876-1.411l.007-.025 2.73-9.75 9.75-2.73.025-.008a2 2 0 0 0 .078-3.797zM18.73 18.038a1 1 0 0 0-.692.692L15.162 29l-.007-.021L7 7l21.978 8.153.02.007z"}),h("path",{fill:"currentColor",d:"m18.5 18.5-3.5 11L7 7l22.5 8z"})]}),XD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m19.173 21.732-4.774-4.773H6.72a.93.93 0 0 1-.68-.28.93.93 0 0 1-.28-.68q0-.4.28-.68a.93.93 0 0 1 .68-.28h7.68l4.774-4.774a.92.92 0 0 1 .666-.293q.375 0 .667.293l5.067 5.067a.92.92 0 0 1 .293.666.92.92 0 0 1-.293.667l-5.067 5.067a.92.92 0 0 1-.667.293.92.92 0 0 1-.666-.293"})}),ZD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m28.708 7.293-4-4a1 1 0 0 0-1.415 0l-12 12A1 1 0 0 0 11 16v4a1 1 0 0 0 1 1h4a1 1 0 0 0 .707-.292l12-12a1 1 0 0 0 0-1.415M15.586 19H13v-2.586l8-8L23.586 11zM25 9.586 22.414 7 24 5.414 26.586 8zM28 16v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h10a1 1 0 1 1 0 2H6v20h20V16a1 1 0 0 1 2 0"})}),QD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M25 21a4.01 4.01 0 0 0-3.875 3H9a4 4 0 1 1 0-8h12a5 5 0 1 0 0-10H9a1 1 0 0 0 0 2h12a3 3 0 0 1 0 6H9a6 6 0 1 0 0 12h12.125A4 4 0 1 0 25 21m0 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})}),JD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M25 4h-5a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 22h-5V6h5zM12 4H7a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 22H7V6h5z"})}),eB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27 6v20a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5a2 2 0 0 1 2 2M12 4H7a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2"})}),tB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m28.414 9.171-5.585-5.586a2 2 0 0 0-2.829 0L4.586 19A1.98 1.98 0 0 0 4 20.414V26a2 2 0 0 0 2 2h5.586A1.98 1.98 0 0 0 13 27.414L28.414 12a2 2 0 0 0 0-2.829M11.586 26H6v-5.586l11-11L22.586 15zM24 13.585 18.414 8l3-3L27 10.585z"})}),nB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M29.05 14.311 11.04 3.294a2 2 0 0 0-2.767.688c-.178.304-.272.65-.273 1.002v22.032A1.993 1.993 0 0 0 10 29c.369 0 .73-.102 1.045-.294L29.05 17.69a1.977 1.977 0 0 0 0-3.375zM10 26.993V5l17.979 11z"})}),rB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M29.22 14.295c1.273.78 1.273 2.63 0 3.41L11.047 28.854C9.713 29.672 8 28.713 8 27.149V4.851c0-1.564 1.713-2.523 3.046-1.705z"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),N8=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M28 16a1 1 0 0 1-1 1H17v10a1 1 0 0 1-2 0V17H5a1 1 0 0 1 0-2h10V5a1 1 0 0 1 2 0v10h10a1 1 0 0 1 1 1"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),oB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 20.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M7 11.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M25 11.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M16 2.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9"})}),aB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"6",cy:"25",r:"3.5",fill:"currentColor"}),h("circle",{cx:"25",cy:"6",r:"3.5",fill:"currentColor"}),h("path",{stroke:"currentColor",strokeDasharray:"3 3",strokeLinecap:"round",strokeWidth:"2",d:"M6 21.5Q6 6 21.5 6"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M17 8.5 21.5 6 17 3.5"})]}),iB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"6",cy:"25",r:"3.5",fill:"currentColor"}),h("circle",{cx:"25",cy:"6",r:"3.5",fill:"currentColor"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"m8.5 22.5 14-14"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"m21 13 1.5-4.5L18 10"})]}),sB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M28 16v3a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h20a2 2 0 0 1 2 2M26 5H6a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m-7 21h-2v-2a1 1 0 0 0-2 0v2h-2a1 1 0 0 0 0 2h2v2a1 1 0 0 0 2 0v-2h2a1 1 0 0 0 0-2"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),lB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M13 5H7a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m0 8H7V7h6zm0 4H7a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2m0 8H7v-6h6zM25 5h-6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m0 8h-6V7h6zm-8 9v-4a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0m10-2a1 1 0 0 1-1 1h-3v5a1 1 0 0 1-1 1h-4a1 1 0 0 1 0-2h3v-7a1 1 0 0 1 2 0v1h3a1 1 0 0 1 1 1m0 4v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 2 0"})}),cB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"6",cy:"16",r:"3",fill:"currentColor"}),h("circle",{cx:"16",cy:"16",r:"3",fill:"currentColor",fillOpacity:".5"}),h("circle",{cx:"26",cy:"16",r:"3",fill:"currentColor",fillOpacity:".3"})]}),P8=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M27 8a1 1 0 0 1 1 1v6a2 2 0 0 1-2 2H7.414l4.793 4.793a1 1 0 0 1-1.414 1.414L5 17.414a2 2 0 0 1 0-2.828l5.793-5.793a1 1 0 0 1 1.414 1.414L7.414 15H26V9a1 1 0 0 1 1-1"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),uB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",fillRule:"evenodd",d:"m20.583 4.504 6 .5a1 1 0 1 1-.166 1.992l-5.412-.451-2.322 3.482 2.354 3.925 5.38-.448a1 1 0 1 1 .166 1.992l-6 .5a1 1 0 0 1-.94-.482L16.933 11h-5.059a4 4 0 0 1-1.272 2.035L16.16 26H26a1 1 0 0 1 0 2H6a1 1 0 1 1 0-2h7.983L8.806 13.918A4 4 0 1 1 11.874 9h5.09l2.704-4.055.082-.107a1 1 0 0 1 .833-.334M8 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4",clipRule:"evenodd"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),dB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M6.13 23.111a1 1 0 0 1-.896-.657l-2.737-7.518a1 1 0 0 1 .598-1.282l7.518-2.736a1.001 1.001 0 0 1 1.249 1.363l-2.095 4.494a20.8 20.8 0 0 0 6.371 1.262c4.435.18 8.919-1.024 12.185-3.822a1 1 0 1 1 1.3 1.518c-3.734 3.2-8.75 4.497-13.565 4.302a22.8 22.8 0 0 1-7.139-1.444L7.08 22.535a1 1 0 0 1-.95.577"})}),G2=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M25.843 8.862a1 1 0 0 1 .897.658l2.736 7.517a1 1 0 0 1-.598 1.282l-7.517 2.737a1 1 0 0 1-1.25-1.364l2.096-4.494a20.8 20.8 0 0 0-6.372-1.261c-4.434-.18-8.918 1.023-12.184 3.822a1 1 0 1 1-1.3-1.519c3.733-3.2 8.75-4.497 13.565-4.301 2.462.1 4.907.592 7.138 1.443l1.84-3.943a1 1 0 0 1 .95-.577"})}),fB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M19.716 14.141a1 1 0 0 1 .262-1.39l8.457-5.788a1 1 0 0 1 1.125 1.65l-8.459 5.788a.99.99 0 0 1-1.028.059 1 1 0 0 1-.357-.319m10.11 10.637a1 1 0 0 1-1.39.26L17 17.213l-5.314 3.635a4.5 4.5 0 1 1-1.125-1.65L15.23 16l-4.674-3.199a4.482 4.482 0 1 1 1.125-1.648l17.875 12.233a1 1 0 0 1 .27 1.392M10 22.5a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0m-.732-11.234a2.5 2.5 0 1 0-3.535 0 2.48 2.48 0 0 0 3.535 0"})}),Z0=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"m28.708 27.293-6.26-6.258a11.014 11.014 0 1 0-1.413 1.414l6.258 6.258a1.003 1.003 0 0 0 1.415 0 1 1 0 0 0 0-1.415M5 14a9 9 0 1 1 9 9 9.01 9.01 0 0 1-9-9"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),pB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 10a6 6 0 1 0 6 6 6.006 6.006 0 0 0-6-6m0 10a4 4 0 1 1 0-8 4 4 0 0 1 0 8m13.743-6.599a1 1 0 0 0-.487-.675l-3.729-2.125-.015-4.202a1 1 0 0 0-.353-.76 14 14 0 0 0-4.59-2.584 1 1 0 0 0-.808.074L16 5.23l-3.765-2.106a1 1 0 0 0-.809-.075 14 14 0 0 0-4.585 2.594 1 1 0 0 0-.354.759l-.018 4.206-3.729 2.125a1 1 0 0 0-.486.675 13.3 13.3 0 0 0 0 5.195 1 1 0 0 0 .486.675l3.729 2.125.015 4.202a1 1 0 0 0 .353.76 14 14 0 0 0 4.59 2.584 1 1 0 0 0 .808-.074L16 26.77l3.765 2.106a1.008 1.008 0 0 0 .809.073 14 14 0 0 0 4.585-2.592 1 1 0 0 0 .354-.759l.018-4.206 3.729-2.125a1 1 0 0 0 .486-.675c.34-1.713.338-3.477-.003-5.19m-1.875 4.364-3.572 2.031a1 1 0 0 0-.375.375c-.072.125-.148.258-.226.383a1 1 0 0 0-.152.526l-.02 4.031c-.96.754-2.029 1.357-3.17 1.788L16.75 24.89a1 1 0 0 0-.489-.125h-.478a1 1 0 0 0-.513.125l-3.605 2.013a12 12 0 0 1-3.18-1.779L8.471 21.1a1 1 0 0 0-.152-.527 7 7 0 0 1-.225-.383 1 1 0 0 0-.375-.383l-3.575-2.036a11.3 11.3 0 0 1 0-3.532l3.565-2.035a1 1 0 0 0 .375-.375c.072-.125.148-.258.226-.383.1-.157.152-.34.152-.526l.02-4.031c.96-.754 2.029-1.357 3.17-1.788L15.25 7.11a1 1 0 0 0 .512.125h.456a1 1 0 0 0 .512-.125l3.605-2.013a12 12 0 0 1 3.18 1.779l.014 4.025c0 .187.053.37.152.527.078.126.154.25.225.383.089.159.218.291.375.383l3.575 2.036a11.3 11.3 0 0 1 .006 3.536z"})}),hB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M10.5 17A3.5 3.5 0 0 1 8 20.354V27a1 1 0 1 1-2 0v-6.646a3.5 3.5 0 0 1 0-6.708V5a1 1 0 0 1 2 0v8.646A3.5 3.5 0 0 1 10.5 17M17 7.646V5a1 1 0 1 0-2 0v2.646a3.5 3.5 0 0 0 0 6.708V27a1 1 0 0 0 2 0V14.354a3.5 3.5 0 0 0 0-6.708m9 10V5a1 1 0 1 0-2 0v12.646a3.5 3.5 0 0 0 0 6.708V27a1 1 0 0 0 2 0v-2.646a3.5 3.5 0 0 0 0-6.708"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),mB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M13.949 22.684A1 1 0 0 1 13 24H3a1 1 0 0 1-.949-1.316l5-15a1 1 0 0 1 1.898 0zM26 9.5a6.5 6.5 0 1 0-6.5 6.5A6.507 6.507 0 0 0 26 9.5m2 8.5H17a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1"})}),gB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m17.708 16.708-5 5a1 1 0 0 1-1.415-1.415L14.586 17H3a1 1 0 0 1 0-2h11.586l-3.293-3.293a1 1 0 1 1 1.415-1.415l5 5a1 1 0 0 1 0 1.415M25 4h-8a1 1 0 1 0 0 2h7v20h-7a1 1 0 0 0 0 2h8a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1"})}),vB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M3 28h8a1 1 0 0 0 0-2H4V6h7a1 1 0 1 0 0-2H3a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1"}),h("path",{fill:"currentColor",d:"m20.707 10.293 5 5a1 1 0 0 1 0 1.415l-5 5a1 1 0 0 1-1.415-1.415L22.585 17H11a1 1 0 0 1 0-2h11.587l-3.294-3.293a1 1 0 0 1 1.415-1.415"})]}),wB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M25 4a1 1 0 0 0-1 1v8.654L9.054 4.306A1.994 1.994 0 0 0 6 5.985v20.03a2 2 0 0 0 3.054 1.679L24 18.346V27a1 1 0 0 0 2 0V5a1 1 0 0 0-1-1M8 25.991V6.006l15.98 10z"})}),bB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("circle",{cx:"12",cy:"12",r:"9"}),h("ellipse",{cx:"12",cy:"12",rx:"9",ry:"3.5"}),h("path",{d:"M12 3c3.5 3.5 4.5 7 4.5 9s-1 5.5-4.5 9"})]}),A8=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",fillOpacity:".3",d:"M11 9.5H5a.5.5 0 0 0-.354.854l3 3a.5.5 0 0 0 .708 0l3-3A.501.501 0 0 0 11 9.5"}),h("path",{fill:"currentColor",d:"M4.538 6.191a.5.5 0 0 1 .108-.545l3-3a.5.5 0 0 1 .708 0l3 3A.5.5 0 0 1 11 6.5H5a.5.5 0 0 1-.462-.309"})]}),I8=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M11 9.5H5a.5.5 0 0 0-.354.854l3 3a.5.5 0 0 0 .708 0l3-3A.501.501 0 0 0 11 9.5"}),h("path",{fill:"currentColor",fillOpacity:".3",d:"M4.538 6.191a.5.5 0 0 1 .108-.545l3-3a.5.5 0 0 1 .708 0l3 3A.5.5 0 0 1 11 6.5H5a.5.5 0 0 1-.462-.309"})]}),yB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M25 5H7a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m0 20H7V7h18z"})}),_B=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("rect",{width:"22",height:"22",x:"5",y:"5",fill:"currentColor",rx:"2"})}),xB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M25.906 15.717c0-.625.507-1.132 1.132-1.132h2.83a1.132 1.132 0 1 1 0 2.264h-2.83a1.13 1.13 0 0 1-1.132-1.132M1 15.717c0-.625.507-1.132 1.132-1.132h2.83a1.132 1.132 0 0 1 0 2.264h-2.83A1.13 1.13 0 0 1 1 15.717M15.717 6.094a1.13 1.13 0 0 1-1.132-1.132v-2.83a1.132 1.132 0 0 1 2.264 0v2.83c0 .625-.507 1.132-1.132 1.132M15.717 31a1.13 1.13 0 0 1-1.132-1.132v-2.83a1.132 1.132 0 0 1 2.264 0v2.83c0 .625-.507 1.132-1.132 1.132M23.237 8.538a1.13 1.13 0 0 1 .14-1.595l2.168-1.82A1.132 1.132 0 0 1 27 6.859l-2.168 1.82a1.13 1.13 0 0 1-1.595-.14M23.237 23.377a1.13 1.13 0 0 0 .14 1.595l2.168 1.819A1.132 1.132 0 1 0 27 25.056l-2.168-1.819a1.13 1.13 0 0 0-1.595.14M7.894 8.538a1.13 1.13 0 0 0-.14-1.595l-2.167-1.82A1.132 1.132 0 1 0 4.13 6.859L6.3 8.678c.48.401 1.193.339 1.595-.14M7.894 23.377c.402.479.34 1.193-.14 1.595L5.588 26.79a1.132 1.132 0 1 1-1.456-1.735L6.3 23.237a1.13 1.13 0 0 1 1.595.14"}),h("path",{stroke:"currentColor",strokeWidth:"2",d:"M15.717 26.905c.073 0 .132.06.132.133v2.83a.132.132 0 1 1-.264 0v-2.83c0-.073.059-.133.132-.133Zm-8.775-2.902a.132.132 0 0 1 .17.202l-2.168 1.82a.133.133 0 0 1-.186-.016.133.133 0 0 1 .016-.187zm17.06.017a.133.133 0 0 1 .188-.017l2.167 1.82c.056.046.064.13.017.186a.13.13 0 0 1-.186.015l-2.168-1.819a.13.13 0 0 1-.017-.185ZM15.718 9.925a5.793 5.793 0 1 1 0 11.585 5.793 5.793 0 0 1 0-11.585Zm-13.585 5.66h2.83c.073 0 .133.059.133.132s-.06.132-.133.132h-2.83a.132.132 0 1 1 0-.264Zm24.906 0h2.83a.132.132 0 0 1 0 .264h-2.83a.13.13 0 0 1-.133-.132c0-.073.06-.132.133-.132ZM4.758 5.906a.133.133 0 0 1 .186-.016l2.168 1.819c.056.047.063.13.016.187a.13.13 0 0 1-.186.015L4.774 6.093a.133.133 0 0 1-.016-.187Zm21.43-.016a.133.133 0 0 1 .186.016c.047.056.04.14-.017.187L24.19 7.91a.133.133 0 0 1-.186-.015.133.133 0 0 1 .017-.187zM15.717 2c.073 0 .131.059.132.132v2.83a.133.133 0 0 1-.132.133.133.133 0 0 1-.132-.133v-2.83c0-.073.059-.132.132-.132Z"})]}),SB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M5 20a1 1 0 0 1 1 1v5h5a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1M27 20a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 1 1 0-2h5v-5a1 1 0 0 1 1-1"}),h("path",{fill:"currentColor",fillRule:"evenodd",d:"M21 10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1zm-9 10h8v-8h-8z",clipRule:"evenodd"}),h("path",{fill:"currentColor",d:"M11 4a1 1 0 1 1 0 2H6v5a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1zM27 4a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V6h-5a1 1 0 1 1 0-2z"})]}),CB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 3a4 4 0 0 1 1 7.874V12a3 3 0 0 0 3 3h5a5 5 0 0 1 5 5v1.126A4.002 4.002 0 0 1 23 29a4 4 0 0 1-1-7.874V20a3 3 0 0 0-3-3h-5a4.98 4.98 0 0 1-3-1.001v5.127A4.002 4.002 0 0 1 10 29a4 4 0 0 1-1-7.874V10.874A4.002 4.002 0 0 1 10 3m0 20a2 2 0 1 0 0 4 2 2 0 0 0 0-4m13 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4M10 5a2 2 0 1 0 0 4 2 2 0 0 0 0-4",clipRule:"evenodd"})}),EB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27 6h-5V5a3 3 0 0 0-3-3h-6a3 3 0 0 0-3 3v1H5a1 1 0 0 0 0 2h1v18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h1a1 1 0 1 0 0-2M12 5a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v1h-8zm12 21H8V8h16zM14 13v8a1 1 0 0 1-2 0v-8a1 1 0 0 1 2 0m6 0v8a1 1 0 0 1-2 0v-8a1 1 0 0 1 2 0"})}),MB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 8c3.459 0 6.64.816 8.99 2.187C27.314 11.543 29 13.564 29 16c0 2.786-2.19 5.02-5.076 6.37a1 1 0 1 1-.848-1.811C25.677 19.342 27 17.635 27 16c0-1.43-1-2.909-3.019-4.086C21.988 10.751 19.17 10 16 10s-5.988.751-7.981 1.914C6 13.091 5 14.57 5 16s1 2.909 3.019 4.086c1.43.835 3.287 1.454 5.392 1.74l-2.118-2.119a1 1 0 1 1 1.414-1.414l4 4a1 1 0 0 1 .25.414l.015.062q.027.111.028.231-.001.084-.016.165a.993.993 0 0 1-.277.542l-4 4a1 1 0 1 1-1.414-1.414l2.416-2.417c-2.56-.275-4.878-1-6.698-2.062C4.686 20.457 3 18.436 3 16s1.686-4.457 4.01-5.813C9.36 8.816 12.542 8 16 8"})}),kB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28.865 26.5c-1.904-3.291-4.837-5.651-8.261-6.77a9 9 0 1 0-9.208 0c-3.423 1.117-6.357 3.477-8.26 6.77a1 1 0 1 0 1.73 1C7.221 23.43 11.384 21 16 21s8.779 2.43 11.134 6.5a1.003 1.003 0 0 0 1.379.389 1 1 0 0 0 .352-1.389M9 12a7 7 0 1 1 7 7 7.01 7.01 0 0 1-7-7"})}),RB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M23.6 10.267a7.6 7.6 0 1 1-15.2 0 7.6 7.6 0 0 1 15.2 0M16 20.533c5.186 0 9.732 2.78 12.269 6.948.59.97-.174 2.119-1.31 2.119H5.04c-1.134 0-1.898-1.15-1.309-2.119 2.537-4.169 7.083-6.948 12.27-6.948"})}),TB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M29.6 23.511 18.67 4.528a3.096 3.096 0 0 0-5.338 0L2.401 23.51a2.94 2.94 0 0 0 0 2.965A3.04 3.04 0 0 0 5.068 28H26.93a3.04 3.04 0 0 0 2.667-1.524 2.94 2.94 0 0 0 .002-2.965m-1.734 1.964a1.06 1.06 0 0 1-.935.525H5.07a1.06 1.06 0 0 1-.935-.525.95.95 0 0 1 0-.965L15.065 5.526a1.094 1.094 0 0 1 1.875 0L27.871 24.51a.95.95 0 0 1-.005.965M15 18v-5a1 1 0 0 1 2 0v5a1 1 0 1 1-2 0m2.5 4.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"})}),NB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 3a13 13 0 1 0 13 13A13.013 13.013 0 0 0 16 3m0 24a11 11 0 1 1 11-11 11.01 11.01 0 0 1-11 11m-1-10v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-2 0m2.5 4.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"})}),O8=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M29.6 23.511 18.67 4.527a3.096 3.096 0 0 0-5.338 0L2.401 23.511a2.94 2.94 0 0 0 0 2.965A3.04 3.04 0 0 0 5.068 28H26.93a3.05 3.05 0 0 0 2.667-1.524 2.94 2.94 0 0 0 .002-2.965M15 13a1 1 0 1 1 2 0v5a1 1 0 1 1-2 0zm1 11a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})}),PB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2.25",d:"M12.312 20.102c2.438-2.183 5.25-2.123 7.813 0M8.375 16.042c4.876-4.331 10.502-4.213 15.63.002M5 11.542c6.978-5.958 15.034-5.791 22.378.014"}),h("circle",{cx:"16.25",cy:"24.25",r:"1.125",fill:"currentColor"})]}),AB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"16.125",cy:"25.688",r:"1.125",fill:"currentColor"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2.25",d:"M12.312 21.749c2.438-2.183 5.25-2.123 7.813 0M8.375 17.683c3.937-3.494 6.375-2.867 6.375-2.867M20.125 15.188s1.688.374 3.879 2.498M5 13.184c5.188-3.996 5.188-2.934 5.188-2.934M14.437 8.94c7.75-.752 12.94 4.264 12.94 4.264M5 5l21.5 21.75"})]}),df=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M25.708 24.293a1 1 0 0 1-1.415 1.415L16 17.414l-8.292 8.293a1 1 0 0 1-1.415-1.415L14.586 16 6.293 7.708a1 1 0 1 1 1.415-1.415L16 14.586l8.293-8.293a1 1 0 1 1 1.415 1.415L17.414 16z"})}),IB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",className:"lucide lucide-bot-icon lucide-bot",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("path",{d:"M12 8V4H8"}),h("rect",{width:"16",height:"12",x:"4",y:"8",rx:"2"}),h("path",{d:"M2 14h2M20 14h2M15 13v2M9 13v2"})]}),OB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"1em",height:"1em",...t,children:[h("path",{fill:"none",stroke:"currentColor",strokeDasharray:"3,2",strokeLinecap:"round",d:"M35 23v50M35 73h50"}),h("path",{fill:"currentColor",fillOpacity:".72",d:"M35 23h50v50H35z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4",d:"M35 23 15 38v50h50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.4",d:"M15 38h50M65 38l20-15M65 38v50M85 23v50"})]}),LB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"1em",height:"1em",...t,children:[h("path",{fill:"none",stroke:"currentColor",strokeDasharray:"3,2",strokeLinecap:"round",d:"M35 23v50M35 23h50M35 73h50"}),h("path",{fill:"currentColor",fillOpacity:".72",d:"M15 88h50l20-15H35z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4",d:"M35 23 15 38v50h50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.4",d:"M15 38h50M65 38l20-15M65 38v50M85 23v50"})]}),$B=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"1em",height:"1em",...t,children:[h("path",{fill:"none",stroke:"currentColor",strokeDasharray:"3,2",strokeLinecap:"round",d:"M35 23v50M35 23h50M35 73h50"}),h("path",{fill:"currentColor",fillOpacity:".72",d:"M15 38h50v50H15z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4",d:"M35 23 15 38v50h50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.4",d:"M15 38h50M65 38l20-15M65 38v50M85 23v50"})]}),DB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"1em",height:"1em",...t,children:[h("path",{fill:"none",stroke:"currentColor",strokeDasharray:"3,2",strokeLinecap:"round",d:"M35 23v50M35 23h50M35 73h50"}),h("path",{fill:"currentColor",fillOpacity:".72",d:"M15 38v50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4",d:"M35 23 15 38v50h50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.4",d:"M15 38h50M65 38l20-15M65 38v50M85 23v50"})]}),BB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"1em",height:"1em",...t,children:[h("path",{fill:"none",stroke:"currentColor",strokeDasharray:"3,2",strokeLinecap:"round",d:"M35 23v50M35 23h50M35 73h50"}),h("path",{fill:"currentColor",fillOpacity:".72",d:"m65 38 20-15v50L65 88z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4",d:"M35 23 15 38v50h50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.4",d:"M15 38h50M65 38l20-15M65 38v50M85 23v50"})]}),zB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"1em",height:"1em",...t,children:[h("path",{fill:"none",stroke:"currentColor",strokeDasharray:"3,2",strokeLinecap:"round",d:"M35 23v50M35 23h50M35 73h50"}),h("path",{fill:"currentColor",fillOpacity:".72",d:"M15 38h50l20-15H35z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4",d:"M35 23 15 38v50h50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.4",d:"M15 38h50M65 38l20-15M65 38v50M85 23v50"})]}),FB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",className:"lucide lucide-usb-icon lucide-usb",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("circle",{cx:"10",cy:"7",r:"1"}),h("circle",{cx:"4",cy:"20",r:"1"}),h("path",{d:"M4.7 19.3 19 5M21 3l-3 1 2 2ZM9.26 7.68 5 12l2 5M10 14l5 2 3.5-3.5"}),h("path",{d:"m18 12 1-1 1 1-1 1Z"})]}),VB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",className:"lucide lucide-wand-icon lucide-wand",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:h("path",{d:"M15 4V2M15 16v-2M8 9h2M20 9h2M17.8 11.8 19 13M15 9h.01M17.8 6.2 19 5M3 21l9-9M12.2 6.2 11 5"})}),jB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3",className:"lucide lucide-wifi-icon lucide-wifi",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:h("path",{d:"M12 20h.01M2 8.82a15 15 0 0 1 20 0M5 12.859a10 10 0 0 1 14 0M8.5 16.429a5 5 0 0 1 7 0"})}),HB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",className:"lucide lucide-wifi-cog-icon lucide-wifi-cog",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("path",{d:"m14.305 19.53.923-.382M15.228 16.852l-.923-.383M16.852 15.228l-.383-.923M16.852 20.772l-.383.924M19.148 15.228l.383-.923M19.53 21.696l-.382-.924M2 7.82a15 15 0 0 1 20 0M20.772 16.852l.924-.383M20.772 19.148l.924.383M5 11.858a10 10 0 0 1 11.5-1.785M8.5 15.429a5 5 0 0 1 2.413-1.31"}),h("circle",{cx:"18",cy:"18",r:"3"})]}),Rhe=Object.freeze(Object.defineProperty({__proto__:null,Svg25DBold:B$,SvgAMR:z$,SvgArrowArcLeftBold:F$,SvgArrowArcRightBold:V$,SvgArrowCounterClockwiseBold:j$,SvgArrowDownBold:H$,SvgArrowLeftBold:W$,SvgArrowMove:q$,SvgArrowRightBold:U$,SvgArrowUpBold:Y$,SvgArrowsInSimpleBold:G$,SvgArrowsLeftRightBold:K$,SvgArrowsOutSimpleBold:X$,SvgBackspace:nw,SvgBoardSolid:Z$,SvgBot:IB,SvgBox3D:Q$,SvgBugBeetleSolid:J$,SvgBulletSolid:eD,SvgCANBus:tD,SvgCalendarBlankBold:rw,SvgCameraBold:m8,SvgCameraResetBold:nD,SvgCaretDownSolid:g8,SvgCaretLeftSolid:v8,SvgCaretRightSolid:w8,SvgCaretUpDownSolid:b8,SvgCaretUpSolid:y8,SvgChargingBold:rD,SvgChargingSolid:oD,SvgCheckCircle:aD,SvgCheckedBold:Hs,SvgChevronDownBold:K0,SvgChevronLeftBold:X0,SvgChevronLeftEndBold:_8,SvgChevronRightBold:Su,SvgChevronRightEndBold:x8,SvgChevronUpBold:ow,SvgCircleDashedBold:iD,SvgCircleProgressBold:sD,SvgCircleX:lD,SvgCircleXSolid:S8,SvgClipboardBold:cD,SvgClock:uD,SvgCodeSimpleBold:dD,SvgComplete:fD,SvgCopyBold:C8,SvgCubeBack:OB,SvgCubeBottom:LB,SvgCubeFront:$B,SvgCubeLeft:DB,SvgCubeRight:BB,SvgCubeTop:zB,SvgCylinder3D:pD,SvgDangerSolid:E8,SvgDesktopBold:hD,SvgDeviceMobileSlashBold:mD,SvgDotsSix:M8,SvgEraserBold:gD,SvgEyeBold:R8,SvgEyeSlashBold:k8,SvgFileArrowDownBold:vD,SvgFlagBold:wD,SvgFlagSolid:bD,SvgFloppyDiskBold:yD,SvgFloppyDiskRegular:_D,SvgFlowArrow:xD,SvgFolderOpenBold:SD,SvgFolderOpenRegular:CD,SvgGlobe:ED,SvgGpsFixBold:MD,SvgHighlighterBold:kD,SvgImportBold:RD,SvgImportPreviewBold:TD,SvgInfoSolid:ND,SvgInformationRegular:PD,SvgJoystickBold:AD,SvgLightningSolid:ID,SvgListChecksBold:OD,SvgLockOpenSolid:LD,SvgLockSolid:$D,SvgLogSolid:DD,SvgMagnifyingGlassMinusBold:BD,SvgMagnifyingGlassPlusBold:zD,SvgMapBold:jD,SvgMapPinBold:FD,SvgMapPinSolid:VD,SvgMapSolid:HD,SvgMapping:WD,SvgMinusBold:T8,SvgMonitorBold:qD,SvgMoon:UD,SvgMoveSolid:YD,SvgNavigationArrowBold:GD,SvgNavigationArrowSoild:KD,SvgNode:XD,SvgNotePencilBold:ZD,SvgPathBold:QD,SvgPauseBold:JD,SvgPauseSolid:eB,SvgPencilSimpleBold:tB,SvgPlayBold:nB,SvgPlaySolid:rB,SvgPlusBold:N8,SvgPointCloudSolid:oB,SvgPopupMoveJ:aB,SvgPopupMoveL:iB,SvgProgramSolid:sB,SvgQrCodeRegular:lB,SvgRecording:cB,SvgReturn:P8,SvgRobotArmBold:uB,SvgRotateLeft:dB,SvgRotateRight:G2,SvgScissorsBold:fB,SvgSearchBold:Z0,SvgSettingBold:pB,SvgSettingSolid:hB,SvgShapesSolid:mB,SvgSignIn:gB,SvgSignOut:vB,SvgSkipForwardBold:wB,SvgSphere3D:bB,SvgStateASC:A8,SvgStateDESC:I8,SvgStopBold:yB,SvgStopSolid:_B,SvgSun:xB,SvgTopViewBold:SB,SvgTopologyBold:CB,SvgTrashBold:EB,SvgTurnLeft:MB,SvgUsb:FB,SvgUserBold:kB,SvgUserSolid:RB,SvgWand:VB,SvgWarning:TB,SvgWarningCircle:NB,SvgWarningSolid:O8,SvgWifi:PB,SvgWifiBold:jB,SvgWifiCog:HB,SvgWifiNone:AB,SvgXBold:df},Symbol.toStringTag,{value:"Module"})),WB=he(["relative inline-flex","[&>label]:w-full","[&_.ico-check]:hidden","[&_.text]:relative","[&_.text]:inline-flex","[&_.text]:w-full","[&_.text]:items-center","[&_.text]:justify-center","[&_.text]:gap-1","[&_.text]:cursor-pointer","[&_.text]:transition-colors","[&_.text]:select-none","[&_.text]:rounded-md","[&_.text]:outline","[&_.text]:outline-1","[&_.text]:outline-offset-[-1px]","[&_.text]:bg-fill-transparent","[&_.text]:text-fg-default","[&_.text]:outline-border-default","[&_.text]:hover:bg-fill-transparent-hovered","[&_.label-text]:text-center","[&_.label-text]:typo-compact-xs-semibold","[&_[data-slot='check-label-button-icon']]:text-current","[&_.peer:checked~.text]:bg-fill-brand-subtler","[&_.peer:checked~.text]:text-fg-default","[&_.peer:checked~.text]:outline-border-brand-stronger","[&_.peer:checked~.text]:hover:bg-fill-brand-subtle","[&_.peer:disabled~.text]:bg-fill-transparent","[&_.peer:disabled~.text]:cursor-not-allowed","[&_.peer:disabled~.text]:text-fg-disabled","[&_.peer:disabled~.text]:outline-border-disabled","[&_.peer:disabled~.text]:hover:bg-fill-transparent","[&_.peer:checked:disabled~.text]:bg-fill-disabled","[&_.peer:checked:disabled~.text]:text-fg-disabled","[&_.peer:checked:disabled~.text]:outline-transparent","[&_.peer[readonly]~.text]:bg-fill-transparent","[&_.peer[readonly]~.text]:cursor-not-allowed","[&_.peer[readonly]~.text]:text-fg-default","[&_.peer[readonly]~.text]:outline-border-subtler","[&_.peer[readonly]~.text]:hover:bg-fill-transparent","[&_.peer:checked[readonly]~.text]:bg-fill-disabled","[&_.peer:checked[readonly]~.text]:text-fg-default","[&_.peer:checked[readonly]~.text]:outline-transparent"].join(" "),{variants:{size:{xs:["[&_.text]:min-h-7","[&_.text]:px-2","[&_.text]:py-1.5"].join(" "),xs2:["[&_.text]:min-h-8","[&_.text]:px-3","[&_.text]:py-2"].join(" "),sm:["[&_.text]:min-h-8","[&_.text]:px-3","[&_.text]:py-2"].join(" "),md:["[&_.text]:min-h-9","[&_.text]:px-3.5","[&_.text]:py-2.5"].join(" ")},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",disabled:!1}}),qB=he("inline-flex size-3.5 shrink-0 items-center justify-center text-current [&_svg]:size-full [&_svg]:shrink-0",{variants:{size:{xs:"size-3.5",xs2:"size-3.5",sm:"size-3.5",md:"size-4"},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",disabled:!1}}),{forwardRef:UB,useEffect:YB,useMemo:GB,useState:KB}=await q("react"),XB=UB(({className:t,children:e,rippleOption:n={disabled:!0},icon:r,size:o="sm",disabled:a,value:i,checkValue:s=!0,onChange:l,...u},d)=>{const f=GB(()=>{if(!(typeof i>"u"))return Array.isArray(s)&&Array.isArray(i)?i.length===s.length&&i.every(y=>s.includes(y)):Array.isArray(i)?i.includes(s):i===s},[s,i]),[m,v]=KB(!!f),g=typeof f=="boolean",w=g?f:m;return YB(()=>{typeof f=="boolean"&&v(f)},[f]),h(Rr,{"data-slot":"check-label-button-ripple",...n,children:h(tw,{"data-slot":"check-label-button",ref:d,size:o,disabled:a,value:i,checkValue:s,onChange:y=>{g||v(y.target.checked),l?.(y)},className:ae(WB({size:o,disabled:a}),t),...u,children:ne(Mr,{children:[w&&h("span",{"data-slot":"check-label-button-icon",className:ae(qB({size:o,disabled:a})),children:r??h(Hs,{})}),h("span",{"data-slot":"check-label-button-text",className:"label-text",children:e})]})})})});XB.displayName="RBCheckLabelButton";const ZB=he(["relative inline-flex","[&_.ico-check]:hidden","[&_.text]:inline-flex","[&_.text]:items-center","[&_.text]:justify-center","[&_.text]:cursor-pointer","[&_.text]:rounded-md","[&_.text]:text-fg-default","[&_.text]:transition-colors","[&_.text]:select-none","[&_.text]:outline","[&_.text]:outline-1","[&_.text]:outline-offset-[-1px]","[&_.text]:bg-fill-transparent","[&_.text]:outline-border-default","[&_.text]:hover:bg-fill-transparent-hovered","[&_[data-slot='check-icon-button-icon']]:text-current","[&_.peer:checked~.text]:bg-fill-brand-subtler","[&_.peer:checked~.text]:text-fg-default","[&_.peer:checked~.text]:outline-border-brand-stronger","[&_.peer:checked~.text]:hover:bg-fill-brand-subtle","[&_.peer:disabled~.text]:bg-fill-transparent","[&_.peer:disabled~.text]:cursor-not-allowed","[&_.peer:disabled~.text]:text-fg-disabled","[&_.peer:disabled~.text]:outline-border-disabled","[&_.peer:disabled~.text]:hover:bg-fill-transparent","[&_.peer:checked:disabled~.text]:bg-fill-disabled","[&_.peer:checked:disabled~.text]:text-fg-disabled","[&_.peer:checked:disabled~.text]:outline-transparent","[&_.peer[readonly]~.text]:bg-fill-transparent","[&_.peer[readonly]~.text]:cursor-not-allowed","[&_.peer[readonly]~.text]:text-fg-default","[&_.peer[readonly]~.text]:outline-border-subtler","[&_.peer[readonly]~.text]:hover:bg-fill-transparent","[&_.peer:checked[readonly]~.text]:bg-fill-disabled","[&_.peer:checked[readonly]~.text]:text-fg-default","[&_.peer:checked[readonly]~.text]:outline-transparent"].join(" "),{variants:{size:{xs:["[&_.text]:size-7"].join(" "),xs2:["[&_.text]:size-8"].join(" "),sm:["[&_.text]:size-9"].join(" "),md:["[&_.text]:size-10"].join(" ")},disabled:{false:"",true:"pointer-events-none cursor-not-allowed"}},defaultVariants:{size:"xs",disabled:!1}}),QB=he("inline-flex shrink-0 items-center justify-center text-current [&_svg]:block [&_svg]:shrink-0 [&_svg]:leading-none",{variants:{size:{xs:"size-4",xs2:"size-4",sm:"size-4",md:"size-5"},disabled:{false:"",true:""}},defaultVariants:{size:"xs",disabled:!1}}),{forwardRef:JB}=await q("react"),ez=JB(({className:t,children:e,rippleOption:n={disabled:!0},icon:r,size:o="sm",disabled:a,...i},s)=>h(Rr,{"data-slot":"check-icon-button-ripple",...n,children:h(tw,{"data-slot":"check-icon-button",ref:s,size:o,disabled:a,className:ae(ZB({size:o,disabled:a}),t),...i,children:ne(Mr,{children:[r&&h("span",{"data-slot":"check-icon-button-icon",className:QB({size:o,disabled:a}),children:r}),h("span",{"data-slot":"check-icon-button-text",children:e})]})})}));ez.displayName="RBCheckIconButton";const tz=he(["relative inline-flex items-center justify-center bg-transparent whitespace-nowrap","transition-colors select-none"].join(" "),{variants:{size:{xs:"gap-0_5 typo-compact-xs-semibold",sm:"typo-compact-xs2-semibold gap-1",md:"typo-compact-sm2-semibold gap-1"},variant:{default:["text-fg-default","hover:text-fg-default-hovered","disabled:text-fg-disabled"].join(" "),brand:["text-fg-brand","hover:text-fg-brand-hovered","disabled:text-fg-disabled"].join(" ")},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",variant:"default"}}),Yy=he("inline-flex shrink-0 items-center justify-center [&_svg]:block [&_svg]:shrink-0 [&_svg]:leading-none",{variants:{size:{xs:"size-3.5",sm:"size-3.5",md:"size-4"},disabled:{true:"text-fg-disabled",false:""}},defaultVariants:{size:"sm"}}),{useCallback:Gy,useRef:nz}=await q("react");function The({className:t,size:e,variant:n,type:r="button",leadingIcon:o,trailingIcon:a,ripple:i,detectDoubleClick:s,children:l,disabled:u,onClick:d,...f}){const m=nz(null),v=Gy(()=>{s&&(window.clearTimeout(m.current??0),m.current=window.setTimeout(()=>{m.current=null},500))},[s]),g=Gy(w=>{m.current||(d?.(w),v())},[v,d]);return ne("button",{"data-slot":"inline-label-button",className:ae(tz({size:e,variant:n,disabled:u}),t),disabled:u,type:r,onClick:g,...f,children:[o&&h("span",{"data-slot":"inline-label-button-leading-icon","aria-hidden":!0,className:ae(Yy({size:e,disabled:u})),children:o}),h("span",{"data-slot":"inline-label-button-text",className:"inline-flex items-center justify-center",children:l}),a&&h("span",{"data-slot":"inline-label-button-trailing-icon","aria-hidden":!0,className:ae(Yy({size:e,disabled:u})),children:a})]})}const rz=he("relative inline-flex w-full flex-col items-start",{variants:{type:{transparent:"",fill:"bg-alt-2 overflow-hidden rounded-md"}},defaultVariants:{type:"transparent"}}),oz=he("inline-flex h-9 w-full items-center justify-between text-left transition-colors",{variants:{type:{transparent:"px-2",fill:"px-3"},disabled:{false:"",true:"cursor-not-allowed"}},compoundVariants:[{type:"transparent",disabled:!1,className:"text-fg-default hover:text-fg-default-hovered cursor-pointer"},{type:"transparent",disabled:!0,className:"text-fg-disabled"},{type:"fill",disabled:!1,className:"bg-fill-subtlest text-fg-default hover:bg-fill-subtlest-hovered cursor-pointer"},{type:"fill",disabled:!0,className:"bg-fill-disabled text-fg-disabled"}],defaultVariants:{type:"transparent",disabled:!1}}),az=he("line-clamp-1 min-w-0 flex-1",{variants:{type:{transparent:"typo-compact-xs2-semibold",fill:"typo-compact-sm2-semibold"}},defaultVariants:{type:"transparent"}}),iz=he("relative inline-flex size-4 shrink-0 items-center justify-center overflow-hidden text-current",{variants:{direction:{down:"translate-y-px",up:""}},defaultVariants:{direction:"down"}}),sz=he("w-full overflow-hidden transition-[max-height] duration-200",{variants:{open:{true:"max-h-[100vh]",false:"max-h-0"}},defaultVariants:{open:!1}}),lz=he("text-fg-subtler w-full text-xs leading-4",{variants:{type:{transparent:"px-2 pb-3",fill:"px-0 pb-0"}},defaultVariants:{type:"transparent"}}),{useCallback:cz,useId:uz,useRef:dz,useState:fz}=await q("react"),pz=({className:t="",headerClassName:e,name:n,title:r,ripple:o={disabled:!0},icon:a,dividerColor:i,open:s,initialOpen:l,children:u,disabled:d=!1,type:f="transparent",handleOpenChange:m})=>{const v=dz(null),g=uz(),[w,y]=fz(!!l),_=typeof s=="boolean"?s:w,S=_,x=cz(C=>{const R=C.target;if(R){if(n){const P=document.querySelectorAll(`input[name="${n}"]`);Array.from(P).filter($=>$.id!==R.id).forEach($=>{$.checked=!1})}typeof s!="boolean"&&y(R.checked),m?.(R.checked,C)}},[m,n,s]);return ne("div",{"data-slot":"accord",className:ae(rz({type:f}),t),children:[h("input",{ref:v,className:"hidden",tabIndex:-1,type:"checkbox",name:n,id:g,value:g,disabled:d,checked:_,onChange:x}),h("label",{htmlFor:g,className:"block w-full",children:h(Rr,{...o,disabled:d||o?.disabled,children:ne("div",{"data-slot":"accord-header",className:ae(oz({type:f,disabled:d}),e),children:[h("span",{className:az({type:f}),children:r}),h("i",{className:iz({direction:S?"up":"down"}),children:a??(S?h(ow,{}):h(K0,{}))})]})})}),h("div",{"data-slot":"accord-content",className:sz({open:_}),children:h("div",{"data-slot":"accord-content-inner",className:lz({type:f}),children:u})})]})},{useId:hz}=await q("react"),Nhe=({className:t,list:e,ripple:n,icon:r,isToggle:o,initialOpen:a=!1,handleClickAccordion:i})=>{const l=`accordion-group-${hz()}`;return h("div",{className:ae("inline-flex w-full flex-col",t),children:(e??[]).map((u,d)=>{const f=u.key??d;return h(pz,{...u,icon:r,className:ae("w-full",u.className),ripple:n??u.ripple,handleOpenChange:(m,v)=>i({status:m,key:f,e:v}),initialOpen:a,name:o?l:void 0},`${u.title}-${d}`)})})},mz=he("bg-border-subtle shrink-0",{variants:{orientation:{horizontal:"w-full",vertical:"h-full"},thickness:{thin:"",thick:""}},compoundVariants:[{orientation:"horizontal",thickness:"thin",className:"h-px"},{orientation:"horizontal",thickness:"thick",className:"h-0_5"},{orientation:"vertical",thickness:"thin",className:"w-px"},{orientation:"vertical",thickness:"thick",className:"w-0_5"}],defaultVariants:{orientation:"horizontal",thickness:"thin"}}),{forwardRef:gz,useMemo:vz}=await q("react");function wz(t,e,n){if(e===void 0)return{};const r=`${e/16}rem`;return n==="both"?t==="vertical"?{marginInline:r}:{marginBlock:r}:n==="top"?{marginTop:r}:n==="bottom"?{marginBottom:r}:n==="left"?{marginLeft:r}:{marginRight:r}}function bz(t,e){return typeof e=="number"?e:t==="thick"?2:1}function yz(t,e,n,r){const o=e==="soft"?"solid":e;return o==="solid"?t==="horizontal"?{height:n,backgroundColor:r}:{width:n,backgroundColor:r,height:"100%"}:t==="horizontal"?{height:0,borderTopWidth:n,borderTopStyle:o,borderTopColor:r}:{width:0,height:"100%",borderLeftWidth:n,borderLeftStyle:o,borderLeftColor:r}}const _z=gz(({className:t,type:e="horizontal",variant:n="solid",color:r,size:o,thickness:a="thin",spaceSize:i,spaceDirection:s="both",contentSpace:l=12,contentAlign:u="center",contentPosition:d,children:f,style:m},v)=>{const g=e,w=bz(a,o),y=wz(g,i,s),_=vz(()=>`${l/16}rem`,[l]),S=n==="dashed"||n==="dotted",x=n==="soft",C=ae(mz({orientation:g,thickness:a}),S&&"bg-border-subtle bg-transparent",x&&"bg-border-subtler"),R=yz(g,n,w,r);if(g==="vertical")return h("div",{ref:v,"data-slot":"divider",role:"separator","aria-orientation":"vertical",className:ae("inline-flex h-full",t),style:{...y,...m},children:h("div",{"data-slot":"divider-line",className:C,style:R})});const P=u==="left"?{paddingLeft:d}:u==="right"?{paddingRight:d}:{};return f?ne("div",{ref:v,"data-slot":"divider",role:"separator","aria-orientation":"horizontal",className:ae("flex w-full items-center",t),style:{...y,...P,...m},children:[h("div",{"data-slot":"divider-line",className:C,style:{...R,width:u==="left"?_:"100%",flex:u==="left"?"0 0 auto":1}}),h("div",{"data-slot":"divider-content",className:"text-fg-subtle shrink-0",style:{paddingInline:_},children:f}),h("div",{"data-slot":"divider-line",className:C,style:{...R,width:u==="right"?_:"100%",flex:u==="right"?"0 0 auto":1}})]}):h("div",{ref:v,"data-slot":"divider",role:"separator","aria-orientation":"horizontal",className:ae("w-full",t),style:{...y,...m},children:h("div",{"data-slot":"divider-line",className:C,style:{...R,width:"100%"}})})});_z.displayName="RBDivider";const{useState:xz,useEffect:Sz}=await q("react"),{createPortal:Cz}=await q("react-dom"),Gl=({children:t,id:e="portal-wrapper",container:n=null})=>{const[r,o]=xz(null);return Sz(()=>{if(n){o(n);return}if(e){let a=!1,i=document.getElementById(e);if(!i){a=!0;const s=document.createElement("div");s.setAttribute("id",e),document.body.appendChild(s),i=s}return o(i),()=>{a&&i?.parentNode&&i.parentNode.childElementCount===1&&i.parentNode.removeChild(i)}}},[n,e]),r&&Cz(t,r)},Ez=he(["fixed z-[10000] touch-none","inline-flex flex-col items-center justify-start gap-1","bg-overlay shadow-down-xl pb-1_5 rounded-md px-1.5 pt-1"].join(" ")),Mz=he("pointer-events-auto flex size-5 cursor-grab touch-none items-center justify-center select-none active:cursor-grabbing"),kz=he("text-fg-subtle size-5 shrink-0"),Rz=he("inline-flex flex-col items-start justify-center gap-1"),Tz=he("inline-flex items-stretch justify-start gap-1"),Ky=he("inline-flex w-12 flex-col items-start justify-start gap-1",{variants:{functionColumn:{true:"self-stretch",false:""}},defaultVariants:{functionColumn:!1}}),Wm=he(["border-subtle w-full rounded-md border-t","flex flex-col items-center justify-center","text-center transition-colors select-none"].join(" "),{variants:{kind:{number:"bg-fill-subtler hover:bg-fill-subtler-hovered p-2_5 h-12",function:"bg-fill-subtlest hover:bg-fill-subtlest p-2_5 h-12",set:"bg-fill-subtlest hover:bg-fill-subtlest p-2_5 !h-auto min-h-24 flex-1 self-stretch",close:"bg-fill-subtle hover:bg-fill-subtle-hovered p-2_5 h-9 w-52"},disabled:{true:"pointer-events-none hidden opacity-40",false:""}},defaultVariants:{kind:"number",disabled:!1}}),qm=he("text-fg-default self-stretch text-center",{variants:{kind:{number:"typo-body-sm-semibold",function:"typo-compact-xs-semibold",set:"typo-compact-xs-semibold",close:"typo-compact-xs-semibold"}},defaultVariants:{kind:"number"}}),Nz=he("text-fg-default inline-flex size-5 shrink-0 items-center justify-center [&_svg]:size-full"),{useCallback:Va,useEffect:Xy,useRef:nd,useState:Zy}=await q("react"),Pz=[["7","4","1","-"],["8","5","2","0"],["9","6","3","."]],Az=["backspace","delete","set"],mr=16,Ap=12,Qy=(t,e,n)=>Math.min(Math.max(t,e),n),aw=({className:t,inputRef:e,useSet:n=!1,onSet:r,onClose:o,maxLength:a=99999999})=>{const i=nd(null),s=nd(null),l=nd({isDragging:!1,offsetX:0,offsetY:0}),u=nd(""),d=nd(null),[f,m]=Zy(!1),[v,g]=Zy(!1),w=Va((A,M,L,B)=>{const F=Math.max(mr,window.innerWidth-L-mr),N=Math.max(mr,window.innerHeight-B-mr);return{left:Qy(A,mr,F),top:Qy(M,mr,N)}},[]),y=Va((A,M,L,B)=>{const F=e?.current;if(!F)return!1;const N=F.getBoundingClientRect();return!(A+L<=N.left||A>=N.right||M+B<=N.top||M>=N.bottom)},[e]),_=Va((A,M)=>{const L=e?.current;if(!L)return w(mr,mr,A,M);const B=L.getBoundingClientRect(),F=B.left-mr,N=window.innerWidth-B.right-mr,V=B.top-mr,z=window.innerHeight-B.bottom-mr,I=N>=F,D=B.top+M<=window.innerHeight-mr,U=B.bottom-M>=mr;let Y=I?B.right+Ap:B.left-A-Ap,oe=B.top;I&&Y+A>window.innerWidth-mr&&(Y=B.left-A-Ap),!I&&Y<mr&&(Y=B.right+Ap),!D&&U?oe=B.bottom-M:!D&&!U&&(oe=z>=V?mr:B.bottom-M);const Q=w(Y,oe,A,M);return localStorage.setItem("number-keypad-pos",JSON.stringify(Q)),Q},[w,e]),S=Va(()=>{const A=i.current;if(!A)return null;const M=A.offsetWidth,L=A.offsetHeight,B=localStorage.getItem("number-keypad-pos");if(B){const F=JSON.parse(B);if(typeof F.left=="number"&&typeof F.top=="number"){const N=w(F.left,F.top,M,L);if(N.left===F.left&&N.top===F.top&&!y(N.left,N.top,M,L))return N}}return _(M,L)},[w,_,y]),x=Va(A=>{const M=s.current,L=i.current;if(!M||!L)return;const B=L.getBoundingClientRect();l.current={isDragging:!0,offsetX:A.clientX-B.left,offsetY:A.clientY-B.top},M.setPointerCapture(A.pointerId),A.stopPropagation()},[]),C=Va(A=>{const M=i.current;if(!l.current.isDragging||!M)return;let L=A.clientX-l.current.offsetX,B=A.clientY-l.current.offsetY;const F=window.innerWidth-M.offsetWidth,N=window.innerHeight-M.offsetHeight;L=Math.max(0,Math.min(L,F)),B=Math.max(0,Math.min(B,N)),M.style.left=`${L}px`,M.style.top=`${B}px`},[]),R=Va(A=>{const M=s.current,L=i.current;if(!l.current.isDragging||!M||!L)return;l.current.isDragging=!1,M.releasePointerCapture(A.pointerId);const B=L.style.left?Number(L.style.left.replace("px","")):null,F=L.style.top?Number(L.style.top.replace("px","")):null;localStorage.setItem("number-keypad-pos",JSON.stringify({left:B,top:F}))},[]),P=Va((A,M)=>{const L=e?.current;if(!L)return;n&&(L.dataset.tempNumberKeypadValue="1"),u.current=A,u.current!==d.current&&u.current.length>0&&n?L.style.color="var(--color-fg-warning)":L.style.color="";const B=L.ownerDocument.defaultView?.HTMLInputElement.prototype;Object.getOwnPropertyDescriptor(B,"value")?.set?.call(L,A),L.dispatchEvent(new Event("input",{bubbles:!0})),M!==void 0&&requestAnimationFrame(()=>{L.setSelectionRange(M,M)})},[e,n]),O=Va(A=>{const M=e?.current;if(!M)return;const B=n&&!!M.dataset.tempNumberKeypadValue?u.current:M.value,F=B.length,N=Math.min(M.selectionStart??F,F),V=Math.min(M.selectionEnd??F,F),z=u.current;if(A==="set"){r?.(z,M?.name),delete M.dataset.tempNumberKeypadValue,M.blur();return}if(A==="delete"){P("",0);return}if(A==="backspace"){if(N!==V){const U=B.slice(0,N)+B.slice(V);P(U,N);return}if(N===0)return;const D=B.slice(0,N-1)+B.slice(V);P(D,N-1);return}if(A==="."&&B.includes("."))return;if(A==="-"){u.current.startsWith("-")?P(u.current.slice(1),Math.max(0,N-1)):u.current==="0"?P("-",1):P(`-${u.current}`,N+1);return}if(B.length-(V-N)>=a)return;const I=B.slice(0,N)+A+B.slice(V);P(I,N+A.length)},[P,e,a,r,n]),$=Va(A=>{e?.current&&(e.current.value=d.current??"",e.current.blur(),o?.())},[e,o]);return Xy(()=>{const A=e?.current,M=()=>{!A||A.inputMode!=="none"||(d.current=A.value,n&&(A.dataset.tempNumberKeypadValue="1"),m(!0),setTimeout(()=>{const N=i.current,V=S();u.current=n?"":A.value,N&&V&&(N.style.left=`${V.left}px`,N.style.top=`${V.top}px`),g(!0)},100))},L=()=>{u.current=A.value,A.dataset.tempNumberKeypadValue&&u.current!==d.current&&u.current.length>0&&n?A.style.color="var(--color-fg-warning)":A.style.color=""},B=()=>{A&&(A.dataset.tempNumberKeypadValue?P(d.current??""):P(u.current??""),delete A.dataset.tempNumberKeypadValue,d.current=null,u.current="",A.style.color="",window.setTimeout(()=>{g(!1),m(!1)},100))},F=N=>{e?.current&&(N.key==="Escape"?(e.current.value=d.current??"",e.current.blur()):N.key==="Enter"&&(delete A.dataset.tempNumberKeypadValue,e.current.blur()))};if(A)return A.addEventListener("focus",M),A.addEventListener("blur",B),A.addEventListener("input",L),A.addEventListener("keydown",F),()=>{A.removeEventListener("focus",M),A.removeEventListener("blur",B),A.removeEventListener("input",L),A.removeEventListener("keydown",F)}},[P,S,e,n]),Xy(()=>{if(!f)return;history.pushState({keyboard:!0},"");const A=M=>{M.state?.keyboard||(g(!1),m(!1),e?.current?.blur(),history.pushState({keyboard:!0},""))};return window.addEventListener("popstate",A),()=>{window.removeEventListener("popstate",A),history.state?.keyboard&&history.back()}},[e,f]),f?h(Gl,{id:"number-keypad",children:ne("div",{ref:i,"data-slot":"number-keypad",className:ae(Ez(),!v&&"invisible",t),onMouseDown:A=>A.preventDefault(),onPointerDown:A=>A.preventDefault(),children:[h("div",{ref:s,"data-slot":"number-keypad-handle",onPointerDown:x,onPointerMove:C,onPointerUp:R,className:Mz(),children:h(M8,{className:kz()})}),ne("div",{"data-slot":"number-keypad-body",className:Rz(),children:[ne("div",{"data-slot":"number-keypad-grid",className:Tz(),children:[Pz.map((A,M)=>h("div",{"data-slot":"number-keypad-column",className:Ky(),children:A.map(L=>h(Wr,{type:"button",variant:"transparent",size:"md",className:Wm({kind:"number"}),onClick:B=>{B.stopPropagation(),B.preventDefault(),O(L)},children:h("span",{className:qm({kind:"number"}),children:L})},L))},`column-${M}`)),h("div",{"data-slot":"number-keypad-column",className:Ky({functionColumn:!0}),children:Az.map(A=>{const M=A==="set"?"set":"function",L=A==="set"&&!n;return h(Wr,{type:"button",variant:"transparent",size:"md",disabled:L,leadingIcon:A==="backspace"?h("span",{className:Nz(),children:h(nw,{})}):void 0,className:Wm({kind:M,disabled:L}),onClick:B=>{B.stopPropagation(),B.preventDefault(),O(A)},children:A!=="backspace"&&h("span",{className:qm({kind:M}),children:A==="delete"?"Del":"Set"})},A)})})]}),h(Wr,{type:"button",variant:"transparent",size:"sm",className:Wm({kind:"close"}),onMouseDown:A=>{A.stopPropagation(),A.preventDefault(),$(A)},children:h("span",{className:qm({kind:"close"}),children:"Close"})})]})]})}):null};aw.displayName="RBNumberKeypad";const Iz=he(["inline-flex w-96 items-center overflow-hidden","bg-fill-control-surface outline outline-1 outline-offset-[-1px]","transition-colors"].join(" "),{variants:{size:{xs2:"h-8 rounded-md",sm:"h-9 rounded-md",md:"h-10 rounded-md",lg:"h-12 rounded-lg"},variant:{default:"outline-border-default",success:"outline-border-success-stronger"},focus:{true:"outline-border-input-focused",false:""},error:{true:"outline-border-danger-stronger",false:""},readOnly:{true:"bg-fill-control-surface-disabled outline-border-disabled",false:""},disabled:{true:"bg-fill-control-surface-disabled text-fg-disabled outline-border-disabled pointer-events-none cursor-not-allowed",false:""}},compoundVariants:[{variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,className:"[&:hover]:bg-fill-control-surface-hovered [&:hover]:outline-border-default [&:hover]:text-fg-subtler"},{variant:"success",focus:!1,error:!1,readOnly:!1,disabled:!1,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-success-stronger [&:hover]:text-fg-subtler"},{focus:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-input-focused"},{error:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-danger-stronger"},{readOnly:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"},{disabled:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"}],defaultVariants:{size:"md",variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1}}),Oz=he(["min-w-0 flex-1 border-none bg-transparent !shadow-[none] ring-0 outline-none","[&::-webkit-search-cancel-button]:hidden [&::-webkit-search-decoration]:hidden","placeholder:text-fg-subtler text-fg-default"].join(" "),{variants:{size:{xs2:"typo-compact-xs2-normal px-2_5",sm:"typo-compact-sm-normal px-2_5",md:"typo-compact-sm2-normal px-3",lg:"typo-compact-sm2-normal px-3"},variant:{default:"text-fg-default",success:"text-fg-default"},disabled:{true:"text-fg-disabled placeholder-text-fg-disabled",false:"text-fg-default"},hasReset:{true:"pr-0",false:""}},defaultVariants:{size:"md",variant:"default",hasReset:!1}}),Lz=he("text-fg-subtle shrink-0 items-center justify-center",{variants:{size:{xs2:"size-8",sm:"size-8",md:"size-10",lg:"size-12"}},defaultVariants:{size:"md"}}),$z=he("",{variants:{size:{xs2:"size-4",sm:"size-4",md:"size-5",lg:"size-5"}},defaultVariants:{size:"md"}});var ds={},fl={};/**
58
+ * @license React
59
+ * react-dom-server-legacy.browser.production.min.js
60
+ *
61
+ * Copyright (c) Facebook, Inc. and its affiliates.
62
+ *
63
+ * This source code is licensed under the MIT license found in the
64
+ * LICENSE file in the root directory of this source tree.
65
+ */var Jy;function Dz(){if(Jy)return fl;Jy=1;var t=Qv();function e(E){for(var H="https://reactjs.org/docs/error-decoder.html?invariant="+E,X=1;X<arguments.length;X++)H+="&args[]="+encodeURIComponent(arguments[X]);return"Minified React error #"+E+"; visit "+H+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,r=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,o={},a={};function i(E){return n.call(a,E)?!0:n.call(o,E)?!1:r.test(E)?a[E]=!0:(o[E]=!0,!1)}function s(E,H,X,se,Re,Ee,De){this.acceptsBooleans=H===2||H===3||H===4,this.attributeName=se,this.attributeNamespace=Re,this.mustUseProperty=X,this.propertyName=E,this.type=H,this.sanitizeURL=Ee,this.removeEmptyString=De}var l={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(E){l[E]=new s(E,0,!1,E,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(E){var H=E[0];l[H]=new s(H,1,!1,E[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(E){l[E]=new s(E,2,!1,E.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(E){l[E]=new s(E,2,!1,E,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(E){l[E]=new s(E,3,!1,E.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(E){l[E]=new s(E,3,!0,E,null,!1,!1)}),["capture","download"].forEach(function(E){l[E]=new s(E,4,!1,E,null,!1,!1)}),["cols","rows","size","span"].forEach(function(E){l[E]=new s(E,6,!1,E,null,!1,!1)}),["rowSpan","start"].forEach(function(E){l[E]=new s(E,5,!1,E.toLowerCase(),null,!1,!1)});var u=/[\-:]([a-z])/g;function d(E){return E[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(E){var H=E.replace(u,d);l[H]=new s(H,1,!1,E,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(E){var H=E.replace(u,d);l[H]=new s(H,1,!1,E,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(E){var H=E.replace(u,d);l[H]=new s(H,1,!1,E,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(E){l[E]=new s(E,1,!1,E.toLowerCase(),null,!1,!1)}),l.xlinkHref=new s("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(E){l[E]=new s(E,1,!1,E.toLowerCase(),null,!0,!0)});var f={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},m=["Webkit","ms","Moz","O"];Object.keys(f).forEach(function(E){m.forEach(function(H){H=H+E.charAt(0).toUpperCase()+E.substring(1),f[H]=f[E]})});var v=/["'&<>]/;function g(E){if(typeof E=="boolean"||typeof E=="number")return""+E;E=""+E;var H=v.exec(E);if(H){var X="",se,Re=0;for(se=H.index;se<E.length;se++){switch(E.charCodeAt(se)){case 34:H="&quot;";break;case 38:H="&amp;";break;case 39:H="&#x27;";break;case 60:H="&lt;";break;case 62:H="&gt;";break;default:continue}Re!==se&&(X+=E.substring(Re,se)),Re=se+1,X+=H}E=Re!==se?X+E.substring(Re,se):X}return E}var w=/([A-Z])/g,y=/^ms-/,_=Array.isArray;function S(E,H){return{insertionMode:E,selectedValue:H}}function x(E,H,X){switch(H){case"select":return S(1,X.value!=null?X.value:X.defaultValue);case"svg":return S(2,null);case"math":return S(3,null);case"foreignObject":return S(1,null);case"table":return S(4,null);case"thead":case"tbody":case"tfoot":return S(5,null);case"colgroup":return S(7,null);case"tr":return S(6,null)}return 4<=E.insertionMode||E.insertionMode===0?S(1,null):E}var C=new Map;function R(E,H,X){if(typeof X!="object")throw Error(e(62));H=!0;for(var se in X)if(n.call(X,se)){var Re=X[se];if(Re!=null&&typeof Re!="boolean"&&Re!==""){if(se.indexOf("--")===0){var Ee=g(se);Re=g((""+Re).trim())}else{Ee=se;var De=C.get(Ee);De!==void 0||(De=g(Ee.replace(w,"-$1").toLowerCase().replace(y,"-ms-")),C.set(Ee,De)),Ee=De,Re=typeof Re=="number"?Re===0||n.call(f,se)?""+Re:Re+"px":g((""+Re).trim())}H?(H=!1,E.push(' style="',Ee,":",Re)):E.push(";",Ee,":",Re)}}H||E.push('"')}function P(E,H,X,se){switch(X){case"style":R(E,H,se);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<X.length)||X[0]!=="o"&&X[0]!=="O"||X[1]!=="n"&&X[1]!=="N"){if(H=l.hasOwnProperty(X)?l[X]:null,H!==null){switch(typeof se){case"function":case"symbol":return;case"boolean":if(!H.acceptsBooleans)return}switch(X=H.attributeName,H.type){case 3:se&&E.push(" ",X,'=""');break;case 4:se===!0?E.push(" ",X,'=""'):se!==!1&&E.push(" ",X,'="',g(se),'"');break;case 5:isNaN(se)||E.push(" ",X,'="',g(se),'"');break;case 6:!isNaN(se)&&1<=se&&E.push(" ",X,'="',g(se),'"');break;default:H.sanitizeURL&&(se=""+se),E.push(" ",X,'="',g(se),'"')}}else if(i(X)){switch(typeof se){case"function":case"symbol":return;case"boolean":if(H=X.toLowerCase().slice(0,5),H!=="data-"&&H!=="aria-")return}E.push(" ",X,'="',g(se),'"')}}}function O(E,H,X){if(H!=null){if(X!=null)throw Error(e(60));if(typeof H!="object"||!("__html"in H))throw Error(e(61));H=H.__html,H!=null&&E.push(""+H)}}function $(E){var H="";return t.Children.forEach(E,function(X){X!=null&&(H+=X)}),H}function A(E,H,X,se){E.push(B(X));var Re=X=null,Ee;for(Ee in H)if(n.call(H,Ee)){var De=H[Ee];if(De!=null)switch(Ee){case"children":X=De;break;case"dangerouslySetInnerHTML":Re=De;break;default:P(E,se,Ee,De)}}return E.push(">"),O(E,Re,X),typeof X=="string"?(E.push(g(X)),null):X}var M=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,L=new Map;function B(E){var H=L.get(E);if(H===void 0){if(!M.test(E))throw Error(e(65,E));H="<"+E,L.set(E,H)}return H}function F(E,H,X,se,Re){switch(H){case"select":E.push(B("select"));var Ee=null,De=null;for(Et in X)if(n.call(X,Et)){var Ke=X[Et];if(Ke!=null)switch(Et){case"children":Ee=Ke;break;case"dangerouslySetInnerHTML":De=Ke;break;case"defaultValue":case"value":break;default:P(E,se,Et,Ke)}}return E.push(">"),O(E,De,Ee),Ee;case"option":De=Re.selectedValue,E.push(B("option"));var vt=Ke=null,bt=null,Et=null;for(Ee in X)if(n.call(X,Ee)){var wn=X[Ee];if(wn!=null)switch(Ee){case"children":Ke=wn;break;case"selected":bt=wn;break;case"dangerouslySetInnerHTML":Et=wn;break;case"value":vt=wn;default:P(E,se,Ee,wn)}}if(De!=null)if(X=vt!==null?""+vt:$(Ke),_(De)){for(se=0;se<De.length;se++)if(""+De[se]===X){E.push(' selected=""');break}}else""+De===X&&E.push(' selected=""');else bt&&E.push(' selected=""');return E.push(">"),O(E,Et,Ke),Ke;case"textarea":E.push(B("textarea")),Et=De=Ee=null;for(Ke in X)if(n.call(X,Ke)&&(vt=X[Ke],vt!=null))switch(Ke){case"children":Et=vt;break;case"value":Ee=vt;break;case"defaultValue":De=vt;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:P(E,se,Ke,vt)}if(Ee===null&&De!==null&&(Ee=De),E.push(">"),Et!=null){if(Ee!=null)throw Error(e(92));if(_(Et)&&1<Et.length)throw Error(e(93));Ee=""+Et}return typeof Ee=="string"&&Ee[0]===`
66
+ `&&E.push(`
67
+ `),Ee!==null&&E.push(g(""+Ee)),null;case"input":E.push(B("input")),vt=Et=Ke=Ee=null;for(De in X)if(n.call(X,De)&&(bt=X[De],bt!=null))switch(De){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":vt=bt;break;case"defaultValue":Ke=bt;break;case"checked":Et=bt;break;case"value":Ee=bt;break;default:P(E,se,De,bt)}return Et!==null?P(E,se,"checked",Et):vt!==null&&P(E,se,"checked",vt),Ee!==null?P(E,se,"value",Ee):Ke!==null&&P(E,se,"value",Ke),E.push("/>"),null;case"menuitem":E.push(B("menuitem"));for(var br in X)if(n.call(X,br)&&(Ee=X[br],Ee!=null))switch(br){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:P(E,se,br,Ee)}return E.push(">"),null;case"title":E.push(B("title")),Ee=null;for(wn in X)if(n.call(X,wn)&&(De=X[wn],De!=null))switch(wn){case"children":Ee=De;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:P(E,se,wn,De)}return E.push(">"),Ee;case"listing":case"pre":E.push(B(H)),De=Ee=null;for(vt in X)if(n.call(X,vt)&&(Ke=X[vt],Ke!=null))switch(vt){case"children":Ee=Ke;break;case"dangerouslySetInnerHTML":De=Ke;break;default:P(E,se,vt,Ke)}if(E.push(">"),De!=null){if(Ee!=null)throw Error(e(60));if(typeof De!="object"||!("__html"in De))throw Error(e(61));X=De.__html,X!=null&&(typeof X=="string"&&0<X.length&&X[0]===`
68
+ `?E.push(`
69
+ `,X):E.push(""+X))}return typeof Ee=="string"&&Ee[0]===`
70
+ `&&E.push(`
71
+ `),Ee;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":E.push(B(H));for(var Lr in X)if(n.call(X,Lr)&&(Ee=X[Lr],Ee!=null))switch(Lr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,H));default:P(E,se,Lr,Ee)}return E.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return A(E,X,H,se);case"html":return Re.insertionMode===0&&E.push("<!DOCTYPE html>"),A(E,X,H,se);default:if(H.indexOf("-")===-1&&typeof X.is!="string")return A(E,X,H,se);E.push(B(H)),De=Ee=null;for(bt in X)if(n.call(X,bt)&&(Ke=X[bt],Ke!=null))switch(bt){case"children":Ee=Ke;break;case"dangerouslySetInnerHTML":De=Ke;break;case"style":R(E,se,Ke);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:i(bt)&&typeof Ke!="function"&&typeof Ke!="symbol"&&E.push(" ",bt,'="',g(Ke),'"')}return E.push(">"),O(E,De,Ee),Ee}}function N(E,H,X){if(E.push('<!--$?--><template id="'),X===null)throw Error(e(395));return E.push(X),E.push('"></template>')}function V(E,H,X,se){switch(X.insertionMode){case 0:case 1:return E.push('<div hidden id="'),E.push(H.segmentPrefix),H=se.toString(16),E.push(H),E.push('">');case 2:return E.push('<svg aria-hidden="true" style="display:none" id="'),E.push(H.segmentPrefix),H=se.toString(16),E.push(H),E.push('">');case 3:return E.push('<math aria-hidden="true" style="display:none" id="'),E.push(H.segmentPrefix),H=se.toString(16),E.push(H),E.push('">');case 4:return E.push('<table hidden id="'),E.push(H.segmentPrefix),H=se.toString(16),E.push(H),E.push('">');case 5:return E.push('<table hidden><tbody id="'),E.push(H.segmentPrefix),H=se.toString(16),E.push(H),E.push('">');case 6:return E.push('<table hidden><tr id="'),E.push(H.segmentPrefix),H=se.toString(16),E.push(H),E.push('">');case 7:return E.push('<table hidden><colgroup id="'),E.push(H.segmentPrefix),H=se.toString(16),E.push(H),E.push('">');default:throw Error(e(397))}}function z(E,H){switch(H.insertionMode){case 0:case 1:return E.push("</div>");case 2:return E.push("</svg>");case 3:return E.push("</math>");case 4:return E.push("</table>");case 5:return E.push("</tbody></table>");case 6:return E.push("</tr></table>");case 7:return E.push("</colgroup></table>");default:throw Error(e(397))}}var I=/[<\u2028\u2029]/g;function D(E){return JSON.stringify(E).replace(I,function(H){switch(H){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function U(E,H){return H=H===void 0?"":H,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:H+"P:",segmentPrefix:H+"S:",boundaryPrefix:H+"B:",idPrefix:H,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:E}}function Y(E,H,X,se){return X.generateStaticMarkup?(E.push(g(H)),!1):(H===""?E=se:(se&&E.push("<!-- -->"),E.push(g(H)),E=!0),E)}var oe=Object.assign,Q=Symbol.for("react.element"),re=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),ee=Symbol.for("react.strict_mode"),te=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),ve=Symbol.for("react.context"),we=Symbol.for("react.forward_ref"),ye=Symbol.for("react.suspense"),Le=Symbol.for("react.suspense_list"),Oe=Symbol.for("react.memo"),Ne=Symbol.for("react.lazy"),me=Symbol.for("react.scope"),pe=Symbol.for("react.debug_trace_mode"),be=Symbol.for("react.legacy_hidden"),Ue=Symbol.for("react.default_value"),He=Symbol.iterator;function qe(E){if(E==null)return null;if(typeof E=="function")return E.displayName||E.name||null;if(typeof E=="string")return E;switch(E){case le:return"Fragment";case re:return"Portal";case te:return"Profiler";case ee:return"StrictMode";case ye:return"Suspense";case Le:return"SuspenseList"}if(typeof E=="object")switch(E.$$typeof){case ve:return(E.displayName||"Context")+".Consumer";case ue:return(E._context.displayName||"Context")+".Provider";case we:var H=E.render;return E=E.displayName,E||(E=H.displayName||H.name||"",E=E!==""?"ForwardRef("+E+")":"ForwardRef"),E;case Oe:return H=E.displayName||null,H!==null?H:qe(E.type)||"Memo";case Ne:H=E._payload,E=E._init;try{return qe(E(H))}catch{}}return null}var _e={};function at(E,H){if(E=E.contextTypes,!E)return _e;var X={},se;for(se in E)X[se]=H[se];return X}var ht=null;function st(E,H){if(E!==H){E.context._currentValue2=E.parentValue,E=E.parent;var X=H.parent;if(E===null){if(X!==null)throw Error(e(401))}else{if(X===null)throw Error(e(401));st(E,X)}H.context._currentValue2=H.value}}function Ct(E){E.context._currentValue2=E.parentValue,E=E.parent,E!==null&&Ct(E)}function cn(E){var H=E.parent;H!==null&&cn(H),E.context._currentValue2=E.value}function Sn(E,H){if(E.context._currentValue2=E.parentValue,E=E.parent,E===null)throw Error(e(402));E.depth===H.depth?st(E,H):Sn(E,H)}function Jn(E,H){var X=H.parent;if(X===null)throw Error(e(402));E.depth===X.depth?st(E,X):Jn(E,X),H.context._currentValue2=H.value}function Gt(E){var H=ht;H!==E&&(H===null?cn(E):E===null?Ct(H):H.depth===E.depth?st(H,E):H.depth>E.depth?Sn(H,E):Jn(H,E),ht=E)}var Tn={isMounted:function(){return!1},enqueueSetState:function(E,H){E=E._reactInternals,E.queue!==null&&E.queue.push(H)},enqueueReplaceState:function(E,H){E=E._reactInternals,E.replace=!0,E.queue=[H]},enqueueForceUpdate:function(){}};function Hn(E,H,X,se){var Re=E.state!==void 0?E.state:null;E.updater=Tn,E.props=X,E.state=Re;var Ee={queue:[],replace:!1};E._reactInternals=Ee;var De=H.contextType;if(E.context=typeof De=="object"&&De!==null?De._currentValue2:se,De=H.getDerivedStateFromProps,typeof De=="function"&&(De=De(X,Re),Re=De==null?Re:oe({},Re,De),E.state=Re),typeof H.getDerivedStateFromProps!="function"&&typeof E.getSnapshotBeforeUpdate!="function"&&(typeof E.UNSAFE_componentWillMount=="function"||typeof E.componentWillMount=="function"))if(H=E.state,typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount(),H!==E.state&&Tn.enqueueReplaceState(E,E.state,null),Ee.queue!==null&&0<Ee.queue.length)if(H=Ee.queue,De=Ee.replace,Ee.queue=null,Ee.replace=!1,De&&H.length===1)E.state=H[0];else{for(Ee=De?H[0]:E.state,Re=!0,De=De?1:0;De<H.length;De++){var Ke=H[De];Ke=typeof Ke=="function"?Ke.call(E,Ee,X,se):Ke,Ke!=null&&(Re?(Re=!1,Ee=oe({},Ee,Ke)):oe(Ee,Ke))}E.state=Ee}else Ee.queue=null}var Tt={id:1,overflow:""};function Ce(E,H,X){var se=E.id;E=E.overflow;var Re=32-Ye(se)-1;se&=~(1<<Re),X+=1;var Ee=32-Ye(H)+Re;if(30<Ee){var De=Re-Re%5;return Ee=(se&(1<<De)-1).toString(32),se>>=De,Re-=De,{id:1<<32-Ye(H)+Re|X<<Re|se,overflow:Ee+E}}return{id:1<<Ee|X<<Re|se,overflow:E}}var Ye=Math.clz32?Math.clz32:on,wt=Math.log,un=Math.LN2;function on(E){return E>>>=0,E===0?32:31-(wt(E)/un|0)|0}function Lt(E,H){return E===H&&(E!==0||1/E===1/H)||E!==E&&H!==H}var mt=typeof Object.is=="function"?Object.is:Lt,Ze=null,Bt=null,jt=null,rt=null,en=!1,Mn=!1,_n=0,Pn=null,In=0;function On(){if(Ze===null)throw Error(e(321));return Ze}function sr(){if(0<In)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Nn(){return rt===null?jt===null?(en=!1,jt=rt=sr()):(en=!0,rt=jt):rt.next===null?(en=!1,rt=rt.next=sr()):(en=!0,rt=rt.next),rt}function Or(){Bt=Ze=null,Mn=!1,jt=null,In=0,rt=Pn=null}function zn(E,H){return typeof H=="function"?H(E):H}function li(E,H,X){if(Ze=On(),rt=Nn(),en){var se=rt.queue;if(H=se.dispatch,Pn!==null&&(X=Pn.get(se),X!==void 0)){Pn.delete(se),se=rt.memoizedState;do se=E(se,X.action),X=X.next;while(X!==null);return rt.memoizedState=se,[se,H]}return[rt.memoizedState,H]}return E=E===zn?typeof H=="function"?H():H:X!==void 0?X(H):H,rt.memoizedState=E,E=rt.queue={last:null,dispatch:null},E=E.dispatch=Ui.bind(null,Ze,E),[rt.memoizedState,E]}function Qo(E,H){if(Ze=On(),rt=Nn(),H=H===void 0?null:H,rt!==null){var X=rt.memoizedState;if(X!==null&&H!==null){var se=X[1];e:if(se===null)se=!1;else{for(var Re=0;Re<se.length&&Re<H.length;Re++)if(!mt(H[Re],se[Re])){se=!1;break e}se=!0}if(se)return X[0]}}return E=E(),rt.memoizedState=[E,H],E}function Ui(E,H,X){if(25<=In)throw Error(e(301));if(E===Ze)if(Mn=!0,E={action:X,next:null},Pn===null&&(Pn=new Map),X=Pn.get(H),X===void 0)Pn.set(H,E);else{for(H=X;H.next!==null;)H=H.next;H.next=E}}function Yi(){throw Error(e(394))}function Jo(){}var ci={readContext:function(E){return E._currentValue2},useContext:function(E){return On(),E._currentValue2},useMemo:Qo,useReducer:li,useRef:function(E){Ze=On(),rt=Nn();var H=rt.memoizedState;return H===null?(E={current:E},rt.memoizedState=E):H},useState:function(E){return li(zn,E)},useInsertionEffect:Jo,useLayoutEffect:function(){},useCallback:function(E,H){return Qo(function(){return E},H)},useImperativeHandle:Jo,useEffect:Jo,useDebugValue:Jo,useDeferredValue:function(E){return On(),E},useTransition:function(){return On(),[!1,Yi]},useId:function(){var E=Bt.treeContext,H=E.overflow;E=E.id,E=(E&~(1<<32-Ye(E)-1)).toString(32)+H;var X=ea;if(X===null)throw Error(e(404));return H=_n++,E=":"+X.idPrefix+"R"+E,0<H&&(E+="H"+H.toString(32)),E+":"},useMutableSource:function(E,H){return On(),H(E._source)},useSyncExternalStore:function(E,H,X){if(X===void 0)throw Error(e(407));return X()}},ea=null,Ra=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Zs(E){return console.error(E),null}function ta(){}function na(E,H,X,se,Re,Ee,De,Ke,vt){var bt=[],Et=new Set;return H={destination:null,responseState:H,progressiveChunkSize:se===void 0?12800:se,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Et,pingedTasks:bt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Re===void 0?Zs:Re,onAllReady:ta,onShellReady:De===void 0?ta:De,onShellError:ta,onFatalError:ta},X=ra(H,0,null,X,!1,!1),X.parentFlushed=!0,E=Ta(H,E,null,X,Et,_e,null,Tt),bt.push(E),H}function Ta(E,H,X,se,Re,Ee,De,Ke){E.allPendingTasks++,X===null?E.pendingRootTasks++:X.pendingTasks++;var vt={node:H,ping:function(){var bt=E.pingedTasks;bt.push(vt),bt.length===1&&Ki(E)},blockedBoundary:X,blockedSegment:se,abortSet:Re,legacyContext:Ee,context:De,treeContext:Ke};return Re.add(vt),vt}function ra(E,H,X,se,Re,Ee){return{status:0,id:-1,index:H,parentFlushed:!1,chunks:[],children:[],formatContext:se,boundary:X,lastPushedText:Re,textEmbedded:Ee}}function No(E,H){if(E=E.onError(H),E!=null&&typeof E!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof E+'" instead');return E}function Na(E,H){var X=E.onShellError;X(H),X=E.onFatalError,X(H),E.destination!==null?(E.status=2,E.destination.destroy(H)):(E.status=1,E.fatalError=H)}function ui(E,H,X,se,Re){for(Ze={},Bt=H,_n=0,E=X(se,Re);Mn;)Mn=!1,_n=0,In+=1,rt=null,E=X(se,Re);return Or(),E}function di(E,H,X,se){var Re=X.render(),Ee=se.childContextTypes;if(Ee!=null){var De=H.legacyContext;if(typeof X.getChildContext!="function")se=De;else{X=X.getChildContext();for(var Ke in X)if(!(Ke in Ee))throw Error(e(108,qe(se)||"Unknown",Ke));se=oe({},De,X)}H.legacyContext=se,Fn(E,H,Re),H.legacyContext=De}else Fn(E,H,Re)}function Po(E,H){if(E&&E.defaultProps){H=oe({},H),E=E.defaultProps;for(var X in E)H[X]===void 0&&(H[X]=E[X]);return H}return H}function fi(E,H,X,se,Re){if(typeof X=="function")if(X.prototype&&X.prototype.isReactComponent){Re=at(X,H.legacyContext);var Ee=X.contextType;Ee=new X(se,typeof Ee=="object"&&Ee!==null?Ee._currentValue2:Re),Hn(Ee,X,se,Re),di(E,H,Ee,X)}else{Ee=at(X,H.legacyContext),Re=ui(E,H,X,se,Ee);var De=_n!==0;if(typeof Re=="object"&&Re!==null&&typeof Re.render=="function"&&Re.$$typeof===void 0)Hn(Re,X,se,Ee),di(E,H,Re,X);else if(De){se=H.treeContext,H.treeContext=Ce(se,1,0);try{Fn(E,H,Re)}finally{H.treeContext=se}}else Fn(E,H,Re)}else if(typeof X=="string"){switch(Re=H.blockedSegment,Ee=F(Re.chunks,X,se,E.responseState,Re.formatContext),Re.lastPushedText=!1,De=Re.formatContext,Re.formatContext=x(De,X,se),pi(E,H,Ee),Re.formatContext=De,X){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Re.chunks.push("</",X,">")}Re.lastPushedText=!1}else{switch(X){case be:case pe:case ee:case te:case le:Fn(E,H,se.children);return;case Le:Fn(E,H,se.children);return;case me:throw Error(e(343));case ye:e:{X=H.blockedBoundary,Re=H.blockedSegment,Ee=se.fallback,se=se.children,De=new Set;var Ke={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:De,errorDigest:null},vt=ra(E,Re.chunks.length,Ke,Re.formatContext,!1,!1);Re.children.push(vt),Re.lastPushedText=!1;var bt=ra(E,0,null,Re.formatContext,!1,!1);bt.parentFlushed=!0,H.blockedBoundary=Ke,H.blockedSegment=bt;try{if(pi(E,H,se),E.responseState.generateStaticMarkup||bt.lastPushedText&&bt.textEmbedded&&bt.chunks.push("<!-- -->"),bt.status=1,po(Ke,bt),Ke.pendingTasks===0)break e}catch(Et){bt.status=4,Ke.forceClientRender=!0,Ke.errorDigest=No(E,Et)}finally{H.blockedBoundary=X,H.blockedSegment=Re}H=Ta(E,Ee,X,vt,De,H.legacyContext,H.context,H.treeContext),E.pingedTasks.push(H)}return}if(typeof X=="object"&&X!==null)switch(X.$$typeof){case we:if(se=ui(E,H,X.render,se,Re),_n!==0){X=H.treeContext,H.treeContext=Ce(X,1,0);try{Fn(E,H,se)}finally{H.treeContext=X}}else Fn(E,H,se);return;case Oe:X=X.type,se=Po(X,se),fi(E,H,X,se,Re);return;case ue:if(Re=se.children,X=X._context,se=se.value,Ee=X._currentValue2,X._currentValue2=se,De=ht,ht=se={parent:De,depth:De===null?0:De.depth+1,context:X,parentValue:Ee,value:se},H.context=se,Fn(E,H,Re),E=ht,E===null)throw Error(e(403));se=E.parentValue,E.context._currentValue2=se===Ue?E.context._defaultValue:se,E=ht=E.parent,H.context=E;return;case ve:se=se.children,se=se(X._currentValue2),Fn(E,H,se);return;case Ne:Re=X._init,X=Re(X._payload),se=Po(X,se),fi(E,H,X,se,void 0);return}throw Error(e(130,X==null?X:typeof X,""))}}function Fn(E,H,X){if(H.node=X,typeof X=="object"&&X!==null){switch(X.$$typeof){case Q:fi(E,H,X.type,X.props,X.ref);return;case re:throw Error(e(257));case Ne:var se=X._init;X=se(X._payload),Fn(E,H,X);return}if(_(X)){Gi(E,H,X);return}if(X===null||typeof X!="object"?se=null:(se=He&&X[He]||X["@@iterator"],se=typeof se=="function"?se:null),se&&(se=se.call(X))){if(X=se.next(),!X.done){var Re=[];do Re.push(X.value),X=se.next();while(!X.done);Gi(E,H,Re)}return}throw E=Object.prototype.toString.call(X),Error(e(31,E==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":E))}typeof X=="string"?(se=H.blockedSegment,se.lastPushedText=Y(H.blockedSegment.chunks,X,E.responseState,se.lastPushedText)):typeof X=="number"&&(se=H.blockedSegment,se.lastPushedText=Y(H.blockedSegment.chunks,""+X,E.responseState,se.lastPushedText))}function Gi(E,H,X){for(var se=X.length,Re=0;Re<se;Re++){var Ee=H.treeContext;H.treeContext=Ce(Ee,se,Re);try{pi(E,H,X[Re])}finally{H.treeContext=Ee}}}function pi(E,H,X){var se=H.blockedSegment.formatContext,Re=H.legacyContext,Ee=H.context;try{return Fn(E,H,X)}catch(vt){if(Or(),typeof vt=="object"&&vt!==null&&typeof vt.then=="function"){X=vt;var De=H.blockedSegment,Ke=ra(E,De.chunks.length,null,De.formatContext,De.lastPushedText,!0);De.children.push(Ke),De.lastPushedText=!1,E=Ta(E,H.node,H.blockedBoundary,Ke,H.abortSet,H.legacyContext,H.context,H.treeContext).ping,X.then(E,E),H.blockedSegment.formatContext=se,H.legacyContext=Re,H.context=Ee,Gt(Ee)}else throw H.blockedSegment.formatContext=se,H.legacyContext=Re,H.context=Ee,Gt(Ee),vt}}function Pa(E){var H=E.blockedBoundary;E=E.blockedSegment,E.status=3,ho(this,H,E)}function hi(E,H,X){var se=E.blockedBoundary;E.blockedSegment.status=3,se===null?(H.allPendingTasks--,H.status!==2&&(H.status=2,H.destination!==null&&H.destination.push(null))):(se.pendingTasks--,se.forceClientRender||(se.forceClientRender=!0,E=X===void 0?Error(e(432)):X,se.errorDigest=H.onError(E),se.parentFlushed&&H.clientRenderedBoundaries.push(se)),se.fallbackAbortableTasks.forEach(function(Re){return hi(Re,H,X)}),se.fallbackAbortableTasks.clear(),H.allPendingTasks--,H.allPendingTasks===0&&(se=H.onAllReady,se()))}function po(E,H){if(H.chunks.length===0&&H.children.length===1&&H.children[0].boundary===null){var X=H.children[0];X.id=H.id,X.parentFlushed=!0,X.status===1&&po(E,X)}else E.completedSegments.push(H)}function ho(E,H,X){if(H===null){if(X.parentFlushed){if(E.completedRootSegment!==null)throw Error(e(389));E.completedRootSegment=X}E.pendingRootTasks--,E.pendingRootTasks===0&&(E.onShellError=ta,H=E.onShellReady,H())}else H.pendingTasks--,H.forceClientRender||(H.pendingTasks===0?(X.parentFlushed&&X.status===1&&po(H,X),H.parentFlushed&&E.completedBoundaries.push(H),H.fallbackAbortableTasks.forEach(Pa,E),H.fallbackAbortableTasks.clear()):X.parentFlushed&&X.status===1&&(po(H,X),H.completedSegments.length===1&&H.parentFlushed&&E.partialBoundaries.push(H)));E.allPendingTasks--,E.allPendingTasks===0&&(E=E.onAllReady,E())}function Ki(E){if(E.status!==2){var H=ht,X=Ra.current;Ra.current=ci;var se=ea;ea=E.responseState;try{var Re=E.pingedTasks,Ee;for(Ee=0;Ee<Re.length;Ee++){var De=Re[Ee],Ke=E,vt=De.blockedSegment;if(vt.status===0){Gt(De.context);try{Fn(Ke,De,De.node),Ke.responseState.generateStaticMarkup||vt.lastPushedText&&vt.textEmbedded&&vt.chunks.push("<!-- -->"),De.abortSet.delete(De),vt.status=1,ho(Ke,De.blockedBoundary,vt)}catch(lr){if(Or(),typeof lr=="object"&&lr!==null&&typeof lr.then=="function"){var bt=De.ping;lr.then(bt,bt)}else{De.abortSet.delete(De),vt.status=4;var Et=De.blockedBoundary,wn=lr,br=No(Ke,wn);if(Et===null?Na(Ke,wn):(Et.pendingTasks--,Et.forceClientRender||(Et.forceClientRender=!0,Et.errorDigest=br,Et.parentFlushed&&Ke.clientRenderedBoundaries.push(Et))),Ke.allPendingTasks--,Ke.allPendingTasks===0){var Lr=Ke.onAllReady;Lr()}}}finally{}}}Re.splice(0,Ee),E.destination!==null&&ia(E,E.destination)}catch(lr){No(E,lr),Na(E,lr)}finally{ea=se,Ra.current=X,X===ci&&Gt(H)}}}function oa(E,H,X){switch(X.parentFlushed=!0,X.status){case 0:var se=X.id=E.nextSegmentId++;return X.lastPushedText=!1,X.textEmbedded=!1,E=E.responseState,H.push('<template id="'),H.push(E.placeholderPrefix),E=se.toString(16),H.push(E),H.push('"></template>');case 1:X.status=2;var Re=!0;se=X.chunks;var Ee=0;X=X.children;for(var De=0;De<X.length;De++){for(Re=X[De];Ee<Re.index;Ee++)H.push(se[Ee]);Re=aa(E,H,Re)}for(;Ee<se.length-1;Ee++)H.push(se[Ee]);return Ee<se.length&&(Re=H.push(se[Ee])),Re;default:throw Error(e(390))}}function aa(E,H,X){var se=X.boundary;if(se===null)return oa(E,H,X);if(se.parentFlushed=!0,se.forceClientRender)return E.responseState.generateStaticMarkup||(se=se.errorDigest,H.push("<!--$!-->"),H.push("<template"),se&&(H.push(' data-dgst="'),se=g(se),H.push(se),H.push('"')),H.push("></template>")),oa(E,H,X),E=E.responseState.generateStaticMarkup?!0:H.push("<!--/$-->"),E;if(0<se.pendingTasks){se.rootSegmentID=E.nextSegmentId++,0<se.completedSegments.length&&E.partialBoundaries.push(se);var Re=E.responseState,Ee=Re.nextSuspenseID++;return Re=Re.boundaryPrefix+Ee.toString(16),se=se.id=Re,N(H,E.responseState,se),oa(E,H,X),H.push("<!--/$-->")}if(se.byteSize>E.progressiveChunkSize)return se.rootSegmentID=E.nextSegmentId++,E.completedBoundaries.push(se),N(H,E.responseState,se.id),oa(E,H,X),H.push("<!--/$-->");if(E.responseState.generateStaticMarkup||H.push("<!--$-->"),X=se.completedSegments,X.length!==1)throw Error(e(391));return aa(E,H,X[0]),E=E.responseState.generateStaticMarkup?!0:H.push("<!--/$-->"),E}function mi(E,H,X){return V(H,E.responseState,X.formatContext,X.id),aa(E,H,X),z(H,X.formatContext)}function Aa(E,H,X){for(var se=X.completedSegments,Re=0;Re<se.length;Re++)Ia(E,H,X,se[Re]);if(se.length=0,E=E.responseState,se=X.id,X=X.rootSegmentID,H.push(E.startInlineScript),E.sentCompleteBoundaryFunction?H.push('$RC("'):(E.sentCompleteBoundaryFunction=!0,H.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),se===null)throw Error(e(395));return X=X.toString(16),H.push(se),H.push('","'),H.push(E.segmentPrefix),H.push(X),H.push('")<\/script>')}function Ia(E,H,X,se){if(se.status===2)return!0;var Re=se.id;if(Re===-1){if((se.id=X.rootSegmentID)===-1)throw Error(e(392));return mi(E,H,se)}return mi(E,H,se),E=E.responseState,H.push(E.startInlineScript),E.sentCompleteSegmentFunction?H.push('$RS("'):(E.sentCompleteSegmentFunction=!0,H.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),H.push(E.segmentPrefix),Re=Re.toString(16),H.push(Re),H.push('","'),H.push(E.placeholderPrefix),H.push(Re),H.push('")<\/script>')}function ia(E,H){try{var X=E.completedRootSegment;if(X!==null&&E.pendingRootTasks===0){aa(E,H,X),E.completedRootSegment=null;var se=E.responseState.bootstrapChunks;for(X=0;X<se.length-1;X++)H.push(se[X]);X<se.length&&H.push(se[X])}var Re=E.clientRenderedBoundaries,Ee;for(Ee=0;Ee<Re.length;Ee++){var De=Re[Ee];se=H;var Ke=E.responseState,vt=De.id,bt=De.errorDigest,Et=De.errorMessage,wn=De.errorComponentStack;if(se.push(Ke.startInlineScript),Ke.sentClientRenderFunction?se.push('$RX("'):(Ke.sentClientRenderFunction=!0,se.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),vt===null)throw Error(e(395));if(se.push(vt),se.push('"'),bt||Et||wn){se.push(",");var br=D(bt||"");se.push(br)}if(Et||wn){se.push(",");var Lr=D(Et||"");se.push(Lr)}if(wn){se.push(",");var lr=D(wn);se.push(lr)}if(!se.push(")<\/script>")){E.destination=null,Ee++,Re.splice(0,Ee);return}}Re.splice(0,Ee);var Ao=E.completedBoundaries;for(Ee=0;Ee<Ao.length;Ee++)if(!Aa(E,H,Ao[Ee])){E.destination=null,Ee++,Ao.splice(0,Ee);return}Ao.splice(0,Ee);var Yr=E.partialBoundaries;for(Ee=0;Ee<Yr.length;Ee++){var $a=Yr[Ee];e:{Re=E,De=H;var sa=$a.completedSegments;for(Ke=0;Ke<sa.length;Ke++)if(!Ia(Re,De,$a,sa[Ke])){Ke++,sa.splice(0,Ke);var Zi=!1;break e}sa.splice(0,Ke),Zi=!0}if(!Zi){E.destination=null,Ee++,Yr.splice(0,Ee);return}}Yr.splice(0,Ee);var Io=E.completedBoundaries;for(Ee=0;Ee<Io.length;Ee++)if(!Aa(E,H,Io[Ee])){E.destination=null,Ee++,Io.splice(0,Ee);return}Io.splice(0,Ee)}finally{E.allPendingTasks===0&&E.pingedTasks.length===0&&E.clientRenderedBoundaries.length===0&&E.completedBoundaries.length===0&&H.push(null)}}function Oa(E,H){try{var X=E.abortableTasks;X.forEach(function(se){return hi(se,E,H)}),X.clear(),E.destination!==null&&ia(E,E.destination)}catch(se){No(E,se),Na(E,se)}}function Xi(){}function La(E,H,X,se){var Re=!1,Ee=null,De="",Ke={push:function(bt){return bt!==null&&(De+=bt),!0},destroy:function(bt){Re=!0,Ee=bt}},vt=!1;if(E=na(E,U(X,H?H.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Xi,void 0,function(){vt=!0}),Ki(E),Oa(E,se),E.status===1)E.status=2,Ke.destroy(E.fatalError);else if(E.status!==2&&E.destination===null){E.destination=Ke;try{ia(E,Ke)}catch(bt){No(E,bt),Na(E,bt)}}if(Re)throw Ee;if(!vt)throw Error(e(426));return De}return fl.renderToNodeStream=function(){throw Error(e(207))},fl.renderToStaticMarkup=function(E,H){return La(E,H,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},fl.renderToStaticNodeStream=function(){throw Error(e(208))},fl.renderToString=function(E,H){return La(E,H,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},fl.version="18.2.0",fl}var Ip={};/**
72
+ * @license React
73
+ * react-dom-server.browser.production.min.js
74
+ *
75
+ * Copyright (c) Facebook, Inc. and its affiliates.
76
+ *
77
+ * This source code is licensed under the MIT license found in the
78
+ * LICENSE file in the root directory of this source tree.
79
+ */var e_;function Bz(){if(e_)return Ip;e_=1;var t=Qv();function e(k){for(var j="https://reactjs.org/docs/error-decoder.html?invariant="+k,G=1;G<arguments.length;G++)j+="&args[]="+encodeURIComponent(arguments[G]);return"Minified React error #"+k+"; visit "+j+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,r=0;function o(k,j){if(j.length!==0)if(512<j.length)0<r&&(k.enqueue(new Uint8Array(n.buffer,0,r)),n=new Uint8Array(512),r=0),k.enqueue(j);else{var G=n.length-r;G<j.length&&(G===0?k.enqueue(n):(n.set(j.subarray(0,G),r),k.enqueue(n),j=j.subarray(G)),n=new Uint8Array(512),r=0),n.set(j,r),r+=j.length}}function a(k,j){return o(k,j),!0}function i(k){n&&0<r&&(k.enqueue(new Uint8Array(n.buffer,0,r)),n=null,r=0)}var s=new TextEncoder;function l(k){return s.encode(k)}function u(k){return s.encode(k)}function d(k,j){typeof k.error=="function"?k.error(j):k.close()}var f=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,v={},g={};function w(k){return f.call(g,k)?!0:f.call(v,k)?!1:m.test(k)?g[k]=!0:(v[k]=!0,!1)}function y(k,j,G,ie,Te,ke,ze){this.acceptsBooleans=j===2||j===3||j===4,this.attributeName=ie,this.attributeNamespace=Te,this.mustUseProperty=G,this.propertyName=k,this.type=j,this.sanitizeURL=ke,this.removeEmptyString=ze}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(k){_[k]=new y(k,0,!1,k,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(k){var j=k[0];_[j]=new y(j,1,!1,k[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(k){_[k]=new y(k,2,!1,k.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(k){_[k]=new y(k,2,!1,k,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(k){_[k]=new y(k,3,!1,k.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(k){_[k]=new y(k,3,!0,k,null,!1,!1)}),["capture","download"].forEach(function(k){_[k]=new y(k,4,!1,k,null,!1,!1)}),["cols","rows","size","span"].forEach(function(k){_[k]=new y(k,6,!1,k,null,!1,!1)}),["rowSpan","start"].forEach(function(k){_[k]=new y(k,5,!1,k.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function x(k){return k[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(k){var j=k.replace(S,x);_[j]=new y(j,1,!1,k,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(k){var j=k.replace(S,x);_[j]=new y(j,1,!1,k,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(k){var j=k.replace(S,x);_[j]=new y(j,1,!1,k,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(k){_[k]=new y(k,1,!1,k.toLowerCase(),null,!1,!1)}),_.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(k){_[k]=new y(k,1,!1,k.toLowerCase(),null,!0,!0)});var C={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},R=["Webkit","ms","Moz","O"];Object.keys(C).forEach(function(k){R.forEach(function(j){j=j+k.charAt(0).toUpperCase()+k.substring(1),C[j]=C[k]})});var P=/["'&<>]/;function O(k){if(typeof k=="boolean"||typeof k=="number")return""+k;k=""+k;var j=P.exec(k);if(j){var G="",ie,Te=0;for(ie=j.index;ie<k.length;ie++){switch(k.charCodeAt(ie)){case 34:j="&quot;";break;case 38:j="&amp;";break;case 39:j="&#x27;";break;case 60:j="&lt;";break;case 62:j="&gt;";break;default:continue}Te!==ie&&(G+=k.substring(Te,ie)),Te=ie+1,G+=j}k=Te!==ie?G+k.substring(Te,ie):G}return k}var $=/([A-Z])/g,A=/^ms-/,M=Array.isArray,L=u("<script>"),B=u("<\/script>"),F=u('<script src="'),N=u('<script type="module" src="'),V=u('" async=""><\/script>'),z=/(<\/|<)(s)(cript)/gi;function I(k,j,G,ie){return""+j+(G==="s"?"\\u0073":"\\u0053")+ie}function D(k,j,G,ie,Te){k=k===void 0?"":k,j=j===void 0?L:u('<script nonce="'+O(j)+'">');var ke=[];if(G!==void 0&&ke.push(j,l((""+G).replace(z,I)),B),ie!==void 0)for(G=0;G<ie.length;G++)ke.push(F,l(O(ie[G])),V);if(Te!==void 0)for(ie=0;ie<Te.length;ie++)ke.push(N,l(O(Te[ie])),V);return{bootstrapChunks:ke,startInlineScript:j,placeholderPrefix:u(k+"P:"),segmentPrefix:u(k+"S:"),boundaryPrefix:k+"B:",idPrefix:k,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function U(k,j){return{insertionMode:k,selectedValue:j}}function Y(k){return U(k==="http://www.w3.org/2000/svg"?2:k==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function oe(k,j,G){switch(j){case"select":return U(1,G.value!=null?G.value:G.defaultValue);case"svg":return U(2,null);case"math":return U(3,null);case"foreignObject":return U(1,null);case"table":return U(4,null);case"thead":case"tbody":case"tfoot":return U(5,null);case"colgroup":return U(7,null);case"tr":return U(6,null)}return 4<=k.insertionMode||k.insertionMode===0?U(1,null):k}var Q=u("<!-- -->");function re(k,j,G,ie){return j===""?ie:(ie&&k.push(Q),k.push(l(O(j))),!0)}var le=new Map,ee=u(' style="'),te=u(":"),ue=u(";");function ve(k,j,G){if(typeof G!="object")throw Error(e(62));j=!0;for(var ie in G)if(f.call(G,ie)){var Te=G[ie];if(Te!=null&&typeof Te!="boolean"&&Te!==""){if(ie.indexOf("--")===0){var ke=l(O(ie));Te=l(O((""+Te).trim()))}else{ke=ie;var ze=le.get(ke);ze!==void 0||(ze=u(O(ke.replace($,"-$1").toLowerCase().replace(A,"-ms-"))),le.set(ke,ze)),ke=ze,Te=typeof Te=="number"?Te===0||f.call(C,ie)?l(""+Te):l(Te+"px"):l(O((""+Te).trim()))}j?(j=!1,k.push(ee,ke,te,Te)):k.push(ue,ke,te,Te)}}j||k.push(Le)}var we=u(" "),ye=u('="'),Le=u('"'),Oe=u('=""');function Ne(k,j,G,ie){switch(G){case"style":ve(k,j,ie);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<G.length)||G[0]!=="o"&&G[0]!=="O"||G[1]!=="n"&&G[1]!=="N"){if(j=_.hasOwnProperty(G)?_[G]:null,j!==null){switch(typeof ie){case"function":case"symbol":return;case"boolean":if(!j.acceptsBooleans)return}switch(G=l(j.attributeName),j.type){case 3:ie&&k.push(we,G,Oe);break;case 4:ie===!0?k.push(we,G,Oe):ie!==!1&&k.push(we,G,ye,l(O(ie)),Le);break;case 5:isNaN(ie)||k.push(we,G,ye,l(O(ie)),Le);break;case 6:!isNaN(ie)&&1<=ie&&k.push(we,G,ye,l(O(ie)),Le);break;default:j.sanitizeURL&&(ie=""+ie),k.push(we,G,ye,l(O(ie)),Le)}}else if(w(G)){switch(typeof ie){case"function":case"symbol":return;case"boolean":if(j=G.toLowerCase().slice(0,5),j!=="data-"&&j!=="aria-")return}k.push(we,l(G),ye,l(O(ie)),Le)}}}var me=u(">"),pe=u("/>");function be(k,j,G){if(j!=null){if(G!=null)throw Error(e(60));if(typeof j!="object"||!("__html"in j))throw Error(e(61));j=j.__html,j!=null&&k.push(l(""+j))}}function Ue(k){var j="";return t.Children.forEach(k,function(G){G!=null&&(j+=G)}),j}var He=u(' selected=""');function qe(k,j,G,ie){k.push(st(G));var Te=G=null,ke;for(ke in j)if(f.call(j,ke)){var ze=j[ke];if(ze!=null)switch(ke){case"children":G=ze;break;case"dangerouslySetInnerHTML":Te=ze;break;default:Ne(k,ie,ke,ze)}}return k.push(me),be(k,Te,G),typeof G=="string"?(k.push(l(O(G))),null):G}var _e=u(`
80
+ `),at=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ht=new Map;function st(k){var j=ht.get(k);if(j===void 0){if(!at.test(k))throw Error(e(65,k));j=u("<"+k),ht.set(k,j)}return j}var Ct=u("<!DOCTYPE html>");function cn(k,j,G,ie,Te){switch(j){case"select":k.push(st("select"));var ke=null,ze=null;for($t in G)if(f.call(G,$t)){var Ge=G[$t];if(Ge!=null)switch($t){case"children":ke=Ge;break;case"dangerouslySetInnerHTML":ze=Ge;break;case"defaultValue":case"value":break;default:Ne(k,ie,$t,Ge)}}return k.push(me),be(k,ze,ke),ke;case"option":ze=Te.selectedValue,k.push(st("option"));var _t=Ge=null,yt=null,$t=null;for(ke in G)if(f.call(G,ke)){var fn=G[ke];if(fn!=null)switch(ke){case"children":Ge=fn;break;case"selected":yt=fn;break;case"dangerouslySetInnerHTML":$t=fn;break;case"value":_t=fn;default:Ne(k,ie,ke,fn)}}if(ze!=null)if(G=_t!==null?""+_t:Ue(Ge),M(ze)){for(ie=0;ie<ze.length;ie++)if(""+ze[ie]===G){k.push(He);break}}else""+ze===G&&k.push(He);else yt&&k.push(He);return k.push(me),be(k,$t,Ge),Ge;case"textarea":k.push(st("textarea")),$t=ze=ke=null;for(Ge in G)if(f.call(G,Ge)&&(_t=G[Ge],_t!=null))switch(Ge){case"children":$t=_t;break;case"value":ke=_t;break;case"defaultValue":ze=_t;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Ne(k,ie,Ge,_t)}if(ke===null&&ze!==null&&(ke=ze),k.push(me),$t!=null){if(ke!=null)throw Error(e(92));if(M($t)&&1<$t.length)throw Error(e(93));ke=""+$t}return typeof ke=="string"&&ke[0]===`
81
+ `&&k.push(_e),ke!==null&&k.push(l(O(""+ke))),null;case"input":k.push(st("input")),_t=$t=Ge=ke=null;for(ze in G)if(f.call(G,ze)&&(yt=G[ze],yt!=null))switch(ze){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":_t=yt;break;case"defaultValue":Ge=yt;break;case"checked":$t=yt;break;case"value":ke=yt;break;default:Ne(k,ie,ze,yt)}return $t!==null?Ne(k,ie,"checked",$t):_t!==null&&Ne(k,ie,"checked",_t),ke!==null?Ne(k,ie,"value",ke):Ge!==null&&Ne(k,ie,"value",Ge),k.push(pe),null;case"menuitem":k.push(st("menuitem"));for(var _r in G)if(f.call(G,_r)&&(ke=G[_r],ke!=null))switch(_r){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Ne(k,ie,_r,ke)}return k.push(me),null;case"title":k.push(st("title")),ke=null;for(fn in G)if(f.call(G,fn)&&(ze=G[fn],ze!=null))switch(fn){case"children":ke=ze;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Ne(k,ie,fn,ze)}return k.push(me),ke;case"listing":case"pre":k.push(st(j)),ze=ke=null;for(_t in G)if(f.call(G,_t)&&(Ge=G[_t],Ge!=null))switch(_t){case"children":ke=Ge;break;case"dangerouslySetInnerHTML":ze=Ge;break;default:Ne(k,ie,_t,Ge)}if(k.push(me),ze!=null){if(ke!=null)throw Error(e(60));if(typeof ze!="object"||!("__html"in ze))throw Error(e(61));G=ze.__html,G!=null&&(typeof G=="string"&&0<G.length&&G[0]===`
82
+ `?k.push(_e,l(G)):k.push(l(""+G)))}return typeof ke=="string"&&ke[0]===`
83
+ `&&k.push(_e),ke;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":k.push(st(j));for(var Kr in G)if(f.call(G,Kr)&&(ke=G[Kr],ke!=null))switch(Kr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,j));default:Ne(k,ie,Kr,ke)}return k.push(pe),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return qe(k,G,j,ie);case"html":return Te.insertionMode===0&&k.push(Ct),qe(k,G,j,ie);default:if(j.indexOf("-")===-1&&typeof G.is!="string")return qe(k,G,j,ie);k.push(st(j)),ze=ke=null;for(yt in G)if(f.call(G,yt)&&(Ge=G[yt],Ge!=null))switch(yt){case"children":ke=Ge;break;case"dangerouslySetInnerHTML":ze=Ge;break;case"style":ve(k,ie,Ge);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:w(yt)&&typeof Ge!="function"&&typeof Ge!="symbol"&&k.push(we,l(yt),ye,l(O(Ge)),Le)}return k.push(me),be(k,ze,ke),ke}}var Sn=u("</"),Jn=u(">"),Gt=u('<template id="'),Tn=u('"></template>'),Hn=u("<!--$-->"),Tt=u('<!--$?--><template id="'),Ce=u('"></template>'),Ye=u("<!--$!-->"),wt=u("<!--/$-->"),un=u("<template"),on=u('"'),Lt=u(' data-dgst="');u(' data-msg="'),u(' data-stck="');var mt=u("></template>");function Ze(k,j,G){if(o(k,Tt),G===null)throw Error(e(395));return o(k,G),a(k,Ce)}var Bt=u('<div hidden id="'),jt=u('">'),rt=u("</div>"),en=u('<svg aria-hidden="true" style="display:none" id="'),Mn=u('">'),_n=u("</svg>"),Pn=u('<math aria-hidden="true" style="display:none" id="'),In=u('">'),On=u("</math>"),sr=u('<table hidden id="'),Nn=u('">'),Or=u("</table>"),zn=u('<table hidden><tbody id="'),li=u('">'),Qo=u("</tbody></table>"),Ui=u('<table hidden><tr id="'),Yi=u('">'),Jo=u("</tr></table>"),ci=u('<table hidden><colgroup id="'),ea=u('">'),Ra=u("</colgroup></table>");function Zs(k,j,G,ie){switch(G.insertionMode){case 0:case 1:return o(k,Bt),o(k,j.segmentPrefix),o(k,l(ie.toString(16))),a(k,jt);case 2:return o(k,en),o(k,j.segmentPrefix),o(k,l(ie.toString(16))),a(k,Mn);case 3:return o(k,Pn),o(k,j.segmentPrefix),o(k,l(ie.toString(16))),a(k,In);case 4:return o(k,sr),o(k,j.segmentPrefix),o(k,l(ie.toString(16))),a(k,Nn);case 5:return o(k,zn),o(k,j.segmentPrefix),o(k,l(ie.toString(16))),a(k,li);case 6:return o(k,Ui),o(k,j.segmentPrefix),o(k,l(ie.toString(16))),a(k,Yi);case 7:return o(k,ci),o(k,j.segmentPrefix),o(k,l(ie.toString(16))),a(k,ea);default:throw Error(e(397))}}function ta(k,j){switch(j.insertionMode){case 0:case 1:return a(k,rt);case 2:return a(k,_n);case 3:return a(k,On);case 4:return a(k,Or);case 5:return a(k,Qo);case 6:return a(k,Jo);case 7:return a(k,Ra);default:throw Error(e(397))}}var na=u('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ta=u('$RS("'),ra=u('","'),No=u('")<\/script>'),Na=u('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),ui=u('$RC("'),di=u('","'),Po=u('")<\/script>'),fi=u('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Fn=u('$RX("'),Gi=u('"'),pi=u(")<\/script>"),Pa=u(","),hi=/[<\u2028\u2029]/g;function po(k){return JSON.stringify(k).replace(hi,function(j){switch(j){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var ho=Object.assign,Ki=Symbol.for("react.element"),oa=Symbol.for("react.portal"),aa=Symbol.for("react.fragment"),mi=Symbol.for("react.strict_mode"),Aa=Symbol.for("react.profiler"),Ia=Symbol.for("react.provider"),ia=Symbol.for("react.context"),Oa=Symbol.for("react.forward_ref"),Xi=Symbol.for("react.suspense"),La=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),X=Symbol.for("react.scope"),se=Symbol.for("react.debug_trace_mode"),Re=Symbol.for("react.legacy_hidden"),Ee=Symbol.for("react.default_value"),De=Symbol.iterator;function Ke(k){if(k==null)return null;if(typeof k=="function")return k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case aa:return"Fragment";case oa:return"Portal";case Aa:return"Profiler";case mi:return"StrictMode";case Xi:return"Suspense";case La:return"SuspenseList"}if(typeof k=="object")switch(k.$$typeof){case ia:return(k.displayName||"Context")+".Consumer";case Ia:return(k._context.displayName||"Context")+".Provider";case Oa:var j=k.render;return k=k.displayName,k||(k=j.displayName||j.name||"",k=k!==""?"ForwardRef("+k+")":"ForwardRef"),k;case E:return j=k.displayName||null,j!==null?j:Ke(k.type)||"Memo";case H:j=k._payload,k=k._init;try{return Ke(k(j))}catch{}}return null}var vt={};function bt(k,j){if(k=k.contextTypes,!k)return vt;var G={},ie;for(ie in k)G[ie]=j[ie];return G}var Et=null;function wn(k,j){if(k!==j){k.context._currentValue=k.parentValue,k=k.parent;var G=j.parent;if(k===null){if(G!==null)throw Error(e(401))}else{if(G===null)throw Error(e(401));wn(k,G)}j.context._currentValue=j.value}}function br(k){k.context._currentValue=k.parentValue,k=k.parent,k!==null&&br(k)}function Lr(k){var j=k.parent;j!==null&&Lr(j),k.context._currentValue=k.value}function lr(k,j){if(k.context._currentValue=k.parentValue,k=k.parent,k===null)throw Error(e(402));k.depth===j.depth?wn(k,j):lr(k,j)}function Ao(k,j){var G=j.parent;if(G===null)throw Error(e(402));k.depth===G.depth?wn(k,G):Ao(k,G),j.context._currentValue=j.value}function Yr(k){var j=Et;j!==k&&(j===null?Lr(k):k===null?br(j):j.depth===k.depth?wn(j,k):j.depth>k.depth?lr(j,k):Ao(j,k),Et=k)}var $a={isMounted:function(){return!1},enqueueSetState:function(k,j){k=k._reactInternals,k.queue!==null&&k.queue.push(j)},enqueueReplaceState:function(k,j){k=k._reactInternals,k.replace=!0,k.queue=[j]},enqueueForceUpdate:function(){}};function sa(k,j,G,ie){var Te=k.state!==void 0?k.state:null;k.updater=$a,k.props=G,k.state=Te;var ke={queue:[],replace:!1};k._reactInternals=ke;var ze=j.contextType;if(k.context=typeof ze=="object"&&ze!==null?ze._currentValue:ie,ze=j.getDerivedStateFromProps,typeof ze=="function"&&(ze=ze(G,Te),Te=ze==null?Te:ho({},Te,ze),k.state=Te),typeof j.getDerivedStateFromProps!="function"&&typeof k.getSnapshotBeforeUpdate!="function"&&(typeof k.UNSAFE_componentWillMount=="function"||typeof k.componentWillMount=="function"))if(j=k.state,typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount(),j!==k.state&&$a.enqueueReplaceState(k,k.state,null),ke.queue!==null&&0<ke.queue.length)if(j=ke.queue,ze=ke.replace,ke.queue=null,ke.replace=!1,ze&&j.length===1)k.state=j[0];else{for(ke=ze?j[0]:k.state,Te=!0,ze=ze?1:0;ze<j.length;ze++){var Ge=j[ze];Ge=typeof Ge=="function"?Ge.call(k,ke,G,ie):Ge,Ge!=null&&(Te?(Te=!1,ke=ho({},ke,Ge)):ho(ke,Ge))}k.state=ke}else ke.queue=null}var Zi={id:1,overflow:""};function Io(k,j,G){var ie=k.id;k=k.overflow;var Te=32-gi(ie)-1;ie&=~(1<<Te),G+=1;var ke=32-gi(j)+Te;if(30<ke){var ze=Te-Te%5;return ke=(ie&(1<<ze)-1).toString(32),ie>>=ze,Te-=ze,{id:1<<32-gi(j)+Te|G<<Te|ie,overflow:ke+k}}return{id:1<<ke|G<<Te|ie,overflow:k}}var gi=Math.clz32?Math.clz32:Iu,Pu=Math.log,Au=Math.LN2;function Iu(k){return k>>>=0,k===0?32:31-(Pu(k)/Au|0)|0}function Ou(k,j){return k===j&&(k!==0||1/k===1/j)||k!==k&&j!==j}var Qi=typeof Object.is=="function"?Object.is:Ou,mo=null,Me=null,ce=null,de=null,Ie=!1,$e=!1,Je=0,dn=null,Wn=0;function Gr(){if(mo===null)throw Error(e(321));return mo}function ac(){if(0<Wn)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Qs(){return de===null?ce===null?(Ie=!1,ce=de=ac()):(Ie=!0,de=ce):de.next===null?(Ie=!1,de=de.next=ac()):(Ie=!0,de=de.next),de}function Ji(){Me=mo=null,$e=!1,ce=null,Wn=0,de=dn=null}function es(k,j){return typeof j=="function"?j(k):j}function Js(k,j,G){if(mo=Gr(),de=Qs(),Ie){var ie=de.queue;if(j=ie.dispatch,dn!==null&&(G=dn.get(ie),G!==void 0)){dn.delete(ie),ie=de.memoizedState;do ie=k(ie,G.action),G=G.next;while(G!==null);return de.memoizedState=ie,[ie,j]}return[de.memoizedState,j]}return k=k===es?typeof j=="function"?j():j:G!==void 0?G(j):j,de.memoizedState=k,k=de.queue={last:null,dispatch:null},k=k.dispatch=Lu.bind(null,mo,k),[de.memoizedState,k]}function Ln(k,j){if(mo=Gr(),de=Qs(),j=j===void 0?null:j,de!==null){var G=de.memoizedState;if(G!==null&&j!==null){var ie=G[1];e:if(ie===null)ie=!1;else{for(var Te=0;Te<ie.length&&Te<j.length;Te++)if(!Qi(j[Te],ie[Te])){ie=!1;break e}ie=!0}if(ie)return G[0]}}return k=k(),de.memoizedState=[k,j],k}function Lu(k,j,G){if(25<=Wn)throw Error(e(301));if(k===mo)if($e=!0,k={action:G,next:null},dn===null&&(dn=new Map),G=dn.get(j),G===void 0)dn.set(j,k);else{for(j=G;j.next!==null;)j=j.next;j.next=k}}function vi(){throw Error(e(394))}function el(){}var ic={readContext:function(k){return k._currentValue},useContext:function(k){return Gr(),k._currentValue},useMemo:Ln,useReducer:Js,useRef:function(k){mo=Gr(),de=Qs();var j=de.memoizedState;return j===null?(k={current:k},de.memoizedState=k):j},useState:function(k){return Js(es,k)},useInsertionEffect:el,useLayoutEffect:function(){},useCallback:function(k,j){return Ln(function(){return k},j)},useImperativeHandle:el,useEffect:el,useDebugValue:el,useDeferredValue:function(k){return Gr(),k},useTransition:function(){return Gr(),[!1,vi]},useId:function(){var k=Me.treeContext,j=k.overflow;k=k.id,k=(k&~(1<<32-gi(k)-1)).toString(32)+j;var G=pr;if(G===null)throw Error(e(404));return j=Je++,k=":"+G.idPrefix+"R"+k,0<j&&(k+="H"+j.toString(32)),k+":"},useMutableSource:function(k,j){return Gr(),j(k._source)},useSyncExternalStore:function(k,j,G){if(G===void 0)throw Error(e(407));return G()}},pr=null,sc=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Vf(k){return console.error(k),null}function ts(){}function jf(k,j,G,ie,Te,ke,ze,Ge,_t){var yt=[],$t=new Set;return j={destination:null,responseState:j,progressiveChunkSize:ie===void 0?12800:ie,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:$t,pingedTasks:yt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Te===void 0?Vf:Te,onAllReady:ke===void 0?ts:ke,onShellReady:ze===void 0?ts:ze,onShellError:Ge===void 0?ts:Ge,onFatalError:_t===void 0?ts:_t},G=tl(j,0,null,G,!1,!1),G.parentFlushed=!0,k=lc(j,k,null,G,$t,vt,null,Zi),yt.push(k),j}function lc(k,j,G,ie,Te,ke,ze,Ge){k.allPendingTasks++,G===null?k.pendingRootTasks++:G.pendingTasks++;var _t={node:j,ping:function(){var yt=k.pingedTasks;yt.push(_t),yt.length===1&&Wf(k)},blockedBoundary:G,blockedSegment:ie,abortSet:Te,legacyContext:ke,context:ze,treeContext:Ge};return Te.add(_t),_t}function tl(k,j,G,ie,Te,ke){return{status:0,id:-1,index:j,parentFlushed:!1,chunks:[],children:[],formatContext:ie,boundary:G,lastPushedText:Te,textEmbedded:ke}}function er(k,j){if(k=k.onError(j),k!=null&&typeof k!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof k+'" instead');return k}function cc(k,j){var G=k.onShellError;G(j),G=k.onFatalError,G(j),k.destination!==null?(k.status=2,d(k.destination,j)):(k.status=1,k.fatalError=j)}function yr(k,j,G,ie,Te){for(mo={},Me=j,Je=0,k=G(ie,Te);$e;)$e=!1,Je=0,Wn+=1,de=null,k=G(ie,Te);return Ji(),k}function Hf(k,j,G,ie){var Te=G.render(),ke=ie.childContextTypes;if(ke!=null){var ze=j.legacyContext;if(typeof G.getChildContext!="function")ie=ze;else{G=G.getChildContext();for(var Ge in G)if(!(Ge in ke))throw Error(e(108,Ke(ie)||"Unknown",Ge));ie=ho({},ze,G)}j.legacyContext=ie,cr(k,j,Te),j.legacyContext=ze}else cr(k,j,Te)}function $u(k,j){if(k&&k.defaultProps){j=ho({},j),k=k.defaultProps;for(var G in k)j[G]===void 0&&(j[G]=k[G]);return j}return j}function Oo(k,j,G,ie,Te){if(typeof G=="function")if(G.prototype&&G.prototype.isReactComponent){Te=bt(G,j.legacyContext);var ke=G.contextType;ke=new G(ie,typeof ke=="object"&&ke!==null?ke._currentValue:Te),sa(ke,G,ie,Te),Hf(k,j,ke,G)}else{ke=bt(G,j.legacyContext),Te=yr(k,j,G,ie,ke);var ze=Je!==0;if(typeof Te=="object"&&Te!==null&&typeof Te.render=="function"&&Te.$$typeof===void 0)sa(Te,G,ie,ke),Hf(k,j,Te,G);else if(ze){ie=j.treeContext,j.treeContext=Io(ie,1,0);try{cr(k,j,Te)}finally{j.treeContext=ie}}else cr(k,j,Te)}else if(typeof G=="string"){switch(Te=j.blockedSegment,ke=cn(Te.chunks,G,ie,k.responseState,Te.formatContext),Te.lastPushedText=!1,ze=Te.formatContext,Te.formatContext=oe(ze,G,ie),xn(k,j,ke),Te.formatContext=ze,G){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Te.chunks.push(Sn,l(G),Jn)}Te.lastPushedText=!1}else{switch(G){case Re:case se:case mi:case Aa:case aa:cr(k,j,ie.children);return;case La:cr(k,j,ie.children);return;case X:throw Error(e(343));case Xi:e:{G=j.blockedBoundary,Te=j.blockedSegment,ke=ie.fallback,ie=ie.children,ze=new Set;var Ge={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ze,errorDigest:null},_t=tl(k,Te.chunks.length,Ge,Te.formatContext,!1,!1);Te.children.push(_t),Te.lastPushedText=!1;var yt=tl(k,0,null,Te.formatContext,!1,!1);yt.parentFlushed=!0,j.blockedBoundary=Ge,j.blockedSegment=yt;try{if(xn(k,j,ie),yt.lastPushedText&&yt.textEmbedded&&yt.chunks.push(Q),yt.status=1,fc(Ge,yt),Ge.pendingTasks===0)break e}catch($t){yt.status=4,Ge.forceClientRender=!0,Ge.errorDigest=er(k,$t)}finally{j.blockedBoundary=G,j.blockedSegment=Te}j=lc(k,ke,G,_t,ze,j.legacyContext,j.context,j.treeContext),k.pingedTasks.push(j)}return}if(typeof G=="object"&&G!==null)switch(G.$$typeof){case Oa:if(ie=yr(k,j,G.render,ie,Te),Je!==0){G=j.treeContext,j.treeContext=Io(G,1,0);try{cr(k,j,ie)}finally{j.treeContext=G}}else cr(k,j,ie);return;case E:G=G.type,ie=$u(G,ie),Oo(k,j,G,ie,Te);return;case Ia:if(Te=ie.children,G=G._context,ie=ie.value,ke=G._currentValue,G._currentValue=ie,ze=Et,Et=ie={parent:ze,depth:ze===null?0:ze.depth+1,context:G,parentValue:ke,value:ie},j.context=ie,cr(k,j,Te),k=Et,k===null)throw Error(e(403));ie=k.parentValue,k.context._currentValue=ie===Ee?k.context._defaultValue:ie,k=Et=k.parent,j.context=k;return;case ia:ie=ie.children,ie=ie(G._currentValue),cr(k,j,ie);return;case H:Te=G._init,G=Te(G._payload),ie=$u(G,ie),Oo(k,j,G,ie,void 0);return}throw Error(e(130,G==null?G:typeof G,""))}}function cr(k,j,G){if(j.node=G,typeof G=="object"&&G!==null){switch(G.$$typeof){case Ki:Oo(k,j,G.type,G.props,G.ref);return;case oa:throw Error(e(257));case H:var ie=G._init;G=ie(G._payload),cr(k,j,G);return}if(M(G)){uc(k,j,G);return}if(G===null||typeof G!="object"?ie=null:(ie=De&&G[De]||G["@@iterator"],ie=typeof ie=="function"?ie:null),ie&&(ie=ie.call(G))){if(G=ie.next(),!G.done){var Te=[];do Te.push(G.value),G=ie.next();while(!G.done);uc(k,j,Te)}return}throw k=Object.prototype.toString.call(G),Error(e(31,k==="[object Object]"?"object with keys {"+Object.keys(G).join(", ")+"}":k))}typeof G=="string"?(ie=j.blockedSegment,ie.lastPushedText=re(j.blockedSegment.chunks,G,k.responseState,ie.lastPushedText)):typeof G=="number"&&(ie=j.blockedSegment,ie.lastPushedText=re(j.blockedSegment.chunks,""+G,k.responseState,ie.lastPushedText))}function uc(k,j,G){for(var ie=G.length,Te=0;Te<ie;Te++){var ke=j.treeContext;j.treeContext=Io(ke,ie,Te);try{xn(k,j,G[Te])}finally{j.treeContext=ke}}}function xn(k,j,G){var ie=j.blockedSegment.formatContext,Te=j.legacyContext,ke=j.context;try{return cr(k,j,G)}catch(_t){if(Ji(),typeof _t=="object"&&_t!==null&&typeof _t.then=="function"){G=_t;var ze=j.blockedSegment,Ge=tl(k,ze.chunks.length,null,ze.formatContext,ze.lastPushedText,!0);ze.children.push(Ge),ze.lastPushedText=!1,k=lc(k,j.node,j.blockedBoundary,Ge,j.abortSet,j.legacyContext,j.context,j.treeContext).ping,G.then(k,k),j.blockedSegment.formatContext=ie,j.legacyContext=Te,j.context=ke,Yr(ke)}else throw j.blockedSegment.formatContext=ie,j.legacyContext=Te,j.context=ke,Yr(ke),_t}}function Da(k){var j=k.blockedBoundary;k=k.blockedSegment,k.status=3,pc(this,j,k)}function dc(k,j,G){var ie=k.blockedBoundary;k.blockedSegment.status=3,ie===null?(j.allPendingTasks--,j.status!==2&&(j.status=2,j.destination!==null&&j.destination.close())):(ie.pendingTasks--,ie.forceClientRender||(ie.forceClientRender=!0,k=G===void 0?Error(e(432)):G,ie.errorDigest=j.onError(k),ie.parentFlushed&&j.clientRenderedBoundaries.push(ie)),ie.fallbackAbortableTasks.forEach(function(Te){return dc(Te,j,G)}),ie.fallbackAbortableTasks.clear(),j.allPendingTasks--,j.allPendingTasks===0&&(ie=j.onAllReady,ie()))}function fc(k,j){if(j.chunks.length===0&&j.children.length===1&&j.children[0].boundary===null){var G=j.children[0];G.id=j.id,G.parentFlushed=!0,G.status===1&&fc(k,G)}else k.completedSegments.push(j)}function pc(k,j,G){if(j===null){if(G.parentFlushed){if(k.completedRootSegment!==null)throw Error(e(389));k.completedRootSegment=G}k.pendingRootTasks--,k.pendingRootTasks===0&&(k.onShellError=ts,j=k.onShellReady,j())}else j.pendingTasks--,j.forceClientRender||(j.pendingTasks===0?(G.parentFlushed&&G.status===1&&fc(j,G),j.parentFlushed&&k.completedBoundaries.push(j),j.fallbackAbortableTasks.forEach(Da,k),j.fallbackAbortableTasks.clear()):G.parentFlushed&&G.status===1&&(fc(j,G),j.completedSegments.length===1&&j.parentFlushed&&k.partialBoundaries.push(j)));k.allPendingTasks--,k.allPendingTasks===0&&(k=k.onAllReady,k())}function Wf(k){if(k.status!==2){var j=Et,G=sc.current;sc.current=ic;var ie=pr;pr=k.responseState;try{var Te=k.pingedTasks,ke;for(ke=0;ke<Te.length;ke++){var ze=Te[ke],Ge=k,_t=ze.blockedSegment;if(_t.status===0){Yr(ze.context);try{cr(Ge,ze,ze.node),_t.lastPushedText&&_t.textEmbedded&&_t.chunks.push(Q),ze.abortSet.delete(ze),_t.status=1,pc(Ge,ze.blockedBoundary,_t)}catch(go){if(Ji(),typeof go=="object"&&go!==null&&typeof go.then=="function"){var yt=ze.ping;go.then(yt,yt)}else{ze.abortSet.delete(ze),_t.status=4;var $t=ze.blockedBoundary,fn=go,_r=er(Ge,fn);if($t===null?cc(Ge,fn):($t.pendingTasks--,$t.forceClientRender||($t.forceClientRender=!0,$t.errorDigest=_r,$t.parentFlushed&&Ge.clientRenderedBoundaries.push($t))),Ge.allPendingTasks--,Ge.allPendingTasks===0){var Kr=Ge.onAllReady;Kr()}}}finally{}}}Te.splice(0,ke),k.destination!==null&&Bu(k,k.destination)}catch(go){er(k,go),cc(k,go)}finally{pr=ie,sc.current=G,G===ic&&Yr(j)}}}function hc(k,j,G){switch(G.parentFlushed=!0,G.status){case 0:var ie=G.id=k.nextSegmentId++;return G.lastPushedText=!1,G.textEmbedded=!1,k=k.responseState,o(j,Gt),o(j,k.placeholderPrefix),k=l(ie.toString(16)),o(j,k),a(j,Tn);case 1:G.status=2;var Te=!0;ie=G.chunks;var ke=0;G=G.children;for(var ze=0;ze<G.length;ze++){for(Te=G[ze];ke<Te.index;ke++)o(j,ie[ke]);Te=mc(k,j,Te)}for(;ke<ie.length-1;ke++)o(j,ie[ke]);return ke<ie.length&&(Te=a(j,ie[ke])),Te;default:throw Error(e(390))}}function mc(k,j,G){var ie=G.boundary;if(ie===null)return hc(k,j,G);if(ie.parentFlushed=!0,ie.forceClientRender)ie=ie.errorDigest,a(j,Ye),o(j,un),ie&&(o(j,Lt),o(j,l(O(ie))),o(j,on)),a(j,mt),hc(k,j,G);else if(0<ie.pendingTasks){ie.rootSegmentID=k.nextSegmentId++,0<ie.completedSegments.length&&k.partialBoundaries.push(ie);var Te=k.responseState,ke=Te.nextSuspenseID++;Te=u(Te.boundaryPrefix+ke.toString(16)),ie=ie.id=Te,Ze(j,k.responseState,ie),hc(k,j,G)}else if(ie.byteSize>k.progressiveChunkSize)ie.rootSegmentID=k.nextSegmentId++,k.completedBoundaries.push(ie),Ze(j,k.responseState,ie.id),hc(k,j,G);else{if(a(j,Hn),G=ie.completedSegments,G.length!==1)throw Error(e(391));mc(k,j,G[0])}return a(j,wt)}function Du(k,j,G){return Zs(j,k.responseState,G.formatContext,G.id),mc(k,j,G),ta(j,G.formatContext)}function nl(k,j,G){for(var ie=G.completedSegments,Te=0;Te<ie.length;Te++)wi(k,j,G,ie[Te]);if(ie.length=0,k=k.responseState,ie=G.id,G=G.rootSegmentID,o(j,k.startInlineScript),k.sentCompleteBoundaryFunction?o(j,ui):(k.sentCompleteBoundaryFunction=!0,o(j,Na)),ie===null)throw Error(e(395));return G=l(G.toString(16)),o(j,ie),o(j,di),o(j,k.segmentPrefix),o(j,G),a(j,Po)}function wi(k,j,G,ie){if(ie.status===2)return!0;var Te=ie.id;if(Te===-1){if((ie.id=G.rootSegmentID)===-1)throw Error(e(392));return Du(k,j,ie)}return Du(k,j,ie),k=k.responseState,o(j,k.startInlineScript),k.sentCompleteSegmentFunction?o(j,Ta):(k.sentCompleteSegmentFunction=!0,o(j,na)),o(j,k.segmentPrefix),Te=l(Te.toString(16)),o(j,Te),o(j,ra),o(j,k.placeholderPrefix),o(j,Te),a(j,No)}function Bu(k,j){n=new Uint8Array(512),r=0;try{var G=k.completedRootSegment;if(G!==null&&k.pendingRootTasks===0){mc(k,j,G),k.completedRootSegment=null;var ie=k.responseState.bootstrapChunks;for(G=0;G<ie.length-1;G++)o(j,ie[G]);G<ie.length&&a(j,ie[G])}var Te=k.clientRenderedBoundaries,ke;for(ke=0;ke<Te.length;ke++){var ze=Te[ke];ie=j;var Ge=k.responseState,_t=ze.id,yt=ze.errorDigest,$t=ze.errorMessage,fn=ze.errorComponentStack;if(o(ie,Ge.startInlineScript),Ge.sentClientRenderFunction?o(ie,Fn):(Ge.sentClientRenderFunction=!0,o(ie,fi)),_t===null)throw Error(e(395));o(ie,_t),o(ie,Gi),(yt||$t||fn)&&(o(ie,Pa),o(ie,l(po(yt||"")))),($t||fn)&&(o(ie,Pa),o(ie,l(po($t||"")))),fn&&(o(ie,Pa),o(ie,l(po(fn)))),a(ie,pi)}Te.splice(0,ke);var _r=k.completedBoundaries;for(ke=0;ke<_r.length;ke++)nl(k,j,_r[ke]);_r.splice(0,ke),i(j),n=new Uint8Array(512),r=0;var Kr=k.partialBoundaries;for(ke=0;ke<Kr.length;ke++){var go=Kr[ke];e:{Te=k,ze=j;var gc=go.completedSegments;for(Ge=0;Ge<gc.length;Ge++)if(!wi(Te,ze,go,gc[Ge])){Ge++,gc.splice(0,Ge);var qf=!1;break e}gc.splice(0,Ge),qf=!0}if(!qf){k.destination=null,ke++,Kr.splice(0,ke);return}}Kr.splice(0,ke);var Fu=k.completedBoundaries;for(ke=0;ke<Fu.length;ke++)nl(k,j,Fu[ke]);Fu.splice(0,ke)}finally{i(j),k.allPendingTasks===0&&k.pingedTasks.length===0&&k.clientRenderedBoundaries.length===0&&k.completedBoundaries.length===0&&j.close()}}function zu(k,j){try{var G=k.abortableTasks;G.forEach(function(ie){return dc(ie,k,j)}),G.clear(),k.destination!==null&&Bu(k,k.destination)}catch(ie){er(k,ie),cc(k,ie)}}return Ip.renderToReadableStream=function(k,j){return new Promise(function(G,ie){var Te,ke,ze=new Promise(function($t,fn){ke=$t,Te=fn}),Ge=jf(k,D(j?j.identifierPrefix:void 0,j?j.nonce:void 0,j?j.bootstrapScriptContent:void 0,j?j.bootstrapScripts:void 0,j?j.bootstrapModules:void 0),Y(j?j.namespaceURI:void 0),j?j.progressiveChunkSize:void 0,j?j.onError:void 0,ke,function(){var $t=new ReadableStream({type:"bytes",pull:function(fn){if(Ge.status===1)Ge.status=2,d(fn,Ge.fatalError);else if(Ge.status!==2&&Ge.destination===null){Ge.destination=fn;try{Bu(Ge,fn)}catch(_r){er(Ge,_r),cc(Ge,_r)}}},cancel:function(){zu(Ge)}},{highWaterMark:0});$t.allReady=ze,G($t)},function($t){ze.catch(function(){}),ie($t)},Te);if(j&&j.signal){var _t=j.signal,yt=function(){zu(Ge,_t.reason),_t.removeEventListener("abort",yt)};_t.addEventListener("abort",yt)}Wf(Ge)})},Ip.version="18.2.0",Ip}var t_;function zz(){if(t_)return ds;t_=1;var t,e;return t=Dz(),e=Bz(),ds.version=t.version,ds.renderToString=t.renderToString,ds.renderToStaticMarkup=t.renderToStaticMarkup,ds.renderToNodeStream=t.renderToNodeStream,ds.renderToStaticNodeStream=t.renderToStaticNodeStream,ds.renderToReadableStream=e.renderToReadableStream,ds}var Op=zz(),Um={exports:{}};/*!
84
+ Copyright (c) 2018 Jed Watson.
85
+ Licensed under the MIT License (MIT), see
86
+ http://jedwatson.github.io/classnames
87
+ */var n_;function Fz(){return n_||(n_=1,(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var a="",i=0;i<arguments.length;i++){var s=arguments[i];s&&(a=o(a,r.call(this,s)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return this&&this[a]||a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(this,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var i="";for(var s in a)e.call(a,s)&&a[s]&&(i=o(i,this&&this[s]||s));return i}function o(a,i){return i?a?a+" "+i:a+i:a}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(Um)),Um.exports}var Vz=Fz();const jz=Ea(Vz),Hz="_blind_2c8pd_308",Wz={blind:Hz},{createContext:qz,useCallback:Uz,useContext:Yz,useEffect:r_,useLayoutEffect:Gz,useMemo:o_,useState:a_}=await q("react"),Kz=jz.bind(Wz),K2={theme:"light",setThemeData:t=>{},keypadOption:{initTab:null},setKeypadOption:t=>{},variableModal:void 0},i_=globalThis,L8=i_.__RB_CTX__??(i_.__RB_CTX__=qz(K2)),Phe=({children:t,theme:e,onChangeTheme:n,variableModal:r})=>{const[o,a]=a_(e??K2.theme),[i,s]=a_({initTab:null}),l=Uz(f=>{a(f),document.body.setAttribute("data-theme",f),n?.(f)},[n]),u=o_(()=>({...K2,theme:o,setThemeData:l,variableModal:r,keypadOption:i,setKeypadOption:s}),[o,l,r,i]),d=o_(()=>kn.debounce(()=>{const f=window.innerHeight*.01;document.body.style.setProperty("--vh",`${f}px`)},100),[]);return r_(()=>{e&&(a(e),document.body.setAttribute("data-theme",e))},[e]),r_(()=>{d()},[d]),Gz(()=>(d(),window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d)}),[d]),ne(L8.Provider,{value:u,children:[h("div",{id:"rainbow-ui",className:Kz("rainbow-ui"),children:t}),h("div",{id:"portal-wrapper"})]})},Q0=()=>Yz(L8),$8=()=>typeof window<"u",D8=()=>{if(!$8())return;const t=window.scrollY,e=document.body;e.setAttribute("data-fz",e.dataset.fz?`${Number(e.dataset.fz)+1}`:"1"),e.style.position!=="fixed"&&e.setAttribute("data-scroll-y",String(t)),e.style.overflow="hidden",e.style.touchAction="none",e.style.position="fixed",e.style.top=`-${e.dataset.scrollY}px`,e.style.left="0",e.style.width="100%"},B8=()=>{if(!$8())return;const t=document.body;t.dataset.fz&&Number(t.dataset.fz)>1?t.setAttribute("data-fz",`${Number(t.dataset.fz)-1}`):(t.removeAttribute("data-fz"),t.style.position="",t.style.top="",t.style.left="",t.style.width="",t.style.overflow="",t.style.paddingRight="",t.style.backgroundColor="",t.style.touchAction="",window.scrollTo(0,Number(t.dataset.scrollY)))};let z8="";const Xz=({text:t})=>{if(z8=t,typeof navigator.clipboard>"u"){const e=document.createElement("textarea");e.value=t,e.readOnly=!0,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.focus(),e.setSelectionRange(0,t.length);try{document.execCommand("copy")}finally{document.body.removeChild(e)}return}navigator.clipboard.writeText(t).catch(()=>{})},Zz=async()=>{try{return await navigator.clipboard.readText()}catch{return z8}},Ym=()=>!(navigator.userAgent.match(/iPhone|iPad|iPod/i)==null&&navigator.maxTouchPoints!=5),{forwardRef:Qz,useEffect:Gm,useImperativeHandle:Jz,useMemo:eF,useRef:Km,useState:Lp}=await q("react"),tF=await q("react-simple-keyboard"),Xm={default:["{copy} {paste} {close}","{variables} {quotes} {brace} {true} {false}","{spacer} ‘ 1 2 3 4 5 6 7 8 9 0 - = {bksp}","{tab} q w e r t y u i o p [ ] \\ {delete}","{lock} a s d f g h j k l ; ' _ {infinity}","{shift} z x c v b n m , . / {shift}","{left} {right} {space} {enter}"],shift:["{copy} {paste} {close}","{variables} {quotes} {brace} {true} {false}","{spacer} ~ ! @ # $ % ^ & * ( ) _ + {bksp}","{tab} Q W E R T Y U I O P { } | {delete}",'{lock} A S D F G H J K L : " _ {infinity}',"{shift} Z X C V B N M < > ? {shift}","{left} {right} {space} {enter}"]},nF={"{variables}":"Get Variable","{quotes}":'" "',"{brace}":"{ }","{true}":"True","{false}":"False","{bksp}":Op.renderToStaticMarkup(h(nw,{})),"{tab}":"Tab","{delete}":"Delete","{lock}":"Lock","{infinity}":"∞","{shift}":"Shift","{space}":" ","{left}":Op.renderToStaticMarkup(h(X0,{})),"{right}":Op.renderToStaticMarkup(h(Su,{})),"{enter}":Op.renderToStaticMarkup(h(P8,{})),"{copy}":"Copy","{paste}":"Paste","{close}":"Close","{spacer}":" "},s_={"{infinity}":"-1","{true}":"True","{false}":"False","{quotes}":'""',"{brace}":"{}","{tab}":" "},rF=[{class:"btn-bksp",buttons:"{bksp}"},{class:"btn-infinity",buttons:"{infinity}"},{class:"btn-space",buttons:"{space}"},{class:"btn-nav",buttons:"{left} {right}"},{class:"btn-enter",buttons:"{enter}"},{class:"btn-shift",buttons:"{shift}"},{class:"btn-tab",buttons:"{tab}"},{class:"btn-spacer",buttons:"{spacer}"},{class:"btn-bookmark",buttons:"{variables} {quotes} {brace} {true} {false}"},{class:"btn-lock",buttons:"{lock}"},{class:"btn-delete",buttons:"{delete}"},{class:"btn-control",buttons:"{copy} {paste}"},{class:"btn-close",buttons:"{close}"}],iw=Qz(({className:t,inputRef:e,byKeypad:n,onKeyboardChange:r,onKeyboardKeyPress:o},a)=>{const i=Km(null),s=Km(null),l=Km(null),{variableModal:u,keypadOption:d}=Q0(),[f,m]=Lp(!1),[v,g]=Lp("default"),[w,y]=Lp(0),[_,S]=Lp(!1),x=eF(()=>u?Xm:{default:Xm.default.map(N=>N.replace("{variables} ","")),shift:Xm.shift.map(N=>N.replace("{variables} ",""))},[u]),C=(N,V)=>{const z=e.current;if(!z||document.activeElement!==z)return;Object.getOwnPropertyDescriptor(z instanceof HTMLInputElement?window.HTMLInputElement.prototype:window.HTMLTextAreaElement.prototype,"value")?.set?.call(z,N),i.current?.setInput(N),V!==void 0&&(z.setSelectionRange(V,V),i.current?.setCaretPosition(V)),z.dispatchEvent(new Event("input",{bubbles:!0}))},R=N=>{const V=e.current;if(!V||document.activeElement!==V)return;const z=V.selectionStart??0,I=N.length-(V.value?.length??0),D=z+I;r?.(N),C(N,D)},P=N=>{if(!e.current)return;const V=e.current,z=V.value;let I=V.selectionStart??z.length,D=V.selectionEnd??z.length;document.activeElement!==V&&z.length>0&&(I=z.length,D=z.length);const U=z.substring(0,I)+N+z.substring(D),Y=I+N.length;C(U,Y)},O=N=>{const V=e.current;if(!V)return;const z=V.selectionStart??V.value.length,I=N==="{left}"?Math.max(0,z-1):Math.min(V.value.length,z+1);V.focus(),V.setSelectionRange(I,I),i.current?.setCaretPosition(I)},$=()=>{const N=e.current;N&&(N.dispatchEvent(new KeyboardEvent("keydown",{key:"Enter",code:"Enter",bubbles:!0})),N.blur())},A=async N=>{if(o?.(N),N==="{copy}"){const V=e.current?.value??"";Xz({text:V}),e.current?.focus()}else if(N==="{paste}"){const V=await Zz(),z=e.current?.value??"",I=e.current?.selectionStart??0,D=z.substring(0,I)+V+z.substring(I);C(D,I+V.length);return}else N==="{close}"?e.current?.blur():N==="{shift}"||N==="{lock}"?g(v==="default"?"shift":"default"):N==="{enter}"?$():N==="{left}"||N==="{right}"?O(N):N==="{delete}"?C("",0):N==="{variables}"?u&&S(!0):Object.keys(s_).includes(N)&&P(s_[N])},M=N=>{i.current=N,y(Date.now());const V=e.current;N?.setInput(V?.value??""),N?.setCaretPosition(V?.selectionStart??V?.value.length??0)};Gm(()=>{const N=e.current,V=()=>{N.inputMode==="none"&&m(!0)},z=()=>{window.setTimeout(()=>{document.activeElement!==N&&(m(!1),y(0))},100)},I=()=>{i.current?.setInput(N.value),i.current?.setCaretPosition(N.selectionStart??N.value.length??0)};if(N)return N.addEventListener("focus",V),N.addEventListener("blur",z),N.addEventListener("input",I),()=>{N.removeEventListener("focus",V),N.removeEventListener("blur",z),N.removeEventListener("input",I)}},[e]),Gm(()=>{if(!f)return;history.pushState({keyboard:!0},"");const N=V=>{V.state?.keyboard||(m(!1),e.current?.blur(),history.pushState({keyboard:!0},""))};return window.addEventListener("popstate",N),()=>{window.removeEventListener("popstate",N),history.state?.keyboard&&history.back()}},[f,e]),Gm(()=>{const N=document.getElementById("root"),V=s.current,z=w>0,I=(Y=!1)=>{if(!N)return;const oe=document.activeElement,re=(oe instanceof HTMLInputElement||oe instanceof HTMLTextAreaElement)&&oe.dataset.type==="program";!Y&&re||(N.style.transform="",N.style.transition="")};if(!N||!z||!e.current||_){I(_);return}const U=requestAnimationFrame(()=>{const Y=e.current;if(!Y){I();return}const oe=V?.getBoundingClientRect().height??window.innerHeight*.35,Q=Y.getBoundingClientRect(),le=window.innerHeight-oe,ee=Q.bottom-le;if(ee<=0){I();return}l.current||(l.current={transform:N.style.transform,transition:N.style.transition});const te=l.current.transform.trim(),ue=Math.ceil(ee+32);N.style.transform=[te,`translateY(-${ue}px)`].filter(Boolean).join(" "),N.style.transition=l.current.transition||"transform 0.3s ease"});return()=>{cancelAnimationFrame(U),I()}},[w,e,_]),Jz(a,()=>i.current);const L=N=>{S(N),N||window.setTimeout(()=>{e.current?.focus()},0)},B=N=>{S(!1),window.setTimeout(()=>{const V=e.current;V&&(V.focus(),N&&P(N))},0)},F=f&&h(Gl,{id:"program-keypad",children:h(oF,{ref:s,className:ae("RBProgramKeypad",t,{hidden:_}),onMouseDown:N=>{N.preventDefault(),N.stopPropagation()},onContextMenu:N=>{N.preventDefault(),N.stopPropagation()},onBlur:N=>{N.preventDefault(),N.stopPropagation(),m(!1)},children:h(tF,{keyboardRef:M,in:!0,syncInstanceInputs:!0,layout:x,display:nF,buttonTheme:rF,layoutName:v,onChange:R,onKeyPress:A,preventMouseDownDefault:!0,tabCharOnTab:!1})})});return ne(Mr,{children:[F,!!u&&_&&h(u,{open:_,onOpenChange:L,close:()=>L(!1),keypadOption:d,byKeypad:n,resolve:B})]})}),oF=G6("div",{target:"ei27oh40"})({name:"1n1laod",styles:"background-color:var(--color-bg-overlay);color:var(--color-fg-default);position:fixed;bottom:0;left:0;width:100%;z-index:10000;pointer-events:auto;box-shadow:var(--shadow-up-xl);.simple-keyboard.hg-theme-default{background-color:var(--color-bg-overlay);width:min(100%, 64rem);margin:0 auto;padding:var(--spacing-1_5);gap:0.25rem;height:100%!important;border-radius:0;.hg-rows{display:flex!important;flex-direction:column!important;height:100%!important;gap:0.25rem;}.hg-row{display:flex;flex:1!important;gap:0.25rem;justify-content:flex-end;margin:0;}.hg-row:first-of-type{--bookmark-width:calc((100% - 1rem) / 5);}.hg-button{height:3rem;padding:0.625rem;width:3rem;background:var(--color-fill-subtler);color:var(--color-fg-default);border-radius:var(--radius-md);border-top:1px solid var(--color-border-subtle);border-bottom:0;margin:0;font-family:var(--font-sans);font-size:var(--text-compact-md);line-height:var(--leading-compact-md);letter-spacing:var(--tracking-compact-md);font-weight:var(--font-weight-semibold);display:flex;align-items:center;justify-content:center;transition:background-color 0.2s ease;&:active{background:var(--color-fill-subtlest);transform:translateY(1px);}&.hg-functionBtn{background-color:var(--color-fill-subtlest);color:white;}}.hg-button.hg-functionBtn{color:var(--color-fg-default);font-size:var(--text-compact-xs);line-height:var(--leading-compact-xs);letter-spacing:var(--tracking-compact-xs);font-weight:var(--font-weight-semibold);}.hg-button.btn-enter,.hg-button.btn-shift{width:11.5rem;flex:0 0 11.5rem!important;}.hg-button.btn-nav{font-size:var(--text-compact-lg);width:5.625rem;flex:0 0 5.625rem!important;}.hg-button.btn-space{background:var(--color-fill-subtler);flex:5!important;&:active{background:var(--color-fill-subtlest);transform:translateY(1px);}}.hg-button.btn-bookmark{height:2.25rem;flex:1 1 0!important;}.hg-button.btn-close{background-color:var(--color-fill-subtle);}.hg-button.btn-control,.hg-button.btn-close{height:2.25rem;padding:0.625rem;width:calc((var(--bookmark-width) - 0.5rem) / 3);flex:0 0 calc((var(--bookmark-width) - 0.5rem) / 3)!important;}.hg-button.btn-tab,.hg-button.btn-delete,.hg-button.btn-bksp{width:5.5rem;flex:0 0 5.5rem!important;}.hg-button.btn-spacer{width:5.5rem;flex:0 0 5.5rem!important;height:3rem;padding:0;color:transparent!important;font-size:0;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:none;}.hg-button.btn-lock,.hg-button.btn-infinity{width:7.5rem;flex:0 0 7.5rem!important;}.hg-button.btn-infinity{font-size:var(--text-compact-lg);}.hg-button.btn-bksp{font-size:var(--text-compact-md);}.hg-button svg{width:1.25rem;height:1.25rem;display:block;}}"});iw.displayName="RBProgramKeypad";const{useRef:aF,useMemo:iF,useState:l_,useCallback:Tc,useEffect:c_,forwardRef:sF,useImperativeHandle:lF}=await q("react"),sw=sF((t,e)=>{const{className:n="",size:r="md",variant:o,disabled:a,readOnly:i,error:s,type:l="text",useSetButton:u,hideBtnReset:d,prefixIcon:f,searchIcon:m=h(Z0,{className:"size-4"}),resetIcon:v,handleChange:g,handleReset:w,handleEnter:y,validate:_,...S}=t,{value:x,...C}=S,R=aF(null),[P,O]=l_(!1),[$,A]=l_(String(x||C?.defaultValue||"")),M=iF(()=>({reset:P&&!d&&!!$&&!i,search:l==="search"}),[P,d,$,i,l]),L=Tc(I=>!I||!_?I:typeof _=="function"?_(I):_ instanceof RegExp?_.test(String(I))?I:$:I,[$,_]),B=Tc(()=>{const I=S.name;R.current.value="";const D={target:{...R.current,value:"",name:I}};R.current?.dispatchEvent(new Event("input",{bubbles:!0})),S.onChange?.(D),A(""),g?.("",I),w?.("",I,!0)},[S,g,w]),F=Tc(I=>{const{name:D}=I.target;let U=I.target.value;if(U===$){console.log("value === text");return}l!=="nx-number"&&(typeof S.value=="number"||l==="number")&&(U=!U||Number.isNaN(Number(U))?void 0:Number(U));const Y=L(U);I.target.value=String(Y??""),g?.(Y,D),S.onChange?.(I),R.current.value=String(Y??""),Y===""&&w?.("",D)},[$,L,g,S,w,l]),N=Tc((I,D)=>{O(D),D?S.onFocus?.(I):S.onBlur?.(I)},[S]),V=Tc(I=>{const{value:D="",name:U}=I.target;y?.(D,U),R.current?.blur()},[y]),z=Tc(I=>{I.key==="Enter"&&!I.nativeEvent.isComposing&&V(I),S.onKeyDown?.(I)},[S,V]);return c_(()=>{S.value!==$&&S.value!==void 0&&(A(S.value),R.current.value=String(S.value??""))},[S.value,$]),c_(()=>{R.current&&typeof R.current.scrollTo=="function"&&R.current.scrollTo(window.innerWidth,0)},[M.reset]),lF(e,()=>({...R.current,set value(I){R.current&&I!==R.current.value&&(R.current.value=I),A(I)},get value(){return R.current.value}})),ne("div",{"data-slot":"text-input",className:ae(Iz({size:r,variant:o,focus:P,readOnly:i,disabled:a,error:s}),n),children:[M.search&&h("span",{"data-slot":"text-input-search-icon",className:"text-fg-subtle inline-flex shrink-0 items-center justify-center pl-2",children:m}),!M.search&&!!f&&h("span",{"data-slot":"text-input-prefix-icon",className:"text-fg-subtle inline-flex shrink-0 items-center justify-center pl-2",children:f}),h("input",{"data-slot":"text-input-field","data-type":l,ref:R,autoComplete:"off",readOnly:i,...C,type:l,inputMode:l==="program"||l==="nx-number"?"none":C.inputMode,className:Oz({size:r,variant:o,disabled:a}),"data-pad-focus":"true",defaultValue:S.defaultValue||$,onChange:F,onFocus:I=>N(I,!0),onBlur:I=>N(I,!1),onKeyDown:z}),M.reset&&h("button",{type:"button",tabIndex:-1,"data-slot":"text-input-clear-button",className:ae(Lz({size:r}),"inline-flex",{}),onMouseDown:I=>{I.preventDefault(),B()},onTouchStart:B,children:v??h("span",{className:"inline-flex size-8 items-center justify-center",children:h(S8,{"aria-hidden":!0,className:$z({size:r})})})}),l==="program"&&h(iw,{inputRef:R,byKeypad:!0}),l==="nx-number"&&h(aw,{inputRef:R,maxLength:S.maxLength,useSet:u,onSet:y})]})});sw.displayName="RBTextInput";const cF=he(["p-2_5 flex h-28 min-h-28 w-96 flex-col items-start gap-3 overflow-hidden","bg-fill-control-surface outline outline-1 outline-offset-[-1px]","rounded-md transition-colors"].join(" "),{variants:{size:{sm:"rounded-md",md:"rounded-md",lg:"rounded-lg"},variant:{default:"outline-border-default",success:"outline-border-success-stronger"},focus:{true:"outline-border-input-focused",false:""},error:{true:"outline-border-danger-stronger",false:""},readOnly:{true:"bg-fill-control-surface-disabled outline-border-disabled",false:""},disabled:{true:"bg-fill-control-surface-disabled outline-border-disabled pointer-events-none cursor-not-allowed",false:""}},compoundVariants:[{variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,className:"[&:hover]:bg-fill-control-surface-hovered [&:hover]:outline-border-default"},{variant:"success",focus:!1,error:!1,readOnly:!1,disabled:!1,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-success-stronger"},{focus:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-input-focused"},{error:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-danger-stronger"},{readOnly:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"},{disabled:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"}],defaultVariants:{variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1}}),uF=he(["typo-body-xs2-normal w-full flex-1 resize-none border-none bg-transparent p-0 ring-0 outline-none","hover:text-fg-default hover:placeholder:text-fg-subtler"].join(" "),{variants:{size:{sm:"typo-compact-sm-normal px-2.5",md:"typo-compact-sm2-normal px-2.5",lg:"typo-compact-sm2-normal px-2.5"},variant:{default:"text-fg-default placeholder:text-fg-subtler",success:"text-fg-default placeholder:text-fg-subtler"},focus:{true:"placeholder:text-fg-subtler",false:""},error:{true:"placeholder:text-fg-subtler",false:""},readOnly:{true:"placeholder:text-fg-default",false:""},disabled:{true:"text-fg-disabled placeholder:text-fg-disabled",false:""}},defaultVariants:{variant:"default"}}),{forwardRef:dF,useCallback:u_,useEffect:d_,useImperativeHandle:fF,useRef:pF,useState:f_}=await q("react"),hF=dF(({className:t="",variant:e,disabled:n,readOnly:r,type:o="text",maxLength:a,error:i,variableModal:s,handleChange:l,...u},d)=>{const f=pF(null),[m,v]=f_(0),[g,w]=f_(!1),y=u_((S,x)=>{w(x),x?u.onFocus?.(S):u.onBlur?.(S)},[u]),_=u_(S=>{const{value:x,name:C}=S.target;l?.(x,C),u.onChange?.(S),v(x.length)},[l,u]);return d_(()=>{f.current&&v((f.current.value??"").length)},[]),d_(()=>{f.current&&f.current.value.length>a&&(f.current.value=f.current.value.slice(0,a),dispatchEvent(new Event("change",{bubbles:!0})))},[a]),fF(d,()=>f.current),ne("div",{"data-slot":"text-area",className:ae(cF({variant:e,focus:g,readOnly:r,error:i,disabled:n}),t),children:[h("textarea",{"data-slot":"text-area-field",ref:f,...u,inputMode:o==="program"?"none":u.inputMode,disabled:n,readOnly:r,maxLength:a,onChange:_,onFocus:S=>y(S,!0),onBlur:S=>y(S,!1),className:uF({variant:e,focus:g,readOnly:r,error:i,disabled:n})}),!!a&&ne("p",{"data-slot":"text-area-count",className:"text-fg-subtler typo-body-xs2-normal p-0 text-right",children:[h("strong",{"data-slot":"text-area-count-current",className:"text-fg-default typo-body-xs2-medium",children:Wo(m)}),"/",Wo(a)]}),h(iw,{inputRef:f})]})});hF.displayName="RBTextArea";var N1={exports:{}},mF=N1.exports,p_;function ff(){return p_||(p_=1,(function(t,e){(function(n,r){t.exports=r()})(mF,(function(){var n=1e3,r=6e4,o=36e5,a="millisecond",i="second",s="minute",l="hour",u="day",d="week",f="month",m="quarter",v="year",g="date",w="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var V=["th","st","nd","rd"],z=N%100;return"["+N+(V[(z-20)%10]||V[z]||V[0])+"]"}},x=function(N,V,z){var I=String(N);return!I||I.length>=V?N:""+Array(V+1-I.length).join(z)+N},C={s:x,z:function(N){var V=-N.utcOffset(),z=Math.abs(V),I=Math.floor(z/60),D=z%60;return(V<=0?"+":"-")+x(I,2,"0")+":"+x(D,2,"0")},m:function N(V,z){if(V.date()<z.date())return-N(z,V);var I=12*(z.year()-V.year())+(z.month()-V.month()),D=V.clone().add(I,f),U=z-D<0,Y=V.clone().add(I+(U?-1:1),f);return+(-(I+(z-D)/(U?D-Y:Y-D))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:f,y:v,w:d,d:u,D:g,h:l,m:s,s:i,ms:a,Q:m}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},R="en",P={};P[R]=S;var O="$isDayjsObject",$=function(N){return N instanceof B||!(!N||!N[O])},A=function N(V,z,I){var D;if(!V)return R;if(typeof V=="string"){var U=V.toLowerCase();P[U]&&(D=U),z&&(P[U]=z,D=U);var Y=V.split("-");if(!D&&Y.length>1)return N(Y[0])}else{var oe=V.name;P[oe]=V,D=oe}return!I&&D&&(R=D),D||!I&&R},M=function(N,V){if($(N))return N.clone();var z=typeof V=="object"?V:{};return z.date=N,z.args=arguments,new B(z)},L=C;L.l=A,L.i=$,L.w=function(N,V){return M(N,{locale:V.$L,utc:V.$u,x:V.$x,$offset:V.$offset})};var B=(function(){function N(z){this.$L=A(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[O]=!0}var V=N.prototype;return V.parse=function(z){this.$d=(function(I){var D=I.date,U=I.utc;if(D===null)return new Date(NaN);if(L.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var Y=D.match(y);if(Y){var oe=Y[2]-1||0,Q=(Y[7]||"0").substring(0,3);return U?new Date(Date.UTC(Y[1],oe,Y[3]||1,Y[4]||0,Y[5]||0,Y[6]||0,Q)):new Date(Y[1],oe,Y[3]||1,Y[4]||0,Y[5]||0,Y[6]||0,Q)}}return new Date(D)})(z),this.init()},V.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},V.$utils=function(){return L},V.isValid=function(){return this.$d.toString()!==w},V.isSame=function(z,I){var D=M(z);return this.startOf(I)<=D&&D<=this.endOf(I)},V.isAfter=function(z,I){return M(z)<this.startOf(I)},V.isBefore=function(z,I){return this.endOf(I)<M(z)},V.$g=function(z,I,D){return L.u(z)?this[I]:this.set(D,z)},V.unix=function(){return Math.floor(this.valueOf()/1e3)},V.valueOf=function(){return this.$d.getTime()},V.startOf=function(z,I){var D=this,U=!!L.u(I)||I,Y=L.p(z),oe=function(we,ye){var Le=L.w(D.$u?Date.UTC(D.$y,ye,we):new Date(D.$y,ye,we),D);return U?Le:Le.endOf(u)},Q=function(we,ye){return L.w(D.toDate()[we].apply(D.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(ye)),D)},re=this.$W,le=this.$M,ee=this.$D,te="set"+(this.$u?"UTC":"");switch(Y){case v:return U?oe(1,0):oe(31,11);case f:return U?oe(1,le):oe(0,le+1);case d:var ue=this.$locale().weekStart||0,ve=(re<ue?re+7:re)-ue;return oe(U?ee-ve:ee+(6-ve),le);case u:case g:return Q(te+"Hours",0);case l:return Q(te+"Minutes",1);case s:return Q(te+"Seconds",2);case i:return Q(te+"Milliseconds",3);default:return this.clone()}},V.endOf=function(z){return this.startOf(z,!1)},V.$set=function(z,I){var D,U=L.p(z),Y="set"+(this.$u?"UTC":""),oe=(D={},D[u]=Y+"Date",D[g]=Y+"Date",D[f]=Y+"Month",D[v]=Y+"FullYear",D[l]=Y+"Hours",D[s]=Y+"Minutes",D[i]=Y+"Seconds",D[a]=Y+"Milliseconds",D)[U],Q=U===u?this.$D+(I-this.$W):I;if(U===f||U===v){var re=this.clone().set(g,1);re.$d[oe](Q),re.init(),this.$d=re.set(g,Math.min(this.$D,re.daysInMonth())).$d}else oe&&this.$d[oe](Q);return this.init(),this},V.set=function(z,I){return this.clone().$set(z,I)},V.get=function(z){return this[L.p(z)]()},V.add=function(z,I){var D,U=this;z=Number(z);var Y=L.p(I),oe=function(le){var ee=M(U);return L.w(ee.date(ee.date()+Math.round(le*z)),U)};if(Y===f)return this.set(f,this.$M+z);if(Y===v)return this.set(v,this.$y+z);if(Y===u)return oe(1);if(Y===d)return oe(7);var Q=(D={},D[s]=r,D[l]=o,D[i]=n,D)[Y]||1,re=this.$d.getTime()+z*Q;return L.w(re,this)},V.subtract=function(z,I){return this.add(-1*z,I)},V.format=function(z){var I=this,D=this.$locale();if(!this.isValid())return D.invalidDate||w;var U=z||"YYYY-MM-DDTHH:mm:ssZ",Y=L.z(this),oe=this.$H,Q=this.$m,re=this.$M,le=D.weekdays,ee=D.months,te=D.meridiem,ue=function(ye,Le,Oe,Ne){return ye&&(ye[Le]||ye(I,U))||Oe[Le].slice(0,Ne)},ve=function(ye){return L.s(oe%12||12,ye,"0")},we=te||function(ye,Le,Oe){var Ne=ye<12?"AM":"PM";return Oe?Ne.toLowerCase():Ne};return U.replace(_,(function(ye,Le){return Le||(function(Oe){switch(Oe){case"YY":return String(I.$y).slice(-2);case"YYYY":return L.s(I.$y,4,"0");case"M":return re+1;case"MM":return L.s(re+1,2,"0");case"MMM":return ue(D.monthsShort,re,ee,3);case"MMMM":return ue(ee,re);case"D":return I.$D;case"DD":return L.s(I.$D,2,"0");case"d":return String(I.$W);case"dd":return ue(D.weekdaysMin,I.$W,le,2);case"ddd":return ue(D.weekdaysShort,I.$W,le,3);case"dddd":return le[I.$W];case"H":return String(oe);case"HH":return L.s(oe,2,"0");case"h":return ve(1);case"hh":return ve(2);case"a":return we(oe,Q,!0);case"A":return we(oe,Q,!1);case"m":return String(Q);case"mm":return L.s(Q,2,"0");case"s":return String(I.$s);case"ss":return L.s(I.$s,2,"0");case"SSS":return L.s(I.$ms,3,"0");case"Z":return Y}return null})(ye)||Y.replace(":","")}))},V.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},V.diff=function(z,I,D){var U,Y=this,oe=L.p(I),Q=M(z),re=(Q.utcOffset()-this.utcOffset())*r,le=this-Q,ee=function(){return L.m(Y,Q)};switch(oe){case v:U=ee()/12;break;case f:U=ee();break;case m:U=ee()/3;break;case d:U=(le-re)/6048e5;break;case u:U=(le-re)/864e5;break;case l:U=le/o;break;case s:U=le/r;break;case i:U=le/n;break;default:U=le}return D?U:L.a(U)},V.daysInMonth=function(){return this.endOf(f).$D},V.$locale=function(){return P[this.$L]},V.locale=function(z,I){if(!z)return this.$L;var D=this.clone(),U=A(z,I,!0);return U&&(D.$L=U),D},V.clone=function(){return L.w(this.$d,this)},V.toDate=function(){return new Date(this.valueOf())},V.toJSON=function(){return this.isValid()?this.toISOString():null},V.toISOString=function(){return this.$d.toISOString()},V.toString=function(){return this.$d.toUTCString()},N})(),F=B.prototype;return M.prototype=F,[["$ms",a],["$s",i],["$m",s],["$H",l],["$W",u],["$M",f],["$y",v],["$D",g]].forEach((function(N){F[N[1]]=function(V){return this.$g(V,N[0],N[1])}})),M.extend=function(N,V){return N.$i||(N(V,B,M),N.$i=!0),M},M.locale=A,M.isDayjs=$,M.unix=function(N){return M(1e3*N)},M.en=P[R],M.Ls=P,M.p={},M}))})(N1)),N1.exports}var gF=ff();const Ro=Ea(gF);var P1={exports:{}},vF=P1.exports,h_;function wF(){return h_||(h_=1,(function(t,e){(function(n,r){t.exports=r()})(vF,(function(){return function(n,r){var o=r.prototype,a=o.format;o.format=function(i){var s=this,l=this.$locale();if(!this.isValid())return a.bind(this)(i);var u=this.$utils(),d=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(f){switch(f){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return l.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return l.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),f==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return f}}));return a.bind(this)(d)}}}))})(P1)),P1.exports}var bF=wF();const yF=Ea(bF);var A1={exports:{}},_F=A1.exports,m_;function xF(){return m_||(m_=1,(function(t,e){(function(n,r){t.exports=r()})(_F,(function(){return function(n,r,o){r.prototype.isBetween=function(a,i,s,l){var u=o(a),d=o(i),f=(l=l||"()")[0]==="(",m=l[1]===")";return(f?this.isAfter(u,s):!this.isBefore(u,s))&&(m?this.isBefore(d,s):!this.isAfter(d,s))||(f?this.isBefore(u,s):!this.isAfter(u,s))&&(m?this.isAfter(d,s):!this.isBefore(d,s))}}}))})(A1)),A1.exports}var SF=xF();const CF=Ea(SF);var I1={exports:{}},EF=I1.exports,g_;function MF(){return g_||(g_=1,(function(t,e){(function(n,r){t.exports=r()})(EF,(function(){return function(n,r,o){n=n||{};var a=r.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(u,d,f,m){return a.fromToBase(u,d,f,m)}o.en.relativeTime=i,a.fromToBase=function(u,d,f,m,v){for(var g,w,y,_=f.$locale().relativeTime||i,S=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],x=S.length,C=0;C<x;C+=1){var R=S[C];R.d&&(g=m?o(u).diff(f,R.d,!0):f.diff(u,R.d,!0));var P=(n.rounding||Math.round)(Math.abs(g));if(y=g>0,P<=R.r||!R.r){P<=1&&C>0&&(R=S[C-1]);var O=_[R.l];v&&(P=v(""+P)),w=typeof O=="string"?O.replace("%d",P):O(P,d,R.l,y);break}}if(d)return w;var $=y?_.future:_.past;return typeof $=="function"?$(w):$.replace("%s",w)},a.to=function(u,d){return s(u,d,this,!0)},a.from=function(u,d){return s(u,d,this)};var l=function(u){return u.$u?o.utc():o()};a.toNow=function(u){return this.to(l(this),u)},a.fromNow=function(u){return this.from(l(this),u)}}}))})(I1)),I1.exports}var kF=MF();const RF=Ea(kF);var O1={exports:{}},TF=O1.exports,v_;function NF(){return v_||(v_=1,(function(t,e){(function(n,r){t.exports=r()})(TF,(function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(o,a,i){var s,l=function(m,v,g){g===void 0&&(g={});var w=new Date(m),y=(function(_,S){S===void 0&&(S={});var x=S.timeZoneName||"short",C=_+"|"+x,R=r[C];return R||(R=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:_,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:x}),r[C]=R),R})(v,g);return y.formatToParts(w)},u=function(m,v){for(var g=l(m,v),w=[],y=0;y<g.length;y+=1){var _=g[y],S=_.type,x=_.value,C=n[S];C>=0&&(w[C]=parseInt(x,10))}var R=w[3],P=R===24?0:R,O=w[0]+"-"+w[1]+"-"+w[2]+" "+P+":"+w[4]+":"+w[5]+":000",$=+m;return(i.utc(O).valueOf()-($-=$%1e3))/6e4},d=a.prototype;d.tz=function(m,v){m===void 0&&(m=s);var g,w=this.utcOffset(),y=this.toDate(),_=y.toLocaleString("en-US",{timeZone:m}),S=Math.round((y-new Date(_))/1e3/60),x=15*-Math.round(y.getTimezoneOffset()/15)-S;if(!Number(x))g=this.utcOffset(0,v);else if(g=i(_,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(x,!0),v){var C=g.utcOffset();g=g.add(w-C,"minute")}return g.$x.$timezone=m,g},d.offsetName=function(m){var v=this.$x.$timezone||i.tz.guess(),g=l(this.valueOf(),v,{timeZoneName:m}).find((function(w){return w.type.toLowerCase()==="timezonename"}));return g&&g.value};var f=d.startOf;d.startOf=function(m,v){if(!this.$x||!this.$x.$timezone)return f.call(this,m,v);var g=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(g,m,v).tz(this.$x.$timezone,!0)},i.tz=function(m,v,g){var w=g&&v,y=g||v||s,_=u(+i(),y);if(typeof m!="string")return i(m).tz(y);var S=(function(P,O,$){var A=P-60*O*1e3,M=u(A,$);if(O===M)return[A,O];var L=u(A-=60*(M-O)*1e3,$);return M===L?[A,M]:[P-60*Math.min(M,L)*1e3,Math.max(M,L)]})(i.utc(m,w).valueOf(),_,y),x=S[0],C=S[1],R=i(x).utcOffset(C);return R.$x.$timezone=y,R},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(m){s=m}}}))})(O1)),O1.exports}var PF=NF();const AF=Ea(PF);var L1={exports:{}},IF=L1.exports,w_;function OF(){return w_||(w_=1,(function(t,e){(function(n,r){t.exports=r()})(IF,(function(){function n(){return n=Object.assign||function(r){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[i]=a[i])}return r},n.apply(this,arguments)}return function(r,o,a){a.updateLocale=function(i,s){var l=a.Ls[i];if(l)return(s?Object.keys(s):[]).forEach((function(u){l[u]&&s[u]&&typeof l[u]=="object"&&typeof s[u]=="object"&&!Array.isArray(l[u])?l[u]=n({},l[u],s[u]):l[u]=s[u]})),l}}}))})(L1)),L1.exports}var LF=OF();const $F=Ea(LF);var $1={exports:{}},DF=$1.exports,b_;function BF(){return b_||(b_=1,(function(t,e){(function(n,r){t.exports=r()})(DF,(function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(a,i,s){var l=i.prototype;s.utc=function(w){var y={date:w,utc:!0,args:arguments};return new i(y)},l.utc=function(w){var y=s(this.toDate(),{locale:this.$L,utc:!0});return w?y.add(this.utcOffset(),n):y},l.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var u=l.parse;l.parse=function(w){w.utc&&(this.$u=!0),this.$utils().u(w.$offset)||(this.$offset=w.$offset),u.call(this,w)};var d=l.init;l.init=function(){if(this.$u){var w=this.$d;this.$y=w.getUTCFullYear(),this.$M=w.getUTCMonth(),this.$D=w.getUTCDate(),this.$W=w.getUTCDay(),this.$H=w.getUTCHours(),this.$m=w.getUTCMinutes(),this.$s=w.getUTCSeconds(),this.$ms=w.getUTCMilliseconds()}else d.call(this)};var f=l.utcOffset;l.utcOffset=function(w,y){var _=this.$utils().u;if(_(w))return this.$u?0:_(this.$offset)?f.call(this):this.$offset;if(typeof w=="string"&&(w=(function(R){R===void 0&&(R="");var P=R.match(r);if(!P)return null;var O=(""+P[0]).match(o)||["-",0,0],$=O[0],A=60*+O[1]+ +O[2];return A===0?0:$==="+"?A:-A})(w),w===null))return this;var S=Math.abs(w)<=16?60*w:w;if(S===0)return this.utc(y);var x=this.clone();if(y)return x.$offset=S,x.$u=!1,x;var C=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(x=this.local().add(S+C,n)).$offset=S,x.$x.$localOffset=C,x};var m=l.format;l.format=function(w){var y=w||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,y)},l.valueOf=function(){var w=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*w},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var v=l.toDate;l.toDate=function(w){return w==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():v.call(this)};var g=l.diff;l.diff=function(w,y,_){if(w&&this.$u===w.$u)return g.call(this,w,y,_);var S=this.local(),x=s(w).local();return g.call(S,x,y,_)}}}))})($1)),$1.exports}var zF=BF();const FF=Ea(zF);var D1={exports:{}},VF=D1.exports,y_;function jF(){return y_||(y_=1,(function(t,e){(function(n,r){t.exports=r()})(VF,(function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var r=["th","st","nd","rd"],o=n%100;return"["+n+(r[(o-20)%10]||r[o]||r[0])+"]"}}}))})(D1)),D1.exports}jF();var B1={exports:{}},HF=B1.exports,__;function WF(){return __||(__=1,(function(t,e){(function(n,r){t.exports=r(ff())})(HF,(function(n){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(n),a={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(i){return i+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(i){return i<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return o.default.locale(a,null,!0),a}))})(B1)),B1.exports}WF();var z1={exports:{}},qF=z1.exports,x_;function UF(){return x_||(x_=1,(function(t,e){(function(n,r){t.exports=r(ff())})(qF,(function(n){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(n),a={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(i){return i+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return o.default.locale(a,null,!0),a}))})(z1)),z1.exports}UF();var F1={exports:{}},YF=F1.exports,S_;function GF(){return S_||(S_=1,(function(t,e){(function(n,r){t.exports=r(ff())})(YF,(function(n){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(n),a={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(i,s){return s==="W"?i+"周":i+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(i,s){var l=100*i+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return o.default.locale(a,null,!0),a}))})(F1)),F1.exports}GF();var V1={exports:{}},KF=V1.exports,C_;function XF(){return C_||(C_=1,(function(t,e){(function(n,r){t.exports=r(ff())})(KF,(function(n){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(n),a={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(i,s){return s==="W"?i+"週":i+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(i,s){var l=100*i+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return o.default.locale(a,null,!0),a}))})(V1)),V1.exports}XF();const ZF={name:"en",relativeTime:{future:"in %s",past:"%s ago",s:"1 seconds",ss:"%d seconds",m:"1 min",mm:"%d min",h:"1 hour",hh:"%d hours",d:"1 day",dd:"%d days",w:"1 week",ww:"%d weeks",M:"1 month",MM:"%d months",y:"1 year",yy:"%d years"}},QF={name:"ko",relativeTime:{future:"%s 이후",past:"%s 전",s:"1 초",ss:"%d 초",m:"1 분",mm:"%d 분",h:"1 시간",hh:"%d 시간",d:"1 일",dd:"%d 일",w:"1 주",ww:"%d 주",M:"1 달",MM:"%d 달",y:"1 년",yy:"%d 년"}},JF={name:"ja",relativeTime:{future:"%s後",past:"%s前",s:"1秒",ss:"%d秒",m:"1分钟",mm:"%d分",h:"一時間",hh:"%d時間",d:"一日",dd:"%d日",w:"一週間",ww:"%d週間",M:"一か月",MM:"%dか月",y:"一年",yy:"%d年"}},eV={name:"pt",relativeTime:{future:"%s depois",past:"%s atrás",s:"1 segundo",ss:"%d segundo",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"há um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}},tV={name:"zh-Hans",relativeTime:{future:"%s後",past:"%s前",s:"1秒",ss:"%d秒",m:"1分钟",mm:"%d分钟",h:"一小时",hh:"%d小时",d:"一天",dd:"%d天",w:"一周",ww:"%d周",M:"一个月",MM:"%d个月",y:"一年",yy:"%d年"}},nV={name:"zh-Hant",relativeTime:{future:"%s後",past:"%s前",s:"1秒",ss:"%d秒",m:"1分鐘",mm:"%d分鐘",h:"一小時",hh:"%d小時",d:"一天",dd:"%d天",w:"一週",ww:"%d週",M:"一個月",MM:"%d個月",y:"一年",yy:"%d年"}},rV={thresholds:[{l:"s",r:1},{l:"ss",r:59,d:"second"},{l:"m",r:1},{l:"mm",r:59,d:"minute"},{l:"h",r:1},{l:"hh",r:23,d:"hour"},{l:"d",r:1},{l:"dd",r:6,d:"day"},{l:"w",r:1},{l:"ww",r:3,d:"week"},{l:"M",r:1},{l:"MM",r:11,d:"month"},{l:"y",r:1},{l:"yy",d:"year"}],rounding:Math.floor};Ro.extend(FF);Ro.extend(AF);Ro.extend(CF);Ro.extend(yF);Ro.extend(RF,rV);Ro.extend($F);Ro.updateLocale("en",ZF);Ro.updateLocale("ko",QF);Ro.updateLocale("pt",eV);Ro.updateLocale("zh-cn",tV);Ro.updateLocale("zh-tw",nV);Ro.updateLocale("ja",JF);const ya=t=>Ro(t),oV=7,lw=t=>{switch(t){case"zh-Hant":return"zh-cn";case"zh-Hans":return"zh-tw";default:return t}},F8="YYYY-MM-DD",Ahe=()=>ya(ya().format(F8)),aV=t=>+ya(t).unix(),Xd=t=>+ya(String(t).length===13?t:t*1e3),Ihe=(t,e)=>ya(t).utc().format(e),V8=(t,e=F8,n="en")=>(n=lw(n),ya(typeof t=="string"?t:Xd(t)).locale(n).format(e)),iV=(t,e="en")=>(e=lw(e),t=Xd(t),ya(t).locale(e).fromNow()),sV=(t,e)=>{t=Xd(t);const n=ya(),r=ya(t);return Math.floor(r.diff(n,e,!0))},Ohe=(t,e="en")=>{e=lw(e);const n=typeof t=="string"?aV(t):t,r=Math.abs(sV(n,"day")),o=new Date().getFullYear(),a=ya(Xd(n)).format("YYYY"),i=r>=oV;let s=e==="ko"?"YYYY년 MM월 DD일":"MMM D, YYYY";return Number(o)===Number(a)&&(s=e==="ko"?"MM월 DD일":"MMM D"),i?ya(Xd(n)).format(s):iV(n,e)},lV=await q("react");function E_(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Ws(...t){return e=>{let n=!1;const r=t.map(o=>{const a=E_(o,e);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let o=0;o<r.length;o++){const a=r[o];typeof a=="function"?a():E_(t[o],null)}}}}function ln(...t){return lV.useCallback(Ws(...t),t)}const Hr=await q("react");var cV=Symbol.for("react.lazy"),g0=Hr[" use ".trim().toString()];function uV(t){return typeof t=="object"&&t!==null&&"then"in t}function j8(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===cV&&"_payload"in t&&uV(t._payload)}function H8(t){const e=dV(t),n=Hr.forwardRef((r,o)=>{let{children:a,...i}=r;j8(a)&&typeof g0=="function"&&(a=g0(a._payload));const s=Hr.Children.toArray(a),l=s.find(pV);if(l){const u=l.props.children,d=s.map(f=>f===l?Hr.Children.count(u)>1?Hr.Children.only(null):Hr.isValidElement(u)?u.props.children:null:f);return Z.jsx(e,{...i,ref:o,children:Hr.isValidElement(u)?Hr.cloneElement(u,void 0,d):null})}return Z.jsx(e,{...i,ref:o,children:a})});return n.displayName=`${t}.Slot`,n}var W8=H8("Slot");function dV(t){const e=Hr.forwardRef((n,r)=>{let{children:o,...a}=n;if(j8(o)&&typeof g0=="function"&&(o=g0(o._payload)),Hr.isValidElement(o)){const i=mV(o),s=hV(a,o.props);return o.type!==Hr.Fragment&&(s.ref=r?Ws(r,i):i),Hr.cloneElement(o,s)}return Hr.Children.count(o)>1?Hr.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var fV=Symbol("radix.slottable");function pV(t){return Hr.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===fV}function hV(t,e){const n={...e};for(const r in e){const o=t[r],a=e[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const l=a(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...t,...n}}function mV(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const X2=he("focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs",destructive:"bg-destructive hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60 text-white shadow-xs",outline:"bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 border shadow-xs",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-xs",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function Lhe({className:t,variant:e,size:n,asChild:r=!1,...o}){return h(r?W8:"button",{"data-slot":"button",className:ae(X2({variant:e,size:n,className:t})),...o})}const Oi=await q("react");function gV(t,e){const n=Oi.createContext(e),r=a=>{const{children:i,...s}=a,l=Oi.useMemo(()=>s,Object.values(s));return Z.jsx(n.Provider,{value:l,children:i})};r.displayName=t+"Provider";function o(a){const i=Oi.useContext(n);if(i)return i;if(e!==void 0)return e;throw new Error(`\`${a}\` must be used within \`${t}\``)}return[r,o]}function Go(t,e=[]){let n=[];function r(a,i){const s=Oi.createContext(i),l=n.length;n=[...n,i];const u=f=>{const{scope:m,children:v,...g}=f,w=m?.[t]?.[l]||s,y=Oi.useMemo(()=>g,Object.values(g));return Z.jsx(w.Provider,{value:y,children:v})};u.displayName=a+"Provider";function d(f,m){const v=m?.[t]?.[l]||s,g=Oi.useContext(v);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return[u,d]}const o=()=>{const a=n.map(i=>Oi.createContext(i));return function(s){const l=s?.[t]||a;return Oi.useMemo(()=>({[`__scope${t}`]:{...s,[t]:l}}),[s,l])}};return o.scopeName=t,[r,vV(o,...e)]}function vV(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=r.reduce((s,{useScope:l,scopeName:u})=>{const f=l(a)[`__scope${u}`];return{...s,...f}},{});return Oi.useMemo(()=>({[`__scope${e.scopeName}`]:i}),[i])}};return n.scopeName=e.scopeName,n}const no=await q("react");function M_(t){const e=wV(t),n=no.forwardRef((r,o)=>{const{children:a,...i}=r,s=no.Children.toArray(a),l=s.find(yV);if(l){const u=l.props.children,d=s.map(f=>f===l?no.Children.count(u)>1?no.Children.only(null):no.isValidElement(u)?u.props.children:null:f);return Z.jsx(e,{...i,ref:o,children:no.isValidElement(u)?no.cloneElement(u,void 0,d):null})}return Z.jsx(e,{...i,ref:o,children:a})});return n.displayName=`${t}.Slot`,n}function wV(t){const e=no.forwardRef((n,r)=>{const{children:o,...a}=n;if(no.isValidElement(o)){const i=xV(o),s=_V(a,o.props);return o.type!==no.Fragment&&(s.ref=r?Ws(r,i):i),no.cloneElement(o,s)}return no.Children.count(o)>1?no.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var bV=Symbol("radix.slottable");function yV(t){return no.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===bV}function _V(t,e){const n={...e};for(const r in e){const o=t[r],a=e[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const l=a(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...t,...n}}function xV(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const pl=await q("react");function J0(t){const e=t+"CollectionProvider",[n,r]=Go(e),[o,a]=n(e,{collectionRef:{current:null},itemMap:new Map}),i=w=>{const{scope:y,children:_}=w,S=pl.useRef(null),x=pl.useRef(new Map).current;return Z.jsx(o,{scope:y,itemMap:x,collectionRef:S,children:_})};i.displayName=e;const s=t+"CollectionSlot",l=M_(s),u=pl.forwardRef((w,y)=>{const{scope:_,children:S}=w,x=a(s,_),C=ln(y,x.collectionRef);return Z.jsx(l,{ref:C,children:S})});u.displayName=s;const d=t+"CollectionItemSlot",f="data-radix-collection-item",m=M_(d),v=pl.forwardRef((w,y)=>{const{scope:_,children:S,...x}=w,C=pl.useRef(null),R=ln(y,C),P=a(d,_);return pl.useEffect(()=>(P.itemMap.set(C,{ref:C,...x}),()=>void P.itemMap.delete(C))),Z.jsx(m,{[f]:"",ref:R,children:S})});v.displayName=d;function g(w){const y=a(t+"CollectionConsumer",w);return pl.useCallback(()=>{const S=y.collectionRef.current;if(!S)return[];const x=Array.from(S.querySelectorAll(`[${f}]`));return Array.from(y.itemMap.values()).sort((P,O)=>x.indexOf(P.ref.current)-x.indexOf(O.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:i,Slot:u,ItemSlot:v},g,r]}await q("react");const q8=await q("react");var SV=q8.createContext(void 0);function Kl(t){const e=q8.useContext(SV);return t||e||"ltr"}function it(t,e,{checkForDefaultPrevented:n=!0}={}){return function(o){if(t?.(o),n===!1||!o.defaultPrevented)return e?.(o)}}const CV=await q("react");var zi=globalThis?.document?CV.useLayoutEffect:()=>{};const U8=await q("react");var EV=U8[" useId ".trim().toString()]||(()=>{}),MV=0;function qo(t){const[e,n]=U8.useState(EV());return zi(()=>{n(r=>r??String(MV++))},[t]),t||(e?`radix-${e}`:"")}const ro=await q("react");function kV(t){const e=RV(t),n=ro.forwardRef((r,o)=>{const{children:a,...i}=r,s=ro.Children.toArray(a),l=s.find(NV);if(l){const u=l.props.children,d=s.map(f=>f===l?ro.Children.count(u)>1?ro.Children.only(null):ro.isValidElement(u)?u.props.children:null:f);return Z.jsx(e,{...i,ref:o,children:ro.isValidElement(u)?ro.cloneElement(u,void 0,d):null})}return Z.jsx(e,{...i,ref:o,children:a})});return n.displayName=`${t}.Slot`,n}function RV(t){const e=ro.forwardRef((n,r)=>{const{children:o,...a}=n;if(ro.isValidElement(o)){const i=AV(o),s=PV(a,o.props);return o.type!==ro.Fragment&&(s.ref=r?Ws(r,i):i),ro.cloneElement(o,s)}return ro.Children.count(o)>1?ro.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var TV=Symbol("radix.slottable");function NV(t){return ro.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===TV}function PV(t,e){const n={...e};for(const r in e){const o=t[r],a=e[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const l=a(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...t,...n}}function AV(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const IV=await q("react"),OV=await q("react-dom");var LV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Wt=LV.reduce((t,e)=>{const n=kV(`Primitive.${e}`),r=IV.forwardRef((o,a)=>{const{asChild:i,...s}=o,l=i?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Z.jsx(l,{...s,ref:a})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function Y8(t,e){t&&OV.flushSync(()=>t.dispatchEvent(e))}const Zm=await q("react");function vr(t){const e=Zm.useRef(t);return Zm.useEffect(()=>{e.current=t}),Zm.useMemo(()=>(...n)=>e.current?.(...n),[])}const $V=await q("react");function DV(t,e=globalThis?.document){const n=vr(t);$V.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[n,e])}const gr=await q("react");var BV="DismissableLayer",Z2="dismissableLayer.update",zV="dismissableLayer.pointerDownOutside",FV="dismissableLayer.focusOutside",k_,G8=gr.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),cw=gr.forwardRef((t,e)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:i,onDismiss:s,...l}=t,u=gr.useContext(G8),[d,f]=gr.useState(null),m=d?.ownerDocument??globalThis?.document,[,v]=gr.useState({}),g=ln(e,O=>f(O)),w=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),_=w.indexOf(y),S=d?w.indexOf(d):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,C=S>=_,R=HV(O=>{const $=O.target,A=[...u.branches].some(M=>M.contains($));!C||A||(o?.(O),i?.(O),O.defaultPrevented||s?.())},m),P=WV(O=>{const $=O.target;[...u.branches].some(M=>M.contains($))||(a?.(O),i?.(O),O.defaultPrevented||s?.())},m);return DV(O=>{S===u.layers.size-1&&(r?.(O),!O.defaultPrevented&&s&&(O.preventDefault(),s()))},m),gr.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(k_=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),R_(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=k_)}},[d,m,n,u]),gr.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),R_())},[d,u]),gr.useEffect(()=>{const O=()=>v({});return document.addEventListener(Z2,O),()=>document.removeEventListener(Z2,O)},[]),Z.jsx(Wt.div,{...l,ref:g,style:{pointerEvents:x?C?"auto":"none":void 0,...t.style},onFocusCapture:it(t.onFocusCapture,P.onFocusCapture),onBlurCapture:it(t.onBlurCapture,P.onBlurCapture),onPointerDownCapture:it(t.onPointerDownCapture,R.onPointerDownCapture)})});cw.displayName=BV;var VV="DismissableLayerBranch",jV=gr.forwardRef((t,e)=>{const n=gr.useContext(G8),r=gr.useRef(null),o=ln(e,r);return gr.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),Z.jsx(Wt.div,{...t,ref:o})});jV.displayName=VV;function HV(t,e=globalThis?.document){const n=vr(t),r=gr.useRef(!1),o=gr.useRef(()=>{});return gr.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let l=function(){K8(zV,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=l,e.addEventListener("click",o.current,{once:!0})):l()}else e.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),e.removeEventListener("pointerdown",a),e.removeEventListener("click",o.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function WV(t,e=globalThis?.document){const n=vr(t),r=gr.useRef(!1);return gr.useEffect(()=>{const o=a=>{a.target&&!r.current&&K8(FV,n,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function R_(){const t=new CustomEvent(Z2);document.dispatchEvent(t)}function K8(t,e,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),r?Y8(o,a):o.dispatchEvent(a)}const qV=await q("react");var Qm=0;function X8(){qV.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??T_()),document.body.insertAdjacentElement("beforeend",t[1]??T_()),Qm++,()=>{Qm===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Qm--}},[])}function T_(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}const hl=await q("react");var Jm="focusScope.autoFocusOnMount",eg="focusScope.autoFocusOnUnmount",N_={bubbles:!1,cancelable:!0},UV="FocusScope",uw=hl.forwardRef((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=t,[s,l]=hl.useState(null),u=vr(o),d=vr(a),f=hl.useRef(null),m=ln(e,w=>l(w)),v=hl.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;hl.useEffect(()=>{if(r){let w=function(x){if(v.paused||!s)return;const C=x.target;s.contains(C)?f.current=C:xs(f.current,{select:!0})},y=function(x){if(v.paused||!s)return;const C=x.relatedTarget;C!==null&&(s.contains(C)||xs(f.current,{select:!0}))},_=function(x){if(document.activeElement===document.body)for(const R of x)R.removedNodes.length>0&&xs(s)};document.addEventListener("focusin",w),document.addEventListener("focusout",y);const S=new MutationObserver(_);return s&&S.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",y),S.disconnect()}}},[r,s,v.paused]),hl.useEffect(()=>{if(s){A_.add(v);const w=document.activeElement;if(!s.contains(w)){const _=new CustomEvent(Jm,N_);s.addEventListener(Jm,u),s.dispatchEvent(_),_.defaultPrevented||(YV(QV(Z8(s)),{select:!0}),document.activeElement===w&&xs(s))}return()=>{s.removeEventListener(Jm,u),setTimeout(()=>{const _=new CustomEvent(eg,N_);s.addEventListener(eg,d),s.dispatchEvent(_),_.defaultPrevented||xs(w??document.body,{select:!0}),s.removeEventListener(eg,d),A_.remove(v)},0)}}},[s,u,d,v]);const g=hl.useCallback(w=>{if(!n&&!r||v.paused)return;const y=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,_=document.activeElement;if(y&&_){const S=w.currentTarget,[x,C]=GV(S);x&&C?!w.shiftKey&&_===C?(w.preventDefault(),n&&xs(x,{select:!0})):w.shiftKey&&_===x&&(w.preventDefault(),n&&xs(C,{select:!0})):_===S&&w.preventDefault()}},[n,r,v.paused]);return Z.jsx(Wt.div,{tabIndex:-1,...i,ref:m,onKeyDown:g})});uw.displayName=UV;function YV(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(xs(r,{select:e}),document.activeElement!==n)return}function GV(t){const e=Z8(t),n=P_(e,t),r=P_(e.reverse(),t);return[n,r]}function Z8(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function P_(t,e){for(const n of t)if(!KV(n,{upTo:e}))return n}function KV(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function XV(t){return t instanceof HTMLInputElement&&"select"in t}function xs(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&XV(t)&&e&&t.select()}}var A_=ZV();function ZV(){let t=[];return{add(e){const n=t[0];e!==n&&n?.pause(),t=I_(t,e),t.unshift(e)},remove(e){t=I_(t,e),t[0]?.resume()}}}function I_(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function QV(t){return t.filter(e=>e.tagName!=="A")}const JV=["top","right","bottom","left"],Ds=Math.min,Eo=Math.max,v0=Math.round,$p=Math.floor,ei=t=>({x:t,y:t}),ej={left:"right",right:"left",bottom:"top",top:"bottom"};function Q2(t,e,n){return Eo(t,Ds(e,n))}function Fi(t,e){return typeof t=="function"?t(e):t}function Vi(t){return t.split("-")[0]}function Cu(t){return t.split("-")[1]}function dw(t){return t==="x"?"y":"x"}function fw(t){return t==="y"?"height":"width"}function Ka(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function pw(t){return dw(Ka(t))}function tj(t,e,n){n===void 0&&(n=!1);const r=Cu(t),o=pw(t),a=fw(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(i=w0(i)),[i,w0(i)]}function nj(t){const e=w0(t);return[J2(t),e,J2(e)]}function J2(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const O_=["left","right"],L_=["right","left"],rj=["top","bottom"],oj=["bottom","top"];function aj(t,e,n){switch(t){case"top":case"bottom":return n?e?L_:O_:e?O_:L_;case"left":case"right":return e?rj:oj;default:return[]}}function ij(t,e,n,r){const o=Cu(t);let a=aj(Vi(t),n==="start",r);return o&&(a=a.map(i=>i+"-"+o),e&&(a=a.concat(a.map(J2)))),a}function w0(t){const e=Vi(t);return ej[e]+t.slice(e.length)}function sj(t){return{top:0,right:0,bottom:0,left:0,...t}}function Q8(t){return typeof t!="number"?sj(t):{top:t,right:t,bottom:t,left:t}}function b0(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function $_(t,e,n){let{reference:r,floating:o}=t;const a=Ka(e),i=pw(e),s=fw(i),l=Vi(e),u=a==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,m=r[s]/2-o[s]/2;let v;switch(l){case"top":v={x:d,y:r.y-o.height};break;case"bottom":v={x:d,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:f};break;case"left":v={x:r.x-o.width,y:f};break;default:v={x:r.x,y:r.y}}switch(Cu(e)){case"start":v[i]-=m*(n&&u?-1:1);break;case"end":v[i]+=m*(n&&u?-1:1);break}return v}async function lj(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:a,rects:i,elements:s,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:v=0}=Fi(e,t),g=Q8(v),y=s[m?f==="floating"?"reference":"floating":f],_=b0(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(y)))==null||n?y:y.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),S=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),C=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},R=b0(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:S,offsetParent:x,strategy:l}):S);return{top:(_.top-R.top+g.top)/C.y,bottom:(R.bottom-_.bottom+g.bottom)/C.y,left:(_.left-R.left+g.left)/C.x,right:(R.right-_.right+g.right)/C.x}}const cj=50,uj=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,s=i.detectOverflow?i:{...i,detectOverflow:lj},l=await(i.isRTL==null?void 0:i.isRTL(e));let u=await i.getElementRects({reference:t,floating:e,strategy:o}),{x:d,y:f}=$_(u,r,l),m=r,v=0;const g={};for(let w=0;w<a.length;w++){const y=a[w];if(!y)continue;const{name:_,fn:S}=y,{x,y:C,data:R,reset:P}=await S({x:d,y:f,initialPlacement:r,placement:m,strategy:o,middlewareData:g,rects:u,platform:s,elements:{reference:t,floating:e}});d=x??d,f=C??f,g[_]={...g[_],...R},P&&v<cj&&(v++,typeof P=="object"&&(P.placement&&(m=P.placement),P.rects&&(u=P.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:o}):P.rects),{x:d,y:f}=$_(u,m,l)),w=-1)}return{x:d,y:f,placement:m,strategy:o,middlewareData:g}},dj=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:a,platform:i,elements:s,middlewareData:l}=e,{element:u,padding:d=0}=Fi(t,e)||{};if(u==null)return{};const f=Q8(d),m={x:n,y:r},v=pw(o),g=fw(v),w=await i.getDimensions(u),y=v==="y",_=y?"top":"left",S=y?"bottom":"right",x=y?"clientHeight":"clientWidth",C=a.reference[g]+a.reference[v]-m[v]-a.floating[g],R=m[v]-a.reference[v],P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let O=P?P[x]:0;(!O||!await(i.isElement==null?void 0:i.isElement(P)))&&(O=s.floating[x]||a.floating[g]);const $=C/2-R/2,A=O/2-w[g]/2-1,M=Ds(f[_],A),L=Ds(f[S],A),B=M,F=O-w[g]-L,N=O/2-w[g]/2+$,V=Q2(B,N,F),z=!l.arrow&&Cu(o)!=null&&N!==V&&a.reference[g]/2-(N<B?M:L)-w[g]/2<0,I=z?N<B?N-B:N-F:0;return{[v]:m[v]+I,data:{[v]:V,centerOffset:N-V-I,...z&&{alignmentOffset:I}},reset:z}}}),fj=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:a,rects:i,initialPlacement:s,platform:l,elements:u}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:w=!0,...y}=Fi(t,e);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const _=Vi(o),S=Ka(s),x=Vi(s)===s,C=await(l.isRTL==null?void 0:l.isRTL(u.floating)),R=m||(x||!w?[w0(s)]:nj(s)),P=g!=="none";!m&&P&&R.push(...ij(s,w,g,C));const O=[s,...R],$=await l.detectOverflow(e,y),A=[];let M=((r=a.flip)==null?void 0:r.overflows)||[];if(d&&A.push($[_]),f){const N=tj(o,i,C);A.push($[N[0]],$[N[1]])}if(M=[...M,{placement:o,overflows:A}],!A.every(N=>N<=0)){var L,B;const N=(((L=a.flip)==null?void 0:L.index)||0)+1,V=O[N];if(V&&(!(f==="alignment"?S!==Ka(V):!1)||M.every(D=>Ka(D.placement)===S?D.overflows[0]>0:!0)))return{data:{index:N,overflows:M},reset:{placement:V}};let z=(B=M.filter(I=>I.overflows[0]<=0).sort((I,D)=>I.overflows[1]-D.overflows[1])[0])==null?void 0:B.placement;if(!z)switch(v){case"bestFit":{var F;const I=(F=M.filter(D=>{if(P){const U=Ka(D.placement);return U===S||U==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(U=>U>0).reduce((U,Y)=>U+Y,0)]).sort((D,U)=>D[1]-U[1])[0])==null?void 0:F[0];I&&(z=I);break}case"initialPlacement":z=s;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function D_(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function B_(t){return JV.some(e=>t[e]>=0)}const pj=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:r}=e,{strategy:o="referenceHidden",...a}=Fi(t,e);switch(o){case"referenceHidden":{const i=await r.detectOverflow(e,{...a,elementContext:"reference"}),s=D_(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:B_(s)}}}case"escaped":{const i=await r.detectOverflow(e,{...a,altBoundary:!0}),s=D_(i,n.floating);return{data:{escapedOffsets:s,escaped:B_(s)}}}default:return{}}}}},J8=new Set(["left","top"]);async function hj(t,e){const{placement:n,platform:r,elements:o}=t,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Vi(n),s=Cu(n),l=Ka(n)==="y",u=J8.has(i)?-1:1,d=a&&l?-1:1,f=Fi(e,t);let{mainAxis:m,crossAxis:v,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof g=="number"&&(v=s==="end"?g*-1:g),l?{x:v*d,y:m*u}:{x:m*u,y:v*d}}const mj=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:a,placement:i,middlewareData:s}=e,l=await hj(e,t);return i===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:i}}}}},gj=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o,platform:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:S,y:x}=_;return{x:S,y:x}}},...u}=Fi(t,e),d={x:n,y:r},f=await a.detectOverflow(e,u),m=Ka(Vi(o)),v=dw(m);let g=d[v],w=d[m];if(i){const _=v==="y"?"top":"left",S=v==="y"?"bottom":"right",x=g+f[_],C=g-f[S];g=Q2(x,g,C)}if(s){const _=m==="y"?"top":"left",S=m==="y"?"bottom":"right",x=w+f[_],C=w-f[S];w=Q2(x,w,C)}const y=l.fn({...e,[v]:g,[m]:w});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[v]:i,[m]:s}}}}}},vj=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:o,rects:a,middlewareData:i}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=Fi(t,e),d={x:n,y:r},f=Ka(o),m=dw(f);let v=d[m],g=d[f];const w=Fi(s,e),y=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(l){const x=m==="y"?"height":"width",C=a.reference[m]-a.floating[x]+y.mainAxis,R=a.reference[m]+a.reference[x]-y.mainAxis;v<C?v=C:v>R&&(v=R)}if(u){var _,S;const x=m==="y"?"width":"height",C=J8.has(Vi(o)),R=a.reference[f]-a.floating[x]+(C&&((_=i.offset)==null?void 0:_[f])||0)+(C?0:y.crossAxis),P=a.reference[f]+a.reference[x]+(C?0:((S=i.offset)==null?void 0:S[f])||0)-(C?y.crossAxis:0);g<R?g=R:g>P&&(g=P)}return{[m]:v,[f]:g}}}},wj=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:o,rects:a,platform:i,elements:s}=e,{apply:l=()=>{},...u}=Fi(t,e),d=await i.detectOverflow(e,u),f=Vi(o),m=Cu(o),v=Ka(o)==="y",{width:g,height:w}=a.floating;let y,_;f==="top"||f==="bottom"?(y=f,_=m===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(_=f,y=m==="end"?"top":"bottom");const S=w-d.top-d.bottom,x=g-d.left-d.right,C=Ds(w-d[y],S),R=Ds(g-d[_],x),P=!e.middlewareData.shift;let O=C,$=R;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&($=x),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(O=S),P&&!m){const M=Eo(d.left,0),L=Eo(d.right,0),B=Eo(d.top,0),F=Eo(d.bottom,0);v?$=g-2*(M!==0||L!==0?M+L:Eo(d.left,d.right)):O=w-2*(B!==0||F!==0?B+F:Eo(d.top,d.bottom))}await l({...e,availableWidth:$,availableHeight:O});const A=await i.getDimensions(s.floating);return g!==A.width||w!==A.height?{reset:{rects:!0}}:{}}}};function eh(){return typeof window<"u"}function Eu(t){return e7(t)?(t.nodeName||"").toLowerCase():"#document"}function Mo(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ai(t){var e;return(e=(e7(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function e7(t){return eh()?t instanceof Node||t instanceof Mo(t).Node:!1}function _a(t){return eh()?t instanceof Element||t instanceof Mo(t).Element:!1}function Wi(t){return eh()?t instanceof HTMLElement||t instanceof Mo(t).HTMLElement:!1}function z_(t){return!eh()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Mo(t).ShadowRoot}function pf(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=xa(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&o!=="inline"&&o!=="contents"}function bj(t){return/^(table|td|th)$/.test(Eu(t))}function th(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const yj=/transform|translate|scale|rotate|perspective|filter/,_j=/paint|layout|strict|content/,ml=t=>!!t&&t!=="none";let tg;function hw(t){const e=_a(t)?xa(t):t;return ml(e.transform)||ml(e.translate)||ml(e.scale)||ml(e.rotate)||ml(e.perspective)||!mw()&&(ml(e.backdropFilter)||ml(e.filter))||yj.test(e.willChange||"")||_j.test(e.contain||"")}function xj(t){let e=Bs(t);for(;Wi(e)&&!du(e);){if(hw(e))return e;if(th(e))return null;e=Bs(e)}return null}function mw(){return tg==null&&(tg=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),tg}function du(t){return/^(html|body|#document)$/.test(Eu(t))}function xa(t){return Mo(t).getComputedStyle(t)}function nh(t){return _a(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Bs(t){if(Eu(t)==="html")return t;const e=t.assignedSlot||t.parentNode||z_(t)&&t.host||ai(t);return z_(e)?e.host:e}function t7(t){const e=Bs(t);return du(e)?t.ownerDocument?t.ownerDocument.body:t.body:Wi(e)&&pf(e)?e:t7(e)}function Zd(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=t7(t),a=o===((r=t.ownerDocument)==null?void 0:r.body),i=Mo(o);if(a){const s=ev(i);return e.concat(i,i.visualViewport||[],pf(o)?o:[],s&&n?Zd(s):[])}else return e.concat(o,Zd(o,[],n))}function ev(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function n7(t){const e=xa(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=Wi(t),a=o?t.offsetWidth:n,i=o?t.offsetHeight:r,s=v0(n)!==a||v0(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function gw(t){return _a(t)?t:t.contextElement}function nu(t){const e=gw(t);if(!Wi(e))return ei(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:a}=n7(e);let i=(a?v0(n.width):n.width)/r,s=(a?v0(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const Sj=ei(0);function r7(t){const e=Mo(t);return!mw()||!e.visualViewport?Sj:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Cj(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Mo(t)?!1:e}function Bl(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=gw(t);let i=ei(1);e&&(r?_a(r)&&(i=nu(r)):i=nu(t));const s=Cj(a,n,r)?r7(a):ei(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(a){const m=Mo(a),v=r&&_a(r)?Mo(r):r;let g=m,w=ev(g);for(;w&&r&&v!==g;){const y=nu(w),_=w.getBoundingClientRect(),S=xa(w),x=_.left+(w.clientLeft+parseFloat(S.paddingLeft))*y.x,C=_.top+(w.clientTop+parseFloat(S.paddingTop))*y.y;l*=y.x,u*=y.y,d*=y.x,f*=y.y,l+=x,u+=C,g=Mo(w),w=ev(g)}}return b0({width:d,height:f,x:l,y:u})}function rh(t,e){const n=nh(t).scrollLeft;return e?e.left+n:Bl(ai(t)).left+n}function o7(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-rh(t,n),o=n.top+e.scrollTop;return{x:r,y:o}}function Ej(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const a=o==="fixed",i=ai(r),s=e?th(e.floating):!1;if(r===i||s&&a)return n;let l={scrollLeft:0,scrollTop:0},u=ei(1);const d=ei(0),f=Wi(r);if((f||!f&&!a)&&((Eu(r)!=="body"||pf(i))&&(l=nh(r)),f)){const v=Bl(r);u=nu(r),d.x=v.x+r.clientLeft,d.y=v.y+r.clientTop}const m=i&&!f&&!a?o7(i,l):ei(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+m.x,y:n.y*u.y-l.scrollTop*u.y+d.y+m.y}}function Mj(t){return Array.from(t.getClientRects())}function kj(t){const e=ai(t),n=nh(t),r=t.ownerDocument.body,o=Eo(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=Eo(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+rh(t);const s=-n.scrollTop;return xa(r).direction==="rtl"&&(i+=Eo(e.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:s}}const F_=25;function Rj(t,e){const n=Mo(t),r=ai(t),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;const d=mw();(!d||d&&e==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}const u=rh(r);if(u<=0){const d=r.ownerDocument,f=d.body,m=getComputedStyle(f),v=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,g=Math.abs(r.clientWidth-f.clientWidth-v);g<=F_&&(a-=g)}else u<=F_&&(a+=u);return{width:a,height:i,x:s,y:l}}function Tj(t,e){const n=Bl(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,a=Wi(t)?nu(t):ei(1),i=t.clientWidth*a.x,s=t.clientHeight*a.y,l=o*a.x,u=r*a.y;return{width:i,height:s,x:l,y:u}}function V_(t,e,n){let r;if(e==="viewport")r=Rj(t,n);else if(e==="document")r=kj(ai(t));else if(_a(e))r=Tj(e,n);else{const o=r7(t);r={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return b0(r)}function a7(t,e){const n=Bs(t);return n===e||!_a(n)||du(n)?!1:xa(n).position==="fixed"||a7(n,e)}function Nj(t,e){const n=e.get(t);if(n)return n;let r=Zd(t,[],!1).filter(s=>_a(s)&&Eu(s)!=="body"),o=null;const a=xa(t).position==="fixed";let i=a?Bs(t):t;for(;_a(i)&&!du(i);){const s=xa(i),l=hw(i);!l&&s.position==="fixed"&&(o=null),(a?!l&&!o:!l&&s.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||pf(i)&&!l&&a7(t,i))?r=r.filter(d=>d!==i):o=s,i=Bs(i)}return e.set(t,r),r}function Pj(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const i=[...n==="clippingAncestors"?th(e)?[]:Nj(e,this._c):[].concat(n),r],s=V_(e,i[0],o);let l=s.top,u=s.right,d=s.bottom,f=s.left;for(let m=1;m<i.length;m++){const v=V_(e,i[m],o);l=Eo(v.top,l),u=Ds(v.right,u),d=Ds(v.bottom,d),f=Eo(v.left,f)}return{width:u-f,height:d-l,x:f,y:l}}function Aj(t){const{width:e,height:n}=n7(t);return{width:e,height:n}}function Ij(t,e,n){const r=Wi(e),o=ai(e),a=n==="fixed",i=Bl(t,!0,a,e);let s={scrollLeft:0,scrollTop:0};const l=ei(0);function u(){l.x=rh(o)}if(r||!r&&!a)if((Eu(e)!=="body"||pf(o))&&(s=nh(e)),r){const v=Bl(e,!0,a,e);l.x=v.x+e.clientLeft,l.y=v.y+e.clientTop}else o&&u();a&&!r&&o&&u();const d=o&&!r&&!a?o7(o,s):ei(0),f=i.left+s.scrollLeft-l.x-d.x,m=i.top+s.scrollTop-l.y-d.y;return{x:f,y:m,width:i.width,height:i.height}}function ng(t){return xa(t).position==="static"}function j_(t,e){if(!Wi(t)||xa(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return ai(t)===n&&(n=n.ownerDocument.body),n}function i7(t,e){const n=Mo(t);if(th(t))return n;if(!Wi(t)){let o=Bs(t);for(;o&&!du(o);){if(_a(o)&&!ng(o))return o;o=Bs(o)}return n}let r=j_(t,e);for(;r&&bj(r)&&ng(r);)r=j_(r,e);return r&&du(r)&&ng(r)&&!hw(r)?n:r||xj(t)||n}const Oj=async function(t){const e=this.getOffsetParent||i7,n=this.getDimensions,r=await n(t.floating);return{reference:Ij(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Lj(t){return xa(t).direction==="rtl"}const $j={convertOffsetParentRelativeRectToViewportRelativeRect:Ej,getDocumentElement:ai,getClippingRect:Pj,getOffsetParent:i7,getElementRects:Oj,getClientRects:Mj,getDimensions:Aj,getScale:nu,isElement:_a,isRTL:Lj};function s7(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Dj(t,e){let n=null,r;const o=ai(t);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const u=t.getBoundingClientRect(),{left:d,top:f,width:m,height:v}=u;if(s||e(),!m||!v)return;const g=$p(f),w=$p(o.clientWidth-(d+m)),y=$p(o.clientHeight-(f+v)),_=$p(d),x={rootMargin:-g+"px "+-w+"px "+-y+"px "+-_+"px",threshold:Eo(0,Ds(1,l))||1};let C=!0;function R(P){const O=P[0].intersectionRatio;if(O!==l){if(!C)return i();O?i(!1,O):r=setTimeout(()=>{i(!1,1e-7)},1e3)}O===1&&!s7(u,t.getBoundingClientRect())&&i(),C=!1}try{n=new IntersectionObserver(R,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(R,x)}n.observe(t)}return i(!0),a}function l7(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=gw(t),d=o||a?[...u?Zd(u):[],...e?Zd(e):[]]:[];d.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),a&&_.addEventListener("resize",n)});const f=u&&s?Dj(u,n):null;let m=-1,v=null;i&&(v=new ResizeObserver(_=>{let[S]=_;S&&S.target===u&&v&&e&&(v.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var x;(x=v)==null||x.observe(e)})),n()}),u&&!l&&v.observe(u),e&&v.observe(e));let g,w=l?Bl(t):null;l&&y();function y(){const _=Bl(t);w&&!s7(w,_)&&n(),w=_,g=requestAnimationFrame(y)}return n(),()=>{var _;d.forEach(S=>{o&&S.removeEventListener("scroll",n),a&&S.removeEventListener("resize",n)}),f?.(),(_=v)==null||_.disconnect(),v=null,l&&cancelAnimationFrame(g)}}const Bj=mj,zj=gj,Fj=fj,Vj=wj,jj=pj,H_=dj,Hj=vj,Wj=(t,e,n)=>{const r=new Map,o={platform:$j,...n},a={...o.platform,_c:r};return uj(t,e,{...o,platform:a})},Cr=await q("react"),{useLayoutEffect:qj}=await q("react"),Uj=await q("react-dom");var Yj=typeof document<"u",Gj=function(){},j1=Yj?qj:Gj;function y0(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!y0(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&t.$$typeof)&&!y0(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function c7(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function W_(t,e){const n=c7(t);return Math.round(e*n)/n}function rg(t){const e=Cr.useRef(t);return j1(()=>{e.current=t}),e}function u7(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:s=!0,whileElementsMounted:l,open:u}=t,[d,f]=Cr.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,v]=Cr.useState(r);y0(m,r)||v(r);const[g,w]=Cr.useState(null),[y,_]=Cr.useState(null),S=Cr.useCallback(D=>{D!==P.current&&(P.current=D,w(D))},[]),x=Cr.useCallback(D=>{D!==O.current&&(O.current=D,_(D))},[]),C=a||g,R=i||y,P=Cr.useRef(null),O=Cr.useRef(null),$=Cr.useRef(d),A=l!=null,M=rg(l),L=rg(o),B=rg(u),F=Cr.useCallback(()=>{if(!P.current||!O.current)return;const D={placement:e,strategy:n,middleware:m};L.current&&(D.platform=L.current),Wj(P.current,O.current,D).then(U=>{const Y={...U,isPositioned:B.current!==!1};N.current&&!y0($.current,Y)&&($.current=Y,Uj.flushSync(()=>{f(Y)}))})},[m,e,n,L,B]);j1(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,f(D=>({...D,isPositioned:!1})))},[u]);const N=Cr.useRef(!1);j1(()=>(N.current=!0,()=>{N.current=!1}),[]),j1(()=>{if(C&&(P.current=C),R&&(O.current=R),C&&R){if(M.current)return M.current(C,R,F);F()}},[C,R,F,M,A]);const V=Cr.useMemo(()=>({reference:P,floating:O,setReference:S,setFloating:x}),[S,x]),z=Cr.useMemo(()=>({reference:C,floating:R}),[C,R]),I=Cr.useMemo(()=>{const D={position:n,left:0,top:0};if(!z.floating)return D;const U=W_(z.floating,d.x),Y=W_(z.floating,d.y);return s?{...D,transform:"translate("+U+"px, "+Y+"px)",...c7(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:U,top:Y}},[n,s,z.floating,d.x,d.y]);return Cr.useMemo(()=>({...d,update:F,refs:V,elements:z,floatingStyles:I}),[d,F,V,z,I])}const Kj=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:o}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?H_({element:r.current,padding:o}).fn(n):{}:r?H_({element:r,padding:o}).fn(n):{}}}},d7=(t,e)=>{const n=Bj(t);return{name:n.name,fn:n.fn,options:[t,e]}},f7=(t,e)=>{const n=zj(t);return{name:n.name,fn:n.fn,options:[t,e]}},Xj=(t,e)=>({fn:Hj(t).fn,options:[t,e]}),p7=(t,e)=>{const n=Fj(t);return{name:n.name,fn:n.fn,options:[t,e]}},h7=(t,e)=>{const n=Vj(t);return{name:n.name,fn:n.fn,options:[t,e]}},Zj=(t,e)=>{const n=jj(t);return{name:n.name,fn:n.fn,options:[t,e]}},Qj=(t,e)=>{const n=Kj(t);return{name:n.name,fn:n.fn,options:[t,e]}},Jj=await q("react");var eH="Arrow",m7=Jj.forwardRef((t,e)=>{const{children:n,width:r=10,height:o=5,...a}=t;return Z.jsx(Wt.svg,{...a,ref:e,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:Z.jsx("polygon",{points:"0,0 30,0 15,10"})})});m7.displayName=eH;var tH=m7;const nH=await q("react");function vw(t){const[e,n]=nH.useState(void 0);return zi(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const l=a.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,s=u.blockSize}else i=t.offsetWidth,s=t.offsetHeight;n({width:i,height:s})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}const Xa=await q("react");var ww="Popper",[g7,v7]=Go(ww),[rH,w7]=g7(ww),b7=t=>{const{__scopePopper:e,children:n}=t,[r,o]=Xa.useState(null);return Z.jsx(rH,{scope:e,anchor:r,onAnchorChange:o,children:n})};b7.displayName=ww;var y7="PopperAnchor",_7=Xa.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,a=w7(y7,n),i=Xa.useRef(null),s=ln(e,i),l=Xa.useRef(null);return Xa.useEffect(()=>{const u=l.current;l.current=r?.current||i.current,u!==l.current&&a.onAnchorChange(l.current)}),r?null:Z.jsx(Wt.div,{...o,ref:s})});_7.displayName=y7;var bw="PopperContent",[oH,aH]=g7(bw),x7=Xa.forwardRef((t,e)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:a="center",alignOffset:i=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:v="optimized",onPlaced:g,...w}=t,y=w7(bw,n),[_,S]=Xa.useState(null),x=ln(e,ue=>S(ue)),[C,R]=Xa.useState(null),P=vw(C),O=P?.width??0,$=P?.height??0,A=r+(a!=="center"?"-"+a:""),M=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},L=Array.isArray(u)?u:[u],B=L.length>0,F={padding:M,boundary:L.filter(sH),altBoundary:B},{refs:N,floatingStyles:V,placement:z,isPositioned:I,middlewareData:D}=u7({strategy:"fixed",placement:A,whileElementsMounted:(...ue)=>l7(...ue,{animationFrame:v==="always"}),elements:{reference:y.anchor},middleware:[d7({mainAxis:o+$,alignmentAxis:i}),l&&f7({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?Xj():void 0,...F}),l&&p7({...F}),h7({...F,apply:({elements:ue,rects:ve,availableWidth:we,availableHeight:ye})=>{const{width:Le,height:Oe}=ve.reference,Ne=ue.floating.style;Ne.setProperty("--radix-popper-available-width",`${we}px`),Ne.setProperty("--radix-popper-available-height",`${ye}px`),Ne.setProperty("--radix-popper-anchor-width",`${Le}px`),Ne.setProperty("--radix-popper-anchor-height",`${Oe}px`)}}),C&&Qj({element:C,padding:s}),lH({arrowWidth:O,arrowHeight:$}),m&&Zj({strategy:"referenceHidden",...F})]}),[U,Y]=E7(z),oe=vr(g);zi(()=>{I&&oe?.()},[I,oe]);const Q=D.arrow?.x,re=D.arrow?.y,le=D.arrow?.centerOffset!==0,[ee,te]=Xa.useState();return zi(()=>{_&&te(window.getComputedStyle(_).zIndex)},[_]),Z.jsx("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...V,transform:I?V.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ee,"--radix-popper-transform-origin":[D.transformOrigin?.x,D.transformOrigin?.y].join(" "),...D.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:Z.jsx(oH,{scope:n,placedSide:U,onArrowChange:R,arrowX:Q,arrowY:re,shouldHideArrow:le,children:Z.jsx(Wt.div,{"data-side":U,"data-align":Y,...w,ref:x,style:{...w.style,animation:I?void 0:"none"}})})})});x7.displayName=bw;var S7="PopperArrow",iH={top:"bottom",right:"left",bottom:"top",left:"right"},C7=Xa.forwardRef(function(e,n){const{__scopePopper:r,...o}=e,a=aH(S7,r),i=iH[a.placedSide];return Z.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:Z.jsx(tH,{...o,ref:n,style:{...o.style,display:"block"}})})});C7.displayName=S7;function sH(t){return t!==null}var lH=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:r,middlewareData:o}=e,i=o.arrow?.centerOffset!==0,s=i?0:t.arrowWidth,l=i?0:t.arrowHeight,[u,d]=E7(n),f={start:"0%",center:"50%",end:"100%"}[d],m=(o.arrow?.x??0)+s/2,v=(o.arrow?.y??0)+l/2;let g="",w="";return u==="bottom"?(g=i?f:`${m}px`,w=`${-l}px`):u==="top"?(g=i?f:`${m}px`,w=`${r.floating.height+l}px`):u==="right"?(g=`${-l}px`,w=i?f:`${v}px`):u==="left"&&(g=`${r.floating.width+l}px`,w=i?f:`${v}px`),{data:{x:g,y:w}}}});function E7(t){const[e,n="center"]=t.split("-");return[e,n]}var M7=b7,cH=_7,uH=x7,dH=C7;const q_=await q("react"),fH=await q("react-dom");var pH="Portal",yw=q_.forwardRef((t,e)=>{const{container:n,...r}=t,[o,a]=q_.useState(!1);zi(()=>a(!0),[]);const i=n||o&&globalThis?.document?.body;return i?fH.createPortal(Z.jsx(Wt.div,{...r,ref:e}),i):null});yw.displayName=pH;const Ss=await q("react"),hH=await q("react");function mH(t,e){return hH.useReducer((n,r)=>e[n][r]??n,t)}var To=t=>{const{present:e,children:n}=t,r=gH(e),o=typeof n=="function"?n({present:r.isPresent}):Ss.Children.only(n),a=ln(r.ref,vH(o));return typeof n=="function"||r.isPresent?Ss.cloneElement(o,{ref:a}):null};To.displayName="Presence";function gH(t){const[e,n]=Ss.useState(),r=Ss.useRef(null),o=Ss.useRef(t),a=Ss.useRef("none"),i=t?"mounted":"unmounted",[s,l]=mH(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Ss.useEffect(()=>{const u=Dp(r.current);a.current=s==="mounted"?u:"none"},[s]),zi(()=>{const u=r.current,d=o.current;if(d!==t){const m=a.current,v=Dp(u);t?l("MOUNT"):v==="none"||u?.display==="none"?l("UNMOUNT"):l(d&&m!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,l]),zi(()=>{if(e){let u;const d=e.ownerDocument.defaultView??window,f=v=>{const w=Dp(r.current).includes(CSS.escape(v.animationName));if(v.target===e&&w&&(l("ANIMATION_END"),!o.current)){const y=e.style.animationFillMode;e.style.animationFillMode="forwards",u=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=y)})}},m=v=>{v.target===e&&(a.current=Dp(r.current))};return e.addEventListener("animationstart",m),e.addEventListener("animationcancel",f),e.addEventListener("animationend",f),()=>{d.clearTimeout(u),e.removeEventListener("animationstart",m),e.removeEventListener("animationcancel",f),e.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Ss.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Dp(t){return t?.animationName||"none"}function vH(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const Ts=await q("react");var wH=Ts[" useInsertionEffect ".trim().toString()]||zi;function Ko({prop:t,defaultProp:e,onChange:n=()=>{},caller:r}){const[o,a,i]=bH({defaultProp:e,onChange:n}),s=t!==void 0,l=s?t:o;{const d=Ts.useRef(t!==void 0);Ts.useEffect(()=>{const f=d.current;f!==s&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=s},[s,r])}const u=Ts.useCallback(d=>{if(s){const f=yH(d)?d(t):d;f!==t&&i.current?.(f)}else a(d)},[s,t,a,i]);return[l,u]}function bH({defaultProp:t,onChange:e}){const[n,r]=Ts.useState(t),o=Ts.useRef(n),a=Ts.useRef(e);return wH(()=>{a.current=e},[e]),Ts.useEffect(()=>{o.current!==n&&(a.current?.(n),o.current=n)},[n,o]),[n,r,a]}function yH(t){return typeof t=="function"}await q("react");const _o=await q("react");var og="rovingFocusGroup.onEntryFocus",_H={bubbles:!1,cancelable:!0},hf="RovingFocusGroup",[tv,k7,xH]=J0(hf),[SH,qs]=Go(hf,[xH]),[CH,EH]=SH(hf),R7=_o.forwardRef((t,e)=>Z.jsx(tv.Provider,{scope:t.__scopeRovingFocusGroup,children:Z.jsx(tv.Slot,{scope:t.__scopeRovingFocusGroup,children:Z.jsx(MH,{...t,ref:e})})}));R7.displayName=hf;var MH=_o.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=t,m=_o.useRef(null),v=ln(e,m),g=Kl(a),[w,y]=Ko({prop:i,defaultProp:s??null,onChange:l,caller:hf}),[_,S]=_o.useState(!1),x=vr(u),C=k7(n),R=_o.useRef(!1),[P,O]=_o.useState(0);return _o.useEffect(()=>{const $=m.current;if($)return $.addEventListener(og,x),()=>$.removeEventListener(og,x)},[x]),Z.jsx(CH,{scope:n,orientation:r,dir:g,loop:o,currentTabStopId:w,onItemFocus:_o.useCallback($=>y($),[y]),onItemShiftTab:_o.useCallback(()=>S(!0),[]),onFocusableItemAdd:_o.useCallback(()=>O($=>$+1),[]),onFocusableItemRemove:_o.useCallback(()=>O($=>$-1),[]),children:Z.jsx(Wt.div,{tabIndex:_||P===0?-1:0,"data-orientation":r,...f,ref:v,style:{outline:"none",...t.style},onMouseDown:it(t.onMouseDown,()=>{R.current=!0}),onFocus:it(t.onFocus,$=>{const A=!R.current;if($.target===$.currentTarget&&A&&!_){const M=new CustomEvent(og,_H);if($.currentTarget.dispatchEvent(M),!M.defaultPrevented){const L=C().filter(z=>z.focusable),B=L.find(z=>z.active),F=L.find(z=>z.id===w),V=[B,F,...L].filter(Boolean).map(z=>z.ref.current);P7(V,d)}}R.current=!1}),onBlur:it(t.onBlur,()=>S(!1))})})}),T7="RovingFocusGroupItem",N7=_o.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:a,children:i,...s}=t,l=qo(),u=a||l,d=EH(T7,n),f=d.currentTabStopId===u,m=k7(n),{onFocusableItemAdd:v,onFocusableItemRemove:g,currentTabStopId:w}=d;return _o.useEffect(()=>{if(r)return v(),()=>g()},[r,v,g]),Z.jsx(tv.ItemSlot,{scope:n,id:u,focusable:r,active:o,children:Z.jsx(Wt.span,{tabIndex:f?0:-1,"data-orientation":d.orientation,...s,ref:e,onMouseDown:it(t.onMouseDown,y=>{r?d.onItemFocus(u):y.preventDefault()}),onFocus:it(t.onFocus,()=>d.onItemFocus(u)),onKeyDown:it(t.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){d.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const _=TH(y,d.orientation,d.dir);if(_!==void 0){if(y.metaKey||y.ctrlKey||y.altKey||y.shiftKey)return;y.preventDefault();let x=m().filter(C=>C.focusable).map(C=>C.ref.current);if(_==="last")x.reverse();else if(_==="prev"||_==="next"){_==="prev"&&x.reverse();const C=x.indexOf(y.currentTarget);x=d.loop?NH(x,C+1):x.slice(C+1)}setTimeout(()=>P7(x))}}),children:typeof i=="function"?i({isCurrentTabStop:f,hasTabStop:w!=null}):i})})});N7.displayName=T7;var kH={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function RH(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function TH(t,e,n){const r=RH(t.key,n);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return kH[r]}function P7(t,e=!1){const n=document.activeElement;for(const r of t)if(r===n||(r.focus({preventScroll:e}),document.activeElement!==n))return}function NH(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var oh=R7,ah=N7;const oo=await q("react");function PH(t){const e=AH(t),n=oo.forwardRef((r,o)=>{const{children:a,...i}=r,s=oo.Children.toArray(a),l=s.find(OH);if(l){const u=l.props.children,d=s.map(f=>f===l?oo.Children.count(u)>1?oo.Children.only(null):oo.isValidElement(u)?u.props.children:null:f);return Z.jsx(e,{...i,ref:o,children:oo.isValidElement(u)?oo.cloneElement(u,void 0,d):null})}return Z.jsx(e,{...i,ref:o,children:a})});return n.displayName=`${t}.Slot`,n}function AH(t){const e=oo.forwardRef((n,r)=>{const{children:o,...a}=n;if(oo.isValidElement(o)){const i=$H(o),s=LH(a,o.props);return o.type!==oo.Fragment&&(s.ref=r?Ws(r,i):i),oo.cloneElement(o,s)}return oo.Children.count(o)>1?oo.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var IH=Symbol("radix.slottable");function OH(t){return oo.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===IH}function LH(t,e){const n={...e};for(const r in e){const o=t[r],a=e[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const l=a(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...t,...n}}function $H(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var DH=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Nc=new WeakMap,Bp=new WeakMap,zp={},ag=0,A7=function(t){return t&&(t.host||A7(t.parentNode))},BH=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=A7(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},zH=function(t,e,n,r){var o=BH(e,Array.isArray(t)?t:[t]);zp[n]||(zp[n]=new WeakMap);var a=zp[n],i=[],s=new Set,l=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var d=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(m){if(s.has(m))d(m);else try{var v=m.getAttribute(r),g=v!==null&&v!=="false",w=(Nc.get(m)||0)+1,y=(a.get(m)||0)+1;Nc.set(m,w),a.set(m,y),i.push(m),w===1&&g&&Bp.set(m,!0),y===1&&m.setAttribute(n,"true"),g||m.setAttribute(r,"true")}catch(_){console.error("aria-hidden: cannot operate on ",m,_)}})};return d(e),s.clear(),ag++,function(){i.forEach(function(f){var m=Nc.get(f)-1,v=a.get(f)-1;Nc.set(f,m),a.set(f,v),m||(Bp.has(f)||f.removeAttribute(r),Bp.delete(f)),v||f.removeAttribute(n)}),ag--,ag||(Nc=new WeakMap,Nc=new WeakMap,Bp=new WeakMap,zp={})}},I7=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=DH(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),zH(r,o,n,"aria-hidden")):function(){return null}},Ga=function(){return Ga=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ga.apply(this,arguments)};function O7(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function FH(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,a;r<o;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}var H1="right-scroll-bar-position",W1="width-before-scroll-bar",VH="with-scroll-bars-hidden",jH="--removed-body-scroll-bar-size";function ig(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}const{useState:HH}=await q("react");function WH(t,e){var n=HH(function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=e,n.facade}const U_=await q("react");var qH=typeof window<"u"?U_.useLayoutEffect:U_.useEffect,Y_=new WeakMap;function UH(t,e){var n=WH(null,function(r){return t.forEach(function(o){return ig(o,r)})});return qH(function(){var r=Y_.get(n);if(r){var o=new Set(r),a=new Set(t),i=n.current;o.forEach(function(s){a.has(s)||ig(s,null)}),a.forEach(function(s){o.has(s)||ig(s,i)})}Y_.set(n,t)},[t]),n}function YH(t){return t}function GH(t,e){e===void 0&&(e=YH);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(a){var i=e(a,r);return n.push(i),function(){n=n.filter(function(s){return s!==i})}},assignSyncMedium:function(a){for(r=!0;n.length;){var i=n;n=[],i.forEach(a)}n={push:function(s){return a(s)},filter:function(){return n}}},assignMedium:function(a){r=!0;var i=[];if(n.length){var s=n;n=[],s.forEach(a),i=n}var l=function(){var d=i;i=[],d.forEach(a)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){i.push(d),u()},filter:function(d){return i=i.filter(d),n}}}};return o}function KH(t){t===void 0&&(t={});var e=GH(null);return e.options=Ga({async:!0,ssr:!1},t),e}const XH=await q("react");var L7=function(t){var e=t.sideCar,n=O7(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return XH.createElement(r,Ga({},n))};L7.isSideCarExport=!0;function ZH(t,e){return t.useMedium(e),L7}var $7=KH();const Ri=await q("react");var sg=function(){},ih=Ri.forwardRef(function(t,e){var n=Ri.useRef(null),r=Ri.useState({onScrollCapture:sg,onWheelCapture:sg,onTouchMoveCapture:sg}),o=r[0],a=r[1],i=t.forwardProps,s=t.children,l=t.className,u=t.removeScrollBar,d=t.enabled,f=t.shards,m=t.sideCar,v=t.noRelative,g=t.noIsolation,w=t.inert,y=t.allowPinchZoom,_=t.as,S=_===void 0?"div":_,x=t.gapMode,C=O7(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=m,P=UH([n,e]),O=Ga(Ga({},C),o);return Ri.createElement(Ri.Fragment,null,d&&Ri.createElement(R,{sideCar:$7,removeScrollBar:u,shards:f,noRelative:v,noIsolation:g,inert:w,setCallbacks:a,allowPinchZoom:!!y,lockRef:n,gapMode:x}),i?Ri.cloneElement(Ri.Children.only(s),Ga(Ga({},O),{ref:P})):Ri.createElement(S,Ga({},O,{className:l,ref:P}),s))});ih.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ih.classNames={fullWidth:W1,zeroRight:H1};var QH=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function JH(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=QH();return e&&t.setAttribute("nonce",e),t}function eW(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function tW(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var nW=function(){var t=0,e=null;return{add:function(n){t==0&&(e=JH())&&(eW(e,n),tW(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}};const rW=await q("react");var oW=function(){var t=nW();return function(e,n){rW.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&n])}},D7=function(){var t=oW(),e=function(n){var r=n.styles,o=n.dynamic;return t(r,o),null};return e},aW={left:0,top:0,right:0,gap:0},lg=function(t){return parseInt(t||"",10)||0},iW=function(t){var e=window.getComputedStyle(document.body),n=e[t==="padding"?"paddingLeft":"marginLeft"],r=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[lg(n),lg(r),lg(o)]},sW=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return aW;var e=iW(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}};const nv=await q("react");var lW=D7(),ru="data-scroll-locked",cW=function(t,e,n,r){var o=t.left,a=t.top,i=t.right,s=t.gap;return n===void 0&&(n="margin"),`
88
+ .`.concat(VH,` {
89
+ overflow: hidden `).concat(r,`;
90
+ padding-right: `).concat(s,"px ").concat(r,`;
91
+ }
92
+ body[`).concat(ru,`] {
93
+ overflow: hidden `).concat(r,`;
94
+ overscroll-behavior: contain;
95
+ `).concat([e&&"position: relative ".concat(r,";"),n==="margin"&&`
96
+ padding-left: `.concat(o,`px;
97
+ padding-top: `).concat(a,`px;
98
+ padding-right: `).concat(i,`px;
99
+ margin-left:0;
100
+ margin-top:0;
101
+ margin-right: `).concat(s,"px ").concat(r,`;
102
+ `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
103
+ }
104
+
105
+ .`).concat(H1,` {
106
+ right: `).concat(s,"px ").concat(r,`;
107
+ }
108
+
109
+ .`).concat(W1,` {
110
+ margin-right: `).concat(s,"px ").concat(r,`;
111
+ }
112
+
113
+ .`).concat(H1," .").concat(H1,` {
114
+ right: 0 `).concat(r,`;
115
+ }
116
+
117
+ .`).concat(W1," .").concat(W1,` {
118
+ margin-right: 0 `).concat(r,`;
119
+ }
120
+
121
+ body[`).concat(ru,`] {
122
+ `).concat(jH,": ").concat(s,`px;
123
+ }
124
+ `)},G_=function(){var t=parseInt(document.body.getAttribute(ru)||"0",10);return isFinite(t)?t:0},uW=function(){nv.useEffect(function(){return document.body.setAttribute(ru,(G_()+1).toString()),function(){var t=G_()-1;t<=0?document.body.removeAttribute(ru):document.body.setAttribute(ru,t.toString())}},[])},dW=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,o=r===void 0?"margin":r;uW();var a=nv.useMemo(function(){return sW(o)},[o]);return nv.createElement(lW,{styles:cW(a,!e,o,n?"":"!important")})},rv=!1;if(typeof window<"u")try{var Fp=Object.defineProperty({},"passive",{get:function(){return rv=!0,!0}});window.addEventListener("test",Fp,Fp),window.removeEventListener("test",Fp,Fp)}catch{rv=!1}var Pc=rv?{passive:!1}:!1,fW=function(t){return t.tagName==="TEXTAREA"},B7=function(t,e){if(!(t instanceof Element))return!1;var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!fW(t)&&n[e]==="visible")},pW=function(t){return B7(t,"overflowY")},hW=function(t){return B7(t,"overflowX")},K_=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=z7(t,r);if(o){var a=F7(t,r),i=a[1],s=a[2];if(i>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},mW=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},gW=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},z7=function(t,e){return t==="v"?pW(e):hW(e)},F7=function(t,e){return t==="v"?mW(e):gW(e)},vW=function(t,e){return t==="h"&&e==="rtl"?-1:1},wW=function(t,e,n,r,o){var a=vW(t,window.getComputedStyle(e).direction),i=a*r,s=n.target,l=e.contains(s),u=!1,d=i>0,f=0,m=0;do{if(!s)break;var v=F7(t,s),g=v[0],w=v[1],y=v[2],_=w-y-a*g;(g||_)&&z7(t,s)&&(f+=_,m+=g);var S=s.parentNode;s=S&&S.nodeType===Node.DOCUMENT_FRAGMENT_NODE?S.host:S}while(!l&&s!==document.body||l&&(e.contains(s)||e===s));return(d&&Math.abs(f)<1||!d&&Math.abs(m)<1)&&(u=!0),u};const or=await q("react");var Vp=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},X_=function(t){return[t.deltaX,t.deltaY]},Z_=function(t){return t&&"current"in t?t.current:t},bW=function(t,e){return t[0]===e[0]&&t[1]===e[1]},yW=function(t){return`
125
+ .block-interactivity-`.concat(t,` {pointer-events: none;}
126
+ .allow-interactivity-`).concat(t,` {pointer-events: all;}
127
+ `)},_W=0,Ac=[];function xW(t){var e=or.useRef([]),n=or.useRef([0,0]),r=or.useRef(),o=or.useState(_W++)[0],a=or.useState(D7)[0],i=or.useRef(t);or.useEffect(function(){i.current=t},[t]),or.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var w=FH([t.lockRef.current],(t.shards||[]).map(Z_),!0).filter(Boolean);return w.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),w.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var s=or.useCallback(function(w,y){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!i.current.allowPinchZoom;var _=Vp(w),S=n.current,x="deltaX"in w?w.deltaX:S[0]-_[0],C="deltaY"in w?w.deltaY:S[1]-_[1],R,P=w.target,O=Math.abs(x)>Math.abs(C)?"h":"v";if("touches"in w&&O==="h"&&P.type==="range")return!1;var $=window.getSelection(),A=$&&$.anchorNode,M=A?A===P||A.contains(P):!1;if(M)return!1;var L=K_(O,P);if(!L)return!0;if(L?R=O:(R=O==="v"?"h":"v",L=K_(O,P)),!L)return!1;if(!r.current&&"changedTouches"in w&&(x||C)&&(r.current=R),!R)return!0;var B=r.current||R;return wW(B,y,w,B==="h"?x:C)},[]),l=or.useCallback(function(w){var y=w;if(!(!Ac.length||Ac[Ac.length-1]!==a)){var _="deltaY"in y?X_(y):Vp(y),S=e.current.filter(function(R){return R.name===y.type&&(R.target===y.target||y.target===R.shadowParent)&&bW(R.delta,_)})[0];if(S&&S.should){y.cancelable&&y.preventDefault();return}if(!S){var x=(i.current.shards||[]).map(Z_).filter(Boolean).filter(function(R){return R.contains(y.target)}),C=x.length>0?s(y,x[0]):!i.current.noIsolation;C&&y.cancelable&&y.preventDefault()}}},[]),u=or.useCallback(function(w,y,_,S){var x={name:w,delta:y,target:_,should:S,shadowParent:SW(_)};e.current.push(x),setTimeout(function(){e.current=e.current.filter(function(C){return C!==x})},1)},[]),d=or.useCallback(function(w){n.current=Vp(w),r.current=void 0},[]),f=or.useCallback(function(w){u(w.type,X_(w),w.target,s(w,t.lockRef.current))},[]),m=or.useCallback(function(w){u(w.type,Vp(w),w.target,s(w,t.lockRef.current))},[]);or.useEffect(function(){return Ac.push(a),t.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Pc),document.addEventListener("touchmove",l,Pc),document.addEventListener("touchstart",d,Pc),function(){Ac=Ac.filter(function(w){return w!==a}),document.removeEventListener("wheel",l,Pc),document.removeEventListener("touchmove",l,Pc),document.removeEventListener("touchstart",d,Pc)}},[]);var v=t.removeScrollBar,g=t.inert;return or.createElement(or.Fragment,null,g?or.createElement(a,{styles:yW(o)}):null,v?or.createElement(dW,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function SW(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const CW=ZH($7,xW),Q_=await q("react");var _w=Q_.forwardRef(function(t,e){return Q_.createElement(ih,Ga({},t,{ref:e,sideCar:CW}))});_w.classNames=ih.classNames;const St=await q("react");var ov=["Enter"," "],EW=["ArrowDown","PageUp","Home"],V7=["ArrowUp","PageDown","End"],MW=[...EW,...V7],kW={ltr:[...ov,"ArrowRight"],rtl:[...ov,"ArrowLeft"]},RW={ltr:["ArrowLeft"],rtl:["ArrowRight"]},mf="Menu",[Qd,TW,NW]=J0(mf),[Xl,xw]=Go(mf,[NW,v7,qs]),gf=v7(),j7=qs(),[H7,Us]=Xl(mf),[PW,vf]=Xl(mf),W7=t=>{const{__scopeMenu:e,open:n=!1,children:r,dir:o,onOpenChange:a,modal:i=!0}=t,s=gf(e),[l,u]=St.useState(null),d=St.useRef(!1),f=vr(a),m=Kl(o);return St.useEffect(()=>{const v=()=>{d.current=!0,document.addEventListener("pointerdown",g,{capture:!0,once:!0}),document.addEventListener("pointermove",g,{capture:!0,once:!0})},g=()=>d.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",g,{capture:!0}),document.removeEventListener("pointermove",g,{capture:!0})}},[]),Z.jsx(M7,{...s,children:Z.jsx(H7,{scope:e,open:n,onOpenChange:f,content:l,onContentChange:u,children:Z.jsx(PW,{scope:e,onClose:St.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:m,modal:i,children:r})})})};W7.displayName=mf;var AW="MenuAnchor",Sw=St.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t,o=gf(n);return Z.jsx(cH,{...o,...r,ref:e})});Sw.displayName=AW;var Cw="MenuPortal",[IW,q7]=Xl(Cw,{forceMount:void 0}),U7=t=>{const{__scopeMenu:e,forceMount:n,children:r,container:o}=t,a=Us(Cw,e);return Z.jsx(IW,{scope:e,forceMount:n,children:Z.jsx(To,{present:n||a.open,children:Z.jsx(yw,{asChild:!0,container:o,children:r})})})};U7.displayName=Cw;var Uo="MenuContent",[OW,Ew]=Xl(Uo),Y7=St.forwardRef((t,e)=>{const n=q7(Uo,t.__scopeMenu),{forceMount:r=n.forceMount,...o}=t,a=Us(Uo,t.__scopeMenu),i=vf(Uo,t.__scopeMenu);return Z.jsx(Qd.Provider,{scope:t.__scopeMenu,children:Z.jsx(To,{present:r||a.open,children:Z.jsx(Qd.Slot,{scope:t.__scopeMenu,children:i.modal?Z.jsx(LW,{...o,ref:e}):Z.jsx($W,{...o,ref:e})})})})}),LW=St.forwardRef((t,e)=>{const n=Us(Uo,t.__scopeMenu),r=St.useRef(null),o=ln(e,r);return St.useEffect(()=>{const a=r.current;if(a)return I7(a)},[]),Z.jsx(Mw,{...t,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:it(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),$W=St.forwardRef((t,e)=>{const n=Us(Uo,t.__scopeMenu);return Z.jsx(Mw,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),DW=PH("MenuContent.ScrollLock"),Mw=St.forwardRef((t,e)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:s,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:m,onDismiss:v,disableOutsideScroll:g,...w}=t,y=Us(Uo,n),_=vf(Uo,n),S=gf(n),x=j7(n),C=TW(n),[R,P]=St.useState(null),O=St.useRef(null),$=ln(e,O,y.onContentChange),A=St.useRef(0),M=St.useRef(""),L=St.useRef(0),B=St.useRef(null),F=St.useRef("right"),N=St.useRef(0),V=g?_w:St.Fragment,z=g?{as:DW,allowPinchZoom:!0}:void 0,I=U=>{const Y=M.current+U,oe=C().filter(ue=>!ue.disabled),Q=document.activeElement,re=oe.find(ue=>ue.ref.current===Q)?.textValue,le=oe.map(ue=>ue.textValue),ee=KW(le,Y,re),te=oe.find(ue=>ue.textValue===ee)?.ref.current;(function ue(ve){M.current=ve,window.clearTimeout(A.current),ve!==""&&(A.current=window.setTimeout(()=>ue(""),1e3))})(Y),te&&setTimeout(()=>te.focus())};St.useEffect(()=>()=>window.clearTimeout(A.current),[]),X8();const D=St.useCallback(U=>F.current===B.current?.side&&ZW(U,B.current?.area),[]);return Z.jsx(OW,{scope:n,searchRef:M,onItemEnter:St.useCallback(U=>{D(U)&&U.preventDefault()},[D]),onItemLeave:St.useCallback(U=>{D(U)||(O.current?.focus(),P(null))},[D]),onTriggerLeave:St.useCallback(U=>{D(U)&&U.preventDefault()},[D]),pointerGraceTimerRef:L,onPointerGraceIntentChange:St.useCallback(U=>{B.current=U},[]),children:Z.jsx(V,{...z,children:Z.jsx(uw,{asChild:!0,trapped:o,onMountAutoFocus:it(a,U=>{U.preventDefault(),O.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:i,children:Z.jsx(cw,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:m,onDismiss:v,children:Z.jsx(oh,{asChild:!0,...x,dir:_.dir,orientation:"vertical",loop:r,currentTabStopId:R,onCurrentTabStopIdChange:P,onEntryFocus:it(l,U=>{_.isUsingKeyboardRef.current||U.preventDefault()}),preventScrollOnEntryFocus:!0,children:Z.jsx(uH,{role:"menu","aria-orientation":"vertical","data-state":u9(y.open),"data-radix-menu-content":"",dir:_.dir,...S,...w,ref:$,style:{outline:"none",...w.style},onKeyDown:it(w.onKeyDown,U=>{const oe=U.target.closest("[data-radix-menu-content]")===U.currentTarget,Q=U.ctrlKey||U.altKey||U.metaKey,re=U.key.length===1;oe&&(U.key==="Tab"&&U.preventDefault(),!Q&&re&&I(U.key));const le=O.current;if(U.target!==le||!MW.includes(U.key))return;U.preventDefault();const te=C().filter(ue=>!ue.disabled).map(ue=>ue.ref.current);V7.includes(U.key)&&te.reverse(),YW(te)}),onBlur:it(t.onBlur,U=>{U.currentTarget.contains(U.target)||(window.clearTimeout(A.current),M.current="")}),onPointerMove:it(t.onPointerMove,Jd(U=>{const Y=U.target,oe=N.current!==U.clientX;if(U.currentTarget.contains(Y)&&oe){const Q=U.clientX>N.current?"right":"left";F.current=Q,N.current=U.clientX}}))})})})})})})});Y7.displayName=Uo;var BW="MenuGroup",kw=St.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t;return Z.jsx(Wt.div,{role:"group",...r,ref:e})});kw.displayName=BW;var zW="MenuLabel",G7=St.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t;return Z.jsx(Wt.div,{...r,ref:e})});G7.displayName=zW;var _0="MenuItem",J_="menu.itemSelect",sh=St.forwardRef((t,e)=>{const{disabled:n=!1,onSelect:r,...o}=t,a=St.useRef(null),i=vf(_0,t.__scopeMenu),s=Ew(_0,t.__scopeMenu),l=ln(e,a),u=St.useRef(!1),d=()=>{const f=a.current;if(!n&&f){const m=new CustomEvent(J_,{bubbles:!0,cancelable:!0});f.addEventListener(J_,v=>r?.(v),{once:!0}),Y8(f,m),m.defaultPrevented?u.current=!1:i.onClose()}};return Z.jsx(K7,{...o,ref:l,disabled:n,onClick:it(t.onClick,d),onPointerDown:f=>{t.onPointerDown?.(f),u.current=!0},onPointerUp:it(t.onPointerUp,f=>{u.current||f.currentTarget?.click()}),onKeyDown:it(t.onKeyDown,f=>{const m=s.searchRef.current!=="";n||m&&f.key===" "||ov.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})})});sh.displayName=_0;var K7=St.forwardRef((t,e)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...a}=t,i=Ew(_0,n),s=j7(n),l=St.useRef(null),u=ln(e,l),[d,f]=St.useState(!1),[m,v]=St.useState("");return St.useEffect(()=>{const g=l.current;g&&v((g.textContent??"").trim())},[a.children]),Z.jsx(Qd.ItemSlot,{scope:n,disabled:r,textValue:o??m,children:Z.jsx(ah,{asChild:!0,...s,focusable:!r,children:Z.jsx(Wt.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...a,ref:u,onPointerMove:it(t.onPointerMove,Jd(g=>{r?i.onItemLeave(g):(i.onItemEnter(g),g.defaultPrevented||g.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:it(t.onPointerLeave,Jd(g=>i.onItemLeave(g))),onFocus:it(t.onFocus,()=>f(!0)),onBlur:it(t.onBlur,()=>f(!1))})})})}),FW="MenuCheckboxItem",X7=St.forwardRef((t,e)=>{const{checked:n=!1,onCheckedChange:r,...o}=t;return Z.jsx(t9,{scope:t.__scopeMenu,checked:n,children:Z.jsx(sh,{role:"menuitemcheckbox","aria-checked":x0(n)?"mixed":n,...o,ref:e,"data-state":Nw(n),onSelect:it(o.onSelect,()=>r?.(x0(n)?!0:!n),{checkForDefaultPrevented:!1})})})});X7.displayName=FW;var Z7="MenuRadioGroup",[VW,jW]=Xl(Z7,{value:void 0,onValueChange:()=>{}}),Q7=St.forwardRef((t,e)=>{const{value:n,onValueChange:r,...o}=t,a=vr(r);return Z.jsx(VW,{scope:t.__scopeMenu,value:n,onValueChange:a,children:Z.jsx(kw,{...o,ref:e})})});Q7.displayName=Z7;var J7="MenuRadioItem",e9=St.forwardRef((t,e)=>{const{value:n,...r}=t,o=jW(J7,t.__scopeMenu),a=n===o.value;return Z.jsx(t9,{scope:t.__scopeMenu,checked:a,children:Z.jsx(sh,{role:"menuitemradio","aria-checked":a,...r,ref:e,"data-state":Nw(a),onSelect:it(r.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});e9.displayName=J7;var Rw="MenuItemIndicator",[t9,HW]=Xl(Rw,{checked:!1}),n9=St.forwardRef((t,e)=>{const{__scopeMenu:n,forceMount:r,...o}=t,a=HW(Rw,n);return Z.jsx(To,{present:r||x0(a.checked)||a.checked===!0,children:Z.jsx(Wt.span,{...o,ref:e,"data-state":Nw(a.checked)})})});n9.displayName=Rw;var WW="MenuSeparator",r9=St.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t;return Z.jsx(Wt.div,{role:"separator","aria-orientation":"horizontal",...r,ref:e})});r9.displayName=WW;var qW="MenuArrow",o9=St.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t,o=gf(n);return Z.jsx(dH,{...o,...r,ref:e})});o9.displayName=qW;var Tw="MenuSub",[UW,a9]=Xl(Tw),i9=t=>{const{__scopeMenu:e,children:n,open:r=!1,onOpenChange:o}=t,a=Us(Tw,e),i=gf(e),[s,l]=St.useState(null),[u,d]=St.useState(null),f=vr(o);return St.useEffect(()=>(a.open===!1&&f(!1),()=>f(!1)),[a.open,f]),Z.jsx(M7,{...i,children:Z.jsx(H7,{scope:e,open:r,onOpenChange:f,content:u,onContentChange:d,children:Z.jsx(UW,{scope:e,contentId:qo(),triggerId:qo(),trigger:s,onTriggerChange:l,children:n})})})};i9.displayName=Tw;var Ld="MenuSubTrigger",s9=St.forwardRef((t,e)=>{const n=Us(Ld,t.__scopeMenu),r=vf(Ld,t.__scopeMenu),o=a9(Ld,t.__scopeMenu),a=Ew(Ld,t.__scopeMenu),i=St.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:l}=a,u={__scopeMenu:t.__scopeMenu},d=St.useCallback(()=>{i.current&&window.clearTimeout(i.current),i.current=null},[]);return St.useEffect(()=>d,[d]),St.useEffect(()=>{const f=s.current;return()=>{window.clearTimeout(f),l(null)}},[s,l]),Z.jsx(Sw,{asChild:!0,...u,children:Z.jsx(K7,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":u9(n.open),...t,ref:Ws(e,o.onTriggerChange),onClick:f=>{t.onClick?.(f),!(t.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:it(t.onPointerMove,Jd(f=>{a.onItemEnter(f),!f.defaultPrevented&&!t.disabled&&!n.open&&!i.current&&(a.onPointerGraceIntentChange(null),i.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:it(t.onPointerLeave,Jd(f=>{d();const m=n.content?.getBoundingClientRect();if(m){const v=n.content?.dataset.side,g=v==="right",w=g?-5:5,y=m[g?"left":"right"],_=m[g?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+w,y:f.clientY},{x:y,y:m.top},{x:_,y:m.top},{x:_,y:m.bottom},{x:y,y:m.bottom}],side:v}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(f),f.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:it(t.onKeyDown,f=>{const m=a.searchRef.current!=="";t.disabled||m&&f.key===" "||kW[r.dir].includes(f.key)&&(n.onOpenChange(!0),n.content?.focus(),f.preventDefault())})})})});s9.displayName=Ld;var l9="MenuSubContent",c9=St.forwardRef((t,e)=>{const n=q7(Uo,t.__scopeMenu),{forceMount:r=n.forceMount,...o}=t,a=Us(Uo,t.__scopeMenu),i=vf(Uo,t.__scopeMenu),s=a9(l9,t.__scopeMenu),l=St.useRef(null),u=ln(e,l);return Z.jsx(Qd.Provider,{scope:t.__scopeMenu,children:Z.jsx(To,{present:r||a.open,children:Z.jsx(Qd.Slot,{scope:t.__scopeMenu,children:Z.jsx(Mw,{id:s.contentId,"aria-labelledby":s.triggerId,...o,ref:u,align:"start",side:i.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{i.isUsingKeyboardRef.current&&l.current?.focus(),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:it(t.onFocusOutside,d=>{d.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:it(t.onEscapeKeyDown,d=>{i.onClose(),d.preventDefault()}),onKeyDown:it(t.onKeyDown,d=>{const f=d.currentTarget.contains(d.target),m=RW[i.dir].includes(d.key);f&&m&&(a.onOpenChange(!1),s.trigger?.focus(),d.preventDefault())})})})})})});c9.displayName=l9;function u9(t){return t?"open":"closed"}function x0(t){return t==="indeterminate"}function Nw(t){return x0(t)?"indeterminate":t?"checked":"unchecked"}function YW(t){const e=document.activeElement;for(const n of t)if(n===e||(n.focus(),document.activeElement!==e))return}function GW(t,e){return t.map((n,r)=>t[(e+r)%t.length])}function KW(t,e,n){const o=e.length>1&&Array.from(e).every(u=>u===e[0])?e[0]:e,a=n?t.indexOf(n):-1;let i=GW(t,Math.max(a,0));o.length===1&&(i=i.filter(u=>u!==n));const l=i.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function XW(t,e){const{x:n,y:r}=t;let o=!1;for(let a=0,i=e.length-1;a<e.length;i=a++){const s=e[a],l=e[i],u=s.x,d=s.y,f=l.x,m=l.y;d>r!=m>r&&n<(f-u)*(r-d)/(m-d)+u&&(o=!o)}return o}function ZW(t,e){if(!e)return!1;const n={x:t.clientX,y:t.clientY};return XW(n,e)}function Jd(t){return e=>e.pointerType==="mouse"?t(e):void 0}var d9=W7,f9=Sw,p9=U7,h9=Y7,m9=kw,g9=G7,v9=sh,w9=X7,b9=Q7,y9=e9,_9=n9,x9=r9,S9=o9,C9=i9,E9=s9,M9=c9;const An=await q("react");var wf="Menubar",[av,QW,JW]=J0(wf),[k9]=Go(wf,[JW,qs]),Ar=xw(),R9=qs(),[eq,Pw]=k9(wf),T9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,value:r,onValueChange:o,defaultValue:a,loop:i=!0,dir:s,...l}=t,u=Kl(s),d=R9(n),[f,m]=Ko({prop:r,onChange:o,defaultProp:a??"",caller:wf}),[v,g]=An.useState(null);return Z.jsx(eq,{scope:n,value:f,onMenuOpen:An.useCallback(w=>{m(w),g(w)},[m]),onMenuClose:An.useCallback(()=>m(""),[m]),onMenuToggle:An.useCallback(w=>{m(y=>y?"":w),g(w)},[m]),dir:u,loop:i,children:Z.jsx(av.Provider,{scope:n,children:Z.jsx(av.Slot,{scope:n,children:Z.jsx(oh,{asChild:!0,...d,orientation:"horizontal",loop:i,dir:u,currentTabStopId:v,onCurrentTabStopIdChange:g,children:Z.jsx(Wt.div,{role:"menubar",...l,ref:e})})})})})});T9.displayName=wf;var Aw="MenubarMenu",[tq,N9]=k9(Aw),P9=t=>{const{__scopeMenubar:e,value:n,...r}=t,o=qo(),a=n||o||"LEGACY_REACT_AUTO_VALUE",i=Pw(Aw,e),s=Ar(e),l=An.useRef(null),u=An.useRef(!1),d=i.value===a;return An.useEffect(()=>{d||(u.current=!1)},[d]),Z.jsx(tq,{scope:e,value:a,triggerId:qo(),triggerRef:l,contentId:qo(),wasKeyboardTriggerOpenRef:u,children:Z.jsx(d9,{...s,open:d,onOpenChange:f=>{f||i.onMenuClose()},modal:!1,dir:i.dir,...r})})};P9.displayName=Aw;var iv="MenubarTrigger",A9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,disabled:r=!1,...o}=t,a=R9(n),i=Ar(n),s=Pw(iv,n),l=N9(iv,n),u=An.useRef(null),d=ln(e,u,l.triggerRef),[f,m]=An.useState(!1),v=s.value===l.value;return Z.jsx(av.ItemSlot,{scope:n,value:l.value,disabled:r,children:Z.jsx(ah,{asChild:!0,...a,focusable:!r,tabStopId:l.value,children:Z.jsx(f9,{asChild:!0,...i,children:Z.jsx(Wt.button,{type:"button",role:"menuitem",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":v,"aria-controls":v?l.contentId:void 0,"data-highlighted":f?"":void 0,"data-state":v?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:d,onPointerDown:it(t.onPointerDown,g=>{!r&&g.button===0&&g.ctrlKey===!1&&(s.onMenuOpen(l.value),v||g.preventDefault())}),onPointerEnter:it(t.onPointerEnter,()=>{!!s.value&&!v&&(s.onMenuOpen(l.value),u.current?.focus())}),onKeyDown:it(t.onKeyDown,g=>{r||(["Enter"," "].includes(g.key)&&s.onMenuToggle(l.value),g.key==="ArrowDown"&&s.onMenuOpen(l.value),["Enter"," ","ArrowDown"].includes(g.key)&&(l.wasKeyboardTriggerOpenRef.current=!0,g.preventDefault()))}),onFocus:it(t.onFocus,()=>m(!0)),onBlur:it(t.onBlur,()=>m(!1))})})})})});A9.displayName=iv;var nq="MenubarPortal",I9=t=>{const{__scopeMenubar:e,...n}=t,r=Ar(e);return Z.jsx(p9,{...r,...n})};I9.displayName=nq;var sv="MenubarContent",O9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,align:r="start",...o}=t,a=Ar(n),i=Pw(sv,n),s=N9(sv,n),l=QW(n),u=An.useRef(!1);return Z.jsx(h9,{id:s.contentId,"aria-labelledby":s.triggerId,"data-radix-menubar-content":"",...a,...o,ref:e,align:r,onCloseAutoFocus:it(t.onCloseAutoFocus,d=>{!!!i.value&&!u.current&&s.triggerRef.current?.focus(),u.current=!1,d.preventDefault()}),onFocusOutside:it(t.onFocusOutside,d=>{const f=d.target;l().some(v=>v.ref.current?.contains(f))&&d.preventDefault()}),onInteractOutside:it(t.onInteractOutside,()=>{u.current=!0}),onEntryFocus:d=>{s.wasKeyboardTriggerOpenRef.current||d.preventDefault()},onKeyDown:it(t.onKeyDown,d=>{if(["ArrowRight","ArrowLeft"].includes(d.key)){const f=d.target,m=f.hasAttribute("data-radix-menubar-subtrigger"),v=f.closest("[data-radix-menubar-content]")!==d.currentTarget,w=(i.dir==="rtl"?"ArrowRight":"ArrowLeft")===d.key;if(!w&&m||v&&w)return;let S=l().filter(R=>!R.disabled).map(R=>R.value);w&&S.reverse();const x=S.indexOf(s.value);S=i.loop?mq(S,x+1):S.slice(x+1);const[C]=S;C&&i.onMenuOpen(C)}},{checkForDefaultPrevented:!1}),style:{...t.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});O9.displayName=sv;var rq="MenubarGroup",L9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(m9,{...o,...r,ref:e})});L9.displayName=rq;var oq="MenubarLabel",$9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(g9,{...o,...r,ref:e})});$9.displayName=oq;var aq="MenubarItem",D9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(v9,{...o,...r,ref:e})});D9.displayName=aq;var iq="MenubarCheckboxItem",B9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(w9,{...o,...r,ref:e})});B9.displayName=iq;var sq="MenubarRadioGroup",z9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(b9,{...o,...r,ref:e})});z9.displayName=sq;var lq="MenubarRadioItem",F9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(y9,{...o,...r,ref:e})});F9.displayName=lq;var cq="MenubarItemIndicator",V9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(_9,{...o,...r,ref:e})});V9.displayName=cq;var uq="MenubarSeparator",j9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(x9,{...o,...r,ref:e})});j9.displayName=uq;var dq="MenubarArrow",fq=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(S9,{...o,...r,ref:e})});fq.displayName=dq;var H9="MenubarSub",W9=t=>{const{__scopeMenubar:e,children:n,open:r,onOpenChange:o,defaultOpen:a}=t,i=Ar(e),[s,l]=Ko({prop:r,defaultProp:a??!1,onChange:o,caller:H9});return Z.jsx(C9,{...i,open:s,onOpenChange:l,children:n})};W9.displayName=H9;var pq="MenubarSubTrigger",q9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(E9,{"data-radix-menubar-subtrigger":"",...o,...r,ref:e})});q9.displayName=pq;var hq="MenubarSubContent",U9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(M9,{...o,"data-radix-menubar-content":"",...r,ref:e,style:{...t.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});U9.displayName=hq;function mq(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var gq=T9,vq=P9,wq=A9,Y9=I9,bq=O9,yq=L9,_q=$9,xq=D9,Sq=B9,Cq=z9,Eq=F9,G9=V9,Mq=j9,kq=W9,Rq=q9,Tq=U9;/**
128
+ * @license lucide-react v0.486.0 - ISC
129
+ *
130
+ * This source code is licensed under the ISC license.
131
+ * See the LICENSE file in the root directory of this source tree.
132
+ */const Nq=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Pq=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,r)=>r?r.toUpperCase():n.toLowerCase()),e4=t=>{const e=Pq(t);return e.charAt(0).toUpperCase()+e.slice(1)},K9=(...t)=>t.filter((e,n,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===n).join(" ").trim();/**
133
+ * @license lucide-react v0.486.0 - ISC
134
+ *
135
+ * This source code is licensed under the ISC license.
136
+ * See the LICENSE file in the root directory of this source tree.
137
+ */var Aq={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
138
+ * @license lucide-react v0.486.0 - ISC
139
+ *
140
+ * This source code is licensed under the ISC license.
141
+ * See the LICENSE file in the root directory of this source tree.
142
+ */const{forwardRef:Iq,createElement:t4}=await q("react"),Oq=Iq(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:a,iconNode:i,...s},l)=>t4("svg",{ref:l,...Aq,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:K9("lucide",o),...s},[...i.map(([u,d])=>t4(u,d)),...Array.isArray(a)?a:[a]]));/**
143
+ * @license lucide-react v0.486.0 - ISC
144
+ *
145
+ * This source code is licensed under the ISC license.
146
+ * See the LICENSE file in the root directory of this source tree.
147
+ */const{forwardRef:Lq,createElement:$q}=await q("react"),lh=(t,e)=>{const n=Lq(({className:r,...o},a)=>$q(Oq,{ref:a,iconNode:e,className:K9(`lucide-${Nq(e4(t))}`,`lucide-${t}`,r),...o}));return n.displayName=e4(t),n};/**
148
+ * @license lucide-react v0.486.0 - ISC
149
+ *
150
+ * This source code is licensed under the ISC license.
151
+ * See the LICENSE file in the root directory of this source tree.
152
+ */const Dq=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Bq=lh("chevron-left",Dq);/**
153
+ * @license lucide-react v0.486.0 - ISC
154
+ *
155
+ * This source code is licensed under the ISC license.
156
+ * See the LICENSE file in the root directory of this source tree.
157
+ */const zq=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Fq=lh("chevron-right",zq);/**
158
+ * @license lucide-react v0.486.0 - ISC
159
+ *
160
+ * This source code is licensed under the ISC license.
161
+ * See the LICENSE file in the root directory of this source tree.
162
+ */const Vq=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],jq=lh("rotate-cw",Vq);/**
163
+ * @license lucide-react v0.486.0 - ISC
164
+ *
165
+ * This source code is licensed under the ISC license.
166
+ * See the LICENSE file in the root directory of this source tree.
167
+ */const Hq=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],X9=lh("x",Hq);function Iw(t,[e,n]){return Math.min(n,Math.max(e,t))}const kt=await q("react"),Wq=await q("react");function qq(t,e){return Wq.useReducer((n,r)=>e[n][r]??n,t)}var Ow="ScrollArea",[Z9]=Go(Ow),[Uq,Xo]=Z9(Ow),Q9=kt.forwardRef((t,e)=>{const{__scopeScrollArea:n,type:r="hover",dir:o,scrollHideDelay:a=600,...i}=t,[s,l]=kt.useState(null),[u,d]=kt.useState(null),[f,m]=kt.useState(null),[v,g]=kt.useState(null),[w,y]=kt.useState(null),[_,S]=kt.useState(0),[x,C]=kt.useState(0),[R,P]=kt.useState(!1),[O,$]=kt.useState(!1),A=ln(e,L=>l(L)),M=Kl(o);return Z.jsx(Uq,{scope:n,type:r,dir:M,scrollHideDelay:a,scrollArea:s,viewport:u,onViewportChange:d,content:f,onContentChange:m,scrollbarX:v,onScrollbarXChange:g,scrollbarXEnabled:R,onScrollbarXEnabledChange:P,scrollbarY:w,onScrollbarYChange:y,scrollbarYEnabled:O,onScrollbarYEnabledChange:$,onCornerWidthChange:S,onCornerHeightChange:C,children:Z.jsx(Wt.div,{dir:M,...i,ref:A,style:{position:"relative","--radix-scroll-area-corner-width":_+"px","--radix-scroll-area-corner-height":x+"px",...t.style}})})});Q9.displayName=Ow;var J9="ScrollAreaViewport",eS=kt.forwardRef((t,e)=>{const{__scopeScrollArea:n,children:r,nonce:o,...a}=t,i=Xo(J9,n),s=kt.useRef(null),l=ln(e,s,i.onViewportChange);return Z.jsxs(Z.Fragment,{children:[Z.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),Z.jsx(Wt.div,{"data-radix-scroll-area-viewport":"",...a,ref:l,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...t.style},children:Z.jsx("div",{ref:i.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});eS.displayName=J9;var ii="ScrollAreaScrollbar",tS=kt.forwardRef((t,e)=>{const{forceMount:n,...r}=t,o=Xo(ii,t.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:i}=o,s=t.orientation==="horizontal";return kt.useEffect(()=>(s?a(!0):i(!0),()=>{s?a(!1):i(!1)}),[s,a,i]),o.type==="hover"?Z.jsx(Yq,{...r,ref:e,forceMount:n}):o.type==="scroll"?Z.jsx(Gq,{...r,ref:e,forceMount:n}):o.type==="auto"?Z.jsx(nS,{...r,ref:e,forceMount:n}):o.type==="always"?Z.jsx(Lw,{...r,ref:e}):null});tS.displayName=ii;var Yq=kt.forwardRef((t,e)=>{const{forceMount:n,...r}=t,o=Xo(ii,t.__scopeScrollArea),[a,i]=kt.useState(!1);return kt.useEffect(()=>{const s=o.scrollArea;let l=0;if(s){const u=()=>{window.clearTimeout(l),i(!0)},d=()=>{l=window.setTimeout(()=>i(!1),o.scrollHideDelay)};return s.addEventListener("pointerenter",u),s.addEventListener("pointerleave",d),()=>{window.clearTimeout(l),s.removeEventListener("pointerenter",u),s.removeEventListener("pointerleave",d)}}},[o.scrollArea,o.scrollHideDelay]),Z.jsx(To,{present:n||a,children:Z.jsx(nS,{"data-state":a?"visible":"hidden",...r,ref:e})})}),Gq=kt.forwardRef((t,e)=>{const{forceMount:n,...r}=t,o=Xo(ii,t.__scopeScrollArea),a=t.orientation==="horizontal",i=uh(()=>l("SCROLL_END"),100),[s,l]=qq("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return kt.useEffect(()=>{if(s==="idle"){const u=window.setTimeout(()=>l("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(u)}},[s,o.scrollHideDelay,l]),kt.useEffect(()=>{const u=o.viewport,d=a?"scrollLeft":"scrollTop";if(u){let f=u[d];const m=()=>{const v=u[d];f!==v&&(l("SCROLL"),i()),f=v};return u.addEventListener("scroll",m),()=>u.removeEventListener("scroll",m)}},[o.viewport,a,l,i]),Z.jsx(To,{present:n||s!=="hidden",children:Z.jsx(Lw,{"data-state":s==="hidden"?"hidden":"visible",...r,ref:e,onPointerEnter:it(t.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:it(t.onPointerLeave,()=>l("POINTER_LEAVE"))})})}),nS=kt.forwardRef((t,e)=>{const n=Xo(ii,t.__scopeScrollArea),{forceMount:r,...o}=t,[a,i]=kt.useState(!1),s=t.orientation==="horizontal",l=uh(()=>{if(n.viewport){const u=n.viewport.offsetWidth<n.viewport.scrollWidth,d=n.viewport.offsetHeight<n.viewport.scrollHeight;i(s?u:d)}},10);return fu(n.viewport,l),fu(n.content,l),Z.jsx(To,{present:r||a,children:Z.jsx(Lw,{"data-state":a?"visible":"hidden",...o,ref:e})})}),Lw=kt.forwardRef((t,e)=>{const{orientation:n="vertical",...r}=t,o=Xo(ii,t.__scopeScrollArea),a=kt.useRef(null),i=kt.useRef(0),[s,l]=kt.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=sS(s.viewport,s.content),d={...r,sizes:s,onSizesChange:l,hasThumb:u>0&&u<1,onThumbChange:m=>a.current=m,onThumbPointerUp:()=>i.current=0,onThumbPointerDown:m=>i.current=m};function f(m,v){return eU(m,i.current,s,v)}return n==="horizontal"?Z.jsx(Kq,{...d,ref:e,onThumbPositionChange:()=>{if(o.viewport&&a.current){const m=o.viewport.scrollLeft,v=n4(m,s,o.dir);a.current.style.transform=`translate3d(${v}px, 0, 0)`}},onWheelScroll:m=>{o.viewport&&(o.viewport.scrollLeft=m)},onDragScroll:m=>{o.viewport&&(o.viewport.scrollLeft=f(m,o.dir))}}):n==="vertical"?Z.jsx(Xq,{...d,ref:e,onThumbPositionChange:()=>{if(o.viewport&&a.current){const m=o.viewport.scrollTop,v=n4(m,s);a.current.style.transform=`translate3d(0, ${v}px, 0)`}},onWheelScroll:m=>{o.viewport&&(o.viewport.scrollTop=m)},onDragScroll:m=>{o.viewport&&(o.viewport.scrollTop=f(m))}}):null}),Kq=kt.forwardRef((t,e)=>{const{sizes:n,onSizesChange:r,...o}=t,a=Xo(ii,t.__scopeScrollArea),[i,s]=kt.useState(),l=kt.useRef(null),u=ln(e,l,a.onScrollbarXChange);return kt.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),Z.jsx(oS,{"data-orientation":"horizontal",...o,ref:u,sizes:n,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ch(n)+"px",...t.style},onThumbPointerDown:d=>t.onThumbPointerDown(d.x),onDragScroll:d=>t.onDragScroll(d.x),onWheelScroll:(d,f)=>{if(a.viewport){const m=a.viewport.scrollLeft+d.deltaX;t.onWheelScroll(m),cS(m,f)&&d.preventDefault()}},onResize:()=>{l.current&&a.viewport&&i&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:C0(i.paddingLeft),paddingEnd:C0(i.paddingRight)}})}})}),Xq=kt.forwardRef((t,e)=>{const{sizes:n,onSizesChange:r,...o}=t,a=Xo(ii,t.__scopeScrollArea),[i,s]=kt.useState(),l=kt.useRef(null),u=ln(e,l,a.onScrollbarYChange);return kt.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),Z.jsx(oS,{"data-orientation":"vertical",...o,ref:u,sizes:n,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ch(n)+"px",...t.style},onThumbPointerDown:d=>t.onThumbPointerDown(d.y),onDragScroll:d=>t.onDragScroll(d.y),onWheelScroll:(d,f)=>{if(a.viewport){const m=a.viewport.scrollTop+d.deltaY;t.onWheelScroll(m),cS(m,f)&&d.preventDefault()}},onResize:()=>{l.current&&a.viewport&&i&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:C0(i.paddingTop),paddingEnd:C0(i.paddingBottom)}})}})}),[Zq,rS]=Z9(ii),oS=kt.forwardRef((t,e)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:o,onThumbChange:a,onThumbPointerUp:i,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:u,onWheelScroll:d,onResize:f,...m}=t,v=Xo(ii,n),[g,w]=kt.useState(null),y=ln(e,A=>w(A)),_=kt.useRef(null),S=kt.useRef(""),x=v.viewport,C=r.content-r.viewport,R=vr(d),P=vr(l),O=uh(f,10);function $(A){if(_.current){const M=A.clientX-_.current.left,L=A.clientY-_.current.top;u({x:M,y:L})}}return kt.useEffect(()=>{const A=M=>{const L=M.target;g?.contains(L)&&R(M,C)};return document.addEventListener("wheel",A,{passive:!1}),()=>document.removeEventListener("wheel",A,{passive:!1})},[x,g,C,R]),kt.useEffect(P,[r,P]),fu(g,O),fu(v.content,O),Z.jsx(Zq,{scope:n,scrollbar:g,hasThumb:o,onThumbChange:vr(a),onThumbPointerUp:vr(i),onThumbPositionChange:P,onThumbPointerDown:vr(s),children:Z.jsx(Wt.div,{...m,ref:y,style:{position:"absolute",...m.style},onPointerDown:it(t.onPointerDown,A=>{A.button===0&&(A.target.setPointerCapture(A.pointerId),_.current=g.getBoundingClientRect(),S.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",v.viewport&&(v.viewport.style.scrollBehavior="auto"),$(A))}),onPointerMove:it(t.onPointerMove,$),onPointerUp:it(t.onPointerUp,A=>{const M=A.target;M.hasPointerCapture(A.pointerId)&&M.releasePointerCapture(A.pointerId),document.body.style.webkitUserSelect=S.current,v.viewport&&(v.viewport.style.scrollBehavior=""),_.current=null})})})}),S0="ScrollAreaThumb",aS=kt.forwardRef((t,e)=>{const{forceMount:n,...r}=t,o=rS(S0,t.__scopeScrollArea);return Z.jsx(To,{present:n||o.hasThumb,children:Z.jsx(Qq,{ref:e,...r})})}),Qq=kt.forwardRef((t,e)=>{const{__scopeScrollArea:n,style:r,...o}=t,a=Xo(S0,n),i=rS(S0,n),{onThumbPositionChange:s}=i,l=ln(e,f=>i.onThumbChange(f)),u=kt.useRef(void 0),d=uh(()=>{u.current&&(u.current(),u.current=void 0)},100);return kt.useEffect(()=>{const f=a.viewport;if(f){const m=()=>{if(d(),!u.current){const v=tU(f,s);u.current=v,s()}};return s(),f.addEventListener("scroll",m),()=>f.removeEventListener("scroll",m)}},[a.viewport,d,s]),Z.jsx(Wt.div,{"data-state":i.hasThumb?"visible":"hidden",...o,ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:it(t.onPointerDownCapture,f=>{const v=f.target.getBoundingClientRect(),g=f.clientX-v.left,w=f.clientY-v.top;i.onThumbPointerDown({x:g,y:w})}),onPointerUp:it(t.onPointerUp,i.onThumbPointerUp)})});aS.displayName=S0;var $w="ScrollAreaCorner",iS=kt.forwardRef((t,e)=>{const n=Xo($w,t.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?Z.jsx(Jq,{...t,ref:e}):null});iS.displayName=$w;var Jq=kt.forwardRef((t,e)=>{const{__scopeScrollArea:n,...r}=t,o=Xo($w,n),[a,i]=kt.useState(0),[s,l]=kt.useState(0),u=!!(a&&s);return fu(o.scrollbarX,()=>{const d=o.scrollbarX?.offsetHeight||0;o.onCornerHeightChange(d),l(d)}),fu(o.scrollbarY,()=>{const d=o.scrollbarY?.offsetWidth||0;o.onCornerWidthChange(d),i(d)}),u?Z.jsx(Wt.div,{...r,ref:e,style:{width:a,height:s,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...t.style}}):null});function C0(t){return t?parseInt(t,10):0}function sS(t,e){const n=t/e;return isNaN(n)?0:n}function ch(t){const e=sS(t.viewport,t.content),n=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,r=(t.scrollbar.size-n)*e;return Math.max(r,18)}function eU(t,e,n,r="ltr"){const o=ch(n),a=o/2,i=e||a,s=o-i,l=n.scrollbar.paddingStart+i,u=n.scrollbar.size-n.scrollbar.paddingEnd-s,d=n.content-n.viewport,f=r==="ltr"?[0,d]:[d*-1,0];return lS([l,u],f)(t)}function n4(t,e,n="ltr"){const r=ch(e),o=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,a=e.scrollbar.size-o,i=e.content-e.viewport,s=a-r,l=n==="ltr"?[0,i]:[i*-1,0],u=Iw(t,l);return lS([0,i],[0,s])(u)}function lS(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const r=(e[1]-e[0])/(t[1]-t[0]);return e[0]+r*(n-t[0])}}function cS(t,e){return t>0&&t<e}var tU=(t,e=()=>{})=>{let n={left:t.scrollLeft,top:t.scrollTop},r=0;return(function o(){const a={left:t.scrollLeft,top:t.scrollTop},i=n.left!==a.left,s=n.top!==a.top;(i||s)&&e(),n=a,r=window.requestAnimationFrame(o)})(),()=>window.cancelAnimationFrame(r)};function uh(t,e){const n=vr(t),r=kt.useRef(0);return kt.useEffect(()=>()=>window.clearTimeout(r.current),[]),kt.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,e)},[n,e])}function fu(t,e){const n=vr(e);zi(()=>{let r=0;if(t){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(t),()=>{window.cancelAnimationFrame(r),o.unobserve(t)}}},[t,n])}var nU=Q9,rU=eS,oU=iS;const aU=await q("react"),{useState:iU}=await q("react");function $he({className:t,viewportClassName:e,children:n,...r}){return ne(nU,{"data-slot":"scroll-area",className:ae("relative",t),...r,children:[h(rU,{"data-slot":"scroll-area-viewport",className:ae("focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",e),children:n}),h(sU,{}),h(oU,{})]})}function sU({className:t,orientation:e="vertical",...n}){const{theme:r}=Q0()??{theme:"light"},[o,a]=iU(r);return aU.useLayoutEffect(()=>{const i=r||document.body.getAttribute("data-theme");i&&a(i)},[r]),h(tS,{"data-slot":"scroll-area-scrollbar",orientation:e,className:ae("flex touch-none p-px transition-colors select-none",e==="vertical"&&"h-full w-2 border-l border-l-transparent",e==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent",t),...n,children:h(aS,{"data-slot":"scroll-area-thumb",className:ae("bg-border relative flex-1 rounded-full",{"bg-border-subtle":o==="dark"})})})}const r4=await q("react");function uS(t){const e=r4.useRef({value:t,previous:t});return r4.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}const Bn=await q("react");var dS=["PageUp","PageDown"],fS=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],pS={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Mu="Slider",[lv,lU,cU]=J0(Mu),[hS]=Go(Mu,[cU]),[uU,dh]=hS(Mu),mS=Bn.forwardRef((t,e)=>{const{name:n,min:r=0,max:o=100,step:a=1,orientation:i="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[r],value:d,onValueChange:f=()=>{},onValueCommit:m=()=>{},inverted:v=!1,form:g,...w}=t,y=Bn.useRef(new Set),_=Bn.useRef(0),x=i==="horizontal"?dU:fU,[C=[],R]=Ko({prop:d,defaultProp:u,onChange:L=>{[...y.current][_.current]?.focus(),f(L)}}),P=Bn.useRef(C);function O(L){const B=vU(C,L);M(L,B)}function $(L){M(L,_.current)}function A(){const L=P.current[_.current];C[_.current]!==L&&m(C)}function M(L,B,{commit:F}={commit:!1}){const N=_U(a),V=xU(Math.round((L-r)/a)*a+r,N),z=Iw(V,[r,o]);R((I=[])=>{const D=mU(I,z,B);if(yU(D,l*a)){_.current=D.indexOf(z);const U=String(D)!==String(I);return U&&F&&m(D),U?D:I}else return I})}return Z.jsx(uU,{scope:t.__scopeSlider,name:n,disabled:s,min:r,max:o,valueIndexToChangeRef:_,thumbs:y.current,values:C,orientation:i,form:g,children:Z.jsx(lv.Provider,{scope:t.__scopeSlider,children:Z.jsx(lv.Slot,{scope:t.__scopeSlider,children:Z.jsx(x,{"aria-disabled":s,"data-disabled":s?"":void 0,...w,ref:e,onPointerDown:it(w.onPointerDown,()=>{s||(P.current=C)}),min:r,max:o,inverted:v,onSlideStart:s?void 0:O,onSlideMove:s?void 0:$,onSlideEnd:s?void 0:A,onHomeKeyDown:()=>!s&&M(r,0,{commit:!0}),onEndKeyDown:()=>!s&&M(o,C.length-1,{commit:!0}),onStepKeyDown:({event:L,direction:B})=>{if(!s){const V=dS.includes(L.key)||L.shiftKey&&fS.includes(L.key)?10:1,z=_.current,I=C[z],D=a*V*B;M(I+D,z,{commit:!0})}}})})})})});mS.displayName=Mu;var[gS,vS]=hS(Mu,{startEdge:"left",endEdge:"right",size:"width",direction:1}),dU=Bn.forwardRef((t,e)=>{const{min:n,max:r,dir:o,inverted:a,onSlideStart:i,onSlideMove:s,onSlideEnd:l,onStepKeyDown:u,...d}=t,[f,m]=Bn.useState(null),v=ln(e,x=>m(x)),g=Bn.useRef(void 0),w=Kl(o),y=w==="ltr",_=y&&!a||!y&&a;function S(x){const C=g.current||f.getBoundingClientRect(),R=[0,C.width],O=Dw(R,_?[n,r]:[r,n]);return g.current=C,O(x-C.left)}return Z.jsx(gS,{scope:t.__scopeSlider,startEdge:_?"left":"right",endEdge:_?"right":"left",direction:_?1:-1,size:"width",children:Z.jsx(wS,{dir:w,"data-orientation":"horizontal",...d,ref:v,style:{...d.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:x=>{const C=S(x.clientX);i?.(C)},onSlideMove:x=>{const C=S(x.clientX);s?.(C)},onSlideEnd:()=>{g.current=void 0,l?.()},onStepKeyDown:x=>{const R=pS[_?"from-left":"from-right"].includes(x.key);u?.({event:x,direction:R?-1:1})}})})}),fU=Bn.forwardRef((t,e)=>{const{min:n,max:r,inverted:o,onSlideStart:a,onSlideMove:i,onSlideEnd:s,onStepKeyDown:l,...u}=t,d=Bn.useRef(null),f=ln(e,d),m=Bn.useRef(void 0),v=!o;function g(w){const y=m.current||d.current.getBoundingClientRect(),_=[0,y.height],x=Dw(_,v?[r,n]:[n,r]);return m.current=y,x(w-y.top)}return Z.jsx(gS,{scope:t.__scopeSlider,startEdge:v?"bottom":"top",endEdge:v?"top":"bottom",size:"height",direction:v?1:-1,children:Z.jsx(wS,{"data-orientation":"vertical",...u,ref:f,style:{...u.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:w=>{const y=g(w.clientY);a?.(y)},onSlideMove:w=>{const y=g(w.clientY);i?.(y)},onSlideEnd:()=>{m.current=void 0,s?.()},onStepKeyDown:w=>{const _=pS[v?"from-bottom":"from-top"].includes(w.key);l?.({event:w,direction:_?-1:1})}})})}),wS=Bn.forwardRef((t,e)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:a,onHomeKeyDown:i,onEndKeyDown:s,onStepKeyDown:l,...u}=t,d=dh(Mu,n);return Z.jsx(Wt.span,{...u,ref:e,onKeyDown:it(t.onKeyDown,f=>{f.key==="Home"?(i(f),f.preventDefault()):f.key==="End"?(s(f),f.preventDefault()):dS.concat(fS).includes(f.key)&&(l(f),f.preventDefault())}),onPointerDown:it(t.onPointerDown,f=>{const m=f.target;m.setPointerCapture(f.pointerId),f.preventDefault(),d.thumbs.has(m)?m.focus():r(f)}),onPointerMove:it(t.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&o(f)}),onPointerUp:it(t.onPointerUp,f=>{const m=f.target;m.hasPointerCapture(f.pointerId)&&(m.releasePointerCapture(f.pointerId),a(f))})})}),bS="SliderTrack",yS=Bn.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,o=dh(bS,n);return Z.jsx(Wt.span,{"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation,...r,ref:e})});yS.displayName=bS;var cv="SliderRange",_S=Bn.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,o=dh(cv,n),a=vS(cv,n),i=Bn.useRef(null),s=ln(e,i),l=o.values.length,u=o.values.map(m=>CS(m,o.min,o.max)),d=l>1?Math.min(...u):0,f=100-Math.max(...u);return Z.jsx(Wt.span,{"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,...r,ref:s,style:{...t.style,[a.startEdge]:d+"%",[a.endEdge]:f+"%"}})});_S.displayName=cv;var uv="SliderThumb",xS=Bn.forwardRef((t,e)=>{const n=lU(t.__scopeSlider),[r,o]=Bn.useState(null),a=ln(e,s=>o(s)),i=Bn.useMemo(()=>r?n().findIndex(s=>s.ref.current===r):-1,[n,r]);return Z.jsx(pU,{...t,ref:a,index:i})}),pU=Bn.forwardRef((t,e)=>{const{__scopeSlider:n,index:r,name:o,...a}=t,i=dh(uv,n),s=vS(uv,n),[l,u]=Bn.useState(null),d=ln(e,S=>u(S)),f=l?i.form||!!l.closest("form"):!0,m=vw(l),v=i.values[r],g=v===void 0?0:CS(v,i.min,i.max),w=gU(r,i.values.length),y=m?.[s.size],_=y?wU(y,g,s.direction):0;return Bn.useEffect(()=>{if(l)return i.thumbs.add(l),()=>{i.thumbs.delete(l)}},[l,i.thumbs]),Z.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[s.startEdge]:`calc(${g}% + ${_}px)`},children:[Z.jsx(lv.ItemSlot,{scope:t.__scopeSlider,children:Z.jsx(Wt.span,{role:"slider","aria-label":t["aria-label"]||w,"aria-valuemin":i.min,"aria-valuenow":v,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0,...a,ref:d,style:v===void 0?{display:"none"}:t.style,onFocus:it(t.onFocus,()=>{i.valueIndexToChangeRef.current=r})})}),f&&Z.jsx(SS,{name:o??(i.name?i.name+(i.values.length>1?"[]":""):void 0),form:i.form,value:v},r)]})});xS.displayName=uv;var hU="RadioBubbleInput",SS=Bn.forwardRef(({__scopeSlider:t,value:e,...n},r)=>{const o=Bn.useRef(null),a=ln(o,r),i=uS(e);return Bn.useEffect(()=>{const s=o.current;if(!s)return;const l=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(l,"value").set;if(i!==e&&d){const f=new Event("input",{bubbles:!0});d.call(s,e),s.dispatchEvent(f)}},[i,e]),Z.jsx(Wt.input,{style:{display:"none"},...n,ref:a,defaultValue:e})});SS.displayName=hU;function mU(t=[],e,n){const r=[...t];return r[n]=e,r.sort((o,a)=>o-a)}function CS(t,e,n){const a=100/(n-e)*(t-e);return Iw(a,[0,100])}function gU(t,e){return e>2?`Value ${t+1} of ${e}`:e===2?["Minimum","Maximum"][t]:void 0}function vU(t,e){if(t.length===1)return 0;const n=t.map(o=>Math.abs(o-e)),r=Math.min(...n);return n.indexOf(r)}function wU(t,e,n){const r=t/2,a=Dw([0,50],[0,r]);return(r-a(e)*n)*n}function bU(t){return t.slice(0,-1).map((e,n)=>t[n+1]-e)}function yU(t,e){if(e>0){const n=bU(t);return Math.min(...n)>=e}return!0}function Dw(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const r=(e[1]-e[0])/(t[1]-t[0]);return e[0]+r*(n-t[0])}}function _U(t){return(String(t).split(".")[1]||"").length}function xU(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}var SU=mS,CU=yS,EU=_S,MU=xS;await q("react");const ao=await q("react");function kU(t){const e=RU(t),n=ao.forwardRef((r,o)=>{const{children:a,...i}=r,s=ao.Children.toArray(a),l=s.find(NU);if(l){const u=l.props.children,d=s.map(f=>f===l?ao.Children.count(u)>1?ao.Children.only(null):ao.isValidElement(u)?u.props.children:null:f);return Z.jsx(e,{...i,ref:o,children:ao.isValidElement(u)?ao.cloneElement(u,void 0,d):null})}return Z.jsx(e,{...i,ref:o,children:a})});return n.displayName=`${t}.Slot`,n}function RU(t){const e=ao.forwardRef((n,r)=>{const{children:o,...a}=n;if(ao.isValidElement(o)){const i=AU(o),s=PU(a,o.props);return o.type!==ao.Fragment&&(s.ref=r?Ws(r,i):i),ao.cloneElement(o,s)}return ao.Children.count(o)>1?ao.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var TU=Symbol("radix.slottable");function NU(t){return ao.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===TU}function PU(t,e){const n={...e};for(const r in e){const o=t[r],a=e[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const l=a(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...t,...n}}function AU(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const Yn=await q("react");var fh="Dialog",[ES]=Go(fh),[IU,Ma]=ES(fh),MS=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!0}=t,s=Yn.useRef(null),l=Yn.useRef(null),[u,d]=Ko({prop:r,defaultProp:o??!1,onChange:a,caller:fh});return Z.jsx(IU,{scope:e,triggerRef:s,contentRef:l,contentId:qo(),titleId:qo(),descriptionId:qo(),open:u,onOpenChange:d,onOpenToggle:Yn.useCallback(()=>d(f=>!f),[d]),modal:i,children:n})};MS.displayName=fh;var kS="DialogTrigger",RS=Yn.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,o=Ma(kS,n),a=ln(e,o.triggerRef);return Z.jsx(Wt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Fw(o.open),...r,ref:a,onClick:it(t.onClick,o.onOpenToggle)})});RS.displayName=kS;var Bw="DialogPortal",[OU,TS]=ES(Bw,{forceMount:void 0}),NS=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:o}=t,a=Ma(Bw,e);return Z.jsx(OU,{scope:e,forceMount:n,children:Yn.Children.map(r,i=>Z.jsx(To,{present:n||a.open,children:Z.jsx(yw,{asChild:!0,container:o,children:i})}))})};NS.displayName=Bw;var E0="DialogOverlay",PS=Yn.forwardRef((t,e)=>{const n=TS(E0,t.__scopeDialog),{forceMount:r=n.forceMount,...o}=t,a=Ma(E0,t.__scopeDialog);return a.modal?Z.jsx(To,{present:r||a.open,children:Z.jsx($U,{...o,ref:e})}):null});PS.displayName=E0;var LU=kU("DialogOverlay.RemoveScroll"),$U=Yn.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,o=Ma(E0,n);return Z.jsx(_w,{as:LU,allowPinchZoom:!0,shards:[o.contentRef],children:Z.jsx(Wt.div,{"data-state":Fw(o.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),zl="DialogContent",AS=Yn.forwardRef((t,e)=>{const n=TS(zl,t.__scopeDialog),{forceMount:r=n.forceMount,...o}=t,a=Ma(zl,t.__scopeDialog);return Z.jsx(To,{present:r||a.open,children:a.modal?Z.jsx(DU,{...o,ref:e}):Z.jsx(BU,{...o,ref:e})})});AS.displayName=zl;var DU=Yn.forwardRef((t,e)=>{const n=Ma(zl,t.__scopeDialog),r=Yn.useRef(null),o=ln(e,n.contentRef,r);return Yn.useEffect(()=>{const a=r.current;if(a)return I7(a)},[]),Z.jsx(IS,{...t,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:it(t.onCloseAutoFocus,a=>{a.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:it(t.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:it(t.onFocusOutside,a=>a.preventDefault())})}),BU=Yn.forwardRef((t,e)=>{const n=Ma(zl,t.__scopeDialog),r=Yn.useRef(!1),o=Yn.useRef(!1);return Z.jsx(IS,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{t.onCloseAutoFocus?.(a),a.defaultPrevented||(r.current||n.triggerRef.current?.focus(),a.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:a=>{t.onInteractOutside?.(a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=a.target;n.triggerRef.current?.contains(i)&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}})}),IS=Yn.forwardRef((t,e)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=t,s=Ma(zl,n),l=Yn.useRef(null),u=ln(e,l);return X8(),Z.jsxs(Z.Fragment,{children:[Z.jsx(uw,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:Z.jsx(cw,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Fw(s.open),...i,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),Z.jsxs(Z.Fragment,{children:[Z.jsx(zU,{titleId:s.titleId}),Z.jsx(VU,{contentRef:l,descriptionId:s.descriptionId})]})]})}),zw="DialogTitle",OS=Yn.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,o=Ma(zw,n);return Z.jsx(Wt.h2,{id:o.titleId,...r,ref:e})});OS.displayName=zw;var LS="DialogDescription",$S=Yn.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,o=Ma(LS,n);return Z.jsx(Wt.p,{id:o.descriptionId,...r,ref:e})});$S.displayName=LS;var DS="DialogClose",BS=Yn.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,o=Ma(DS,n);return Z.jsx(Wt.button,{type:"button",...r,ref:e,onClick:it(t.onClick,()=>o.onOpenChange(!1))})});BS.displayName=DS;function Fw(t){return t?"open":"closed"}var zS="DialogTitleWarning",[Dhe,FS]=gV(zS,{contentName:zl,titleName:zw,docsSlug:"dialog"}),zU=({titleId:t})=>{const e=FS(zS),n=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
168
+
169
+ If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
170
+
171
+ For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return Yn.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},FU="DialogDescriptionWarning",VU=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${FS(FU).contentName}}.`;return Yn.useEffect(()=>{const o=t.current?.getAttribute("aria-describedby");e&&o&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},bf=MS,Vw=RS,yf=NS,_f=PS,xf=AS,Sf=OS,Cf=$S,Zl=BS;const jU=await q("react");function HU({...t}){return h(bf,{"data-slot":"dialog",...t})}function WU({...t}){return h(yf,{"data-slot":"dialog-portal",...t})}const VS=jU.forwardRef(({className:t,...e},n)=>h(_f,{"data-slot":"dialog-overlay",className:ae("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50 will-change-[opacity]",t),...e,ref:n}));VS.displayName="ShadDialogOverlay";function qU({className:t,children:e,container:n,...r}){return ne(WU,{"data-slot":"dialog-portal",container:n||document.querySelector(".modal-container"),children:[h(VS,{onContextMenu:o=>o.preventDefault()}),ne(xf,{"data-slot":"dialog-content",className:ae("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 will-change-transform sm:max-w-xl",t),...r,children:[e,ne(Zl,{"data-slot":"dialog-close",className:"btn-dialog-close text-fg-subtle hover:bg-fill-control-surface-hovered hover:text-fg-default focus-visible:outline-border-stronger absolute top-4 right-4 inline-flex size-6 cursor-pointer items-center justify-center rounded-xs opacity-80 transition-colors focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-[-1px] disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",tabIndex:-1,children:[h(X9,{}),h("span",{className:"sr-only",children:"Close"})]})]})]})}function UU({className:t,...e}){return h("div",{"data-slot":"dialog-header",className:ae("text-default flex flex-col gap-2 text-center sm:text-left",t),...e})}function YU({className:t,...e}){return h("div",{"data-slot":"dialog-footer",className:ae("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...e})}function cg({className:t,...e}){return h(Sf,{"data-slot":"dialog-title",className:ae("text-lg leading-none font-semibold",t),...e})}function ug({className:t,...e}){return h(Cf,{"data-slot":"dialog-description",className:ae("text-muted-foreground text-sm",t),...e})}function GU(t){if(typeof document>"u")return;let e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",e.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}const KU=await q("react"),nt=await q("react"),{useLayoutEffect:XU,useEffect:ZU,useMemo:QU}=nt,jS=nt.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),Ef=()=>{const t=nt.useContext(jS);if(!t)throw new Error("useDrawerContext must be used within a Drawer.Root");return t};GU(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(
172
+ [data-state=closed]
173
+ ){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);function JU(){const t=navigator.userAgent;return typeof window<"u"&&(/Firefox/.test(t)&&/Mobile/.test(t)||/FxiOS/.test(t))}function eY(){return jw(/^Mac/)}function tY(){return jw(/^iPhone/)}function o4(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function nY(){return jw(/^iPad/)||eY()&&navigator.maxTouchPoints>1}function HS(){return tY()||nY()}function jw(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.platform):void 0}const rY=24,oY=typeof window<"u"?XU:ZU;function a4(...t){return(...e)=>{for(let n of t)typeof n=="function"&&n(...e)}}const dg=typeof document<"u"&&window.visualViewport;function i4(t){let e=window.getComputedStyle(t);return/(auto|scroll)/.test(e.overflow+e.overflowX+e.overflowY)}function WS(t){for(i4(t)&&(t=t.parentElement);t&&!i4(t);)t=t.parentElement;return t||document.scrollingElement||document.documentElement}const aY=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let jp=0,fg;function iY(t={}){let{isDisabled:e}=t;oY(()=>{if(!e)return jp++,jp===1&&HS()&&(fg=sY()),()=>{jp--,jp===0&&fg?.()}},[e])}function sY(){let t,e=0,n=f=>{t=WS(f.target),!(t===document.documentElement&&t===document.body)&&(e=f.changedTouches[0].pageY)},r=f=>{if(!t||t===document.documentElement||t===document.body){f.preventDefault();return}let m=f.changedTouches[0].pageY,v=t.scrollTop,g=t.scrollHeight-t.clientHeight;g!==0&&((v<=0&&m>e||v>=g&&m<e)&&f.preventDefault(),e=m)},o=f=>{let m=f.target;dv(m)&&m!==document.activeElement&&(f.preventDefault(),m.style.transform="translateY(-2000px)",m.focus(),requestAnimationFrame(()=>{m.style.transform=""}))},a=f=>{let m=f.target;dv(m)&&(m.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{m.style.transform="",dg&&(dg.height<window.innerHeight?requestAnimationFrame(()=>{s4(m)}):dg.addEventListener("resize",()=>s4(m),{once:!0}))}))},i=()=>{window.scrollTo(0,0)},s=window.pageXOffset,l=window.pageYOffset,u=a4(lY(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let d=a4(rd(document,"touchstart",n,{passive:!1,capture:!0}),rd(document,"touchmove",r,{passive:!1,capture:!0}),rd(document,"touchend",o,{passive:!1,capture:!0}),rd(document,"focus",a,!0),rd(window,"scroll",i));return()=>{u(),d(),window.scrollTo(s,l)}}function lY(t,e,n){let r=t.style[e];return t.style[e]=n,()=>{t.style[e]=r}}function rd(t,e,n,r){return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}function s4(t){let e=document.scrollingElement||document.documentElement;for(;t&&t!==e;){let n=WS(t);if(n!==document.documentElement&&n!==document.body&&n!==t){let r=n.getBoundingClientRect().top,o=t.getBoundingClientRect().top,a=t.getBoundingClientRect().bottom;const i=n.getBoundingClientRect().bottom+rY;a>i&&(n.scrollTop+=o-r)}t=n.parentElement}}function dv(t){return t instanceof HTMLInputElement&&!aY.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable}function cY(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function uY(...t){return e=>t.forEach(n=>cY(n,e))}function qS(...t){return KU.useCallback(uY(...t),t)}const US=new WeakMap;function ar(t,e,n=!1){if(!t||!(t instanceof HTMLElement))return;let r={};Object.entries(e).forEach(([o,a])=>{if(o.startsWith("--")){t.style.setProperty(o,a);return}r[o]=t.style[o],t.style[o]=a}),!n&&US.set(t,r)}function dY(t,e){if(!t||!(t instanceof HTMLElement))return;let n=US.get(t);n&&(t.style[e]=n[e])}const Kn=t=>{switch(t){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return t}};function Hp(t,e){if(!t)return null;const n=window.getComputedStyle(t),r=n.transform||n.webkitTransform||n.mozTransform;let o=r.match(/^matrix3d\((.+)\)$/);return o?parseFloat(o[1].split(", ")[Kn(e)?13:12]):(o=r.match(/^matrix\((.+)\)$/),o?parseFloat(o[1].split(", ")[Kn(e)?5:4]):null)}function fY(t){return 8*(Math.log(t+1)-2)}function pg(t,e){if(!t)return()=>{};const n=t.style.cssText;return Object.assign(t.style,e),()=>{t.style.cssText=n}}function pY(...t){return(...e)=>{for(const n of t)typeof n=="function"&&n(...e)}}const Dn={DURATION:.5,EASE:[.32,.72,0,1]},YS=.4,hY=.25,mY=100,GS=8,gl=16,fv=26,hg="vaul-dragging";function KS(t){const e=nt.useRef(t);return nt.useEffect(()=>{e.current=t}),nt.useMemo(()=>(...n)=>e.current==null?void 0:e.current.call(e,...n),[])}function gY({defaultProp:t,onChange:e}){const n=nt.useState(t),[r]=n,o=nt.useRef(r),a=KS(e);return nt.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}function XS({prop:t,defaultProp:e,onChange:n=()=>{}}){const[r,o]=gY({defaultProp:e,onChange:n}),a=t!==void 0,i=a?t:r,s=KS(n),l=nt.useCallback(u=>{if(a){const f=typeof u=="function"?u(t):u;f!==t&&s(f)}else o(u)},[a,t,o,s]);return[i,l]}function vY({activeSnapPointProp:t,setActiveSnapPointProp:e,snapPoints:n,drawerRef:r,overlayRef:o,fadeFromIndex:a,onSnapPointChange:i,direction:s="bottom",container:l,snapToSequentialPoint:u}){const[d,f]=XS({prop:t,defaultProp:n?.[0],onChange:e}),[m,v]=nt.useState(typeof window<"u"?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);nt.useEffect(()=>{function O(){v({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",O),()=>window.removeEventListener("resize",O)},[]);const g=nt.useMemo(()=>d===n?.[n.length-1]||null,[n,d]),w=nt.useMemo(()=>{var O;return(O=n?.findIndex($=>$===d))!=null?O:null},[n,d]),y=n&&n.length>0&&(a||a===0)&&!Number.isNaN(a)&&n[a]===d||!n,_=nt.useMemo(()=>{const O=l?{width:l.getBoundingClientRect().width,height:l.getBoundingClientRect().height}:typeof window<"u"?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};var $;return($=n?.map(A=>{const M=typeof A=="string";let L=0;if(M&&(L=parseInt(A,10)),Kn(s)){const F=M?L:m?A*O.height:0;return m?s==="bottom"?O.height-F:-O.height+F:F}const B=M?L:m?A*O.width:0;return m?s==="right"?O.width-B:-O.width+B:B}))!=null?$:[]},[n,m,l]),S=nt.useMemo(()=>w!==null?_?.[w]:null,[_,w]),x=nt.useCallback(O=>{var $;const A=($=_?.findIndex(M=>M===O))!=null?$:null;i(A),ar(r.current,{transition:`transform ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`,transform:Kn(s)?`translate3d(0, ${O}px, 0)`:`translate3d(${O}px, 0, 0)`}),_&&A!==_.length-1&&a!==void 0&&A!==a&&A<a?ar(o.current,{transition:`opacity ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`,opacity:"0"}):ar(o.current,{transition:`opacity ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`,opacity:"1"}),f(n?.[Math.max(A,0)])},[r.current,n,_,a,o,f]);nt.useEffect(()=>{if(d||t){var O;const $=(O=n?.findIndex(A=>A===t||A===d))!=null?O:-1;_&&$!==-1&&typeof _[$]=="number"&&x(_[$])}},[d,t,n,_,x]);function C({draggedDistance:O,closeDrawer:$,velocity:A,dismissible:M}){if(a===void 0)return;const L=s==="bottom"||s==="right"?(S??0)-O:(S??0)+O,B=w===a-1,F=w===0,N=O>0;if(B&&ar(o.current,{transition:`opacity ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`}),!u&&A>2&&!N){M?$():x(_[0]);return}if(!u&&A>2&&N&&_&&n){x(_[n.length-1]);return}const V=_?.reduce((I,D)=>typeof I!="number"||typeof D!="number"?I:Math.abs(D-L)<Math.abs(I-L)?D:I),z=Kn(s)?window.innerHeight:window.innerWidth;if(A>YS&&Math.abs(O)<z*.4){const I=N?1:-1;if(I>0&&g&&n){x(_[n.length-1]);return}if(F&&I<0&&M&&$(),w===null)return;x(_[w+I]);return}x(V)}function R({draggedDistance:O}){if(S===null)return;const $=s==="bottom"||s==="right"?S-O:S+O;(s==="bottom"||s==="right")&&$<_[_.length-1]||(s==="top"||s==="left")&&$>_[_.length-1]||ar(r.current,{transform:Kn(s)?`translate3d(0, ${$}px, 0)`:`translate3d(${$}px, 0, 0)`})}function P(O,$){if(!n||typeof w!="number"||!_||a===void 0)return null;const A=w===a-1;if(w>=a&&$)return 0;if(A&&!$)return 1;if(!y&&!A)return null;const L=A?w+1:w-1,B=A?_[L]-_[L-1]:_[L+1]-_[L],F=O/Math.abs(B);return A?1-F:F}return{isLastSnapPoint:g,activeSnapPoint:d,shouldFade:y,getPercentageDragged:P,setActiveSnapPoint:f,activeSnapPointIndex:w,onRelease:C,onDrag:R,snapPointsOffset:_}}const wY=()=>()=>{};function bY(){const{direction:t,isOpen:e,shouldScaleBackground:n,setBackgroundColorOnScale:r,noBodyStyles:o}=Ef(),a=nt.useRef(null),i=QU(()=>document.body.style.backgroundColor,[]);function s(){return(window.innerWidth-fv)/window.innerWidth}nt.useEffect(()=>{if(e&&n){a.current&&clearTimeout(a.current);const l=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!l)return;pY(r&&!o?pg(document.body,{background:"black"}):wY,pg(l,{transformOrigin:Kn(t)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${Dn.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Dn.EASE.join(",")})`}));const u=pg(l,{borderRadius:`${GS}px`,overflow:"hidden",...Kn(t)?{transform:`scale(${s()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${s()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{u(),a.current=window.setTimeout(()=>{i?document.body.style.background=i:document.body.style.removeProperty("background")},Dn.DURATION*1e3)}}},[e,n,i])}let od=null;function yY({isOpen:t,modal:e,nested:n,hasBeenOpened:r,preventScrollRestoration:o,noBodyStyles:a}){const[i,s]=nt.useState(()=>typeof window<"u"?window.location.href:""),l=nt.useRef(0),u=nt.useCallback(()=>{if(o4()&&od===null&&t&&!a){od={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};const{scrollX:f,innerHeight:m}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-l.current}px`,left:`${-f}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{const v=m-window.innerHeight;v&&l.current>=m&&(document.body.style.top=`${-(l.current+v)}px`)}),300)}},[t]),d=nt.useCallback(()=>{if(o4()&&od!==null&&!a){const f=-parseInt(document.body.style.top,10),m=-parseInt(document.body.style.left,10);Object.assign(document.body.style,od),window.requestAnimationFrame(()=>{if(o&&i!==window.location.href){s(window.location.href);return}window.scrollTo(m,f)}),od=null}},[i]);return nt.useEffect(()=>{function f(){l.current=window.scrollY}return f(),window.addEventListener("scroll",f),()=>{window.removeEventListener("scroll",f)}},[]),nt.useEffect(()=>{if(e)return()=>{typeof document>"u"||document.querySelector("[data-vaul-drawer]")||d()}},[e,d]),nt.useEffect(()=>{n||!r||(t?(!window.matchMedia("(display-mode: standalone)").matches&&u(),e||window.setTimeout(()=>{d()},500)):d())},[t,r,i,e,n,u,d]),{restorePositionSetting:d}}function _Y({open:t,onOpenChange:e,children:n,onDrag:r,onRelease:o,snapPoints:a,shouldScaleBackground:i=!1,setBackgroundColorOnScale:s=!0,closeThreshold:l=hY,scrollLockTimeout:u=mY,dismissible:d=!0,handleOnly:f=!1,fadeFromIndex:m=a&&a.length-1,activeSnapPoint:v,setActiveSnapPoint:g,fixed:w,modal:y=!0,onClose:_,nested:S,noBodyStyles:x=!1,direction:C="bottom",defaultOpen:R=!1,disablePreventScroll:P=!0,snapToSequentialPoint:O=!1,preventScrollRestoration:$=!1,repositionInputs:A=!0,onAnimationEnd:M,container:L,autoFocus:B=!1}){var F,N;const[V=!1,z]=XS({defaultProp:R,prop:t,onChange:Ze=>{e?.(Ze),!Ze&&!S&&Jn(),setTimeout(()=>{M?.(Ze)},Dn.DURATION*1e3),Ze&&!y&&typeof window<"u"&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),Ze||(document.body.style.pointerEvents="auto")}}),[I,D]=nt.useState(!1),[U,Y]=nt.useState(!1),[oe,Q]=nt.useState(!1),re=nt.useRef(null),le=nt.useRef(null),ee=nt.useRef(null),te=nt.useRef(null),ue=nt.useRef(null),ve=nt.useRef(!1),we=nt.useRef(null),ye=nt.useRef(0),Le=nt.useRef(!1),Oe=nt.useRef(!R),Ne=nt.useRef(0),me=nt.useRef(null),pe=nt.useRef(((F=me.current)==null?void 0:F.getBoundingClientRect().height)||0),be=nt.useRef(((N=me.current)==null?void 0:N.getBoundingClientRect().width)||0),Ue=nt.useRef(0),He=nt.useCallback(Ze=>{a&&Ze===st.length-1&&(le.current=new Date)},[]),{activeSnapPoint:qe,activeSnapPointIndex:_e,setActiveSnapPoint:at,onRelease:ht,snapPointsOffset:st,onDrag:Ct,shouldFade:cn,getPercentageDragged:Sn}=vY({snapPoints:a,activeSnapPointProp:v,setActiveSnapPointProp:g,drawerRef:me,fadeFromIndex:m,overlayRef:re,onSnapPointChange:He,direction:C,container:L,snapToSequentialPoint:O});iY({isDisabled:!V||U||!y||oe||!I||!A||!P});const{restorePositionSetting:Jn}=yY({isOpen:V,modal:y,nested:S??!1,hasBeenOpened:I,preventScrollRestoration:$,noBodyStyles:x});function Gt(){return(window.innerWidth-fv)/window.innerWidth}function Tn(Ze){var Bt,jt;!d&&!a||me.current&&!me.current.contains(Ze.target)||(pe.current=((Bt=me.current)==null?void 0:Bt.getBoundingClientRect().height)||0,be.current=((jt=me.current)==null?void 0:jt.getBoundingClientRect().width)||0,Y(!0),ee.current=new Date,HS()&&window.addEventListener("touchend",()=>ve.current=!1,{once:!0}),Ze.target.setPointerCapture(Ze.pointerId),ye.current=Kn(C)?Ze.pageY:Ze.pageX)}function Hn(Ze,Bt){var jt;let rt=Ze;const en=(jt=window.getSelection())==null?void 0:jt.toString(),Mn=me.current?Hp(me.current,C):null,_n=new Date;if(rt.tagName==="SELECT"||rt.hasAttribute("data-vaul-no-drag")||rt.closest("[data-vaul-no-drag]"))return!1;if(C==="right"||C==="left")return!0;if(le.current&&_n.getTime()-le.current.getTime()<500)return!1;if(Mn!==null&&(C==="bottom"?Mn>0:Mn<0))return!0;if(en&&en.length>0)return!1;if(ue.current&&_n.getTime()-ue.current.getTime()<u&&Mn===0||Bt)return ue.current=_n,!1;for(;rt;){if(rt.scrollHeight>rt.clientHeight){if(rt.scrollTop!==0)return ue.current=new Date,!1;if(rt.getAttribute("role")==="dialog")return!0}rt=rt.parentNode}return!0}function Tt(Ze){if(me.current&&U){const Bt=C==="bottom"||C==="right"?1:-1,jt=(ye.current-(Kn(C)?Ze.pageY:Ze.pageX))*Bt,rt=jt>0,en=a&&!d&&!rt;if(en&&_e===0)return;const Mn=Math.abs(jt),_n=document.querySelector("[data-vaul-drawer-wrapper]"),Pn=C==="bottom"||C==="top"?pe.current:be.current;let In=Mn/Pn;const On=Sn(Mn,rt);if(On!==null&&(In=On),en&&In>=1||!ve.current&&!Hn(Ze.target,rt))return;if(me.current.classList.add(hg),ve.current=!0,ar(me.current,{transition:"none"}),ar(re.current,{transition:"none"}),a&&Ct({draggedDistance:jt}),rt&&!a){const Nn=fY(jt),Or=Math.min(Nn*-1,0)*Bt;ar(me.current,{transform:Kn(C)?`translate3d(0, ${Or}px, 0)`:`translate3d(${Or}px, 0, 0)`});return}const sr=1-In;if((cn||m&&_e===m-1)&&(r?.(Ze,In),ar(re.current,{opacity:`${sr}`,transition:"none"},!0)),_n&&re.current&&i){const Nn=Math.min(Gt()+In*(1-Gt()),1),Or=8-In*8,zn=Math.max(0,14-In*14);ar(_n,{borderRadius:`${Or}px`,transform:Kn(C)?`scale(${Nn}) translate3d(0, ${zn}px, 0)`:`scale(${Nn}) translate3d(${zn}px, 0, 0)`,transition:"none"},!0)}if(!a){const Nn=Mn*Bt;ar(me.current,{transform:Kn(C)?`translate3d(0, ${Nn}px, 0)`:`translate3d(${Nn}px, 0, 0)`})}}}nt.useEffect(()=>{window.requestAnimationFrame(()=>{Oe.current=!0})},[]),nt.useEffect(()=>{var Ze;function Bt(){if(!me.current||!A)return;const jt=document.activeElement;if(dv(jt)||Le.current){var rt;const en=((rt=window.visualViewport)==null?void 0:rt.height)||0,Mn=window.innerHeight;let _n=Mn-en;const Pn=me.current.getBoundingClientRect().height||0,In=Pn>Mn*.8;Ue.current||(Ue.current=Pn);const On=me.current.getBoundingClientRect().top;if(Math.abs(Ne.current-_n)>60&&(Le.current=!Le.current),a&&a.length>0&&st&&_e){const sr=st[_e]||0;_n+=sr}if(Ne.current=_n,Pn>en||Le.current){const sr=me.current.getBoundingClientRect().height;let Nn=sr;sr>en&&(Nn=en-(In?On:fv)),w?me.current.style.height=`${sr-Math.max(_n,0)}px`:me.current.style.height=`${Math.max(Nn,en-On)}px`}else JU()||(me.current.style.height=`${Ue.current}px`);a&&a.length>0&&!Le.current?me.current.style.bottom="0px":me.current.style.bottom=`${Math.max(_n,0)}px`}}return(Ze=window.visualViewport)==null||Ze.addEventListener("resize",Bt),()=>{var jt;return(jt=window.visualViewport)==null?void 0:jt.removeEventListener("resize",Bt)}},[_e,a,st]);function Ce(Ze){wt(),_?.(),Ze||z(!1),setTimeout(()=>{a&&at(a[0])},Dn.DURATION*1e3)}function Ye(){if(!me.current)return;const Ze=document.querySelector("[data-vaul-drawer-wrapper]"),Bt=Hp(me.current,C);ar(me.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`}),ar(re.current,{transition:`opacity ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`,opacity:"1"}),i&&Bt&&Bt>0&&V&&ar(Ze,{borderRadius:`${GS}px`,overflow:"hidden",...Kn(C)?{transform:`scale(${Gt()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${Gt()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${Dn.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Dn.EASE.join(",")})`},!0)}function wt(){!U||!me.current||(me.current.classList.remove(hg),ve.current=!1,Y(!1),te.current=new Date)}function un(Ze){if(!U||!me.current)return;me.current.classList.remove(hg),ve.current=!1,Y(!1),te.current=new Date;const Bt=Hp(me.current,C);if(!Ze||!Hn(Ze.target,!1)||!Bt||Number.isNaN(Bt)||ee.current===null)return;const jt=te.current.getTime()-ee.current.getTime(),rt=ye.current-(Kn(C)?Ze.pageY:Ze.pageX),en=Math.abs(rt)/jt;if(en>.05&&(Q(!0),setTimeout(()=>{Q(!1)},200)),a){ht({draggedDistance:rt*(C==="bottom"||C==="right"?1:-1),closeDrawer:Ce,velocity:en,dismissible:d}),o?.(Ze,!0);return}if(C==="bottom"||C==="right"?rt>0:rt<0){Ye(),o?.(Ze,!0);return}if(en>YS){Ce(),o?.(Ze,!1);return}var Mn;const _n=Math.min((Mn=me.current.getBoundingClientRect().height)!=null?Mn:0,window.innerHeight);var Pn;const In=Math.min((Pn=me.current.getBoundingClientRect().width)!=null?Pn:0,window.innerWidth),On=C==="left"||C==="right";if(Math.abs(Bt)>=(On?In:_n)*l){Ce(),o?.(Ze,!1);return}o?.(Ze,!0),Ye()}nt.useEffect(()=>(V&&(ar(document.documentElement,{scrollBehavior:"auto"}),le.current=new Date),()=>{dY(document.documentElement,"scrollBehavior")}),[V]);function on(Ze){const Bt=Ze?(window.innerWidth-gl)/window.innerWidth:1,jt=Ze?-gl:0;we.current&&window.clearTimeout(we.current),ar(me.current,{transition:`transform ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`,transform:Kn(C)?`scale(${Bt}) translate3d(0, ${jt}px, 0)`:`scale(${Bt}) translate3d(${jt}px, 0, 0)`}),!Ze&&me.current&&(we.current=setTimeout(()=>{const rt=Hp(me.current,C);ar(me.current,{transition:"none",transform:Kn(C)?`translate3d(0, ${rt}px, 0)`:`translate3d(${rt}px, 0, 0)`})},500))}function Lt(Ze,Bt){if(Bt<0)return;const jt=(window.innerWidth-gl)/window.innerWidth,rt=jt+Bt*(1-jt),en=-gl+Bt*gl;ar(me.current,{transform:Kn(C)?`scale(${rt}) translate3d(0, ${en}px, 0)`:`scale(${rt}) translate3d(${en}px, 0, 0)`,transition:"none"})}function mt(Ze,Bt){const jt=Kn(C)?window.innerHeight:window.innerWidth,rt=Bt?(jt-gl)/jt:1,en=Bt?-gl:0;Bt&&ar(me.current,{transition:`transform ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`,transform:Kn(C)?`scale(${rt}) translate3d(0, ${en}px, 0)`:`scale(${rt}) translate3d(${en}px, 0, 0)`})}return nt.useEffect(()=>{y||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[y]),nt.createElement(bf,{defaultOpen:R,onOpenChange:Ze=>{!d&&!Ze||(Ze?D(!0):Ce(!0),z(Ze))},open:V},nt.createElement(jS.Provider,{value:{activeSnapPoint:qe,snapPoints:a,setActiveSnapPoint:at,drawerRef:me,overlayRef:re,onOpenChange:e,onPress:Tn,onRelease:un,onDrag:Tt,dismissible:d,shouldAnimate:Oe,handleOnly:f,isOpen:V,isDragging:U,shouldFade:cn,closeDrawer:Ce,onNestedDrag:Lt,onNestedOpenChange:on,onNestedRelease:mt,keyboardIsOpen:Le,modal:y,snapPointsOffset:st,activeSnapPointIndex:_e,direction:C,shouldScaleBackground:i,setBackgroundColorOnScale:s,noBodyStyles:x,container:L,autoFocus:B}},n))}const ZS=nt.forwardRef(function({...t},e){const{overlayRef:n,snapPoints:r,onRelease:o,shouldFade:a,isOpen:i,modal:s,shouldAnimate:l}=Ef(),u=qS(e,n),d=r&&r.length>0;if(!s)return null;const f=nt.useCallback(m=>o(m),[o]);return nt.createElement(_f,{onMouseUp:f,ref:u,"data-vaul-overlay":"","data-vaul-snap-points":i&&d?"true":"false","data-vaul-snap-points-overlay":i&&a?"true":"false","data-vaul-animate":l?.current?"true":"false",...t})});ZS.displayName="Drawer.Overlay";const QS=nt.forwardRef(function({onPointerDownOutside:t,style:e,onOpenAutoFocus:n,...r},o){const{drawerRef:a,onPress:i,onRelease:s,onDrag:l,keyboardIsOpen:u,snapPointsOffset:d,activeSnapPointIndex:f,modal:m,isOpen:v,direction:g,snapPoints:w,container:y,handleOnly:_,shouldAnimate:S,autoFocus:x}=Ef(),[C,R]=nt.useState(!1),P=qS(o,a),O=nt.useRef(null),$=nt.useRef(null),A=nt.useRef(!1),M=w&&w.length>0;bY();const L=(F,N,V=0)=>{if(A.current)return!0;const z=Math.abs(F.y),I=Math.abs(F.x),D=I>z,U=["bottom","right"].includes(N)?1:-1;if(N==="left"||N==="right"){if(!(F.x*U<0)&&I>=0&&I<=V)return D}else if(!(F.y*U<0)&&z>=0&&z<=V)return!D;return A.current=!0,!0};nt.useEffect(()=>{M&&window.requestAnimationFrame(()=>{R(!0)})},[]);function B(F){O.current=null,A.current=!1,s(F)}return nt.createElement(xf,{"data-vaul-drawer-direction":g,"data-vaul-drawer":"","data-vaul-delayed-snap-points":C?"true":"false","data-vaul-snap-points":v&&M?"true":"false","data-vaul-custom-container":y?"true":"false","data-vaul-animate":S?.current?"true":"false",...r,ref:P,style:d&&d.length>0?{"--snap-point-height":`${d[f??0]}px`,...e}:e,onPointerDown:F=>{_||(r.onPointerDown==null||r.onPointerDown.call(r,F),O.current={x:F.pageX,y:F.pageY},i(F))},onOpenAutoFocus:F=>{n?.(F),x||F.preventDefault()},onPointerDownOutside:F=>{if(t?.(F),!m||F.defaultPrevented){F.preventDefault();return}u.current&&(u.current=!1)},onFocusOutside:F=>{if(!m){F.preventDefault();return}},onPointerMove:F=>{if($.current=F,_||(r.onPointerMove==null||r.onPointerMove.call(r,F),!O.current))return;const N=F.pageY-O.current.y,V=F.pageX-O.current.x,z=F.pointerType==="touch"?10:2;L({x:V,y:N},g,z)?l(F):(Math.abs(V)>z||Math.abs(N)>z)&&(O.current=null)},onPointerUp:F=>{r.onPointerUp==null||r.onPointerUp.call(r,F),O.current=null,A.current=!1,s(F)},onPointerOut:F=>{r.onPointerOut==null||r.onPointerOut.call(r,F),B($.current)},onContextMenu:F=>{r.onContextMenu==null||r.onContextMenu.call(r,F),$.current&&B($.current)}})});QS.displayName="Drawer.Content";const xY=250,SY=120,CY=nt.forwardRef(function({preventCycle:t=!1,children:e,...n},r){const{closeDrawer:o,isDragging:a,snapPoints:i,activeSnapPoint:s,setActiveSnapPoint:l,dismissible:u,handleOnly:d,isOpen:f,onPress:m,onDrag:v}=Ef(),g=nt.useRef(null),w=nt.useRef(!1);function y(){if(w.current){x();return}window.setTimeout(()=>{_()},SY)}function _(){if(a||t||w.current){x();return}if(x(),!i||i.length===0){u||o();return}if(s===i[i.length-1]&&u){o();return}const R=i.findIndex(O=>O===s);if(R===-1)return;const P=i[R+1];l(P)}function S(){g.current=window.setTimeout(()=>{w.current=!0},xY)}function x(){g.current&&window.clearTimeout(g.current),w.current=!1}return nt.createElement("div",{onClick:y,onPointerCancel:x,onPointerDown:C=>{d&&m(C),S()},onPointerMove:C=>{d&&v(C)},ref:r,"data-vaul-drawer-visible":f?"true":"false","data-vaul-handle":"","aria-hidden":"true",...n},nt.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},e))});CY.displayName="Drawer.Handle";function EY(t){const e=Ef(),{container:n=e.container,...r}=t;return nt.createElement(yf,{container:n,...r})}const qr={Root:_Y,Content:QS,Overlay:ZS,Trigger:Vw,Portal:EY,Close:Zl,Title:Sf,Description:Cf};function MY({...t}){return h(qr.Root,{"data-slot":"drawer",...t})}function kY({...t}){return h(qr.Portal,{"data-slot":"drawer-portal",...t})}function RY({className:t,...e}){return h(qr.Overlay,{"data-slot":"drawer-overlay",className:ae("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...e})}function TY({className:t,children:e,container:n,...r}){return ne(kY,{"data-slot":"drawer-portal",container:n||document.querySelector(".modal-container"),children:[h(RY,{}),ne(qr.Content,{"data-slot":"drawer-content",className:ae("group/drawer-content bg-background fixed z-50 flex h-auto flex-col","data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b","data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t","data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",t),...r,children:[h("div",{className:"bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),e]})]})}function NY({className:t,...e}){return h("div",{"data-slot":"drawer-header",className:ae("flex flex-col gap-1.5 p-4",t),...e})}function PY({className:t,...e}){return h("div",{"data-slot":"drawer-footer",className:ae("mt-auto flex flex-col gap-2 p-4",t),...e})}function AY({className:t,...e}){return h(qr.Title,{"data-slot":"drawer-title",className:ae("text-foreground font-semibold",t),...e})}function IY({className:t,...e}){return h(qr.Description,{"data-slot":"drawer-description",className:ae("text-muted-foreground text-sm",t),...e})}function OY({...t}){return h(bf,{"data-slot":"sheet",...t})}function LY({...t}){return h(yf,{"data-slot":"sheet-portal",...t})}function $Y({className:t,...e}){return h(_f,{"data-slot":"sheet-overlay",className:ae("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...e})}function DY({className:t,children:e,side:n="right",container:r,...o}){return ne(LY,{container:r||document.querySelector(".modal-container"),children:[h($Y,{}),ne(xf,{"data-slot":"sheet-content",className:ae("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",n==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",n==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",n==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",n==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",t),...o,children:[e,ne(Zl,{"data-slot":"sheet-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[h(X9,{className:"size-4"}),h("span",{className:"sr-only",children:"Close"})]})]})]})}function BY({className:t,...e}){return h("div",{"data-slot":"sheet-header",className:ae("flex flex-col gap-1.5 p-4",t),...e})}function zY({className:t,...e}){return h("div",{"data-slot":"sheet-footer",className:ae("mt-auto flex flex-col gap-2 p-4",t),...e})}function FY({className:t,...e}){return h(Sf,{"data-slot":"sheet-title",className:ae("text-foreground font-semibold",t),...e})}function VY({className:t,...e}){return h(Cf,{"data-slot":"sheet-description",className:ae("text-muted-foreground text-sm",t),...e})}const Hw=6048e5,jY=864e5,l4=Symbol.for("constructDateFrom");function fr(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&l4 in t?t[l4](e):t instanceof Date?new t.constructor(e):new Date(e)}function yn(t,e){return fr(e||t,t)}function jr(t,e,n){const r=yn(t,n?.in);return isNaN(e)?fr(n?.in||t,NaN):(e&&r.setDate(r.getDate()+e),r)}function Sa(t,e,n){const r=yn(t,n?.in);if(isNaN(e))return fr(n?.in||t,NaN);if(!e)return r;const o=r.getDate(),a=fr(n?.in||t,r.getTime());a.setMonth(r.getMonth()+e+1,0);const i=a.getDate();return o>=i?a:(r.setFullYear(a.getFullYear(),a.getMonth(),o),r)}let HY={};function Mf(){return HY}function ni(t,e){const n=Mf(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=yn(t,e?.in),a=o.getDay(),i=(a<r?7:0)+a-r;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function Fl(t,e){return ni(t,{...e,weekStartsOn:1})}function JS(t,e){const n=yn(t,e?.in),r=n.getFullYear(),o=fr(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const a=Fl(o),i=fr(n,0);i.setFullYear(r,0,4),i.setHours(0,0,0,0);const s=Fl(i);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function M0(t){const e=yn(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function ku(t,...e){const n=fr.bind(null,t||e.find(r=>typeof r=="object"));return e.map(n)}function pu(t,e){const n=yn(t,e?.in);return n.setHours(0,0,0,0),n}function Za(t,e,n){const[r,o]=ku(n?.in,t,e),a=pu(r),i=pu(o),s=+a-M0(a),l=+i-M0(i);return Math.round((s-l)/jY)}function WY(t,e){const n=JS(t,e),r=fr(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Fl(r)}function pv(t,e,n){return jr(t,e*7,n)}function qY(t,e,n){return Sa(t,e*12,n)}function UY(t,e){let n,r=e?.in;return t.forEach(o=>{!r&&typeof o=="object"&&(r=fr.bind(null,o));const a=yn(o,r);(!n||n<a||isNaN(+a))&&(n=a)}),fr(r,n||NaN)}function YY(t,e){let n,r=e?.in;return t.forEach(o=>{!r&&typeof o=="object"&&(r=fr.bind(null,o));const a=yn(o,r);(!n||n>a||isNaN(+a))&&(n=a)}),fr(r,n||NaN)}function so(t,e,n){const[r,o]=ku(n?.in,t,e);return+pu(r)==+pu(o)}function Ww(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function GY(t){return!(!Ww(t)&&typeof t!="number"||isNaN(+yn(t)))}function ef(t,e,n){const[r,o]=ku(n?.in,t,e),a=r.getFullYear()-o.getFullYear(),i=r.getMonth()-o.getMonth();return a*12+i}function KY(t,e,n){const[r,o]=ku(n?.in,t,e),a=ni(r,n),i=ni(o,n),s=+a-M0(a),l=+i-M0(i);return Math.round((s-l)/Hw)}function qw(t,e){const n=yn(t,e?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function lo(t,e){const n=yn(t,e?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function eC(t,e){const n=yn(t,e?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Uw(t,e){const n=Mf(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=yn(t,e?.in),a=o.getDay(),i=(a<r?-7:0)+6-(a-r);return o.setDate(o.getDate()+i),o.setHours(23,59,59,999),o}function tC(t,e){return Uw(t,{...e,weekStartsOn:1})}const XY={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ZY=(t,e,n)=>{let r;const o=XY[t];return typeof o=="string"?r=o:e===1?r=o.one:r=o.other.replace("{{count}}",e.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function mg(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const QY={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},JY={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},eG={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},tG={date:mg({formats:QY,defaultWidth:"full"}),time:mg({formats:JY,defaultWidth:"full"}),dateTime:mg({formats:eG,defaultWidth:"full"})},nG={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},rG=(t,e,n,r)=>nG[t];function ad(t){return(e,n)=>{const r=n?.context?String(n.context):"standalone";let o;if(r==="formatting"&&t.formattingValues){const i=t.defaultFormattingWidth||t.defaultWidth,s=n?.width?String(n.width):i;o=t.formattingValues[s]||t.formattingValues[i]}else{const i=t.defaultWidth,s=n?.width?String(n.width):t.defaultWidth;o=t.values[s]||t.values[i]}const a=t.argumentCallback?t.argumentCallback(e):e;return o[a]}}const oG={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},aG={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},iG={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},sG={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},lG={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},cG={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},uG=(t,e)=>{const n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},dG={ordinalNumber:uG,era:ad({values:oG,defaultWidth:"wide"}),quarter:ad({values:aG,defaultWidth:"wide",argumentCallback:t=>t-1}),month:ad({values:iG,defaultWidth:"wide"}),day:ad({values:sG,defaultWidth:"wide"}),dayPeriod:ad({values:lG,defaultWidth:"wide",formattingValues:cG,defaultFormattingWidth:"wide"})};function id(t){return(e,n={})=>{const r=n.width,o=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],a=e.match(o);if(!a)return null;const i=a[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(s)?pG(s,f=>f.test(i)):fG(s,f=>f.test(i));let u;u=t.valueCallback?t.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const d=e.slice(i.length);return{value:u,rest:d}}}function fG(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function pG(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function hG(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const o=r[0],a=e.match(t.parsePattern);if(!a)return null;let i=t.valueCallback?t.valueCallback(a[0]):a[0];i=n.valueCallback?n.valueCallback(i):i;const s=e.slice(o.length);return{value:i,rest:s}}}const mG=/^(\d+)(th|st|nd|rd)?/i,gG=/\d+/i,vG={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},wG={any:[/^b/i,/^(a|c)/i]},bG={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},yG={any:[/1/i,/2/i,/3/i,/4/i]},_G={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},xG={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},SG={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},CG={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},EG={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},MG={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},kG={ordinalNumber:hG({matchPattern:mG,parsePattern:gG,valueCallback:t=>parseInt(t,10)}),era:id({matchPatterns:vG,defaultMatchWidth:"wide",parsePatterns:wG,defaultParseWidth:"any"}),quarter:id({matchPatterns:bG,defaultMatchWidth:"wide",parsePatterns:yG,defaultParseWidth:"any",valueCallback:t=>t+1}),month:id({matchPatterns:_G,defaultMatchWidth:"wide",parsePatterns:xG,defaultParseWidth:"any"}),day:id({matchPatterns:SG,defaultMatchWidth:"wide",parsePatterns:CG,defaultParseWidth:"any"}),dayPeriod:id({matchPatterns:EG,defaultMatchWidth:"any",parsePatterns:MG,defaultParseWidth:"any"})},nC={code:"en-US",formatDistance:ZY,formatLong:tG,formatRelative:rG,localize:dG,match:kG,options:{weekStartsOn:0,firstWeekContainsDate:1}};function RG(t,e){const n=yn(t,e?.in);return Za(n,eC(n))+1}function rC(t,e){const n=yn(t,e?.in),r=+Fl(n)-+WY(n);return Math.round(r/Hw)+1}function oC(t,e){const n=yn(t,e?.in),r=n.getFullYear(),o=Mf(),a=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,i=fr(e?.in||t,0);i.setFullYear(r+1,0,a),i.setHours(0,0,0,0);const s=ni(i,e),l=fr(e?.in||t,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);const u=ni(l,e);return+n>=+s?r+1:+n>=+u?r:r-1}function TG(t,e){const n=Mf(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=oC(t,e),a=fr(e?.in||t,0);return a.setFullYear(o,0,r),a.setHours(0,0,0,0),ni(a,e)}function aC(t,e){const n=yn(t,e?.in),r=+ni(n,e)-+TG(n,e);return Math.round(r/Hw)+1}function bn(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const fs={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return bn(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):bn(n+1,2)},d(t,e){return bn(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return bn(t.getHours()%12||12,e.length)},H(t,e){return bn(t.getHours(),e.length)},m(t,e){return bn(t.getMinutes(),e.length)},s(t,e){return bn(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return bn(o,e.length)}},Ic={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},c4={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const r=t.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return fs.y(t,e)},Y:function(t,e,n,r){const o=oC(t,r),a=o>0?o:1-o;if(e==="YY"){const i=a%100;return bn(i,2)}return e==="Yo"?n.ordinalNumber(a,{unit:"year"}):bn(a,e.length)},R:function(t,e){const n=JS(t);return bn(n,e.length)},u:function(t,e){const n=t.getFullYear();return bn(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return bn(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return bn(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return fs.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return bn(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const o=aC(t,r);return e==="wo"?n.ordinalNumber(o,{unit:"week"}):bn(o,e.length)},I:function(t,e,n){const r=rC(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):bn(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):fs.d(t,e)},D:function(t,e,n){const r=RG(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):bn(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const o=t.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return bn(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const o=t.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return bn(a,e.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),o=r===0?7:r;switch(e){case"i":return String(o);case"ii":return bn(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const o=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let o;switch(r===12?o=Ic.noon:r===0?o=Ic.midnight:o=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let o;switch(r>=17?o=Ic.evening:r>=12?o=Ic.afternoon:r>=4?o=Ic.morning:o=Ic.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let r=t.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return fs.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):fs.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):bn(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):bn(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):fs.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):fs.s(t,e)},S:function(t,e){return fs.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return d4(r);case"XXXX":case"XX":return kl(r);case"XXXXX":case"XXX":default:return kl(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return d4(r);case"xxxx":case"xx":return kl(r);case"xxxxx":case"xxx":default:return kl(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+u4(r,":");case"OOOO":default:return"GMT"+kl(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+u4(r,":");case"zzzz":default:return"GMT"+kl(r,":")}},t:function(t,e,n){const r=Math.trunc(+t/1e3);return bn(r,e.length)},T:function(t,e,n){return bn(+t,e.length)}};function u4(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),o=Math.trunc(r/60),a=r%60;return a===0?n+String(o):n+String(o)+e+bn(a,2)}function d4(t,e){return t%60===0?(t>0?"-":"+")+bn(Math.abs(t)/60,2):kl(t,e)}function kl(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),o=bn(Math.trunc(r/60),2),a=bn(r%60,2);return n+o+e+a}const f4=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},iC=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},NG=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return f4(t,e);let a;switch(r){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",f4(r,e)).replace("{{time}}",iC(o,e))},PG={p:iC,P:NG},AG=/^D+$/,IG=/^Y+$/,OG=["D","DD","YY","YYYY"];function LG(t){return AG.test(t)}function $G(t){return IG.test(t)}function DG(t,e,n){const r=BG(t,e,n);if(console.warn(r),OG.includes(t))throw new RangeError(r)}function BG(t,e,n){const r=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const zG=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,FG=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,VG=/^'([^]*?)'?$/,jG=/''/g,HG=/[a-zA-Z]/;function Ql(t,e,n){const r=Mf(),o=n?.locale??r.locale??nC,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=yn(t,n?.in);if(!GY(s))throw new RangeError("Invalid time value");let l=e.match(FG).map(d=>{const f=d[0];if(f==="p"||f==="P"){const m=PG[f];return m(d,o.formatLong)}return d}).join("").match(zG).map(d=>{if(d==="''")return{isToken:!1,value:"'"};const f=d[0];if(f==="'")return{isToken:!1,value:WG(d)};if(c4[f])return{isToken:!0,value:d};if(f.match(HG))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:d}});o.localize.preprocessor&&(l=o.localize.preprocessor(s,l));const u={firstWeekContainsDate:a,weekStartsOn:i,locale:o};return l.map(d=>{if(!d.isToken)return d.value;const f=d.value;(!n?.useAdditionalWeekYearTokens&&$G(f)||!n?.useAdditionalDayOfYearTokens&&LG(f))&&DG(f,e,String(t));const m=c4[f[0]];return m(s,f,o.localize,u)}).join("")}function WG(t){const e=t.match(VG);return e?e[1].replace(jG,"'"):t}function qG(t,e){const n=yn(t,e?.in),r=n.getFullYear(),o=n.getMonth(),a=fr(n,0);return a.setFullYear(r,o+1,0),a.setHours(0,0,0,0),a.getDate()}function UG(t){return Math.trunc(+yn(t)/1e3)}function YG(t,e){const n=yn(t,e?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(0,0,0,0),yn(n,e?.in)}function GG(t,e){const n=yn(t,e?.in);return KY(YG(n,e),lo(n,e),e)+1}function hv(t,e){return+yn(t)>+yn(e)}function sC(t,e){return+yn(t)<+yn(e)}function Yw(t,e,n){const[r,o]=ku(n?.in,t,e);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}function KG(t,e,n){const[r,o]=ku(n?.in,t,e);return r.getFullYear()===o.getFullYear()}function gg(t,e,n){return jr(t,-e,n)}function vg(t,e,n){const r=yn(t,n?.in),o=r.getFullYear(),a=r.getDate(),i=fr(t,0);i.setFullYear(o,e,15),i.setHours(0,0,0,0);const s=qG(i);return r.setMonth(e,Math.min(a,s)),r}function p4(t,e,n){const r=yn(t,n?.in);return isNaN(+r)?fr(t,NaN):(r.setFullYear(e),r)}const{createContext:Jl,useContext:ec,useState:tf,forwardRef:XG,useEffect:ph,useRef:ZG,useLayoutEffect:QG}=await q("react");var Pt=function(){return Pt=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Pt.apply(this,arguments)};function JG(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function lC(t,e,n){for(var r=0,o=e.length,a;r<o;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}function kf(t){return t.mode==="multiple"}function Rf(t){return t.mode==="range"}function hh(t){return t.mode==="single"}var eK={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function tK(t,e){return Ql(t,"LLLL y",e)}function nK(t,e){return Ql(t,"d",e)}function rK(t,e){return Ql(t,"LLLL",e)}function oK(t){return"".concat(t)}function aK(t,e){return Ql(t,"cccccc",e)}function iK(t,e){return Ql(t,"yyyy",e)}var sK=Object.freeze({__proto__:null,formatCaption:tK,formatDay:nK,formatMonthCaption:rK,formatWeekNumber:oK,formatWeekdayName:aK,formatYearCaption:iK}),lK=function(t,e,n){return Ql(t,"do MMMM (EEEE)",n)},cK=function(){return"Month: "},uK=function(){return"Go to next month"},dK=function(){return"Go to previous month"},fK=function(t,e){return Ql(t,"cccc",e)},pK=function(t){return"Week n. ".concat(t)},hK=function(){return"Year: "},mK=Object.freeze({__proto__:null,labelDay:lK,labelMonthDropdown:cK,labelNext:uK,labelPrevious:dK,labelWeekNumber:pK,labelWeekday:fK,labelYearDropdown:hK});function gK(){var t="buttons",e=eK,n=nC,r={},o={},a=1,i={},s=new Date;return{captionLayout:t,classNames:e,formatters:sK,labels:mK,locale:n,modifiersClassNames:r,modifiers:o,numberOfMonths:a,styles:i,today:s,mode:"default"}}function vK(t){var e=t.fromYear,n=t.toYear,r=t.fromMonth,o=t.toMonth,a=t.fromDate,i=t.toDate;return r?a=lo(r):e&&(a=new Date(e,0,1)),o?i=qw(o):n&&(i=new Date(n,11,31)),{fromDate:a?pu(a):void 0,toDate:i?pu(i):void 0}}var cC=Jl(void 0);function wK(t){var e,n=t.initialProps,r=gK(),o=vK(n),a=o.fromDate,i=o.toDate,s=(e=n.captionLayout)!==null&&e!==void 0?e:r.captionLayout;s!=="buttons"&&(!a||!i)&&(s="buttons");var l;(hh(n)||kf(n)||Rf(n))&&(l=n.onSelect);var u=Pt(Pt(Pt({},r),n),{captionLayout:s,classNames:Pt(Pt({},r.classNames),n.classNames),components:Pt({},n.components),formatters:Pt(Pt({},r.formatters),n.formatters),fromDate:a,labels:Pt(Pt({},r.labels),n.labels),mode:n.mode||r.mode,modifiers:Pt(Pt({},r.modifiers),n.modifiers),modifiersClassNames:Pt(Pt({},r.modifiersClassNames),n.modifiersClassNames),onSelect:l,styles:Pt(Pt({},r.styles),n.styles),toDate:i});return Z.jsx(cC.Provider,{value:u,children:t.children})}function Rn(){var t=ec(cC);if(!t)throw new Error("useDayPicker must be used within a DayPickerProvider.");return t}function uC(t){var e=Rn(),n=e.locale,r=e.classNames,o=e.styles,a=e.formatters.formatCaption;return Z.jsx("div",{className:r.caption_label,style:o.caption_label,"aria-live":"polite",role:"presentation",id:t.id,children:a(t.displayMonth,{locale:n})})}function bK(t){return Z.jsx("svg",Pt({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},t,{children:Z.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function dC(t){var e,n,r=t.onChange,o=t.value,a=t.children,i=t.caption,s=t.className,l=t.style,u=Rn(),d=(n=(e=u.components)===null||e===void 0?void 0:e.IconDropdown)!==null&&n!==void 0?n:bK;return Z.jsxs("div",{className:s,style:l,children:[Z.jsx("span",{className:u.classNames.vhidden,children:t["aria-label"]}),Z.jsx("select",{name:t.name,"aria-label":t["aria-label"],className:u.classNames.dropdown,style:u.styles.dropdown,value:o,onChange:r,children:a}),Z.jsxs("div",{className:u.classNames.caption_label,style:u.styles.caption_label,"aria-hidden":"true",children:[i,Z.jsx(d,{className:u.classNames.dropdown_icon,style:u.styles.dropdown_icon})]})]})}function yK(t){var e,n=Rn(),r=n.fromDate,o=n.toDate,a=n.styles,i=n.locale,s=n.formatters.formatMonthCaption,l=n.classNames,u=n.components,d=n.labels.labelMonthDropdown;if(!r)return Z.jsx(Z.Fragment,{});if(!o)return Z.jsx(Z.Fragment,{});var f=[];if(KG(r,o))for(var m=lo(r),v=r.getMonth();v<=o.getMonth();v++)f.push(vg(m,v));else for(var m=lo(new Date),v=0;v<=11;v++)f.push(vg(m,v));var g=function(y){var _=Number(y.target.value),S=vg(lo(t.displayMonth),_);t.onChange(S)},w=(e=u?.Dropdown)!==null&&e!==void 0?e:dC;return Z.jsx(w,{name:"months","aria-label":d(),className:l.dropdown_month,style:a.dropdown_month,onChange:g,value:t.displayMonth.getMonth(),caption:s(t.displayMonth,{locale:i}),children:f.map(function(y){return Z.jsx("option",{value:y.getMonth(),children:s(y,{locale:i})},y.getMonth())})})}function _K(t){var e,n=t.displayMonth,r=Rn(),o=r.fromDate,a=r.toDate,i=r.locale,s=r.styles,l=r.classNames,u=r.components,d=r.formatters.formatYearCaption,f=r.labels.labelYearDropdown,m=[];if(!o)return Z.jsx(Z.Fragment,{});if(!a)return Z.jsx(Z.Fragment,{});for(var v=o.getFullYear(),g=a.getFullYear(),w=v;w<=g;w++)m.push(p4(eC(new Date),w));var y=function(S){var x=p4(lo(n),Number(S.target.value));t.onChange(x)},_=(e=u?.Dropdown)!==null&&e!==void 0?e:dC;return Z.jsx(_,{name:"years","aria-label":f(),className:l.dropdown_year,style:s.dropdown_year,onChange:y,value:n.getFullYear(),caption:d(n,{locale:i}),children:m.map(function(S){return Z.jsx("option",{value:S.getFullYear(),children:d(S,{locale:i})},S.getFullYear())})})}function xK(t,e){var n=tf(t),r=n[0],o=n[1],a=e===void 0?r:e;return[a,o]}function SK(t){var e=t.month,n=t.defaultMonth,r=t.today,o=e||n||r||new Date,a=t.toDate,i=t.fromDate,s=t.numberOfMonths,l=s===void 0?1:s;if(a&&ef(a,o)<0){var u=-1*(l-1);o=Sa(a,u)}return i&&ef(o,i)<0&&(o=i),lo(o)}function CK(){var t=Rn(),e=SK(t),n=xK(e,t.month),r=n[0],o=n[1],a=function(i){var s;if(!t.disableNavigation){var l=lo(i);o(l),(s=t.onMonthChange)===null||s===void 0||s.call(t,l)}};return[r,a]}function EK(t,e){for(var n=e.reverseMonths,r=e.numberOfMonths,o=lo(t),a=lo(Sa(o,r)),i=ef(a,o),s=[],l=0;l<i;l++){var u=Sa(o,l);s.push(u)}return n&&(s=s.reverse()),s}function MK(t,e){if(!e.disableNavigation){var n=e.toDate,r=e.pagedNavigation,o=e.numberOfMonths,a=o===void 0?1:o,i=r?a:1,s=lo(t);if(!n)return Sa(s,i);var l=ef(n,t);if(!(l<a))return Sa(s,i)}}function kK(t,e){if(!e.disableNavigation){var n=e.fromDate,r=e.pagedNavigation,o=e.numberOfMonths,a=o===void 0?1:o,i=r?a:1,s=lo(t);if(!n)return Sa(s,-i);var l=ef(s,n);if(!(l<=0))return Sa(s,-i)}}var fC=Jl(void 0);function RK(t){var e=Rn(),n=CK(),r=n[0],o=n[1],a=EK(r,e),i=MK(r,e),s=kK(r,e),l=function(f){return a.some(function(m){return Yw(f,m)})},u=function(f,m){l(f)||(m&&sC(f,m)?o(Sa(f,1+e.numberOfMonths*-1)):o(f))},d={currentMonth:r,displayMonths:a,goToMonth:o,goToDate:u,previousMonth:s,nextMonth:i,isDateDisplayed:l};return Z.jsx(fC.Provider,{value:d,children:t.children})}function Tf(){var t=ec(fC);if(!t)throw new Error("useNavigation must be used within a NavigationProvider");return t}function h4(t){var e,n=Rn(),r=n.classNames,o=n.styles,a=n.components,i=Tf().goToMonth,s=function(d){i(Sa(d,t.displayIndex?-t.displayIndex:0))},l=(e=a?.CaptionLabel)!==null&&e!==void 0?e:uC,u=Z.jsx(l,{id:t.id,displayMonth:t.displayMonth});return Z.jsxs("div",{className:r.caption_dropdowns,style:o.caption_dropdowns,children:[Z.jsx("div",{className:r.vhidden,children:u}),Z.jsx(yK,{onChange:s,displayMonth:t.displayMonth}),Z.jsx(_K,{onChange:s,displayMonth:t.displayMonth})]})}function TK(t){return Z.jsx("svg",Pt({width:"16px",height:"16px",viewBox:"0 0 120 120"},t,{children:Z.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function NK(t){return Z.jsx("svg",Pt({width:"16px",height:"16px",viewBox:"0 0 120 120"},t,{children:Z.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var nf=XG(function(t,e){var n=Rn(),r=n.classNames,o=n.styles,a=[r.button_reset,r.button];t.className&&a.push(t.className);var i=a.join(" "),s=Pt(Pt({},o.button_reset),o.button);return t.style&&Object.assign(s,t.style),Z.jsx("button",Pt({},t,{ref:e,type:"button",className:i,style:s}))});function PK(t){var e,n,r=Rn(),o=r.dir,a=r.locale,i=r.classNames,s=r.styles,l=r.labels,u=l.labelPrevious,d=l.labelNext,f=r.components;if(!t.nextMonth&&!t.previousMonth)return Z.jsx(Z.Fragment,{});var m=u(t.previousMonth,{locale:a}),v=[i.nav_button,i.nav_button_previous].join(" "),g=d(t.nextMonth,{locale:a}),w=[i.nav_button,i.nav_button_next].join(" "),y=(e=f?.IconRight)!==null&&e!==void 0?e:NK,_=(n=f?.IconLeft)!==null&&n!==void 0?n:TK;return Z.jsxs("div",{className:i.nav,style:s.nav,children:[!t.hidePrevious&&Z.jsx(nf,{name:"previous-month","aria-label":m,className:v,style:s.nav_button_previous,disabled:!t.previousMonth,onClick:t.onPreviousClick,children:o==="rtl"?Z.jsx(y,{className:i.nav_icon,style:s.nav_icon}):Z.jsx(_,{className:i.nav_icon,style:s.nav_icon})}),!t.hideNext&&Z.jsx(nf,{name:"next-month","aria-label":g,className:w,style:s.nav_button_next,disabled:!t.nextMonth,onClick:t.onNextClick,children:o==="rtl"?Z.jsx(_,{className:i.nav_icon,style:s.nav_icon}):Z.jsx(y,{className:i.nav_icon,style:s.nav_icon})})]})}function m4(t){var e=Rn().numberOfMonths,n=Tf(),r=n.previousMonth,o=n.nextMonth,a=n.goToMonth,i=n.displayMonths,s=i.findIndex(function(g){return Yw(t.displayMonth,g)}),l=s===0,u=s===i.length-1,d=e>1&&(l||!u),f=e>1&&(u||!l),m=function(){r&&a(r)},v=function(){o&&a(o)};return Z.jsx(PK,{displayMonth:t.displayMonth,hideNext:d,hidePrevious:f,nextMonth:o,previousMonth:r,onPreviousClick:m,onNextClick:v})}function AK(t){var e,n=Rn(),r=n.classNames,o=n.disableNavigation,a=n.styles,i=n.captionLayout,s=n.components,l=(e=s?.CaptionLabel)!==null&&e!==void 0?e:uC,u;return o?u=Z.jsx(l,{id:t.id,displayMonth:t.displayMonth}):i==="dropdown"?u=Z.jsx(h4,{displayMonth:t.displayMonth,id:t.id}):i==="dropdown-buttons"?u=Z.jsxs(Z.Fragment,{children:[Z.jsx(h4,{displayMonth:t.displayMonth,displayIndex:t.displayIndex,id:t.id}),Z.jsx(m4,{displayMonth:t.displayMonth,displayIndex:t.displayIndex,id:t.id})]}):u=Z.jsxs(Z.Fragment,{children:[Z.jsx(l,{id:t.id,displayMonth:t.displayMonth,displayIndex:t.displayIndex}),Z.jsx(m4,{displayMonth:t.displayMonth,id:t.id})]}),Z.jsx("div",{className:r.caption,style:a.caption,children:u})}function IK(t){var e=Rn(),n=e.footer,r=e.styles,o=e.classNames.tfoot;return n?Z.jsx("tfoot",{className:o,style:r.tfoot,children:Z.jsx("tr",{children:Z.jsx("td",{colSpan:8,children:n})})}):Z.jsx(Z.Fragment,{})}function OK(t,e,n){for(var r=n?Fl(new Date):ni(new Date,{locale:t,weekStartsOn:e}),o=[],a=0;a<7;a++){var i=jr(r,a);o.push(i)}return o}function LK(){var t=Rn(),e=t.classNames,n=t.styles,r=t.showWeekNumber,o=t.locale,a=t.weekStartsOn,i=t.ISOWeek,s=t.formatters.formatWeekdayName,l=t.labels.labelWeekday,u=OK(o,a,i);return Z.jsxs("tr",{style:n.head_row,className:e.head_row,children:[r&&Z.jsx("td",{style:n.head_cell,className:e.head_cell}),u.map(function(d,f){return Z.jsx("th",{scope:"col",className:e.head_cell,style:n.head_cell,"aria-label":l(d,{locale:o}),children:s(d,{locale:o})},f)})]})}function $K(){var t,e=Rn(),n=e.classNames,r=e.styles,o=e.components,a=(t=o?.HeadRow)!==null&&t!==void 0?t:LK;return Z.jsx("thead",{style:r.head,className:n.head,children:Z.jsx(a,{})})}function DK(t){var e=Rn(),n=e.locale,r=e.formatters.formatDay;return Z.jsx(Z.Fragment,{children:r(t.date,{locale:n})})}var Gw=Jl(void 0);function BK(t){if(!kf(t.initialProps)){var e={selected:void 0,modifiers:{disabled:[]}};return Z.jsx(Gw.Provider,{value:e,children:t.children})}return Z.jsx(zK,{initialProps:t.initialProps,children:t.children})}function zK(t){var e=t.initialProps,n=t.children,r=e.selected,o=e.min,a=e.max,i=function(u,d,f){var m,v;(m=e.onDayClick)===null||m===void 0||m.call(e,u,d,f);var g=!!(d.selected&&o&&r?.length===o);if(!g){var w=!!(!d.selected&&a&&r?.length===a);if(!w){var y=r?lC([],r):[];if(d.selected){var _=y.findIndex(function(S){return so(u,S)});y.splice(_,1)}else y.push(u);(v=e.onSelect)===null||v===void 0||v.call(e,y,u,d,f)}}},s={disabled:[]};r&&s.disabled.push(function(u){var d=a&&r.length>a-1,f=r.some(function(m){return so(m,u)});return!!(d&&!f)});var l={selected:r,onDayClick:i,modifiers:s};return Z.jsx(Gw.Provider,{value:l,children:n})}function Kw(){var t=ec(Gw);if(!t)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return t}function FK(t,e){var n=e||{},r=n.from,o=n.to;return r&&o?so(o,t)&&so(r,t)?void 0:so(o,t)?{from:o,to:void 0}:so(r,t)?void 0:hv(r,t)?{from:t,to:o}:{from:r,to:t}:o?hv(t,o)?{from:o,to:t}:{from:t,to:o}:r?sC(t,r)?{from:t,to:r}:{from:r,to:t}:{from:t,to:void 0}}var Xw=Jl(void 0);function VK(t){if(!Rf(t.initialProps)){var e={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return Z.jsx(Xw.Provider,{value:e,children:t.children})}return Z.jsx(jK,{initialProps:t.initialProps,children:t.children})}function jK(t){var e=t.initialProps,n=t.children,r=e.selected,o=r||{},a=o.from,i=o.to,s=e.min,l=e.max,u=function(v,g,w){var y,_;(y=e.onDayClick)===null||y===void 0||y.call(e,v,g,w);var S=FK(v,r);(_=e.onSelect)===null||_===void 0||_.call(e,S,v,g,w)},d={range_start:[],range_end:[],range_middle:[],disabled:[]};if(a?(d.range_start=[a],i?(d.range_end=[i],so(a,i)||(d.range_middle=[{after:a,before:i}])):d.range_end=[a]):i&&(d.range_start=[i],d.range_end=[i]),s&&(a&&!i&&d.disabled.push({after:gg(a,s-1),before:jr(a,s-1)}),a&&i&&d.disabled.push({after:a,before:jr(a,s-1)}),!a&&i&&d.disabled.push({after:gg(i,s-1),before:jr(i,s-1)})),l){if(a&&!i&&(d.disabled.push({before:jr(a,-l+1)}),d.disabled.push({after:jr(a,l-1)})),a&&i){var f=Za(i,a)+1,m=l-f;d.disabled.push({before:gg(a,m)}),d.disabled.push({after:jr(i,m)})}!a&&i&&(d.disabled.push({before:jr(i,-l+1)}),d.disabled.push({after:jr(i,l-1)}))}return Z.jsx(Xw.Provider,{value:{selected:r,onDayClick:u,modifiers:d},children:n})}function Zw(){var t=ec(Xw);if(!t)throw new Error("useSelectRange must be used within a SelectRangeProvider");return t}function q1(t){return Array.isArray(t)?lC([],t):t!==void 0?[t]:[]}function HK(t){var e={};return Object.entries(t).forEach(function(n){var r=n[0],o=n[1];e[r]=q1(o)}),e}var Ca;(function(t){t.Outside="outside",t.Disabled="disabled",t.Selected="selected",t.Hidden="hidden",t.Today="today",t.RangeStart="range_start",t.RangeEnd="range_end",t.RangeMiddle="range_middle"})(Ca||(Ca={}));var WK=Ca.Selected,Ti=Ca.Disabled,qK=Ca.Hidden,UK=Ca.Today,wg=Ca.RangeEnd,bg=Ca.RangeMiddle,yg=Ca.RangeStart,YK=Ca.Outside;function GK(t,e,n){var r,o=(r={},r[WK]=q1(t.selected),r[Ti]=q1(t.disabled),r[qK]=q1(t.hidden),r[UK]=[t.today],r[wg]=[],r[bg]=[],r[yg]=[],r[YK]=[],r);return t.fromDate&&o[Ti].push({before:t.fromDate}),t.toDate&&o[Ti].push({after:t.toDate}),kf(t)?o[Ti]=o[Ti].concat(e.modifiers[Ti]):Rf(t)&&(o[Ti]=o[Ti].concat(n.modifiers[Ti]),o[yg]=n.modifiers[yg],o[bg]=n.modifiers[bg],o[wg]=n.modifiers[wg]),o}var pC=Jl(void 0);function KK(t){var e=Rn(),n=Kw(),r=Zw(),o=GK(e,n,r),a=HK(e.modifiers),i=Pt(Pt({},o),a);return Z.jsx(pC.Provider,{value:i,children:t.children})}function hC(){var t=ec(pC);if(!t)throw new Error("useModifiers must be used within a ModifiersProvider");return t}function XK(t){return!!(t&&typeof t=="object"&&"before"in t&&"after"in t)}function ZK(t){return!!(t&&typeof t=="object"&&"from"in t)}function QK(t){return!!(t&&typeof t=="object"&&"after"in t)}function JK(t){return!!(t&&typeof t=="object"&&"before"in t)}function eX(t){return!!(t&&typeof t=="object"&&"dayOfWeek"in t)}function tX(t,e){var n,r=e.from,o=e.to;if(r&&o){var a=Za(o,r)<0;a&&(n=[o,r],r=n[0],o=n[1]);var i=Za(t,r)>=0&&Za(o,t)>=0;return i}return o?so(o,t):r?so(r,t):!1}function nX(t){return Ww(t)}function rX(t){return Array.isArray(t)&&t.every(Ww)}function oX(t,e){return e.some(function(n){if(typeof n=="boolean")return n;if(nX(n))return so(t,n);if(rX(n))return n.includes(t);if(ZK(n))return tX(t,n);if(eX(n))return n.dayOfWeek.includes(t.getDay());if(XK(n)){var r=Za(n.before,t),o=Za(n.after,t),a=r>0,i=o<0,s=hv(n.before,n.after);return s?i&&a:a||i}return QK(n)?Za(t,n.after)>0:JK(n)?Za(n.before,t)>0:typeof n=="function"?n(t):!1})}function Qw(t,e,n){var r=Object.keys(e).reduce(function(a,i){var s=e[i];return oX(t,s)&&a.push(i),a},[]),o={};return r.forEach(function(a){return o[a]=!0}),n&&!Yw(t,n)&&(o.outside=!0),o}function aX(t,e){for(var n=lo(t[0]),r=qw(t[t.length-1]),o,a,i=n;i<=r;){var s=Qw(i,e),l=!s.disabled&&!s.hidden;if(!l){i=jr(i,1);continue}if(s.selected)return i;s.today&&!a&&(a=i),o||(o=i),i=jr(i,1)}return a||o}var iX=365;function mC(t,e){var n=e.moveBy,r=e.direction,o=e.context,a=e.modifiers,i=e.retry,s=i===void 0?{count:0,lastFocused:t}:i,l=o.weekStartsOn,u=o.fromDate,d=o.toDate,f=o.locale,m={day:jr,week:pv,month:Sa,year:qY,startOfWeek:function(y){return o.ISOWeek?Fl(y):ni(y,{locale:f,weekStartsOn:l})},endOfWeek:function(y){return o.ISOWeek?tC(y):Uw(y,{locale:f,weekStartsOn:l})}},v=m[n](t,r==="after"?1:-1);r==="before"&&u?v=UY([u,v]):r==="after"&&d&&(v=YY([d,v]));var g=!0;if(a){var w=Qw(v,a);g=!w.disabled&&!w.hidden}return g?v:s.count>iX?s.lastFocused:mC(v,{moveBy:n,direction:r,context:o,modifiers:a,retry:Pt(Pt({},s),{count:s.count+1})})}var gC=Jl(void 0);function sX(t){var e=Tf(),n=hC(),r=tf(),o=r[0],a=r[1],i=tf(),s=i[0],l=i[1],u=aX(e.displayMonths,n),d=o??(s&&e.isDateDisplayed(s))?s:u,f=function(){l(o),a(void 0)},m=function(y){a(y)},v=Rn(),g=function(y,_){if(o){var S=mC(o,{moveBy:y,direction:_,context:v,modifiers:n});so(o,S)||(e.goToDate(S,o),m(S))}},w={focusedDay:o,focusTarget:d,blur:f,focus:m,focusDayAfter:function(){return g("day","after")},focusDayBefore:function(){return g("day","before")},focusWeekAfter:function(){return g("week","after")},focusWeekBefore:function(){return g("week","before")},focusMonthBefore:function(){return g("month","before")},focusMonthAfter:function(){return g("month","after")},focusYearBefore:function(){return g("year","before")},focusYearAfter:function(){return g("year","after")},focusStartOfWeek:function(){return g("startOfWeek","before")},focusEndOfWeek:function(){return g("endOfWeek","after")}};return Z.jsx(gC.Provider,{value:w,children:t.children})}function Jw(){var t=ec(gC);if(!t)throw new Error("useFocusContext must be used within a FocusProvider");return t}function lX(t,e){var n=hC(),r=Qw(t,n,e);return r}var e3=Jl(void 0);function cX(t){if(!hh(t.initialProps)){var e={selected:void 0};return Z.jsx(e3.Provider,{value:e,children:t.children})}return Z.jsx(uX,{initialProps:t.initialProps,children:t.children})}function uX(t){var e=t.initialProps,n=t.children,r=function(a,i,s){var l,u,d;if((l=e.onDayClick)===null||l===void 0||l.call(e,a,i,s),i.selected&&!e.required){(u=e.onSelect)===null||u===void 0||u.call(e,void 0,a,i,s);return}(d=e.onSelect)===null||d===void 0||d.call(e,a,a,i,s)},o={selected:e.selected,onDayClick:r};return Z.jsx(e3.Provider,{value:o,children:n})}function vC(){var t=ec(e3);if(!t)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return t}function dX(t,e){var n=Rn(),r=vC(),o=Kw(),a=Zw(),i=Jw(),s=i.focusDayAfter,l=i.focusDayBefore,u=i.focusWeekAfter,d=i.focusWeekBefore,f=i.blur,m=i.focus,v=i.focusMonthBefore,g=i.focusMonthAfter,w=i.focusYearBefore,y=i.focusYearAfter,_=i.focusStartOfWeek,S=i.focusEndOfWeek,x=function(I){var D,U,Y,oe;hh(n)?(D=r.onDayClick)===null||D===void 0||D.call(r,t,e,I):kf(n)?(U=o.onDayClick)===null||U===void 0||U.call(o,t,e,I):Rf(n)?(Y=a.onDayClick)===null||Y===void 0||Y.call(a,t,e,I):(oe=n.onDayClick)===null||oe===void 0||oe.call(n,t,e,I)},C=function(I){var D;m(t),(D=n.onDayFocus)===null||D===void 0||D.call(n,t,e,I)},R=function(I){var D;f(),(D=n.onDayBlur)===null||D===void 0||D.call(n,t,e,I)},P=function(I){var D;(D=n.onDayMouseEnter)===null||D===void 0||D.call(n,t,e,I)},O=function(I){var D;(D=n.onDayMouseLeave)===null||D===void 0||D.call(n,t,e,I)},$=function(I){var D;(D=n.onDayPointerEnter)===null||D===void 0||D.call(n,t,e,I)},A=function(I){var D;(D=n.onDayPointerLeave)===null||D===void 0||D.call(n,t,e,I)},M=function(I){var D;(D=n.onDayTouchCancel)===null||D===void 0||D.call(n,t,e,I)},L=function(I){var D;(D=n.onDayTouchEnd)===null||D===void 0||D.call(n,t,e,I)},B=function(I){var D;(D=n.onDayTouchMove)===null||D===void 0||D.call(n,t,e,I)},F=function(I){var D;(D=n.onDayTouchStart)===null||D===void 0||D.call(n,t,e,I)},N=function(I){var D;(D=n.onDayKeyUp)===null||D===void 0||D.call(n,t,e,I)},V=function(I){var D;switch(I.key){case"ArrowLeft":I.preventDefault(),I.stopPropagation(),n.dir==="rtl"?s():l();break;case"ArrowRight":I.preventDefault(),I.stopPropagation(),n.dir==="rtl"?l():s();break;case"ArrowDown":I.preventDefault(),I.stopPropagation(),u();break;case"ArrowUp":I.preventDefault(),I.stopPropagation(),d();break;case"PageUp":I.preventDefault(),I.stopPropagation(),I.shiftKey?w():v();break;case"PageDown":I.preventDefault(),I.stopPropagation(),I.shiftKey?y():g();break;case"Home":I.preventDefault(),I.stopPropagation(),_();break;case"End":I.preventDefault(),I.stopPropagation(),S();break}(D=n.onDayKeyDown)===null||D===void 0||D.call(n,t,e,I)},z={onClick:x,onFocus:C,onBlur:R,onKeyDown:V,onKeyUp:N,onMouseEnter:P,onMouseLeave:O,onPointerEnter:$,onPointerLeave:A,onTouchCancel:M,onTouchEnd:L,onTouchMove:B,onTouchStart:F};return z}function fX(){var t=Rn(),e=vC(),n=Kw(),r=Zw(),o=hh(t)?e.selected:kf(t)?n.selected:Rf(t)?r.selected:void 0;return o}function pX(t){return Object.values(Ca).includes(t)}function hX(t,e){var n=[t.classNames.day];return Object.keys(e).forEach(function(r){var o=t.modifiersClassNames[r];if(o)n.push(o);else if(pX(r)){var a=t.classNames["day_".concat(r)];a&&n.push(a)}}),n}function mX(t,e){var n=Pt({},t.styles.day);return Object.keys(e).forEach(function(r){var o;n=Pt(Pt({},n),(o=t.modifiersStyles)===null||o===void 0?void 0:o[r])}),n}function wC(t,e,n){var r,o,a,i=Rn(),s=Jw(),l=lX(t,e),u=dX(t,l),d=fX(),f=!!(i.onDayClick||i.mode!=="default");ph(function(){var P;l.outside||s.focusedDay&&f&&so(s.focusedDay,t)&&((P=n.current)===null||P===void 0||P.focus())},[s.focusedDay,t,n,f,l.outside]);var m=hX(i,l).join(" "),v=mX(i,l),g=!!(l.outside&&!i.showOutsideDays||l.hidden),w=(a=(o=i.components)===null||o===void 0?void 0:o.DayContent)!==null&&a!==void 0?a:DK,y=Z.jsx(w,{date:t,displayMonth:e,activeModifiers:l}),_={style:v,className:m,children:y,role:"gridcell"},S=s.focusTarget&&so(s.focusTarget,t)&&!l.outside,x=s.focusedDay&&so(s.focusedDay,t),C=Pt(Pt(Pt({},_),(r={disabled:l.disabled,role:"gridcell"},r["aria-selected"]=l.selected,r.tabIndex=x||S?0:-1,r)),u),R={isButton:f,isHidden:g,activeModifiers:l,selectedDays:d,buttonProps:C,divProps:_};return R}function gX(t){var e=ZG(null),n=wC(t.date,t.displayMonth,e);return n.isHidden?Z.jsx("div",{role:"gridcell"}):n.isButton?Z.jsx(nf,Pt({name:"day",ref:e},n.buttonProps)):Z.jsx("div",Pt({},n.divProps))}function vX(t){var e=t.number,n=t.dates,r=Rn(),o=r.onWeekNumberClick,a=r.styles,i=r.classNames,s=r.locale,l=r.labels.labelWeekNumber,u=r.formatters.formatWeekNumber,d=u(Number(e),{locale:s});if(!o)return Z.jsx("span",{className:i.weeknumber,style:a.weeknumber,children:d});var f=l(Number(e),{locale:s}),m=function(v){o(e,n,v)};return Z.jsx(nf,{name:"week-number","aria-label":f,className:i.weeknumber,style:a.weeknumber,onClick:m,children:d})}function wX(t){var e,n,r=Rn(),o=r.styles,a=r.classNames,i=r.showWeekNumber,s=r.components,l=(e=s?.Day)!==null&&e!==void 0?e:gX,u=(n=s?.WeekNumber)!==null&&n!==void 0?n:vX,d;return i&&(d=Z.jsx("td",{className:a.cell,style:o.cell,children:Z.jsx(u,{number:t.weekNumber,dates:t.dates})})),Z.jsxs("tr",{className:a.row,style:o.row,children:[d,t.dates.map(function(f){return Z.jsx("td",{className:a.cell,style:o.cell,role:"presentation",children:Z.jsx(l,{displayMonth:t.displayMonth,date:f})},UG(f))})]})}function g4(t,e,n){for(var r=n?.ISOWeek?tC(e):Uw(e,n),o=n?.ISOWeek?Fl(t):ni(t,n),a=Za(r,o),i=[],s=0;s<=a;s++)i.push(jr(o,s));var l=i.reduce(function(u,d){var f=n?.ISOWeek?rC(d):aC(d,n),m=u.find(function(v){return v.weekNumber===f});return m?(m.dates.push(d),u):(u.push({weekNumber:f,dates:[d]}),u)},[]);return l}function bX(t,e){var n=g4(lo(t),qw(t),e);if(e?.useFixedWeeks){var r=GG(t,e);if(r<6){var o=n[n.length-1],a=o.dates[o.dates.length-1],i=pv(a,6-r),s=g4(pv(a,1),i,e);n.push.apply(n,s)}}return n}function yX(t){var e,n,r,o=Rn(),a=o.locale,i=o.classNames,s=o.styles,l=o.hideHead,u=o.fixedWeeks,d=o.components,f=o.weekStartsOn,m=o.firstWeekContainsDate,v=o.ISOWeek,g=bX(t.displayMonth,{useFixedWeeks:!!u,ISOWeek:v,locale:a,weekStartsOn:f,firstWeekContainsDate:m}),w=(e=d?.Head)!==null&&e!==void 0?e:$K,y=(n=d?.Row)!==null&&n!==void 0?n:wX,_=(r=d?.Footer)!==null&&r!==void 0?r:IK;return Z.jsxs("table",{id:t.id,className:i.table,style:s.table,role:"grid","aria-labelledby":t["aria-labelledby"],children:[!l&&Z.jsx(w,{}),Z.jsx("tbody",{className:i.tbody,style:s.tbody,children:g.map(function(S){return Z.jsx(y,{displayMonth:t.displayMonth,dates:S.dates,weekNumber:S.weekNumber},S.weekNumber)})}),Z.jsx(_,{displayMonth:t.displayMonth})]})}function _X(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var xX=_X()?QG:ph,_g=!1,SX=0;function v4(){return"react-day-picker-".concat(++SX)}function CX(t){var e,n=t??(_g?v4():null),r=tf(n),o=r[0],a=r[1];return xX(function(){o===null&&a(v4())},[]),ph(function(){_g===!1&&(_g=!0)},[]),(e=t??o)!==null&&e!==void 0?e:void 0}function EX(t){var e,n,r=Rn(),o=r.dir,a=r.classNames,i=r.styles,s=r.components,l=Tf().displayMonths,u=CX(r.id?"".concat(r.id,"-").concat(t.displayIndex):void 0),d=r.id?"".concat(r.id,"-grid-").concat(t.displayIndex):void 0,f=[a.month],m=i.month,v=t.displayIndex===0,g=t.displayIndex===l.length-1,w=!v&&!g;o==="rtl"&&(e=[v,g],g=e[0],v=e[1]),v&&(f.push(a.caption_start),m=Pt(Pt({},m),i.caption_start)),g&&(f.push(a.caption_end),m=Pt(Pt({},m),i.caption_end)),w&&(f.push(a.caption_between),m=Pt(Pt({},m),i.caption_between));var y=(n=s?.Caption)!==null&&n!==void 0?n:AK;return Z.jsxs("div",{className:f.join(" "),style:m,children:[Z.jsx(y,{id:u,displayMonth:t.displayMonth,displayIndex:t.displayIndex}),Z.jsx(yX,{id:d,"aria-labelledby":u,displayMonth:t.displayMonth})]},t.displayIndex)}function MX(t){var e=Rn(),n=e.classNames,r=e.styles;return Z.jsx("div",{className:n.months,style:r.months,children:t.children})}function kX(t){var e,n,r=t.initialProps,o=Rn(),a=Jw(),i=Tf(),s=tf(!1),l=s[0],u=s[1];ph(function(){o.initialFocus&&a.focusTarget&&(l||(a.focus(a.focusTarget),u(!0)))},[o.initialFocus,l,a.focus,a.focusTarget,a]);var d=[o.classNames.root,o.className];o.numberOfMonths>1&&d.push(o.classNames.multiple_months),o.showWeekNumber&&d.push(o.classNames.with_weeknumber);var f=Pt(Pt({},o.styles.root),o.style),m=Object.keys(r).filter(function(g){return g.startsWith("data-")}).reduce(function(g,w){var y;return Pt(Pt({},g),(y={},y[w]=r[w],y))},{}),v=(n=(e=r.components)===null||e===void 0?void 0:e.Months)!==null&&n!==void 0?n:MX;return Z.jsx("div",Pt({className:d.join(" "),style:f,dir:o.dir,id:o.id,nonce:r.nonce,title:r.title,lang:r.lang},m,{children:Z.jsx(v,{children:i.displayMonths.map(function(g,w){return Z.jsx(EX,{displayIndex:w,displayMonth:g},w)})})}))}function RX(t){var e=t.children,n=JG(t,["children"]);return Z.jsx(wK,{initialProps:n,children:Z.jsx(RK,{children:Z.jsx(cX,{initialProps:n,children:Z.jsx(BK,{initialProps:n,children:Z.jsx(VK,{initialProps:n,children:Z.jsx(KK,{children:Z.jsx(sX,{children:e})})})})})})})}function TX(t){return Z.jsx(RX,Pt({},t,{children:Z.jsx(kX,{initialProps:t})}))}function NX({className:t,classNames:e,showOutsideDays:n=!0,...r}){return h(TX,{showOutsideDays:n,className:ae("p-3",t),classNames:{months:"flex flex-col sm:flex-row gap-6",month:"flex flex-col gap-4",caption:"flex justify-center pt-1 relative items-center w-full",caption_label:"text-sm font-medium",nav:"flex items-center gap-1",nav_button:ae(X2({variant:"outline"}),"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-x-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:ae("[&:has([aria-selected])]:bg-accent relative p-0 text-center text-[1.3rem] focus-within:relative focus-within:z-20 [&:has([aria-selected].day-range-end)]:rounded-r-md",r.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:ae(X2({variant:"ghost"}),"size-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start aria-selected:bg-primary aria-selected:text-primary-foreground",day_range_end:"day-range-end aria-selected:bg-primary aria-selected:text-primary-foreground",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground border-none",day_hidden:"invisible",...e},components:{IconLeft:({className:o,...a})=>h(Bq,{className:ae("size-4",o),...a}),IconRight:({className:o,...a})=>h(Fq,{className:ae("size-4",o),...a})},...r})}const bC=await q("react");bC.createContext({});bC.createContext({});const Nl=await q("react");var mh="Switch",[PX]=Go(mh),[AX,IX]=PX(mh),yC=Nl.forwardRef((t,e)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:a,required:i,disabled:s,value:l="on",onCheckedChange:u,form:d,...f}=t,[m,v]=Nl.useState(null),g=ln(e,x=>v(x)),w=Nl.useRef(!1),y=m?d||!!m.closest("form"):!0,[_,S]=Ko({prop:o,defaultProp:a??!1,onChange:u,caller:mh});return Z.jsxs(AX,{scope:n,checked:_,disabled:s,children:[Z.jsx(Wt.button,{type:"button",role:"switch","aria-checked":_,"aria-required":i,"data-state":CC(_),"data-disabled":s?"":void 0,disabled:s,value:l,...f,ref:g,onClick:it(t.onClick,x=>{S(C=>!C),y&&(w.current=x.isPropagationStopped(),w.current||x.stopPropagation())})}),y&&Z.jsx(SC,{control:m,bubbles:!w.current,name:r,value:l,checked:_,required:i,disabled:s,form:d,style:{transform:"translateX(-100%)"}})]})});yC.displayName=mh;var _C="SwitchThumb",xC=Nl.forwardRef((t,e)=>{const{__scopeSwitch:n,...r}=t,o=IX(_C,n);return Z.jsx(Wt.span,{"data-state":CC(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:e})});xC.displayName=_C;var OX="SwitchBubbleInput",SC=Nl.forwardRef(({__scopeSwitch:t,control:e,checked:n,bubbles:r=!0,...o},a)=>{const i=Nl.useRef(null),s=ln(i,a),l=uS(n),u=vw(e);return Nl.useEffect(()=>{const d=i.current;if(!d)return;const f=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(f,"checked").set;if(l!==n&&v){const g=new Event("click",{bubbles:r});v.call(d,n),d.dispatchEvent(g)}},[l,n,r]),Z.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:s,style:{...o.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});SC.displayName=OX;function CC(t){return t?"checked":"unchecked"}var LX=yC,$X=xC;const DX=await q("react"),BX=he("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}}),zX=DX.forwardRef(({className:t,variant:e,size:n,asChild:r=!1,...o},a)=>h(r?W8:"button",{"data-slot":"button",className:ae(BX({variant:e,size:n,className:t})),ref:a,...o}));zX.displayName="ForwardedShadButton";const Tr=await q("react");var gh="DropdownMenu",[FX]=Go(gh,[xw]),Ir=xw(),[VX,EC]=FX(gh),MC=t=>{const{__scopeDropdownMenu:e,children:n,dir:r,open:o,defaultOpen:a,onOpenChange:i,modal:s=!0}=t,l=Ir(e),u=Tr.useRef(null),[d,f]=Ko({prop:o,defaultProp:a??!1,onChange:i,caller:gh});return Z.jsx(VX,{scope:e,triggerId:qo(),triggerRef:u,contentId:qo(),open:d,onOpenChange:f,onOpenToggle:Tr.useCallback(()=>f(m=>!m),[f]),modal:s,children:Z.jsx(d9,{...l,open:d,onOpenChange:f,dir:r,modal:s,children:n})})};MC.displayName=gh;var kC="DropdownMenuTrigger",RC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=t,a=EC(kC,n),i=Ir(n);return Z.jsx(f9,{asChild:!0,...i,children:Z.jsx(Wt.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:Ws(e,a.triggerRef),onPointerDown:it(t.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:it(t.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});RC.displayName=kC;var jX="DropdownMenuPortal",TC=t=>{const{__scopeDropdownMenu:e,...n}=t,r=Ir(e);return Z.jsx(p9,{...r,...n})};TC.displayName=jX;var NC="DropdownMenuContent",PC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=EC(NC,n),a=Ir(n),i=Tr.useRef(!1);return Z.jsx(h9,{id:o.contentId,"aria-labelledby":o.triggerId,...a,...r,ref:e,onCloseAutoFocus:it(t.onCloseAutoFocus,s=>{i.current||o.triggerRef.current?.focus(),i.current=!1,s.preventDefault()}),onInteractOutside:it(t.onInteractOutside,s=>{const l=s.detail.originalEvent,u=l.button===0&&l.ctrlKey===!0,d=l.button===2||u;(!o.modal||d)&&(i.current=!0)}),style:{...t.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});PC.displayName=NC;var HX="DropdownMenuGroup",AC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(m9,{...o,...r,ref:e})});AC.displayName=HX;var WX="DropdownMenuLabel",IC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(g9,{...o,...r,ref:e})});IC.displayName=WX;var qX="DropdownMenuItem",OC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(v9,{...o,...r,ref:e})});OC.displayName=qX;var UX="DropdownMenuCheckboxItem",LC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(w9,{...o,...r,ref:e})});LC.displayName=UX;var YX="DropdownMenuRadioGroup",$C=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(b9,{...o,...r,ref:e})});$C.displayName=YX;var GX="DropdownMenuRadioItem",DC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(y9,{...o,...r,ref:e})});DC.displayName=GX;var KX="DropdownMenuItemIndicator",BC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(_9,{...o,...r,ref:e})});BC.displayName=KX;var XX="DropdownMenuSeparator",zC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(x9,{...o,...r,ref:e})});zC.displayName=XX;var ZX="DropdownMenuArrow",QX=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(S9,{...o,...r,ref:e})});QX.displayName=ZX;var JX=t=>{const{__scopeDropdownMenu:e,children:n,open:r,onOpenChange:o,defaultOpen:a}=t,i=Ir(e),[s,l]=Ko({prop:r,defaultProp:a??!1,onChange:o,caller:"DropdownMenuSub"});return Z.jsx(C9,{...i,open:s,onOpenChange:l,children:n})},eZ="DropdownMenuSubTrigger",FC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(E9,{...o,...r,ref:e})});FC.displayName=eZ;var tZ="DropdownMenuSubContent",VC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(M9,{...o,...r,ref:e,style:{...t.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});VC.displayName=tZ;var nZ=MC,rZ=RC,oZ=TC,aZ=PC,iZ=AC,sZ=IC,lZ=OC,cZ=LC,uZ=$C,dZ=DC,jC=BC,fZ=zC,pZ=JX,hZ=FC,mZ=VC;const ou=await q("react");var vh="Tabs",[gZ]=Go(vh,[qs]),HC=qs(),[vZ,t3]=gZ(vh),WC=ou.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:l="automatic",...u}=t,d=Kl(s),[f,m]=Ko({prop:r,onChange:o,defaultProp:a??"",caller:vh});return Z.jsx(vZ,{scope:n,baseId:qo(),value:f,onValueChange:m,orientation:i,dir:d,activationMode:l,children:Z.jsx(Wt.div,{dir:d,"data-orientation":i,...u,ref:e})})});WC.displayName=vh;var qC="TabsList",UC=ou.forwardRef((t,e)=>{const{__scopeTabs:n,loop:r=!0,...o}=t,a=t3(qC,n),i=HC(n);return Z.jsx(oh,{asChild:!0,...i,orientation:a.orientation,dir:a.dir,loop:r,children:Z.jsx(Wt.div,{role:"tablist","aria-orientation":a.orientation,...o,ref:e})})});UC.displayName=qC;var YC="TabsTrigger",GC=ou.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...a}=t,i=t3(YC,n),s=HC(n),l=ZC(i.baseId,r),u=QC(i.baseId,r),d=r===i.value;return Z.jsx(ah,{asChild:!0,...s,focusable:!o,active:d,children:Z.jsx(Wt.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...a,ref:e,onMouseDown:it(t.onMouseDown,f=>{!o&&f.button===0&&f.ctrlKey===!1?i.onValueChange(r):f.preventDefault()}),onKeyDown:it(t.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&i.onValueChange(r)}),onFocus:it(t.onFocus,()=>{const f=i.activationMode!=="manual";!d&&!o&&f&&i.onValueChange(r)})})})});GC.displayName=YC;var KC="TabsContent",XC=ou.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,forceMount:o,children:a,...i}=t,s=t3(KC,n),l=ZC(s.baseId,r),u=QC(s.baseId,r),d=r===s.value,f=ou.useRef(d);return ou.useEffect(()=>{const m=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(m)},[]),Z.jsx(To,{present:o||d,children:({present:m})=>Z.jsx(Wt.div,{"data-state":d?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!m,id:u,tabIndex:0,...i,ref:e,style:{...t.style,animationDuration:f.current?"0s":void 0},children:m&&a})})});XC.displayName=KC;function ZC(t,e){return`${t}-trigger-${e}`}function QC(t,e){return`${t}-content-${e}`}var wZ=WC,bZ=UC,yZ=GC,_Z=XC;const xZ=await q("react");var JC="Toggle",n3=xZ.forwardRef((t,e)=>{const{pressed:n,defaultPressed:r,onPressedChange:o,...a}=t,[i,s]=Ko({prop:n,onChange:o,defaultProp:r??!1,caller:JC});return Z.jsx(Wt.button,{type:"button","aria-pressed":i,"data-state":i?"on":"off","data-disabled":t.disabled?"":void 0,...a,ref:e,onClick:it(t.onClick,()=>{t.disabled||s(!i)})})});n3.displayName=JC;var Bhe=n3;const va=await q("react");var Ys="ToggleGroup",[eE]=Go(Ys,[qs]),tE=qs(),r3=va.forwardRef((t,e)=>{const{type:n,...r}=t;if(n==="single"){const o=r;return Z.jsx(SZ,{...o,ref:e})}if(n==="multiple"){const o=r;return Z.jsx(CZ,{...o,ref:e})}throw new Error(`Missing prop \`type\` expected on \`${Ys}\``)});r3.displayName=Ys;var[nE,rE]=eE(Ys),SZ=va.forwardRef((t,e)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=t,[i,s]=Ko({prop:n,defaultProp:r??"",onChange:o,caller:Ys});return Z.jsx(nE,{scope:t.__scopeToggleGroup,type:"single",value:va.useMemo(()=>i?[i]:[],[i]),onItemActivate:s,onItemDeactivate:va.useCallback(()=>s(""),[s]),children:Z.jsx(oE,{...a,ref:e})})}),CZ=va.forwardRef((t,e)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=t,[i,s]=Ko({prop:n,defaultProp:r??[],onChange:o,caller:Ys}),l=va.useCallback(d=>s((f=[])=>[...f,d]),[s]),u=va.useCallback(d=>s((f=[])=>f.filter(m=>m!==d)),[s]);return Z.jsx(nE,{scope:t.__scopeToggleGroup,type:"multiple",value:i,onItemActivate:l,onItemDeactivate:u,children:Z.jsx(oE,{...a,ref:e})})});r3.displayName=Ys;var[EZ,MZ]=eE(Ys),oE=va.forwardRef((t,e)=>{const{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:o=!0,orientation:a,dir:i,loop:s=!0,...l}=t,u=tE(n),d=Kl(i),f={role:"group",dir:d,...l};return Z.jsx(EZ,{scope:n,rovingFocus:o,disabled:r,children:o?Z.jsx(oh,{asChild:!0,...u,orientation:a,dir:d,loop:s,children:Z.jsx(Wt.div,{...f,ref:e})}):Z.jsx(Wt.div,{...f,ref:e})})}),k0="ToggleGroupItem",aE=va.forwardRef((t,e)=>{const n=rE(k0,t.__scopeToggleGroup),r=MZ(k0,t.__scopeToggleGroup),o=tE(t.__scopeToggleGroup),a=n.value.includes(t.value),i=r.disabled||t.disabled,s={...t,pressed:a,disabled:i},l=va.useRef(null);return r.rovingFocus?Z.jsx(ah,{asChild:!0,...o,focusable:!i,active:a,ref:l,children:Z.jsx(w4,{...s,ref:e})}):Z.jsx(w4,{...s,ref:e})});aE.displayName=k0;var w4=va.forwardRef((t,e)=>{const{__scopeToggleGroup:n,value:r,...o}=t,a=rE(k0,n),i={role:"radio","aria-checked":t.pressed,"aria-pressed":void 0},s=a.type==="single"?i:void 0;return Z.jsx(n3,{...s,...o,ref:e,onPressedChange:l=>{l?a.onItemActivate(r):a.onItemDeactivate(r)}})}),kZ=r3,RZ=aE;const TZ=await q("react");TZ.createContext({size:"default",variant:"default"});const NZ=await q("react"),{createContext:PZ,useLayoutEffect:AZ,useRef:io,forwardRef:iE,createElement:hu,useContext:sE,useImperativeHandle:lE,useState:au,useCallback:to,useEffect:Pl,useMemo:IZ}=await q("react"),wh=PZ(null);wh.displayName="PanelGroupContext";const jn={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},o3=10,Al=AZ,b4=NZ.useId,OZ=typeof b4=="function"?b4:()=>null;let LZ=0;function a3(t=null){const e=OZ(),n=io(t||e||null);return n.current===null&&(n.current=""+LZ++),t??n.current}function cE({children:t,className:e="",collapsedSize:n,collapsible:r,defaultSize:o,forwardedRef:a,id:i,maxSize:s,minSize:l,onCollapse:u,onExpand:d,onResize:f,order:m,style:v,tagName:g="div",...w}){const y=sE(wh);if(y===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:_,expandPanel:S,getPanelSize:x,getPanelStyle:C,groupId:R,isPanelCollapsed:P,reevaluatePanelConstraints:O,registerPanel:$,resizePanel:A,unregisterPanel:M}=y,L=a3(i),B=io({callbacks:{onCollapse:u,onExpand:d,onResize:f},constraints:{collapsedSize:n,collapsible:r,defaultSize:o,maxSize:s,minSize:l},id:L,idIsFromProps:i!==void 0,order:m});io({didLogMissingDefaultSizeWarning:!1}),Al(()=>{const{callbacks:N,constraints:V}=B.current,z={...V};B.current.id=L,B.current.idIsFromProps=i!==void 0,B.current.order=m,N.onCollapse=u,N.onExpand=d,N.onResize=f,V.collapsedSize=n,V.collapsible=r,V.defaultSize=o,V.maxSize=s,V.minSize=l,(z.collapsedSize!==V.collapsedSize||z.collapsible!==V.collapsible||z.maxSize!==V.maxSize||z.minSize!==V.minSize)&&O(B.current,z)}),Al(()=>{const N=B.current;return $(N),()=>{M(N)}},[m,L,$,M]),lE(a,()=>({collapse:()=>{_(B.current)},expand:N=>{S(B.current,N)},getId(){return L},getSize(){return x(B.current)},isCollapsed(){return P(B.current)},isExpanded(){return!P(B.current)},resize:N=>{A(B.current,N)}}),[_,S,x,P,L,A]);const F=C(B.current,o);return hu(g,{...w,children:t,className:e,id:L,style:{...F,...v},[jn.groupId]:R,[jn.panel]:"",[jn.panelCollapsible]:r||void 0,[jn.panelId]:L,[jn.panelSize]:parseFloat(""+F.flexGrow).toFixed(1)})}const uE=iE((t,e)=>hu(cE,{...t,forwardedRef:e}));cE.displayName="Panel";uE.displayName="forwardRef(Panel)";let mv=null,U1=-1,Ms=null;function $Z(t,e,n){const r=(e&mE)!==0,o=(e&gE)!==0,a=(e&vE)!==0,i=(e&wE)!==0;if(e){if(r)return a?"se-resize":i?"ne-resize":"e-resize";if(o)return a?"sw-resize":i?"nw-resize":"w-resize";if(a)return"s-resize";if(i)return"n-resize"}switch(t){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}function DZ(){Ms!==null&&(document.head.removeChild(Ms),mv=null,Ms=null,U1=-1)}function xg(t,e,n){var r,o;const a=$Z(t,e);if(mv!==a){if(mv=a,Ms===null&&(Ms=document.createElement("style"),document.head.appendChild(Ms)),U1>=0){var i;(i=Ms.sheet)===null||i===void 0||i.removeRule(U1)}U1=(r=(o=Ms.sheet)===null||o===void 0?void 0:o.insertRule(`*{cursor: ${a} !important;}`))!==null&&r!==void 0?r:-1}}function dE(t){return t.type==="keydown"}function fE(t){return t.type.startsWith("pointer")}function pE(t){return t.type.startsWith("mouse")}function bh(t){if(fE(t)){if(t.isPrimary)return{x:t.clientX,y:t.clientY}}else if(pE(t))return{x:t.clientX,y:t.clientY};return{x:1/0,y:1/0}}function BZ(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function zZ(t,e,n){return t.x<e.x+e.width&&t.x+t.width>e.x&&t.y<e.y+e.height&&t.y+t.height>e.y}function FZ(t,e){if(t===e)throw new Error("Cannot compare node with itself");const n={a:x4(t),b:x4(e)};let r;for(;n.a.at(-1)===n.b.at(-1);)t=n.a.pop(),e=n.b.pop(),r=t;Yt(r,"Stacking order can only be calculated for elements with a common ancestor");const o={a:_4(y4(n.a)),b:_4(y4(n.b))};if(o.a===o.b){const a=r.childNodes,i={a:n.a.at(-1),b:n.b.at(-1)};let s=a.length;for(;s--;){const l=a[s];if(l===i.a)return 1;if(l===i.b)return-1}}return Math.sign(o.a-o.b)}const VZ=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function jZ(t){var e;const n=getComputedStyle((e=hE(t))!==null&&e!==void 0?e:t).display;return n==="flex"||n==="inline-flex"}function HZ(t){const e=getComputedStyle(t);return!!(e.position==="fixed"||e.zIndex!=="auto"&&(e.position!=="static"||jZ(t))||+e.opacity<1||"transform"in e&&e.transform!=="none"||"webkitTransform"in e&&e.webkitTransform!=="none"||"mixBlendMode"in e&&e.mixBlendMode!=="normal"||"filter"in e&&e.filter!=="none"||"webkitFilter"in e&&e.webkitFilter!=="none"||"isolation"in e&&e.isolation==="isolate"||VZ.test(e.willChange)||e.webkitOverflowScrolling==="touch")}function y4(t){let e=t.length;for(;e--;){const n=t[e];if(Yt(n,"Missing node"),HZ(n))return n}return null}function _4(t){return t&&Number(getComputedStyle(t).zIndex)||0}function x4(t){const e=[];for(;t;)e.push(t),t=hE(t);return e}function hE(t){const{parentNode:e}=t;return e&&e instanceof ShadowRoot?e.host:e}const mE=1,gE=2,vE=4,wE=8,WZ=BZ()==="coarse";let wa=[],iu=!1,ks=new Map,yh=new Map;const rf=new Set;function qZ(t,e,n,r,o){var a;const{ownerDocument:i}=e,s={direction:n,element:e,hitAreaMargins:r,setResizeHandlerState:o},l=(a=ks.get(i))!==null&&a!==void 0?a:0;return ks.set(i,l+1),rf.add(s),R0(),function(){var d;yh.delete(t),rf.delete(s);const f=(d=ks.get(i))!==null&&d!==void 0?d:1;if(ks.set(i,f-1),R0(),f===1&&ks.delete(i),wa.includes(s)){const m=wa.indexOf(s);m>=0&&wa.splice(m,1),_h(),o("up",!0,null)}}}function UZ(t){const{target:e}=t,{x:n,y:r}=bh(t);iu=!0,i3({target:e,x:n,y:r}),R0(),wa.length>0&&(T0("down",t),_h(),t.preventDefault(),bE(e)||t.stopImmediatePropagation())}function Sg(t){const{x:e,y:n}=bh(t);if(iu&&t.type!=="pointerleave"&&t.buttons===0&&(iu=!1,T0("up",t)),!iu){const{target:r}=t;i3({target:r,x:e,y:n})}T0("move",t),_h(),wa.length>0&&t.preventDefault()}function Cg(t){const{target:e}=t,{x:n,y:r}=bh(t);yh.clear(),iu=!1,wa.length>0&&(t.preventDefault(),bE(e)||t.stopImmediatePropagation()),T0("up",t),i3({target:e,x:n,y:r}),_h(),R0()}function bE(t){let e=t;for(;e;){if(e.hasAttribute(jn.resizeHandle))return!0;e=e.parentElement}return!1}function i3({target:t,x:e,y:n}){wa.splice(0);let r=null;(t instanceof HTMLElement||t instanceof SVGElement)&&(r=t),rf.forEach(o=>{const{element:a,hitAreaMargins:i}=o,s=a.getBoundingClientRect(),{bottom:l,left:u,right:d,top:f}=s,m=WZ?i.coarse:i.fine;if(e>=u-m&&e<=d+m&&n>=f-m&&n<=l+m){if(r!==null&&document.contains(r)&&a!==r&&!a.contains(r)&&!r.contains(a)&&FZ(r,a)>0){let g=r,w=!1;for(;g&&!g.contains(a);){if(zZ(g.getBoundingClientRect(),s)){w=!0;break}g=g.parentElement}if(w)return}wa.push(o)}})}function Eg(t,e){yh.set(t,e)}function _h(){let t=!1,e=!1;wa.forEach(r=>{const{direction:o}=r;o==="horizontal"?t=!0:e=!0});let n=0;yh.forEach(r=>{n|=r}),t&&e?xg("intersection",n):t?xg("horizontal",n):e?xg("vertical",n):DZ()}let Mg;function R0(){var t;(t=Mg)===null||t===void 0||t.abort(),Mg=new AbortController;const e={capture:!0,signal:Mg.signal};rf.size&&(iu?(wa.length>0&&ks.forEach((n,r)=>{const{body:o}=r;n>0&&(o.addEventListener("contextmenu",Cg,e),o.addEventListener("pointerleave",Sg,e),o.addEventListener("pointermove",Sg,e))}),ks.forEach((n,r)=>{const{body:o}=r;o.addEventListener("pointerup",Cg,e),o.addEventListener("pointercancel",Cg,e)})):ks.forEach((n,r)=>{const{body:o}=r;n>0&&(o.addEventListener("pointerdown",UZ,e),o.addEventListener("pointermove",Sg,e))}))}function T0(t,e){rf.forEach(n=>{const{setResizeHandlerState:r}=n,o=wa.includes(n);r(t,o,e)})}function YZ(){const[t,e]=au(0);return to(()=>e(n=>n+1),[])}function Yt(t,e){if(!t)throw console.error(e),Error(e)}function Vl(t,e,n=o3){return t.toFixed(n)===e.toFixed(n)?0:t>e?1:-1}function Li(t,e,n=o3){return Vl(t,e,n)===0}function So(t,e,n){return Vl(t,e,n)===0}function GZ(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){const o=t[r],a=e[r];if(!So(o,a,n))return!1}return!0}function eu({panelConstraints:t,panelIndex:e,size:n}){const r=t[e];Yt(r!=null,`Panel constraints not found for index ${e}`);let{collapsedSize:o=0,collapsible:a,maxSize:i=100,minSize:s=0}=r;if(Vl(n,s)<0)if(a){const l=(o+s)/2;Vl(n,l)<0?n=o:n=s}else n=s;return n=Math.min(i,n),n=parseFloat(n.toFixed(o3)),n}function $d({delta:t,initialLayout:e,panelConstraints:n,pivotIndices:r,prevLayout:o,trigger:a}){if(So(t,0))return e;const i=[...e],[s,l]=r;Yt(s!=null,"Invalid first pivot index"),Yt(l!=null,"Invalid second pivot index");let u=0;if(a==="keyboard"){{const f=t<0?l:s,m=n[f];Yt(m,`Panel constraints not found for index ${f}`);const{collapsedSize:v=0,collapsible:g,minSize:w=0}=m;if(g){const y=e[f];if(Yt(y!=null,`Previous layout not found for panel index ${f}`),So(y,v)){const _=w-y;Vl(_,Math.abs(t))>0&&(t=t<0?0-_:_)}}}{const f=t<0?s:l,m=n[f];Yt(m,`No panel constraints found for index ${f}`);const{collapsedSize:v=0,collapsible:g,minSize:w=0}=m;if(g){const y=e[f];if(Yt(y!=null,`Previous layout not found for panel index ${f}`),So(y,w)){const _=y-v;Vl(_,Math.abs(t))>0&&(t=t<0?0-_:_)}}}}{const f=t<0?1:-1;let m=t<0?l:s,v=0;for(;;){const w=e[m];Yt(w!=null,`Previous layout not found for panel index ${m}`);const _=eu({panelConstraints:n,panelIndex:m,size:100})-w;if(v+=_,m+=f,m<0||m>=n.length)break}const g=Math.min(Math.abs(t),Math.abs(v));t=t<0?0-g:g}{let m=t<0?s:l;for(;m>=0&&m<n.length;){const v=Math.abs(t)-Math.abs(u),g=e[m];Yt(g!=null,`Previous layout not found for panel index ${m}`);const w=g-v,y=eu({panelConstraints:n,panelIndex:m,size:w});if(!So(g,y)&&(u+=g-y,i[m]=y,u.toFixed(3).localeCompare(Math.abs(t).toFixed(3),void 0,{numeric:!0})>=0))break;t<0?m--:m++}}if(GZ(o,i))return o;{const f=t<0?l:s,m=e[f];Yt(m!=null,`Previous layout not found for panel index ${f}`);const v=m+u,g=eu({panelConstraints:n,panelIndex:f,size:v});if(i[f]=g,!So(g,v)){let w=v-g,_=t<0?l:s;for(;_>=0&&_<n.length;){const S=i[_];Yt(S!=null,`Previous layout not found for panel index ${_}`);const x=S+w,C=eu({panelConstraints:n,panelIndex:_,size:x});if(So(S,C)||(w-=C-S,i[_]=C),So(w,0))break;t>0?_--:_++}}}const d=i.reduce((f,m)=>m+f,0);return So(d,100)?i:o}function KZ({layout:t,panelsArray:e,pivotIndices:n}){let r=0,o=100,a=0,i=0;const s=n[0];Yt(s!=null,"No pivot index found"),e.forEach((f,m)=>{const{constraints:v}=f,{maxSize:g=100,minSize:w=0}=v;m===s?(r=w,o=g):(a+=w,i+=g)});const l=Math.min(o,100-a),u=Math.max(r,100-i),d=t[s];return{valueMax:l,valueMin:u,valueNow:d}}function of(t,e=document){return Array.from(e.querySelectorAll(`[${jn.resizeHandleId}][data-panel-group-id="${t}"]`))}function yE(t,e,n=document){const o=of(t,n).findIndex(a=>a.getAttribute(jn.resizeHandleId)===e);return o??null}function _E(t,e,n){const r=yE(t,e,n);return r!=null?[r,r+1]:[-1,-1]}function XZ(t){return t instanceof HTMLElement?!0:typeof t=="object"&&t!==null&&"tagName"in t&&"getAttribute"in t}function xE(t,e=document){if(XZ(e)&&e.dataset.panelGroupId==t)return e;const n=e.querySelector(`[data-panel-group][data-panel-group-id="${t}"]`);return n||null}function xh(t,e=document){const n=e.querySelector(`[${jn.resizeHandleId}="${t}"]`);return n||null}function ZZ(t,e,n,r=document){var o,a,i,s;const l=xh(e,r),u=of(t,r),d=l?u.indexOf(l):-1,f=(o=(a=n[d])===null||a===void 0?void 0:a.id)!==null&&o!==void 0?o:null,m=(i=(s=n[d+1])===null||s===void 0?void 0:s.id)!==null&&i!==void 0?i:null;return[f,m]}function QZ({committedValuesRef:t,eagerValuesRef:e,groupId:n,layout:r,panelDataArray:o,panelGroupElement:a,setLayout:i}){io({didWarnAboutMissingResizeHandle:!1}),Al(()=>{if(!a)return;const s=of(n,a);for(let l=0;l<o.length-1;l++){const{valueMax:u,valueMin:d,valueNow:f}=KZ({layout:r,panelsArray:o,pivotIndices:[l,l+1]}),m=s[l];if(m!=null){const v=o[l];Yt(v,`No panel data found for index "${l}"`),m.setAttribute("aria-controls",v.id),m.setAttribute("aria-valuemax",""+Math.round(u)),m.setAttribute("aria-valuemin",""+Math.round(d)),m.setAttribute("aria-valuenow",f!=null?""+Math.round(f):"")}}return()=>{s.forEach((l,u)=>{l.removeAttribute("aria-controls"),l.removeAttribute("aria-valuemax"),l.removeAttribute("aria-valuemin"),l.removeAttribute("aria-valuenow")})}},[n,r,o,a]),Pl(()=>{if(!a)return;const s=e.current;Yt(s,"Eager values not found");const{panelDataArray:l}=s,u=xE(n,a);Yt(u!=null,`No group found for id "${n}"`);const d=of(n,a);Yt(d,`No resize handles found for group id "${n}"`);const f=d.map(m=>{const v=m.getAttribute(jn.resizeHandleId);Yt(v,"Resize handle element has no handle id attribute");const[g,w]=ZZ(n,v,l,a);if(g==null||w==null)return()=>{};const y=_=>{if(!_.defaultPrevented)switch(_.key){case"Enter":{_.preventDefault();const S=l.findIndex(x=>x.id===g);if(S>=0){const x=l[S];Yt(x,`No panel data found for index ${S}`);const C=r[S],{collapsedSize:R=0,collapsible:P,minSize:O=0}=x.constraints;if(C!=null&&P){const $=$d({delta:So(C,R)?O-R:R-C,initialLayout:r,panelConstraints:l.map(A=>A.constraints),pivotIndices:_E(n,v,a),prevLayout:r,trigger:"keyboard"});r!==$&&i($)}}break}}};return m.addEventListener("keydown",y),()=>{m.removeEventListener("keydown",y)}});return()=>{f.forEach(m=>m())}},[a,t,e,n,r,o,i])}function S4(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}function SE(t,e){const n=t==="horizontal",{x:r,y:o}=bh(e);return n?r:o}function JZ(t,e,n,r,o){const a=n==="horizontal",i=xh(e,o);Yt(i,`No resize handle element found for id "${e}"`);const s=i.getAttribute(jn.groupId);Yt(s,"Resize handle element has no group id attribute");let{initialCursorPosition:l}=r;const u=SE(n,t),d=xE(s,o);Yt(d,`No group element found for id "${s}"`);const f=d.getBoundingClientRect(),m=a?f.width:f.height;return(u-l)/m*100}function eQ(t,e,n,r,o,a){if(dE(t)){const i=n==="horizontal";let s=0;t.shiftKey?s=100:o!=null?s=o:s=10;let l=0;switch(t.key){case"ArrowDown":l=i?0:s;break;case"ArrowLeft":l=i?-s:0;break;case"ArrowRight":l=i?s:0;break;case"ArrowUp":l=i?0:-s;break;case"End":l=100;break;case"Home":l=-100;break}return l}else return r==null?0:JZ(t,e,n,r,a)}function tQ({panelDataArray:t}){const e=Array(t.length),n=t.map(a=>a.constraints);let r=0,o=100;for(let a=0;a<t.length;a++){const i=n[a];Yt(i,`Panel constraints not found for index ${a}`);const{defaultSize:s}=i;s!=null&&(r++,e[a]=s,o-=s)}for(let a=0;a<t.length;a++){const i=n[a];Yt(i,`Panel constraints not found for index ${a}`);const{defaultSize:s}=i;if(s!=null)continue;const l=t.length-r,u=o/l;r++,e[a]=u,o-=u}return e}function Oc(t,e,n){e.forEach((r,o)=>{const a=t[o];Yt(a,`Panel data not found for index ${o}`);const{callbacks:i,constraints:s,id:l}=a,{collapsedSize:u=0,collapsible:d}=s,f=n[l];if(f==null||r!==f){n[l]=r;const{onCollapse:m,onExpand:v,onResize:g}=i;g&&g(r,f),d&&(m||v)&&(v&&(f==null||Li(f,u))&&!Li(r,u)&&v(),m&&(f==null||!Li(f,u))&&Li(r,u)&&m())}})}function Wp(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!=e[n])return!1;return!0}function nQ({defaultSize:t,dragState:e,layout:n,panelData:r,panelIndex:o,precision:a=3}){const i=n[o];let s;return i==null?s=t!=null?t.toFixed(a):"1":r.length===1?s="1":s=i.toFixed(a),{flexBasis:0,flexGrow:s,flexShrink:1,overflow:"hidden",pointerEvents:e!==null?"none":void 0}}function rQ(t,e=10){let n=null;return(...o)=>{n!==null&&clearTimeout(n),n=setTimeout(()=>{t(...o)},e)}}function C4(t){try{if(typeof localStorage<"u")t.getItem=e=>localStorage.getItem(e),t.setItem=(e,n)=>{localStorage.setItem(e,n)};else throw new Error("localStorage not supported in this environment")}catch(e){console.error(e),t.getItem=()=>null,t.setItem=()=>{}}}function CE(t){return`react-resizable-panels:${t}`}function EE(t){return t.map(e=>{const{constraints:n,id:r,idIsFromProps:o,order:a}=e;return o?r:a?`${a}:${JSON.stringify(n)}`:JSON.stringify(n)}).sort((e,n)=>e.localeCompare(n)).join(",")}function ME(t,e){try{const n=CE(t),r=e.getItem(n);if(r){const o=JSON.parse(r);if(typeof o=="object"&&o!=null)return o}}catch{}return null}function oQ(t,e,n){var r,o;const a=(r=ME(t,n))!==null&&r!==void 0?r:{},i=EE(e);return(o=a[i])!==null&&o!==void 0?o:null}function aQ(t,e,n,r,o){var a;const i=CE(t),s=EE(e),l=(a=ME(t,o))!==null&&a!==void 0?a:{};l[s]={expandToSizes:Object.fromEntries(n.entries()),layout:r};try{o.setItem(i,JSON.stringify(l))}catch(u){console.error(u)}}function E4({layout:t,panelConstraints:e}){const n=[...t],r=n.reduce((a,i)=>a+i,0);if(n.length!==e.length)throw Error(`Invalid ${e.length} panel layout: ${n.map(a=>`${a}%`).join(", ")}`);if(!So(r,100)&&n.length>0)for(let a=0;a<e.length;a++){const i=n[a];Yt(i!=null,`No layout data found for index ${a}`);const s=100/r*i;n[a]=s}let o=0;for(let a=0;a<e.length;a++){const i=n[a];Yt(i!=null,`No layout data found for index ${a}`);const s=eu({panelConstraints:e,panelIndex:a,size:i});i!=s&&(o+=i-s,n[a]=s)}if(!So(o,0))for(let a=0;a<e.length;a++){const i=n[a];Yt(i!=null,`No layout data found for index ${a}`);const s=i+o,l=eu({panelConstraints:e,panelIndex:a,size:s});if(i!==l&&(o-=l-i,n[a]=l,So(o,0)))break}return n}const iQ=100,Dd={getItem:t=>(C4(Dd),Dd.getItem(t)),setItem:(t,e)=>{C4(Dd),Dd.setItem(t,e)}},M4={};function kE({autoSaveId:t=null,children:e,className:n="",direction:r,forwardedRef:o,id:a=null,onLayout:i=null,keyboardResizeBy:s=null,storage:l=Dd,style:u,tagName:d="div",...f}){const m=a3(a),v=io(null),[g,w]=au(null),[y,_]=au([]),S=YZ(),x=io({}),C=io(new Map),R=io(0),P=io({autoSaveId:t,direction:r,dragState:g,id:m,keyboardResizeBy:s,onLayout:i,storage:l}),O=io({layout:y,panelDataArray:[],panelDataArrayChanged:!1});io({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),lE(o,()=>({getId:()=>P.current.id,getLayout:()=>{const{layout:re}=O.current;return re},setLayout:re=>{const{onLayout:le}=P.current,{layout:ee,panelDataArray:te}=O.current,ue=E4({layout:re,panelConstraints:te.map(ve=>ve.constraints)});S4(ee,ue)||(_(ue),O.current.layout=ue,le&&le(ue),Oc(te,ue,x.current))}}),[]),Al(()=>{P.current.autoSaveId=t,P.current.direction=r,P.current.dragState=g,P.current.id=m,P.current.onLayout=i,P.current.storage=l}),QZ({committedValuesRef:P,eagerValuesRef:O,groupId:m,layout:y,panelDataArray:O.current.panelDataArray,setLayout:_,panelGroupElement:v.current}),Pl(()=>{const{panelDataArray:re}=O.current;if(t){if(y.length===0||y.length!==re.length)return;let le=M4[t];le==null&&(le=rQ(aQ,iQ),M4[t]=le);const ee=[...re],te=new Map(C.current);le(t,ee,te,y,l)}},[t,y,l]),Pl(()=>{});const $=to(re=>{const{onLayout:le}=P.current,{layout:ee,panelDataArray:te}=O.current;if(re.constraints.collapsible){const ue=te.map(Le=>Le.constraints),{collapsedSize:ve=0,panelSize:we,pivotIndices:ye}=vl(te,re,ee);if(Yt(we!=null,`Panel size not found for panel "${re.id}"`),!Li(we,ve)){C.current.set(re.id,we);const Oe=Zc(te,re)===te.length-1?we-ve:ve-we,Ne=$d({delta:Oe,initialLayout:ee,panelConstraints:ue,pivotIndices:ye,prevLayout:ee,trigger:"imperative-api"});Wp(ee,Ne)||(_(Ne),O.current.layout=Ne,le&&le(Ne),Oc(te,Ne,x.current))}}},[]),A=to((re,le)=>{const{onLayout:ee}=P.current,{layout:te,panelDataArray:ue}=O.current;if(re.constraints.collapsible){const ve=ue.map(me=>me.constraints),{collapsedSize:we=0,panelSize:ye=0,minSize:Le=0,pivotIndices:Oe}=vl(ue,re,te),Ne=le??Le;if(Li(ye,we)){const me=C.current.get(re.id),pe=me!=null&&me>=Ne?me:Ne,Ue=Zc(ue,re)===ue.length-1?ye-pe:pe-ye,He=$d({delta:Ue,initialLayout:te,panelConstraints:ve,pivotIndices:Oe,prevLayout:te,trigger:"imperative-api"});Wp(te,He)||(_(He),O.current.layout=He,ee&&ee(He),Oc(ue,He,x.current))}}},[]),M=to(re=>{const{layout:le,panelDataArray:ee}=O.current,{panelSize:te}=vl(ee,re,le);return Yt(te!=null,`Panel size not found for panel "${re.id}"`),te},[]),L=to((re,le)=>{const{panelDataArray:ee}=O.current,te=Zc(ee,re);return nQ({defaultSize:le,dragState:g,layout:y,panelData:ee,panelIndex:te})},[g,y]),B=to(re=>{const{layout:le,panelDataArray:ee}=O.current,{collapsedSize:te=0,collapsible:ue,panelSize:ve}=vl(ee,re,le);return Yt(ve!=null,`Panel size not found for panel "${re.id}"`),ue===!0&&Li(ve,te)},[]),F=to(re=>{const{layout:le,panelDataArray:ee}=O.current,{collapsedSize:te=0,collapsible:ue,panelSize:ve}=vl(ee,re,le);return Yt(ve!=null,`Panel size not found for panel "${re.id}"`),!ue||Vl(ve,te)>0},[]),N=to(re=>{const{panelDataArray:le}=O.current;le.push(re),le.sort((ee,te)=>{const ue=ee.order,ve=te.order;return ue==null&&ve==null?0:ue==null?-1:ve==null?1:ue-ve}),O.current.panelDataArrayChanged=!0,S()},[S]);Al(()=>{if(O.current.panelDataArrayChanged){O.current.panelDataArrayChanged=!1;const{autoSaveId:re,onLayout:le,storage:ee}=P.current,{layout:te,panelDataArray:ue}=O.current;let ve=null;if(re){const ye=oQ(re,ue,ee);ye&&(C.current=new Map(Object.entries(ye.expandToSizes)),ve=ye.layout)}ve==null&&(ve=tQ({panelDataArray:ue}));const we=E4({layout:ve,panelConstraints:ue.map(ye=>ye.constraints)});S4(te,we)||(_(we),O.current.layout=we,le&&le(we),Oc(ue,we,x.current))}}),Al(()=>{const re=O.current;return()=>{re.layout=[]}},[]);const V=to(re=>{let le=!1;const ee=v.current;return ee&&window.getComputedStyle(ee,null).getPropertyValue("direction")==="rtl"&&(le=!0),function(ue){ue.preventDefault();const ve=v.current;if(!ve)return()=>null;const{direction:we,dragState:ye,id:Le,keyboardResizeBy:Oe,onLayout:Ne}=P.current,{layout:me,panelDataArray:pe}=O.current,{initialLayout:be}=ye??{},Ue=_E(Le,re,ve);let He=eQ(ue,re,we,ye,Oe,ve);const qe=we==="horizontal";qe&&le&&(He=-He);const _e=pe.map(st=>st.constraints),at=$d({delta:He,initialLayout:be??me,panelConstraints:_e,pivotIndices:Ue,prevLayout:me,trigger:dE(ue)?"keyboard":"mouse-or-touch"}),ht=!Wp(me,at);(fE(ue)||pE(ue))&&R.current!=He&&(R.current=He,!ht&&He!==0?qe?Eg(re,He<0?mE:gE):Eg(re,He<0?vE:wE):Eg(re,0)),ht&&(_(at),O.current.layout=at,Ne&&Ne(at),Oc(pe,at,x.current))}},[]),z=to((re,le)=>{const{onLayout:ee}=P.current,{layout:te,panelDataArray:ue}=O.current,ve=ue.map(me=>me.constraints),{panelSize:we,pivotIndices:ye}=vl(ue,re,te);Yt(we!=null,`Panel size not found for panel "${re.id}"`);const Oe=Zc(ue,re)===ue.length-1?we-le:le-we,Ne=$d({delta:Oe,initialLayout:te,panelConstraints:ve,pivotIndices:ye,prevLayout:te,trigger:"imperative-api"});Wp(te,Ne)||(_(Ne),O.current.layout=Ne,ee&&ee(Ne),Oc(ue,Ne,x.current))},[]),I=to((re,le)=>{const{layout:ee,panelDataArray:te}=O.current,{collapsedSize:ue=0,collapsible:ve}=le,{collapsedSize:we=0,collapsible:ye,maxSize:Le=100,minSize:Oe=0}=re.constraints,{panelSize:Ne}=vl(te,re,ee);Ne!=null&&(ve&&ye&&Li(Ne,ue)?Li(ue,we)||z(re,we):Ne<Oe?z(re,Oe):Ne>Le&&z(re,Le))},[z]),D=to((re,le)=>{const{direction:ee}=P.current,{layout:te}=O.current;if(!v.current)return;const ue=xh(re,v.current);Yt(ue,`Drag handle element not found for id "${re}"`);const ve=SE(ee,le);w({dragHandleId:re,dragHandleRect:ue.getBoundingClientRect(),initialCursorPosition:ve,initialLayout:te})},[]),U=to(()=>{w(null)},[]),Y=to(re=>{const{panelDataArray:le}=O.current,ee=Zc(le,re);ee>=0&&(le.splice(ee,1),delete x.current[re.id],O.current.panelDataArrayChanged=!0,S())},[S]),oe=IZ(()=>({collapsePanel:$,direction:r,dragState:g,expandPanel:A,getPanelSize:M,getPanelStyle:L,groupId:m,isPanelCollapsed:B,isPanelExpanded:F,reevaluatePanelConstraints:I,registerPanel:N,registerResizeHandle:V,resizePanel:z,startDragging:D,stopDragging:U,unregisterPanel:Y,panelGroupElement:v.current}),[$,g,r,A,M,L,m,B,F,I,N,V,z,D,U,Y]),Q={display:"flex",flexDirection:r==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return hu(wh.Provider,{value:oe},hu(d,{...f,children:e,className:n,id:a,ref:v,style:{...Q,...u},[jn.group]:"",[jn.groupDirection]:r,[jn.groupId]:m}))}const RE=iE((t,e)=>hu(kE,{...t,forwardedRef:e}));kE.displayName="PanelGroup";RE.displayName="forwardRef(PanelGroup)";function Zc(t,e){return t.findIndex(n=>n===e||n.id===e.id)}function vl(t,e,n){const r=Zc(t,e),a=r===t.length-1?[r-1,r]:[r,r+1],i=n[r];return{...e.constraints,panelSize:i,pivotIndices:a}}function sQ({disabled:t,handleId:e,resizeHandler:n,panelGroupElement:r}){Pl(()=>{if(t||n==null||r==null)return;const o=xh(e,r);if(o==null)return;const a=i=>{if(!i.defaultPrevented)switch(i.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{i.preventDefault(),n(i);break}case"F6":{i.preventDefault();const s=o.getAttribute(jn.groupId);Yt(s,`No group element found for id "${s}"`);const l=of(s,r),u=yE(s,e,r);Yt(u!==null,`No resize element found for id "${e}"`);const d=i.shiftKey?u>0?u-1:l.length-1:u+1<l.length?u+1:0;l[d].focus();break}}};return o.addEventListener("keydown",a),()=>{o.removeEventListener("keydown",a)}},[r,t,e,n])}function TE({children:t=null,className:e="",disabled:n=!1,hitAreaMargins:r,id:o,onBlur:a,onClick:i,onDragging:s,onFocus:l,onPointerDown:u,onPointerUp:d,style:f={},tabIndex:m=0,tagName:v="div",...g}){var w,y;const _=io(null),S=io({onClick:i,onDragging:s,onPointerDown:u,onPointerUp:d});Pl(()=>{S.current.onClick=i,S.current.onDragging=s,S.current.onPointerDown=u,S.current.onPointerUp=d});const x=sE(wh);if(x===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:C,groupId:R,registerResizeHandle:P,startDragging:O,stopDragging:$,panelGroupElement:A}=x,M=a3(o),[L,B]=au("inactive"),[F,N]=au(!1),[V,z]=au(null),I=io({state:L});Al(()=>{I.current.state=L}),Pl(()=>{if(n)z(null);else{const oe=P(M);z(()=>oe)}},[n,M,P]);const D=(w=r?.coarse)!==null&&w!==void 0?w:15,U=(y=r?.fine)!==null&&y!==void 0?y:5;return Pl(()=>{if(n||V==null)return;const oe=_.current;Yt(oe,"Element ref not attached");let Q=!1;return qZ(M,oe,C,{coarse:D,fine:U},(le,ee,te)=>{if(!ee){B("inactive");return}switch(le){case"down":{B("drag"),Q=!1,Yt(te,'Expected event to be defined for "down" action'),O(M,te);const{onDragging:ue,onPointerDown:ve}=S.current;ue?.(!0),ve?.();break}case"move":{const{state:ue}=I.current;Q=!0,ue!=="drag"&&B("hover"),Yt(te,'Expected event to be defined for "move" action'),V(te);break}case"up":{B("hover"),$();const{onClick:ue,onDragging:ve,onPointerUp:we}=S.current;ve?.(!1),we?.(),Q||ue?.();break}}})},[D,C,n,U,P,M,V,O,$]),sQ({disabled:n,handleId:M,resizeHandler:V,panelGroupElement:A}),hu(v,{...g,children:t,className:e,id:o,onBlur:()=>{N(!1),a?.()},onFocus:()=>{N(!0),l?.()},ref:_,role:"separator",style:{...{touchAction:"none",userSelect:"none"},...f},tabIndex:m,[jn.groupDirection]:C,[jn.groupId]:R,[jn.resizeHandle]:"",[jn.resizeHandleActive]:L==="drag"?"pointer":F?"keyboard":void 0,[jn.resizeHandleEnabled]:!n,[jn.resizeHandleId]:M,[jn.resizeHandleState]:L})}TE.displayName="PanelResizeHandle";await q("react");const lQ=await q("react");await q("react-dom");var cQ=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],uQ=cQ.reduce((t,e)=>{const n=H8(`Primitive.${e}`),r=lQ.forwardRef((o,a)=>{const{asChild:i,...s}=o,l=i?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Z.jsx(l,{...s,ref:a})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});const dQ=await q("react");var fQ=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),pQ="VisuallyHidden",Il=dQ.forwardRef((t,e)=>Z.jsx(uQ.span,{...t,ref:e,style:{...fQ,...t.style}}));Il.displayName=pQ;const{useLayoutEffect:hQ,useState:mQ}=await q("react"),gQ=({className:t,type:e,open:n,onOpenChange:r,header:o,footer:a,children:i,hideCloseButton:s,dialogContainer:l,handleInteractOutside:u})=>{const d=e.split("-")[0];return h(OY,{open:n,onOpenChange:r,children:ne(DY,{className:ae(t,{"[&>button:last-child]:hidden":s}),side:d,container:l,onInteractOutside:u,children:[!!o&&ne(BY,{children:[!!o.title&&h(FY,{children:o.title}),!!o.description&&h(VY,{children:o.description})]}),i,!!a&&h(zY,{children:a})]})})},tc=({className:t,open:e,type:n="dialog",dialogContainer:r,children:o,enableDimClose:a=!0,header:i,hideCloseButton:s,footer:l,snapshotCnt:u,onOpenChange:d,disableAutoFocus:f=!1,allowOutSideElementEvent:m})=>{const{theme:v}=Q0()??{theme:"light"},[g,w]=mQ(v),y=_=>{a||_.preventDefault()};return hQ(()=>{const _=v||document.body.getAttribute("data-theme");_&&w(_)},[v]),n==="drawer"?h(MY,{open:e,onOpenChange:d,children:ne(TY,{className:ae(t),container:r,onInteractOutside:y,children:[!!i&&ne(NY,{children:[!!i.title&&h(AY,{children:i.title}),!!i.description&&h(IY,{children:i.description})]}),o,!!l&&h(PY,{children:l})]})}):n==="dialog"?ne(HU,{open:e,modal:!m,onOpenChange:d,children:[ne(qU,{...f&&{onOpenAutoFocus:_=>_.preventDefault()},className:ae({"[&>button:last-child]:hidden":s,"bg-overlay border-subtle block overflow-hidden rounded-lg border-1 !border-solid p-0 shadow-[0px_0px_2px_0px_rgba(9,9,11,0.20)]":g==="dark","[&_[data-slot='dialog-close']]:text-fg-subtle [&_[data-slot='dialog-close']]:top-3 [&_[data-slot='dialog-close']]:right-3":g==="dark"},t),container:r,"data-pad-scope":"modal",onInteractOutside:y,children:[i?ne(UU,{className:ae({"h-auto gap-0.5 pt-3 pr-16 pb-2 pl-4 text-left":g==="dark","pt-4":i.description}),children:[i.title?h(cg,{className:ae({"text-fg-default typo-title-01-bold":g==="dark"}),children:i.title}):h(Il,{children:h(cg,{})}),i.description?h(ug,{className:ae({"text-fg-subtle typo-compact-xs-normal":g==="dark"}),children:i.description}):h(Il,{children:h(ug,{})})]}):ne(Il,{children:[h(cg,{}),h(ug,{})]}),o,!!l&&h(YU,{className:ae({"p-4":g==="dark"}),children:l})]}),m&&h("div",{className:"pointer-events-none fixed inset-0 z-40 bg-black/40"})]}):h(gQ,{className:t,type:n,header:i,footer:l,open:e,enableDimClose:a,hideCloseButton:s,dialogContainer:r,onOpenChange:d,handleInteractOutside:y,children:o})};var tt={},Bd={exports:{}},vQ=Bd.exports,k4;function wQ(){return k4||(k4=1,(function(t,e){(function(n,r){var o="1.0.41",a="",i="?",s="function",l="undefined",u="object",d="string",f="major",m="model",v="name",g="type",w="vendor",y="version",_="architecture",S="console",x="mobile",C="tablet",R="smarttv",P="wearable",O="embedded",$=500,A="Amazon",M="Apple",L="ASUS",B="BlackBerry",F="Browser",N="Chrome",V="Edge",z="Firefox",I="Google",D="Honor",U="Huawei",Y="Lenovo",oe="LG",Q="Microsoft",re="Motorola",le="Nvidia",ee="OnePlus",te="Opera",ue="OPPO",ve="Samsung",we="Sharp",ye="Sony",Le="Xiaomi",Oe="Zebra",Ne="Facebook",me="Chromium OS",pe="Mac OS",be=" Browser",Ue=function(Tt,Ce){var Ye={};for(var wt in Tt)Ce[wt]&&Ce[wt].length%2===0?Ye[wt]=Ce[wt].concat(Tt[wt]):Ye[wt]=Tt[wt];return Ye},He=function(Tt){for(var Ce={},Ye=0;Ye<Tt.length;Ye++)Ce[Tt[Ye].toUpperCase()]=Tt[Ye];return Ce},qe=function(Tt,Ce){return typeof Tt===d?_e(Ce).indexOf(_e(Tt))!==-1:!1},_e=function(Tt){return Tt.toLowerCase()},at=function(Tt){return typeof Tt===d?Tt.replace(/[^\d\.]/g,a).split(".")[0]:r},ht=function(Tt,Ce){if(typeof Tt===d)return Tt=Tt.replace(/^\s\s*/,a),typeof Ce===l?Tt:Tt.substring(0,$)},st=function(Tt,Ce){for(var Ye=0,wt,un,on,Lt,mt,Ze;Ye<Ce.length&&!mt;){var Bt=Ce[Ye],jt=Ce[Ye+1];for(wt=un=0;wt<Bt.length&&!mt&&Bt[wt];)if(mt=Bt[wt++].exec(Tt),mt)for(on=0;on<jt.length;on++)Ze=mt[++un],Lt=jt[on],typeof Lt===u&&Lt.length>0?Lt.length===2?typeof Lt[1]==s?this[Lt[0]]=Lt[1].call(this,Ze):this[Lt[0]]=Lt[1]:Lt.length===3?typeof Lt[1]===s&&!(Lt[1].exec&&Lt[1].test)?this[Lt[0]]=Ze?Lt[1].call(this,Ze,Lt[2]):r:this[Lt[0]]=Ze?Ze.replace(Lt[1],Lt[2]):r:Lt.length===4&&(this[Lt[0]]=Ze?Lt[3].call(this,Ze.replace(Lt[1],Lt[2])):r):this[Lt]=Ze||r;Ye+=2}},Ct=function(Tt,Ce){for(var Ye in Ce)if(typeof Ce[Ye]===u&&Ce[Ye].length>0){for(var wt=0;wt<Ce[Ye].length;wt++)if(qe(Ce[Ye][wt],Tt))return Ye===i?r:Ye}else if(qe(Ce[Ye],Tt))return Ye===i?r:Ye;return Ce.hasOwnProperty("*")?Ce["*"]:Tt},cn={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Sn={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Jn={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[y,[v,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[y,[v,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[v,y],[/opios[\/ ]+([\w\.]+)/i],[y,[v,te+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[y,[v,te+" GX"]],[/\bopr\/([\w\.]+)/i],[y,[v,te]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[y,[v,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[y,[v,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[v,y],[/quark(?:pc)?\/([-\w\.]+)/i],[y,[v,"Quark"]],[/\bddg\/([\w\.]+)/i],[y,[v,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[y,[v,"UC"+F]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[y,[v,"WeChat"]],[/konqueror\/([\w\.]+)/i],[y,[v,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[y,[v,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[y,[v,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[y,[v,"Smart Lenovo "+F]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+F],y],[/\bfocus\/([\w\.]+)/i],[y,[v,z+" Focus"]],[/\bopt\/([\w\.]+)/i],[y,[v,te+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[y,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[y,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[y,[v,te+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[y,[v,"MIUI"+be]],[/fxios\/([\w\.-]+)/i],[y,[v,z]],[/\bqihoobrowser\/?([\w\.]*)/i],[y,[v,"360"]],[/\b(qq)\/([\w\.]+)/i],[[v,/(.+)/,"$1Browser"],y],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[v,/(.+)/,"$1"+be],y],[/samsungbrowser\/([\w\.]+)/i],[y,[v,ve+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[y,[v,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[v,"Sogou Mobile"],y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[v,y],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[v],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[y,v],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[v,Ne],y],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[v,y],[/\bgsa\/([\w\.]+) .*safari\//i],[y,[v,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[y,[v,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[y,[v,N+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,N+" WebView"],y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[y,[v,"Android "+F]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[v,y],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[y,[v,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[y,v],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[v,[y,Ct,cn]],[/(webkit|khtml)\/([\w\.]+)/i],[v,y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[v,"Netscape"],y],[/(wolvic|librewolf)\/([\w\.]+)/i],[v,y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[y,[v,z+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[v,[y,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[v,[y,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[_,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[_,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[_,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[_,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[_,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[_,/ower/,a,_e]],[/ sun4\w[;\)]/i],[[_,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[_,_e]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[m,[w,ve],[g,C]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[m,[w,ve],[g,x]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[m,[w,M],[g,x]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[w,M],[g,C]],[/(macintosh);/i],[m,[w,M]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[m,[w,we],[g,x]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[m,[w,D],[g,C]],[/honor([-\w ]+)[;\)]/i],[m,[w,D],[g,x]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[m,[w,U],[g,C]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[m,[w,U],[g,x]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[m,/_/g," "],[w,Le],[g,C]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[m,/_/g," "],[w,Le],[g,x]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[m,[w,ue],[g,x]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[m,[w,Ct,{OnePlus:["304","403","203"],"*":ue}],[g,C]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[m,[w,"Vivo"],[g,x]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[m,[w,"Realme"],[g,x]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[m,[w,re],[g,x]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[m,[w,re],[g,C]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[w,oe],[g,C]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[m,[w,oe],[g,x]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[m,[w,Y],[g,C]],[/(nokia) (t[12][01])/i],[w,m,[g,C]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[m,/_/g," "],[g,x],[w,"Nokia"]],[/(pixel (c|tablet))\b/i],[m,[w,I],[g,C]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[w,I],[g,x]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[m,[w,ye],[g,x]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[m,"Xperia Tablet"],[w,ye],[g,C]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[m,[w,ee],[g,x]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[m,[w,A],[g,C]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+)/g,"Fire Phone $1"],[w,A],[g,x]],[/(playbook);[-\w\),; ]+(rim)/i],[m,w,[g,C]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[w,B],[g,x]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[w,L],[g,C]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[m,[w,L],[g,x]],[/(nexus 9)/i],[m,[w,"HTC"],[g,C]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[w,[m,/_/g," "],[g,x]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[m,[w,"TCL"],[g,C]],[/(itel) ((\w+))/i],[[w,_e],m,[g,Ct,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[w,"Acer"],[g,C]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[m,[w,"Meizu"],[g,x]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[m,[w,"Ulefone"],[g,x]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[m,[w,"Energizer"],[g,x]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[m,[w,"Cat"],[g,x]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[m,[w,"Smartfren"],[g,x]],[/droid.+; (a(?:015|06[35]|142p?))/i],[m,[w,"Nothing"],[g,x]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[m,[w,"Archos"],[g,C]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[m,[w,"Archos"],[g,x]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[w,m,[g,C]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[w,m,[g,x]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[w,m,[g,C]],[/(surface duo)/i],[m,[w,Q],[g,C]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[m,[w,"Fairphone"],[g,x]],[/(u304aa)/i],[m,[w,"AT&T"],[g,x]],[/\bsie-(\w*)/i],[m,[w,"Siemens"],[g,x]],[/\b(rct\w+) b/i],[m,[w,"RCA"],[g,C]],[/\b(venue[\d ]{2,7}) b/i],[m,[w,"Dell"],[g,C]],[/\b(q(?:mv|ta)\w+) b/i],[m,[w,"Verizon"],[g,C]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[w,"Barnes & Noble"],[g,C]],[/\b(tm\d{3}\w+) b/i],[m,[w,"NuVision"],[g,C]],[/\b(k88) b/i],[m,[w,"ZTE"],[g,C]],[/\b(nx\d{3}j) b/i],[m,[w,"ZTE"],[g,x]],[/\b(gen\d{3}) b.+49h/i],[m,[w,"Swiss"],[g,x]],[/\b(zur\d{3}) b/i],[m,[w,"Swiss"],[g,C]],[/\b((zeki)?tb.*\b) b/i],[m,[w,"Zeki"],[g,C]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[w,"Dragon Touch"],m,[g,C]],[/\b(ns-?\w{0,9}) b/i],[m,[w,"Insignia"],[g,C]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[w,"NextBook"],[g,C]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[w,"Voice"],m,[g,x]],[/\b(lvtel\-)?(v1[12]) b/i],[[w,"LvTel"],m,[g,x]],[/\b(ph-1) /i],[m,[w,"Essential"],[g,x]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[m,[w,"Envizen"],[g,C]],[/\b(trio[-\w\. ]+) b/i],[m,[w,"MachSpeed"],[g,C]],[/\btu_(1491) b/i],[m,[w,"Rotor"],[g,C]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[m,[w,le],[g,C]],[/(sprint) (\w+)/i],[w,m,[g,x]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[w,Q],[g,x]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[w,Oe],[g,C]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[w,Oe],[g,x]],[/smart-tv.+(samsung)/i],[w,[g,R]],[/hbbtv.+maple;(\d+)/i],[[m,/^/,"SmartTV"],[w,ve],[g,R]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[w,oe],[g,R]],[/(apple) ?tv/i],[w,[m,M+" TV"],[g,R]],[/crkey/i],[[m,N+"cast"],[w,I],[g,R]],[/droid.+aft(\w+)( bui|\))/i],[m,[w,A],[g,R]],[/(shield \w+ tv)/i],[m,[w,le],[g,R]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[m,[w,we],[g,R]],[/(bravia[\w ]+)( bui|\))/i],[m,[w,ye],[g,R]],[/(mi(tv|box)-?\w+) bui/i],[m,[w,Le],[g,R]],[/Hbbtv.*(technisat) (.*);/i],[w,m,[g,R]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[w,ht],[m,ht],[g,R]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[m,[g,R]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[g,R]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[w,m,[g,S]],[/droid.+; (shield)( bui|\))/i],[m,[w,le],[g,S]],[/(playstation \w+)/i],[m,[w,ye],[g,S]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[m,[w,Q],[g,S]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[m,[w,ve],[g,P]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[w,m,[g,P]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[m,[w,ue],[g,P]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[m,[w,M],[g,P]],[/(opwwe\d{3})/i],[m,[w,ee],[g,P]],[/(moto 360)/i],[m,[w,re],[g,P]],[/(smartwatch 3)/i],[m,[w,ye],[g,P]],[/(g watch r)/i],[m,[w,oe],[g,P]],[/droid.+; (wt63?0{2,3})\)/i],[m,[w,Oe],[g,P]],[/droid.+; (glass) \d/i],[m,[w,I],[g,P]],[/(pico) (4|neo3(?: link|pro)?)/i],[w,m,[g,P]],[/; (quest( \d| pro)?)/i],[m,[w,Ne],[g,P]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[w,[g,O]],[/(aeobc)\b/i],[m,[w,A],[g,O]],[/(homepod).+mac os/i],[m,[w,M],[g,O]],[/windows iot/i],[[g,O]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[m,[g,x]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[g,C]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[g,C]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[g,x]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[m,[w,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[y,[v,V+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[v,y],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[v,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[v,y],[/ladybird\//i],[[v,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[y,v]],os:[[/microsoft (windows) (vista|xp)/i],[v,y],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[v,[y,Ct,Sn]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[y,Ct,Sn],[v,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[y,/_/g,"."],[v,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[v,pe],[y,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[y,v],[/(ubuntu) ([\w\.]+) like android/i],[[v,/(.+)/,"$1 Touch"],y],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[v,y],[/\(bb(10);/i],[y,[v,B]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[y,[v,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[y,[v,z+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[y,[v,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[y,[v,"watchOS"]],[/crkey\/([\d\.]+)/i],[y,[v,N+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[v,me],y],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[v,y],[/(sunos) ?([\w\.\d]*)/i],[[v,"Solaris"],y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[v,y]]},Gt=function(Tt,Ce){if(typeof Tt===u&&(Ce=Tt,Tt=r),!(this instanceof Gt))return new Gt(Tt,Ce).getResult();var Ye=typeof n!==l&&n.navigator?n.navigator:r,wt=Tt||(Ye&&Ye.userAgent?Ye.userAgent:a),un=Ye&&Ye.userAgentData?Ye.userAgentData:r,on=Ce?Ue(Jn,Ce):Jn,Lt=Ye&&Ye.userAgent==wt;return this.getBrowser=function(){var mt={};return mt[v]=r,mt[y]=r,st.call(mt,wt,on.browser),mt[f]=at(mt[y]),Lt&&Ye&&Ye.brave&&typeof Ye.brave.isBrave==s&&(mt[v]="Brave"),mt},this.getCPU=function(){var mt={};return mt[_]=r,st.call(mt,wt,on.cpu),mt},this.getDevice=function(){var mt={};return mt[w]=r,mt[m]=r,mt[g]=r,st.call(mt,wt,on.device),Lt&&!mt[g]&&un&&un.mobile&&(mt[g]=x),Lt&&mt[m]=="Macintosh"&&Ye&&typeof Ye.standalone!==l&&Ye.maxTouchPoints&&Ye.maxTouchPoints>2&&(mt[m]="iPad",mt[g]=C),mt},this.getEngine=function(){var mt={};return mt[v]=r,mt[y]=r,st.call(mt,wt,on.engine),mt},this.getOS=function(){var mt={};return mt[v]=r,mt[y]=r,st.call(mt,wt,on.os),Lt&&!mt[v]&&un&&un.platform&&un.platform!="Unknown"&&(mt[v]=un.platform.replace(/chrome os/i,me).replace(/macos/i,pe)),mt},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return wt},this.setUA=function(mt){return wt=typeof mt===d&&mt.length>$?ht(mt,$):mt,this},this.setUA(wt),this};Gt.VERSION=o,Gt.BROWSER=He([v,y,f]),Gt.CPU=He([_]),Gt.DEVICE=He([m,w,g,S,x,R,C,P,O]),Gt.ENGINE=Gt.OS=He([v,y]),t.exports&&(e=t.exports=Gt),e.UAParser=Gt;var Tn=typeof n!==l&&(n.jQuery||n.Zepto);if(Tn&&!Tn.ua){var Hn=new Gt;Tn.ua=Hn.getResult(),Tn.ua.get=function(){return Hn.getUA()},Tn.ua.set=function(Tt){Hn.setUA(Tt);var Ce=Hn.getResult();for(var Ye in Ce)Tn.ua[Ye]=Ce[Ye]}}})(typeof window=="object"?window:vQ)})(Bd,Bd.exports)),Bd.exports}var R4;function bQ(){if(R4)return tt;R4=1,Object.defineProperty(tt,"__esModule",{value:!0});function t(Me){return Me&&typeof Me=="object"&&"default"in Me?Me.default:Me}var e=Qv(),n=t(e),r=wQ(),o=new r,a=o.getBrowser(),i=o.getCPU(),s=o.getDevice(),l=o.getEngine(),u=o.getOS(),d=o.getUA(),f=function(ce){return o.setUA(ce)},m=function(ce){if(!ce){console.error("No userAgent string was provided");return}var de=new r(ce);return{UA:de,browser:de.getBrowser(),cpu:de.getCPU(),device:de.getDevice(),engine:de.getEngine(),os:de.getOS(),ua:de.getUA(),setUserAgent:function($e){return de.setUA($e)}}},v=Object.freeze({ClientUAInstance:o,browser:a,cpu:i,device:s,engine:l,os:u,ua:d,setUa:f,parseUserAgent:m});function g(Me,ce){var de=Object.keys(Me);if(Object.getOwnPropertySymbols){var Ie=Object.getOwnPropertySymbols(Me);ce&&(Ie=Ie.filter(function($e){return Object.getOwnPropertyDescriptor(Me,$e).enumerable})),de.push.apply(de,Ie)}return de}function w(Me){for(var ce=1;ce<arguments.length;ce++){var de=arguments[ce]!=null?arguments[ce]:{};ce%2?g(Object(de),!0).forEach(function(Ie){C(Me,Ie,de[Ie])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(de)):g(Object(de)).forEach(function(Ie){Object.defineProperty(Me,Ie,Object.getOwnPropertyDescriptor(de,Ie))})}return Me}function y(Me){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(ce){return typeof ce}:y=function(ce){return ce&&typeof Symbol=="function"&&ce.constructor===Symbol&&ce!==Symbol.prototype?"symbol":typeof ce},y(Me)}function _(Me,ce){if(!(Me instanceof ce))throw new TypeError("Cannot call a class as a function")}function S(Me,ce){for(var de=0;de<ce.length;de++){var Ie=ce[de];Ie.enumerable=Ie.enumerable||!1,Ie.configurable=!0,"value"in Ie&&(Ie.writable=!0),Object.defineProperty(Me,Ie.key,Ie)}}function x(Me,ce,de){return ce&&S(Me.prototype,ce),Me}function C(Me,ce,de){return ce in Me?Object.defineProperty(Me,ce,{value:de,enumerable:!0,configurable:!0,writable:!0}):Me[ce]=de,Me}function R(){return R=Object.assign||function(Me){for(var ce=1;ce<arguments.length;ce++){var de=arguments[ce];for(var Ie in de)Object.prototype.hasOwnProperty.call(de,Ie)&&(Me[Ie]=de[Ie])}return Me},R.apply(this,arguments)}function P(Me,ce){if(typeof ce!="function"&&ce!==null)throw new TypeError("Super expression must either be null or a function");Me.prototype=Object.create(ce&&ce.prototype,{constructor:{value:Me,writable:!0,configurable:!0}}),ce&&$(Me,ce)}function O(Me){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(de){return de.__proto__||Object.getPrototypeOf(de)},O(Me)}function $(Me,ce){return $=Object.setPrototypeOf||function(Ie,$e){return Ie.__proto__=$e,Ie},$(Me,ce)}function A(Me,ce){if(Me==null)return{};var de={},Ie=Object.keys(Me),$e,Je;for(Je=0;Je<Ie.length;Je++)$e=Ie[Je],!(ce.indexOf($e)>=0)&&(de[$e]=Me[$e]);return de}function M(Me,ce){if(Me==null)return{};var de=A(Me,ce),Ie,$e;if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols(Me);for($e=0;$e<Je.length;$e++)Ie=Je[$e],!(ce.indexOf(Ie)>=0)&&Object.prototype.propertyIsEnumerable.call(Me,Ie)&&(de[Ie]=Me[Ie])}return de}function L(Me){if(Me===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Me}function B(Me,ce){if(ce&&(typeof ce=="object"||typeof ce=="function"))return ce;if(ce!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return L(Me)}function F(Me,ce){return N(Me)||V(Me,ce)||z(Me,ce)||D()}function N(Me){if(Array.isArray(Me))return Me}function V(Me,ce){var de=Me==null?null:typeof Symbol<"u"&&Me[Symbol.iterator]||Me["@@iterator"];if(de!=null){var Ie=[],$e=!0,Je=!1,dn,Wn;try{for(de=de.call(Me);!($e=(dn=de.next()).done)&&(Ie.push(dn.value),!(ce&&Ie.length===ce));$e=!0);}catch(Gr){Je=!0,Wn=Gr}finally{try{!$e&&de.return!=null&&de.return()}finally{if(Je)throw Wn}}return Ie}}function z(Me,ce){if(Me){if(typeof Me=="string")return I(Me,ce);var de=Object.prototype.toString.call(Me).slice(8,-1);if(de==="Object"&&Me.constructor&&(de=Me.constructor.name),de==="Map"||de==="Set")return Array.from(Me);if(de==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(de))return I(Me,ce)}}function I(Me,ce){(ce==null||ce>Me.length)&&(ce=Me.length);for(var de=0,Ie=new Array(ce);de<ce;de++)Ie[de]=Me[de];return Ie}function D(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
174
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var U={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},Y={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},oe={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},Q={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},re=function(ce){switch(ce){case U.Mobile:return{isMobile:!0};case U.Tablet:return{isTablet:!0};case U.SmartTv:return{isSmartTV:!0};case U.Console:return{isConsole:!0};case U.Wearable:return{isWearable:!0};case U.Browser:return{isBrowser:!0};case U.Embedded:return{isEmbedded:!0};default:return Q}},le=function(ce){return f(ce)},ee=function(ce){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return ce||de},te=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},ue=function(ce){var de=te();return de&&de.platform&&(de.platform.indexOf(ce)!==-1||de.platform==="MacIntel"&&de.maxTouchPoints>1&&!window.MSStream)},ve=function(ce,de,Ie,$e,Je){return{isBrowser:ce,browserMajorVersion:ee(de.major),browserFullVersion:ee(de.version),browserName:ee(de.name),engineName:ee(Ie.name),engineVersion:ee(Ie.version),osName:ee($e.name),osVersion:ee($e.version),userAgent:ee(Je)}},we=function(ce,de,Ie,$e){return w({},ce,{vendor:ee(de.vendor),model:ee(de.model),os:ee(Ie.name),osVersion:ee(Ie.version),ua:ee($e)})},ye=function(ce,de,Ie,$e){return{isSmartTV:ce,engineName:ee(de.name),engineVersion:ee(de.version),osName:ee(Ie.name),osVersion:ee(Ie.version),userAgent:ee($e)}},Le=function(ce,de,Ie,$e){return{isConsole:ce,engineName:ee(de.name),engineVersion:ee(de.version),osName:ee(Ie.name),osVersion:ee(Ie.version),userAgent:ee($e)}},Oe=function(ce,de,Ie,$e){return{isWearable:ce,engineName:ee(de.name),engineVersion:ee(de.version),osName:ee(Ie.name),osVersion:ee(Ie.version),userAgent:ee($e)}},Ne=function(ce,de,Ie,$e,Je){return{isEmbedded:ce,vendor:ee(de.vendor),model:ee(de.model),engineName:ee(Ie.name),engineVersion:ee(Ie.version),osName:ee($e.name),osVersion:ee($e.version),userAgent:ee(Je)}};function me(Me){var ce=Me?m(Me):v,de=ce.device,Ie=ce.browser,$e=ce.engine,Je=ce.os,dn=ce.ua,Wn=re(de.type),Gr=Wn.isBrowser,ac=Wn.isMobile,Qs=Wn.isTablet,Ji=Wn.isSmartTV,es=Wn.isConsole,Js=Wn.isWearable,Ln=Wn.isEmbedded;if(Gr)return ve(Gr,Ie,$e,Je,dn);if(Ji)return ye(Ji,$e,Je,dn);if(es)return Le(es,$e,Je,dn);if(ac||Qs)return we(Wn,de,Je,dn);if(Js)return Oe(Js,$e,Je,dn);if(Ln)return Ne(Ln,de,$e,Je,dn)}var pe=function(ce){var de=ce.type;return de===U.Mobile},be=function(ce){var de=ce.type;return de===U.Tablet},Ue=function(ce){var de=ce.type;return de===U.Mobile||de===U.Tablet},He=function(ce){var de=ce.type;return de===U.SmartTv},qe=function(ce){var de=ce.type;return de===U.Browser},_e=function(ce){var de=ce.type;return de===U.Wearable},at=function(ce){var de=ce.type;return de===U.Console},ht=function(ce){var de=ce.type;return de===U.Embedded},st=function(ce){var de=ce.vendor;return ee(de)},Ct=function(ce){var de=ce.model;return ee(de)},cn=function(ce){var de=ce.type;return ee(de,"browser")},Sn=function(ce){var de=ce.name;return de===oe.Android},Jn=function(ce){var de=ce.name;return de===oe.Windows},Gt=function(ce){var de=ce.name;return de===oe.MAC_OS},Tn=function(ce){var de=ce.name;return de===oe.WindowsPhone},Hn=function(ce){var de=ce.name;return de===oe.IOS},Tt=function(ce){var de=ce.version;return ee(de)},Ce=function(ce){var de=ce.name;return ee(de)},Ye=function(ce){var de=ce.name;return de===Y.Chrome},wt=function(ce){var de=ce.name;return de===Y.Firefox},un=function(ce){var de=ce.name;return de===Y.Chromium},on=function(ce){var de=ce.name;return de===Y.Edge},Lt=function(ce){var de=ce.name;return de===Y.Yandex},mt=function(ce){var de=ce.name;return de===Y.Safari||de===Y.MobileSafari},Ze=function(ce){var de=ce.name;return de===Y.MobileSafari},Bt=function(ce){var de=ce.name;return de===Y.Opera},jt=function(ce){var de=ce.name;return de===Y.InternetExplorer||de===Y.Ie},rt=function(ce){var de=ce.name;return de===Y.MIUI},en=function(ce){var de=ce.name;return de===Y.SamsungBrowser},Mn=function(ce){var de=ce.version;return ee(de)},_n=function(ce){var de=ce.major;return ee(de)},Pn=function(ce){var de=ce.name;return ee(de)},In=function(ce){var de=ce.name;return ee(de)},On=function(ce){var de=ce.version;return ee(de)},sr=function(){var ce=te(),de=ce&&ce.userAgent&&ce.userAgent.toLowerCase();return typeof de=="string"?/electron/.test(de):!1},Nn=function(ce){return typeof ce=="string"&&ce.indexOf("Edg/")!==-1},Or=function(){var ce=te();return ce&&(/iPad|iPhone|iPod/.test(ce.platform)||ce.platform==="MacIntel"&&ce.maxTouchPoints>1)&&!window.MSStream},zn=function(){return ue("iPad")},li=function(){return ue("iPhone")},Qo=function(){return ue("iPod")},Ui=function(ce){return ee(ce)};function Yi(Me){var ce=Me||v,de=ce.device,Ie=ce.browser,$e=ce.os,Je=ce.engine,dn=ce.ua;return{isSmartTV:He(de),isConsole:at(de),isWearable:_e(de),isEmbedded:ht(de),isMobileSafari:Ze(Ie)||zn(),isChromium:un(Ie),isMobile:Ue(de)||zn(),isMobileOnly:pe(de),isTablet:be(de)||zn(),isBrowser:qe(de),isDesktop:qe(de),isAndroid:Sn($e),isWinPhone:Tn($e),isIOS:Hn($e)||zn(),isChrome:Ye(Ie),isFirefox:wt(Ie),isSafari:mt(Ie),isOpera:Bt(Ie),isIE:jt(Ie),osVersion:Tt($e),osName:Ce($e),fullBrowserVersion:Mn(Ie),browserVersion:_n(Ie),browserName:Pn(Ie),mobileVendor:st(de),mobileModel:Ct(de),engineName:In(Je),engineVersion:On(Je),getUA:Ui(dn),isEdge:on(Ie)||Nn(dn),isYandex:Lt(Ie),deviceType:cn(de),isIOS13:Or(),isIPad13:zn(),isIPhone13:li(),isIPod13:Qo(),isElectron:sr(),isEdgeChromium:Nn(dn),isLegacyEdge:on(Ie)&&!Nn(dn),isWindows:Jn($e),isMacOs:Gt($e),isMIUI:rt(Ie),isSamsungBrowser:en(Ie)}}var Jo=He(s),ci=at(s),ea=_e(s),Ra=ht(s),Zs=Ze(a)||zn(),ta=un(a),na=Ue(s)||zn(),Ta=pe(s),ra=be(s)||zn(),No=qe(s),Na=qe(s),ui=Sn(u),di=Tn(u),Po=Hn(u)||zn(),fi=Ye(a),Fn=wt(a),Gi=mt(a),pi=Bt(a),Pa=jt(a),hi=Tt(u),po=Ce(u),ho=Mn(a),Ki=_n(a),oa=Pn(a),aa=st(s),mi=Ct(s),Aa=In(l),Ia=On(l),ia=Ui(d),Oa=on(a)||Nn(d),Xi=Lt(a),La=cn(s),E=Or(),H=zn(),X=li(),se=Qo(),Re=sr(),Ee=Nn(d),De=on(a)&&!Nn(d),Ke=Jn(u),vt=Gt(u),bt=rt(a),Et=en(a),wn=function(ce){if(!ce||typeof ce!="string"){console.error("No valid user agent string was provided");return}var de=m(ce),Ie=de.device,$e=de.browser,Je=de.os,dn=de.engine,Wn=de.ua;return Yi({device:Ie,browser:$e,os:Je,engine:dn,ua:Wn})},br=function(ce){var de=ce.renderWithFragment,Ie=ce.children,$e=M(ce,["renderWithFragment","children"]);return ui?de?n.createElement(e.Fragment,null,Ie):n.createElement("div",$e,Ie):null},Lr=function(ce){var de=ce.renderWithFragment,Ie=ce.children,$e=M(ce,["renderWithFragment","children"]);return No?de?n.createElement(e.Fragment,null,Ie):n.createElement("div",$e,Ie):null},lr=function(ce){var de=ce.renderWithFragment,Ie=ce.children,$e=M(ce,["renderWithFragment","children"]);return Pa?de?n.createElement(e.Fragment,null,Ie):n.createElement("div",$e,Ie):null},Ao=function(ce){var de=ce.renderWithFragment,Ie=ce.children,$e=M(ce,["renderWithFragment","children"]);return Po?de?n.createElement(e.Fragment,null,Ie):n.createElement("div",$e,Ie):null},Yr=function(ce){var de=ce.renderWithFragment,Ie=ce.children,$e=M(ce,["renderWithFragment","children"]);return na?de?n.createElement(e.Fragment,null,Ie):n.createElement("div",$e,Ie):null},$a=function(ce){var de=ce.renderWithFragment,Ie=ce.children,$e=M(ce,["renderWithFragment","children"]);return ra?de?n.createElement(e.Fragment,null,Ie):n.createElement("div",$e,Ie):null},sa=function(ce){var de=ce.renderWithFragment,Ie=ce.children,$e=M(ce,["renderWithFragment","children"]);return di?de?n.createElement(e.Fragment,null,Ie):n.createElement("div",$e,Ie):null},Zi=function(ce){var de=ce.renderWithFragment,Ie=ce.children;ce.viewClassName,ce.style;var $e=M(ce,["renderWithFragment","children","viewClassName","style"]);return Ta?de?n.createElement(e.Fragment,null,Ie):n.createElement("div",$e,Ie):null},Io=function(ce){var de=ce.renderWithFragment,Ie=ce.children,$e=M(ce,["renderWithFragment","children"]);return Jo?de?n.createElement(e.Fragment,null,Ie):n.createElement("div",$e,Ie):null},gi=function(ce){var de=ce.renderWithFragment,Ie=ce.children,$e=M(ce,["renderWithFragment","children"]);return ci?de?n.createElement(e.Fragment,null,Ie):n.createElement("div",$e,Ie):null},Pu=function(ce){var de=ce.renderWithFragment,Ie=ce.children,$e=M(ce,["renderWithFragment","children"]);return ea?de?n.createElement(e.Fragment,null,Ie):n.createElement("div",$e,Ie):null},Au=function(ce){var de=ce.renderWithFragment,Ie=ce.children;ce.viewClassName,ce.style;var $e=ce.condition,Je=M(ce,["renderWithFragment","children","viewClassName","style","condition"]);return $e?de?n.createElement(e.Fragment,null,Ie):n.createElement("div",Je,Ie):null};function Iu(Me){return(function(ce){P(de,ce);function de(Ie){var $e;return _(this,de),$e=B(this,O(de).call(this,Ie)),$e.isEventListenerAdded=!1,$e.handleOrientationChange=$e.handleOrientationChange.bind(L($e)),$e.onOrientationChange=$e.onOrientationChange.bind(L($e)),$e.onPageLoad=$e.onPageLoad.bind(L($e)),$e.state={isLandscape:!1,isPortrait:!1},$e}return x(de,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var $e=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:$e===0,isLandscape:$e===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":y(window))!==void 0&&na&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return n.createElement(Me,R({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),de})(n.Component)}function Ou(){var Me=e.useState(function(){var Je=window.innerWidth>window.innerHeight?90:0;return{isPortrait:Je===0,isLandscape:Je===90,orientation:Je===0?"portrait":"landscape"}}),ce=F(Me,2),de=ce[0],Ie=ce[1],$e=e.useCallback(function(){var Je=window.innerWidth>window.innerHeight?90:0,dn={isPortrait:Je===0,isLandscape:Je===90,orientation:Je===0?"portrait":"landscape"};de.orientation!==dn.orientation&&Ie(dn)},[de.orientation]);return e.useEffect(function(){return(typeof window>"u"?"undefined":y(window))!==void 0&&na&&($e(),window.addEventListener("load",$e,!1),window.addEventListener("resize",$e,!1)),function(){window.removeEventListener("resize",$e,!1),window.removeEventListener("load",$e,!1)}},[$e]),de}function Qi(Me){var ce=Me||window.navigator.userAgent;return m(ce)}function mo(Me){var ce=Me||window.navigator.userAgent,de=Qi(ce),Ie=Yi(de);return[Ie,de]}return tt.AndroidView=br,tt.BrowserTypes=Y,tt.BrowserView=Lr,tt.ConsoleView=gi,tt.CustomView=Au,tt.IEView=lr,tt.IOSView=Ao,tt.MobileOnlyView=Zi,tt.MobileView=Yr,tt.OsTypes=oe,tt.SmartTVView=Io,tt.TabletView=$a,tt.WearableView=Pu,tt.WinPhoneView=sa,tt.browserName=oa,tt.browserVersion=Ki,tt.deviceDetect=me,tt.deviceType=La,tt.engineName=Aa,tt.engineVersion=Ia,tt.fullBrowserVersion=ho,tt.getSelectorsByUserAgent=wn,tt.getUA=ia,tt.isAndroid=ui,tt.isBrowser=No,tt.isChrome=fi,tt.isChromium=ta,tt.isConsole=ci,tt.isDesktop=Na,tt.isEdge=Oa,tt.isEdgeChromium=Ee,tt.isElectron=Re,tt.isEmbedded=Ra,tt.isFirefox=Fn,tt.isIE=Pa,tt.isIOS=Po,tt.isIOS13=E,tt.isIPad13=H,tt.isIPhone13=X,tt.isIPod13=se,tt.isLegacyEdge=De,tt.isMIUI=bt,tt.isMacOs=vt,tt.isMobile=na,tt.isMobileOnly=Ta,tt.isMobileSafari=Zs,tt.isOpera=pi,tt.isSafari=Gi,tt.isSamsungBrowser=Et,tt.isSmartTV=Jo,tt.isTablet=ra,tt.isWearable=ea,tt.isWinPhone=di,tt.isWindows=Ke,tt.isYandex=Xi,tt.mobileModel=mi,tt.mobileVendor=aa,tt.osName=po,tt.osVersion=hi,tt.parseUserAgent=m,tt.setUserAgent=le,tt.useDeviceData=Qi,tt.useDeviceSelectors=mo,tt.useMobileOrientation=Ou,tt.withOrientationChange=Iu,tt}var xo=bQ(),qp={},T4;function yQ(){if(T4)return qp;T4=1,qp.match=a,qp.parse=i;var t=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,e=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,n=/^(?:(min|max)-)?(.+)/,r=/(em|rem|px|cm|mm|in|pt|pc)?$/,o=/(dpi|dpcm|dppx)?$/;function a(d,f){return i(d).some(function(m){var v=m.inverse,g=m.type==="all"||f.type===m.type;if(g&&v||!(g||v))return!1;var w=m.expressions.every(function(y){var _=y.feature,S=y.modifier,x=y.value,C=f[_];if(!C)return!1;switch(_){case"orientation":case"scan":return C.toLowerCase()===x.toLowerCase();case"width":case"height":case"device-width":case"device-height":x=u(x),C=u(C);break;case"resolution":x=l(x),C=l(C);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":x=s(x),C=s(C);break;case"grid":case"color":case"color-index":case"monochrome":x=parseInt(x,10)||1,C=parseInt(C,10)||0;break}switch(S){case"min":return C>=x;case"max":return C<=x;default:return C===x}});return w&&!v||!w&&v})}function i(d){return d.split(",").map(function(f){f=f.trim();var m=f.match(t),v=m[1],g=m[2],w=m[3]||"",y={};return y.inverse=!!v&&v.toLowerCase()==="not",y.type=g?g.toLowerCase():"all",w=w.match(/\([^\)]+\)/g)||[],y.expressions=w.map(function(_){var S=_.match(e),x=S[1].toLowerCase().match(n);return{modifier:x[1],feature:x[2],value:S[2]}}),y})}function s(d){var f=Number(d),m;return f||(m=d.match(/^(\d+)\s*\/\s*(\d+)$/),f=m[1]/m[2]),f}function l(d){var f=parseFloat(d),m=String(d).match(o)[1];switch(m){case"dpcm":return f/2.54;case"dppx":return f*96;default:return f}}function u(d){var f=parseFloat(d),m=String(d).match(r)[1];switch(m){case"em":return f*16;case"rem":return f*16;case"cm":return f*96/2.54;case"mm":return f*96/2.54/10;case"in":return f*96;case"pt":return f*72;case"pc":return f*72/12;default:return f}}return qp}var kg,N4;function _Q(){if(N4)return kg;N4=1;var t=yQ().match,e=typeof window<"u"?window.matchMedia:null;function n(o,a,i){var s=this,l;e&&!i&&(l=e.call(window,o)),l?(this.matches=l.matches,this.media=l.media,l.addListener(f)):(this.matches=t(o,a),this.media=o),this.addListener=u,this.removeListener=d,this.dispose=m;function u(v){l&&l.addListener(v)}function d(v){l&&l.removeListener(v)}function f(v){s.matches=v.matches,s.media=v.media}function m(){l&&l.removeListener(f)}}function r(o,a,i){return new n(o,a,i)}return kg=r,kg}var xQ=_Q();const SQ=Ea(xQ);var CQ=/[A-Z]/g,EQ=/^ms-/,Rg={};function MQ(t){return"-"+t.toLowerCase()}function NE(t){if(Rg.hasOwnProperty(t))return Rg[t];var e=t.replace(CQ,MQ);return Rg[t]=EQ.test(e)?"-"+e:e}function kQ(t,e){if(t===e)return!0;if(!t||!e)return!1;const n=Object.keys(t),r=Object.keys(e),o=n.length;if(r.length!==o)return!1;for(let a=0;a<o;a++){const i=n[a];if(t[i]!==e[i]||!Object.prototype.hasOwnProperty.call(e,i))return!1}return!0}var Tg={exports:{}},Ng,P4;function RQ(){if(P4)return Ng;P4=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ng=t,Ng}var Pg,A4;function TQ(){if(A4)return Pg;A4=1;var t=RQ();function e(){}function n(){}return n.resetWarningCache=e,Pg=function(){function r(i,s,l,u,d,f){if(f!==t){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function o(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:e};return a.PropTypes=a,a},Pg}var I4;function NQ(){return I4||(I4=1,Tg.exports=TQ()()),Tg.exports}var PQ=NQ();const hn=Ea(PQ),{createContext:AQ,useRef:IQ,useEffect:jl,useContext:OQ,useState:Sh}=await q("react"),Vr=hn.oneOfType([hn.string,hn.number]),PE={all:hn.bool,grid:hn.bool,aural:hn.bool,braille:hn.bool,handheld:hn.bool,print:hn.bool,projection:hn.bool,screen:hn.bool,tty:hn.bool,tv:hn.bool,embossed:hn.bool},LQ={orientation:hn.oneOf(["portrait","landscape"]),scan:hn.oneOf(["progressive","interlace"]),aspectRatio:hn.string,deviceAspectRatio:hn.string,height:Vr,deviceHeight:Vr,width:Vr,deviceWidth:Vr,color:hn.bool,colorIndex:hn.bool,monochrome:hn.bool,resolution:Vr,type:Object.keys(PE)},{type:zhe,...$Q}=LQ,DQ={minAspectRatio:hn.string,maxAspectRatio:hn.string,minDeviceAspectRatio:hn.string,maxDeviceAspectRatio:hn.string,minHeight:Vr,maxHeight:Vr,minDeviceHeight:Vr,maxDeviceHeight:Vr,minWidth:Vr,maxWidth:Vr,minDeviceWidth:Vr,maxDeviceWidth:Vr,minColor:hn.number,maxColor:hn.number,minColorIndex:hn.number,maxColorIndex:hn.number,minMonochrome:hn.number,maxMonochrome:hn.number,minResolution:Vr,maxResolution:Vr,...$Q},BQ={...PE,...DQ};var zQ={all:BQ};const FQ=t=>`not ${t}`,VQ=(t,e)=>{const n=NE(t);return typeof e=="number"&&(e=`${e}px`),e===!0?n:e===!1?FQ(n):`(${n}: ${e})`},jQ=t=>t.join(" and "),HQ=t=>{const e=[];return Object.keys(zQ.all).forEach(n=>{const r=t[n];r!=null&&e.push(VQ(n,r))}),jQ(e)},WQ=AQ(void 0),qQ=t=>t.query||HQ(t),O4=t=>t?Object.keys(t).reduce((n,r)=>(n[NE(r)]=t[r],n),{}):void 0,AE=()=>{const t=IQ(!1);return jl(()=>{t.current=!0},[]),t.current},UQ=t=>{const e=OQ(WQ),n=()=>O4(t)||O4(e),[r,o]=Sh(n);return jl(()=>{const a=n();kQ(r,a)||o(a)},[t,e]),r},YQ=t=>{const e=()=>qQ(t),[n,r]=Sh(e);return jl(()=>{const o=e();n!==o&&r(o)},[t]),n},GQ=(t,e)=>{const n=()=>SQ(t,e||{},!!e),[r,o]=Sh(n),a=AE();return jl(()=>{if(a){const i=n();return o(i),()=>{i&&i.dispose()}}},[t,e]),r},KQ=t=>{const[e,n]=Sh(t.matches);return jl(()=>{const r=o=>{n(o.matches)};return t.addListener(r),n(t.matches),()=>{t.removeListener(r)}},[t]),e},sd=(t,e,n)=>{const r=UQ(e),o=YQ(t);if(!o)throw new Error("Invalid or missing MediaQuery!");const a=GQ(o,r),i=KQ(a);return AE(),jl(()=>{},[i]),jl(()=>()=>{a&&a.dispose()},[]),i},{useEffect:XQ,useMemo:ZQ,useState:QQ}=await q("react"),s3=(t={})=>{const{isDesktop:e="(min-width: 1400px)",isBigTablet:n="screen and (min-width: 1024px) and (max-width: 1400px)",isSmallTablet:r="screen and (min-width: 768px) and (max-width: 1023px)",isMobile:o="(max-width: 767px)",isFold:a="(max-width: 359px)"}=t,i=sd({query:e}),s=sd({query:n}),l=sd({query:r}),u=sd({query:o}),d=sd({query:a}),[f,m]=QQ(!1),v=ZQ(()=>({isDesktop:f?i:xo.isDesktop,isBigTablet:f?s:s&&(xo.isTablet||Ym()),isSmallTablet:f?l:l&&(xo.isTablet||Ym()),isMobile:f?u:xo.isMobile,isFold:!!d,deviceDetect:{isDesktop:xo.isDesktop,isTablet:xo.isTablet||Ym(),isMobile:xo.isMobile,isIOS:xo.isIOS,isAndroid:xo.isAndroid,isMacOs:xo.isMacOs}}),[f,i,s,l,u,d]);return XQ(()=>{m(!0)},[]),v},{useEffect:JQ}=await q("react"),Nf=(t,e,n)=>{JQ(()=>{const r=o=>{const a=t&&"current"in t?t?.current:t;!a||a.contains(o.target)||e(o)};return document.addEventListener(n?.event||"click",r),n?.offTouchEvent||document.addEventListener("touchstart",r),()=>{document.removeEventListener(n?.event||"click",r),document.removeEventListener("touchstart",r)}},[t,e,n])};function eJ(t){return""}function tJ(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var nJ=0;function IE(t){var e=++nJ;return eJ()+e}class rJ{_modalList=[];observeFunction=null;set modalList(e){const n=[...e];this._modalList=n,this.observeFunction?.(n),n.length===1?window.addEventListener("keyup",this.handleKeyPressEvent):n.length===0&&window.removeEventListener("keyup",this.handleKeyPressEvent)}get modalList(){return this._modalList}handleKeyPressEvent=e=>{if(e.code==="Escape"){const n=this.modalList[this.modalList.length-1];this.closeModal(n.id)}};checkModal(e){const{onlyLastCheck:n}=e,r=this.modalList.length;if("componentName"in e){const{componentName:o}=e;return n?r>0&&o?this.modalList[r-1].props.componentName===o:!1:this.modalList.some(a=>a.props.componentName===o)}else{const{modalId:o}=e;return n?r>0&&o?this.modalList[r-1].props.id===o:!1:this.modalList.some(a=>a.props.id===o)}}deleteModal(e){const n=this.modalList.find(o=>o.id===e);if(!n)return;const r=this.modalList.filter(o=>o.id!==e);this.modalList=r,n.props.onClose?.({})}closeModal(e){const n=this.modalList.find(r=>r.id===e);n&&(n.close?n.close(n.id):this.deleteModal(e))}resolveModal({modal:e,result:n,useClose:r}){e.resolve(n),r&&this.closeModal(e.id)}resetModal(){this.modalList=[]}makeProps(e){return{...e||{}}}openModal=({component:e,props:n,options:r})=>new Promise((o,a)=>{const i={id:"",props:n,component:e,resolve:o,reject:a},s=[...this.modalList],l=r?.componentName??e.name??n?.componentName;i.id=r?.id||IE(),i.props=this.makeProps({...n,snapshotCnt:s.length,componentName:l});let u=[...s,i];if(i.props.isAlone&&(u=[i]),!i.props.isToggle&&!i.props.isAlone){let d=this.checkModal(r?.id?{modalId:i.id,onlyLastCheck:!0}:{componentName:l,onlyLastCheck:!0});if(n?.duplicateCheck&&(d=this.checkModal(r?.id?{modalId:i.id}:{componentName:l})),d)return}u&&(this.modalList=u),i.props.onOpen&&i.props.onOpen({...i})});observe({observeFunction:e}){this.observeFunction=e}unobserve(){this.observeFunction=null}}const Ns=new rJ,OE=()=>({modal:Ns.openModal,closeModal:t=>{Ns.closeModal(t)},checkModal:t=>Ns.checkModal(t),resetModal:()=>{Ns.resetModal()}});function LE(t,e){return function(){return t.apply(e,arguments)}}const{toString:oJ}=Object.prototype,{getPrototypeOf:l3}=Object,{iterator:Ch,toStringTag:$E}=Symbol,Eh=(t=>e=>{const n=oJ.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ka=t=>(t=t.toLowerCase(),e=>Eh(e)===t),Mh=t=>e=>typeof e===t,{isArray:Ru}=Array,mu=Mh("undefined");function Pf(t){return t!==null&&!mu(t)&&t.constructor!==null&&!mu(t.constructor)&&co(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const DE=ka("ArrayBuffer");function aJ(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&DE(t.buffer),e}const iJ=Mh("string"),co=Mh("function"),BE=Mh("number"),Af=t=>t!==null&&typeof t=="object",sJ=t=>t===!0||t===!1,Y1=t=>{if(Eh(t)!=="object")return!1;const e=l3(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!($E in t)&&!(Ch in t)},lJ=t=>{if(!Af(t)||Pf(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},cJ=ka("Date"),uJ=ka("File"),dJ=t=>!!(t&&typeof t.uri<"u"),fJ=t=>t&&typeof t.getParts<"u",pJ=ka("Blob"),hJ=ka("FileList"),mJ=t=>Af(t)&&co(t.pipe);function gJ(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const L4=gJ(),$4=typeof L4.FormData<"u"?L4.FormData:void 0,vJ=t=>{let e;return t&&($4&&t instanceof $4||co(t.append)&&((e=Eh(t))==="formdata"||e==="object"&&co(t.toString)&&t.toString()==="[object FormData]"))},wJ=ka("URLSearchParams"),[bJ,yJ,_J,xJ]=["ReadableStream","Request","Response","Headers"].map(ka),SJ=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function If(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),Ru(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{if(Pf(t))return;const a=n?Object.getOwnPropertyNames(t):Object.keys(t),i=a.length;let s;for(r=0;r<i;r++)s=a[r],e.call(null,t[s],s,t)}}function zE(t,e){if(Pf(t))return null;e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const Tl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,FE=t=>!mu(t)&&t!==Tl;function gv(){const{caseless:t,skipUndefined:e}=FE(this)&&this||{},n={},r=(o,a)=>{if(a==="__proto__"||a==="constructor"||a==="prototype")return;const i=t&&zE(n,a)||a;Y1(n[i])&&Y1(o)?n[i]=gv(n[i],o):Y1(o)?n[i]=gv({},o):Ru(o)?n[i]=o.slice():(!e||!mu(o))&&(n[i]=o)};for(let o=0,a=arguments.length;o<a;o++)arguments[o]&&If(arguments[o],r);return n}const CJ=(t,e,n,{allOwnKeys:r}={})=>(If(e,(o,a)=>{n&&co(o)?Object.defineProperty(t,a,{value:LE(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,a,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),t),EJ=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),MJ=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),Object.defineProperty(t.prototype,"constructor",{value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},kJ=(t,e,n,r)=>{let o,a,i;const s={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),a=o.length;a-- >0;)i=o[a],(!r||r(i,t,e))&&!s[i]&&(e[i]=t[i],s[i]=!0);t=n!==!1&&l3(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},RJ=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},TJ=t=>{if(!t)return null;if(Ru(t))return t;let e=t.length;if(!BE(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},NJ=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&l3(Uint8Array)),PJ=(t,e)=>{const r=(t&&t[Ch]).call(t);let o;for(;(o=r.next())&&!o.done;){const a=o.value;e.call(t,a[0],a[1])}},AJ=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},IJ=ka("HTMLFormElement"),OJ=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),D4=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),LJ=ka("RegExp"),VE=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};If(n,(o,a)=>{let i;(i=e(o,a,t))!==!1&&(r[a]=i||o)}),Object.defineProperties(t,r)},$J=t=>{VE(t,(e,n)=>{if(co(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(co(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},DJ=(t,e)=>{const n={},r=o=>{o.forEach(a=>{n[a]=!0})};return Ru(t)?r(t):r(String(t).split(e)),n},BJ=()=>{},zJ=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function FJ(t){return!!(t&&co(t.append)&&t[$E]==="FormData"&&t[Ch])}const VJ=t=>{const e=new Array(10),n=(r,o)=>{if(Af(r)){if(e.indexOf(r)>=0)return;if(Pf(r))return r;if(!("toJSON"in r)){e[o]=r;const a=Ru(r)?[]:{};return If(r,(i,s)=>{const l=n(i,o+1);!mu(l)&&(a[s]=l)}),e[o]=void 0,a}}return r};return n(t,0)},jJ=ka("AsyncFunction"),HJ=t=>t&&(Af(t)||co(t))&&co(t.then)&&co(t.catch),jE=((t,e)=>t?setImmediate:e?((n,r)=>(Tl.addEventListener("message",({source:o,data:a})=>{o===Tl&&a===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Tl.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",co(Tl.postMessage)),WJ=typeof queueMicrotask<"u"?queueMicrotask.bind(Tl):typeof process<"u"&&process.nextTick||jE,qJ=t=>t!=null&&co(t[Ch]),Pe={isArray:Ru,isArrayBuffer:DE,isBuffer:Pf,isFormData:vJ,isArrayBufferView:aJ,isString:iJ,isNumber:BE,isBoolean:sJ,isObject:Af,isPlainObject:Y1,isEmptyObject:lJ,isReadableStream:bJ,isRequest:yJ,isResponse:_J,isHeaders:xJ,isUndefined:mu,isDate:cJ,isFile:uJ,isReactNativeBlob:dJ,isReactNative:fJ,isBlob:pJ,isRegExp:LJ,isFunction:co,isStream:mJ,isURLSearchParams:wJ,isTypedArray:NJ,isFileList:hJ,forEach:If,merge:gv,extend:CJ,trim:SJ,stripBOM:EJ,inherits:MJ,toFlatObject:kJ,kindOf:Eh,kindOfTest:ka,endsWith:RJ,toArray:TJ,forEachEntry:PJ,matchAll:AJ,isHTMLForm:IJ,hasOwnProperty:D4,hasOwnProp:D4,reduceDescriptors:VE,freezeMethods:$J,toObjectSet:DJ,toCamelCase:OJ,noop:BJ,toFiniteNumber:zJ,findKey:zE,global:Tl,isContextDefined:FE,isSpecCompliantForm:FJ,toJSONObject:VJ,isAsyncFn:jJ,isThenable:HJ,setImmediate:jE,asap:WJ,isIterable:qJ};let At=class HE extends Error{static from(e,n,r,o,a,i){const s=new HE(e.message,n||e.code,r,o,a);return s.cause=e,s.name=e.name,e.status!=null&&s.status==null&&(s.status=e.status),i&&Object.assign(s,i),s}constructor(e,n,r,o,a){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),a&&(this.response=a,this.status=a.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Pe.toJSONObject(this.config),code:this.code,status:this.status}}};At.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";At.ERR_BAD_OPTION="ERR_BAD_OPTION";At.ECONNABORTED="ECONNABORTED";At.ETIMEDOUT="ETIMEDOUT";At.ERR_NETWORK="ERR_NETWORK";At.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";At.ERR_DEPRECATED="ERR_DEPRECATED";At.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";At.ERR_BAD_REQUEST="ERR_BAD_REQUEST";At.ERR_CANCELED="ERR_CANCELED";At.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";At.ERR_INVALID_URL="ERR_INVALID_URL";const UJ=null;function vv(t){return Pe.isPlainObject(t)||Pe.isArray(t)}function WE(t){return Pe.endsWith(t,"[]")?t.slice(0,-2):t}function Ag(t,e,n){return t?t.concat(e).map(function(o,a){return o=WE(o),!n&&a?"["+o+"]":o}).join(n?".":""):e}function YJ(t){return Pe.isArray(t)&&!t.some(vv)}const GJ=Pe.toFlatObject(Pe,{},null,function(e){return/^is[A-Z]/.test(e)});function kh(t,e,n){if(!Pe.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=Pe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,y){return!Pe.isUndefined(y[w])});const r=n.metaTokens,o=n.visitor||d,a=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Pe.isSpecCompliantForm(e);if(!Pe.isFunction(o))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(Pe.isDate(g))return g.toISOString();if(Pe.isBoolean(g))return g.toString();if(!l&&Pe.isBlob(g))throw new At("Blob is not supported. Use a Buffer instead.");return Pe.isArrayBuffer(g)||Pe.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,w,y){let _=g;if(Pe.isReactNative(e)&&Pe.isReactNativeBlob(g))return e.append(Ag(y,w,a),u(g)),!1;if(g&&!y&&typeof g=="object"){if(Pe.endsWith(w,"{}"))w=r?w:w.slice(0,-2),g=JSON.stringify(g);else if(Pe.isArray(g)&&YJ(g)||(Pe.isFileList(g)||Pe.endsWith(w,"[]"))&&(_=Pe.toArray(g)))return w=WE(w),_.forEach(function(x,C){!(Pe.isUndefined(x)||x===null)&&e.append(i===!0?Ag([w],C,a):i===null?w:w+"[]",u(x))}),!1}return vv(g)?!0:(e.append(Ag(y,w,a),u(g)),!1)}const f=[],m=Object.assign(GJ,{defaultVisitor:d,convertValue:u,isVisitable:vv});function v(g,w){if(!Pe.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(g),Pe.forEach(g,function(_,S){(!(Pe.isUndefined(_)||_===null)&&o.call(e,_,Pe.isString(S)?S.trim():S,w,m))===!0&&v(_,w?w.concat(S):[S])}),f.pop()}}if(!Pe.isObject(t))throw new TypeError("data must be an object");return v(t),e}function B4(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function c3(t,e){this._pairs=[],t&&kh(t,this,e)}const qE=c3.prototype;qE.append=function(e,n){this._pairs.push([e,n])};qE.toString=function(e){const n=e?function(r){return e.call(this,r,B4)}:B4;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function KJ(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function UE(t,e,n){if(!e)return t;const r=n&&n.encode||KJ,o=Pe.isFunction(n)?{serialize:n}:n,a=o&&o.serialize;let i;if(a?i=a(e,o):i=Pe.isURLSearchParams(e)?e.toString():new c3(e,o).toString(r),i){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class z4{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Pe.forEach(this.handlers,function(r){r!==null&&e(r)})}}const u3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},XJ=typeof URLSearchParams<"u"?URLSearchParams:c3,ZJ=typeof FormData<"u"?FormData:null,QJ=typeof Blob<"u"?Blob:null,JJ={isBrowser:!0,classes:{URLSearchParams:XJ,FormData:ZJ,Blob:QJ},protocols:["http","https","file","blob","url","data"]},d3=typeof window<"u"&&typeof document<"u",wv=typeof navigator=="object"&&navigator||void 0,eee=d3&&(!wv||["ReactNative","NativeScript","NS"].indexOf(wv.product)<0),tee=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",nee=d3&&window.location.href||"http://localhost",ree=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:d3,hasStandardBrowserEnv:eee,hasStandardBrowserWebWorkerEnv:tee,navigator:wv,origin:nee},Symbol.toStringTag,{value:"Module"})),Er={...ree,...JJ};function oee(t,e){return kh(t,new Er.classes.URLSearchParams,{visitor:function(n,r,o,a){return Er.isNode&&Pe.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...e})}function aee(t){return Pe.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function iee(t){const e={},n=Object.keys(t);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],e[a]=t[a];return e}function YE(t){function e(n,r,o,a){let i=n[a++];if(i==="__proto__")return!0;const s=Number.isFinite(+i),l=a>=n.length;return i=!i&&Pe.isArray(o)?o.length:i,l?(Pe.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!s):((!o[i]||!Pe.isObject(o[i]))&&(o[i]=[]),e(n,r,o[i],a)&&Pe.isArray(o[i])&&(o[i]=iee(o[i])),!s)}if(Pe.isFormData(t)&&Pe.isFunction(t.entries)){const n={};return Pe.forEachEntry(t,(r,o)=>{e(aee(r),o,n,0)}),n}return null}function see(t,e,n){if(Pe.isString(t))try{return(e||JSON.parse)(t),Pe.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const Of={transitional:u3,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=Pe.isObject(e);if(a&&Pe.isHTMLForm(e)&&(e=new FormData(e)),Pe.isFormData(e))return o?JSON.stringify(YE(e)):e;if(Pe.isArrayBuffer(e)||Pe.isBuffer(e)||Pe.isStream(e)||Pe.isFile(e)||Pe.isBlob(e)||Pe.isReadableStream(e))return e;if(Pe.isArrayBufferView(e))return e.buffer;if(Pe.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return oee(e,this.formSerializer).toString();if((s=Pe.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return kh(s?{"files[]":e}:e,l&&new l,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),see(e)):e}],transformResponse:[function(e){const n=this.transitional||Of.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(Pe.isResponse(e)||Pe.isReadableStream(e))return e;if(e&&Pe.isString(e)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e,this.parseReviver)}catch(s){if(i)throw s.name==="SyntaxError"?At.from(s,At.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Er.classes.FormData,Blob:Er.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Pe.forEach(["delete","get","head","post","put","patch"],t=>{Of.headers[t]={}});const lee=Pe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cee=t=>{const e={};let n,r,o;return t&&t.split(`
175
+ `).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||e[n]&&lee[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},F4=Symbol("internals");function ld(t){return t&&String(t).trim().toLowerCase()}function G1(t){return t===!1||t==null?t:Pe.isArray(t)?t.map(G1):String(t).replace(/[\r\n]+$/,"")}function uee(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const dee=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ig(t,e,n,r,o){if(Pe.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!Pe.isString(e)){if(Pe.isString(r))return e.indexOf(r)!==-1;if(Pe.isRegExp(r))return r.test(e)}}function fee(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function pee(t,e){const n=Pe.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,a,i){return this[r].call(this,e,o,a,i)},configurable:!0})})}let uo=class{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function a(s,l,u){const d=ld(l);if(!d)throw new Error("header name must be a non-empty string");const f=Pe.findKey(o,d);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||l]=G1(s))}const i=(s,l)=>Pe.forEach(s,(u,d)=>a(u,d,l));if(Pe.isPlainObject(e)||e instanceof this.constructor)i(e,n);else if(Pe.isString(e)&&(e=e.trim())&&!dee(e))i(cee(e),n);else if(Pe.isObject(e)&&Pe.isIterable(e)){let s={},l,u;for(const d of e){if(!Pe.isArray(d))throw TypeError("Object iterator must return a key-value pair");s[u=d[0]]=(l=s[u])?Pe.isArray(l)?[...l,d[1]]:[l,d[1]]:d[1]}i(s,n)}else e!=null&&a(n,e,r);return this}get(e,n){if(e=ld(e),e){const r=Pe.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return uee(o);if(Pe.isFunction(n))return n.call(this,o,r);if(Pe.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=ld(e),e){const r=Pe.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Ig(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function a(i){if(i=ld(i),i){const s=Pe.findKey(r,i);s&&(!n||Ig(r,r[s],s,n))&&(delete r[s],o=!0)}}return Pe.isArray(e)?e.forEach(a):a(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const a=n[r];(!e||Ig(this,this[a],a,e,!0))&&(delete this[a],o=!0)}return o}normalize(e){const n=this,r={};return Pe.forEach(this,(o,a)=>{const i=Pe.findKey(r,a);if(i){n[i]=G1(o),delete n[a];return}const s=e?fee(a):String(a).trim();s!==a&&delete n[a],n[s]=G1(o),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Pe.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&Pe.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
176
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){const r=(this[F4]=this[F4]={accessors:{}}).accessors,o=this.prototype;function a(i){const s=ld(i);r[s]||(pee(o,i),r[s]=!0)}return Pe.isArray(e)?e.forEach(a):a(e),this}};uo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Pe.reduceDescriptors(uo.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});Pe.freezeMethods(uo);function Og(t,e){const n=this||Of,r=e||n,o=uo.from(r.headers);let a=r.data;return Pe.forEach(t,function(s){a=s.call(n,a,o.normalize(),e?e.status:void 0)}),o.normalize(),a}function GE(t){return!!(t&&t.__CANCEL__)}let Lf=class extends At{constructor(e,n,r){super(e??"canceled",At.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function KE(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new At("Request failed with status code "+n.status,[At.ERR_BAD_REQUEST,At.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function hee(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function mee(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,a=0,i;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),d=r[a];i||(i=u),n[o]=l,r[o]=u;let f=a,m=0;for(;f!==o;)m+=n[f++],f=f%t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),u-i<e)return;const v=d&&u-d;return v?Math.round(m*1e3/v):void 0}}function gee(t,e){let n=0,r=1e3/e,o,a;const i=(u,d=Date.now())=>{n=d,o=null,a&&(clearTimeout(a),a=null),t(...u)};return[(...u)=>{const d=Date.now(),f=d-n;f>=r?i(u,d):(o=u,a||(a=setTimeout(()=>{a=null,i(o)},r-f)))},()=>o&&i(o)]}const N0=(t,e,n=3)=>{let r=0;const o=mee(50,250);return gee(a=>{const i=a.loaded,s=a.lengthComputable?a.total:void 0,l=i-r,u=o(l),d=i<=s;r=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&d?(s-i)/u:void 0,event:a,lengthComputable:s!=null,[e?"download":"upload"]:!0};t(f)},n)},V4=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},j4=t=>(...e)=>Pe.asap(()=>t(...e)),vee=Er.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Er.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Er.origin),Er.navigator&&/(msie|trident)/i.test(Er.navigator.userAgent)):()=>!0,wee=Er.hasStandardBrowserEnv?{write(t,e,n,r,o,a,i){if(typeof document>"u")return;const s=[`${t}=${encodeURIComponent(e)}`];Pe.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),Pe.isString(r)&&s.push(`path=${r}`),Pe.isString(o)&&s.push(`domain=${o}`),a===!0&&s.push("secure"),Pe.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function bee(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function yee(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function XE(t,e,n){let r=!bee(e);return t&&(r||n==!1)?yee(t,e):e}const H4=t=>t instanceof uo?{...t}:t;function Hl(t,e){e=e||{};const n={};function r(u,d,f,m){return Pe.isPlainObject(u)&&Pe.isPlainObject(d)?Pe.merge.call({caseless:m},u,d):Pe.isPlainObject(d)?Pe.merge({},d):Pe.isArray(d)?d.slice():d}function o(u,d,f,m){if(Pe.isUndefined(d)){if(!Pe.isUndefined(u))return r(void 0,u,f,m)}else return r(u,d,f,m)}function a(u,d){if(!Pe.isUndefined(d))return r(void 0,d)}function i(u,d){if(Pe.isUndefined(d)){if(!Pe.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function s(u,d,f){if(f in e)return r(u,d);if(f in t)return r(void 0,u)}const l={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(u,d,f)=>o(H4(u),H4(d),f,!0)};return Pe.forEach(Object.keys({...t,...e}),function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;const f=Pe.hasOwnProp(l,d)?l[d]:o,m=f(t[d],e[d],d);Pe.isUndefined(m)&&f!==s||(n[d]=m)}),n}const ZE=t=>{const e=Hl({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:a,headers:i,auth:s}=e;if(e.headers=i=uo.from(i),e.url=UE(XE(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Pe.isFormData(n)){if(Er.hasStandardBrowserEnv||Er.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(Pe.isFunction(n.getHeaders)){const l=n.getHeaders(),u=["content-type","content-length"];Object.entries(l).forEach(([d,f])=>{u.includes(d.toLowerCase())&&i.set(d,f)})}}if(Er.hasStandardBrowserEnv&&(r&&Pe.isFunction(r)&&(r=r(e)),r||r!==!1&&vee(e.url))){const l=o&&a&&wee.read(a);l&&i.set(o,l)}return e},_ee=typeof XMLHttpRequest<"u",xee=_ee&&function(t){return new Promise(function(n,r){const o=ZE(t);let a=o.data;const i=uo.from(o.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=o,d,f,m,v,g;function w(){v&&v(),g&&g(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let y=new XMLHttpRequest;y.open(o.method.toUpperCase(),o.url,!0),y.timeout=o.timeout;function _(){if(!y)return;const x=uo.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),R={data:!s||s==="text"||s==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:x,config:t,request:y};KE(function(O){n(O),w()},function(O){r(O),w()},R),y=null}"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(_)},y.onabort=function(){y&&(r(new At("Request aborted",At.ECONNABORTED,t,y)),y=null)},y.onerror=function(C){const R=C&&C.message?C.message:"Network Error",P=new At(R,At.ERR_NETWORK,t,y);P.event=C||null,r(P),y=null},y.ontimeout=function(){let C=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const R=o.transitional||u3;o.timeoutErrorMessage&&(C=o.timeoutErrorMessage),r(new At(C,R.clarifyTimeoutError?At.ETIMEDOUT:At.ECONNABORTED,t,y)),y=null},a===void 0&&i.setContentType(null),"setRequestHeader"in y&&Pe.forEach(i.toJSON(),function(C,R){y.setRequestHeader(R,C)}),Pe.isUndefined(o.withCredentials)||(y.withCredentials=!!o.withCredentials),s&&s!=="json"&&(y.responseType=o.responseType),u&&([m,g]=N0(u,!0),y.addEventListener("progress",m)),l&&y.upload&&([f,v]=N0(l),y.upload.addEventListener("progress",f),y.upload.addEventListener("loadend",v)),(o.cancelToken||o.signal)&&(d=x=>{y&&(r(!x||x.type?new Lf(null,t,y):x),y.abort(),y=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const S=hee(o.url);if(S&&Er.protocols.indexOf(S)===-1){r(new At("Unsupported protocol "+S+":",At.ERR_BAD_REQUEST,t));return}y.send(a||null)})},See=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,o;const a=function(u){if(!o){o=!0,s();const d=u instanceof Error?u:this.reason;r.abort(d instanceof At?d:new Lf(d instanceof Error?d.message:d))}};let i=e&&setTimeout(()=>{i=null,a(new At(`timeout of ${e}ms exceeded`,At.ETIMEDOUT))},e);const s=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach(u=>{u.unsubscribe?u.unsubscribe(a):u.removeEventListener("abort",a)}),t=null)};t.forEach(u=>u.addEventListener("abort",a));const{signal:l}=r;return l.unsubscribe=()=>Pe.asap(s),l}},Cee=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,o;for(;r<n;)o=r+e,yield t.slice(r,o),r=o},Eee=async function*(t,e){for await(const n of Mee(t))yield*Cee(n,e)},Mee=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:r}=await e.read();if(n)break;yield r}}finally{await e.cancel()}},W4=(t,e,n,r)=>{const o=Eee(t,e);let a=0,i,s=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:d}=await o.next();if(u){s(),l.close();return}let f=d.byteLength;if(n){let m=a+=f;n(m)}l.enqueue(new Uint8Array(d))}catch(u){throw s(u),u}},cancel(l){return s(l),o.return()}},{highWaterMark:2})},q4=64*1024,{isFunction:Up}=Pe,kee=(({Request:t,Response:e})=>({Request:t,Response:e}))(Pe.global),{ReadableStream:U4,TextEncoder:Y4}=Pe.global,G4=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Ree=t=>{t=Pe.merge.call({skipUndefined:!0},kee,t);const{fetch:e,Request:n,Response:r}=t,o=e?Up(e):typeof fetch=="function",a=Up(n),i=Up(r);if(!o)return!1;const s=o&&Up(U4),l=o&&(typeof Y4=="function"?(g=>w=>g.encode(w))(new Y4):async g=>new Uint8Array(await new n(g).arrayBuffer())),u=a&&s&&G4(()=>{let g=!1;const w=new U4,y=new n(Er.origin,{body:w,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return w.cancel(),g&&!y}),d=i&&s&&G4(()=>Pe.isReadableStream(new r("").body)),f={stream:d&&(g=>g.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!f[g]&&(f[g]=(w,y)=>{let _=w&&w[g];if(_)return _.call(w);throw new At(`Response type '${g}' is not supported`,At.ERR_NOT_SUPPORT,y)})});const m=async g=>{if(g==null)return 0;if(Pe.isBlob(g))return g.size;if(Pe.isSpecCompliantForm(g))return(await new n(Er.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(Pe.isArrayBufferView(g)||Pe.isArrayBuffer(g))return g.byteLength;if(Pe.isURLSearchParams(g)&&(g=g+""),Pe.isString(g))return(await l(g)).byteLength},v=async(g,w)=>{const y=Pe.toFiniteNumber(g.getContentLength());return y??m(w)};return async g=>{let{url:w,method:y,data:_,signal:S,cancelToken:x,timeout:C,onDownloadProgress:R,onUploadProgress:P,responseType:O,headers:$,withCredentials:A="same-origin",fetchOptions:M}=ZE(g),L=e||fetch;O=O?(O+"").toLowerCase():"text";let B=See([S,x&&x.toAbortSignal()],C),F=null;const N=B&&B.unsubscribe&&(()=>{B.unsubscribe()});let V;try{if(P&&u&&y!=="get"&&y!=="head"&&(V=await v($,_))!==0){let oe=new n(w,{method:"POST",body:_,duplex:"half"}),Q;if(Pe.isFormData(_)&&(Q=oe.headers.get("content-type"))&&$.setContentType(Q),oe.body){const[re,le]=V4(V,N0(j4(P)));_=W4(oe.body,q4,re,le)}}Pe.isString(A)||(A=A?"include":"omit");const z=a&&"credentials"in n.prototype,I={...M,signal:B,method:y.toUpperCase(),headers:$.normalize().toJSON(),body:_,duplex:"half",credentials:z?A:void 0};F=a&&new n(w,I);let D=await(a?L(F,M):L(w,I));const U=d&&(O==="stream"||O==="response");if(d&&(R||U&&N)){const oe={};["status","statusText","headers"].forEach(ee=>{oe[ee]=D[ee]});const Q=Pe.toFiniteNumber(D.headers.get("content-length")),[re,le]=R&&V4(Q,N0(j4(R),!0))||[];D=new r(W4(D.body,q4,re,()=>{le&&le(),N&&N()}),oe)}O=O||"text";let Y=await f[Pe.findKey(f,O)||"text"](D,g);return!U&&N&&N(),await new Promise((oe,Q)=>{KE(oe,Q,{data:Y,headers:uo.from(D.headers),status:D.status,statusText:D.statusText,config:g,request:F})})}catch(z){throw N&&N(),z&&z.name==="TypeError"&&/Load failed|fetch/i.test(z.message)?Object.assign(new At("Network Error",At.ERR_NETWORK,g,F,z&&z.response),{cause:z.cause||z}):At.from(z,z&&z.code,g,F,z&&z.response)}}},Tee=new Map,QE=t=>{let e=t&&t.env||{};const{fetch:n,Request:r,Response:o}=e,a=[r,o,n];let i=a.length,s=i,l,u,d=Tee;for(;s--;)l=a[s],u=d.get(l),u===void 0&&d.set(l,u=s?new Map:Ree(e)),d=u;return u};QE();const f3={http:UJ,xhr:xee,fetch:{get:QE}};Pe.forEach(f3,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const K4=t=>`- ${t}`,Nee=t=>Pe.isFunction(t)||t===null||t===!1;function Pee(t,e){t=Pe.isArray(t)?t:[t];const{length:n}=t;let r,o;const a={};for(let i=0;i<n;i++){r=t[i];let s;if(o=r,!Nee(r)&&(o=f3[(s=String(r)).toLowerCase()],o===void 0))throw new At(`Unknown adapter '${s}'`);if(o&&(Pe.isFunction(o)||(o=o.get(e))))break;a[s||"#"+i]=o}if(!o){const i=Object.entries(a).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let s=n?i.length>1?`since :
177
+ `+i.map(K4).join(`
178
+ `):" "+K4(i[0]):"as no adapter specified";throw new At("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return o}const JE={getAdapter:Pee,adapters:f3};function Lg(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Lf(null,t)}function X4(t){return Lg(t),t.headers=uo.from(t.headers),t.data=Og.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),JE.getAdapter(t.adapter||Of.adapter,t)(t).then(function(r){return Lg(t),r.data=Og.call(t,t.transformResponse,r),r.headers=uo.from(r.headers),r},function(r){return GE(r)||(Lg(t),r&&r.response&&(r.response.data=Og.call(t,t.transformResponse,r.response),r.response.headers=uo.from(r.response.headers))),Promise.reject(r)})}const eM="1.14.0",Rh={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Rh[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Z4={};Rh.transitional=function(e,n,r){function o(a,i){return"[Axios v"+eM+"] Transitional option '"+a+"'"+i+(r?". "+r:"")}return(a,i,s)=>{if(e===!1)throw new At(o(i," has been removed"+(n?" in "+n:"")),At.ERR_DEPRECATED);return n&&!Z4[i]&&(Z4[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(a,i,s):!0}};Rh.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function Aee(t,e,n){if(typeof t!="object")throw new At("options must be an object",At.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const a=r[o],i=e[a];if(i){const s=t[a],l=s===void 0||i(s,a,t);if(l!==!0)throw new At("option "+a+" must be "+l,At.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new At("Unknown option "+a,At.ERR_BAD_OPTION)}}const K1={assertOptions:Aee,validators:Rh},Vo=K1.validators;let Ol=class{constructor(e){this.defaults=e||{},this.interceptors={request:new z4,response:new z4}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=`
179
+ `+a):r.stack=a}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Hl(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&K1.assertOptions(r,{silentJSONParsing:Vo.transitional(Vo.boolean),forcedJSONParsing:Vo.transitional(Vo.boolean),clarifyTimeoutError:Vo.transitional(Vo.boolean),legacyInterceptorReqResOrdering:Vo.transitional(Vo.boolean)},!1),o!=null&&(Pe.isFunction(o)?n.paramsSerializer={serialize:o}:K1.assertOptions(o,{encode:Vo.function,serialize:Vo.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),K1.assertOptions(n,{baseUrl:Vo.spelling("baseURL"),withXsrfToken:Vo.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=a&&Pe.merge(a.common,a[n.method]);a&&Pe.forEach(["delete","get","head","post","put","patch","common"],g=>{delete a[g]}),n.headers=uo.concat(i,a);const s=[];let l=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(n)===!1)return;l=l&&w.synchronous;const y=n.transitional||u3;y&&y.legacyInterceptorReqResOrdering?s.unshift(w.fulfilled,w.rejected):s.push(w.fulfilled,w.rejected)});const u=[];this.interceptors.response.forEach(function(w){u.push(w.fulfilled,w.rejected)});let d,f=0,m;if(!l){const g=[X4.bind(this),void 0];for(g.unshift(...s),g.push(...u),m=g.length,d=Promise.resolve(n);f<m;)d=d.then(g[f++],g[f++]);return d}m=s.length;let v=n;for(;f<m;){const g=s[f++],w=s[f++];try{v=g(v)}catch(y){w.call(this,y);break}}try{d=X4.call(this,v)}catch(g){return Promise.reject(g)}for(f=0,m=u.length;f<m;)d=d.then(u[f++],u[f++]);return d}getUri(e){e=Hl(this.defaults,e);const n=XE(e.baseURL,e.url,e.allowAbsoluteUrls);return UE(n,e.params,e.paramsSerializer)}};Pe.forEach(["delete","get","head","options"],function(e){Ol.prototype[e]=function(n,r){return this.request(Hl(r||{},{method:e,url:n,data:(r||{}).data}))}});Pe.forEach(["post","put","patch"],function(e){function n(r){return function(a,i,s){return this.request(Hl(s||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}Ol.prototype[e]=n(),Ol.prototype[e+"Form"]=n(!0)});let Iee=class tM{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(s=>{r.subscribe(s),a=s}).then(o);return i.cancel=function(){r.unsubscribe(a)},i},e(function(a,i,s){r.reason||(r.reason=new Lf(a,i,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new tM(function(o){e=o}),cancel:e}}};function Oee(t){return function(n){return t.apply(null,n)}}function Lee(t){return Pe.isObject(t)&&t.isAxiosError===!0}const bv={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(bv).forEach(([t,e])=>{bv[e]=t});function nM(t){const e=new Ol(t),n=LE(Ol.prototype.request,e);return Pe.extend(n,Ol.prototype,e,{allOwnKeys:!0}),Pe.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return nM(Hl(t,o))},n}const Gn=nM(Of);Gn.Axios=Ol;Gn.CanceledError=Lf;Gn.CancelToken=Iee;Gn.isCancel=GE;Gn.VERSION=eM;Gn.toFormData=kh;Gn.AxiosError=At;Gn.Cancel=Gn.CanceledError;Gn.all=function(e){return Promise.all(e)};Gn.spread=Oee;Gn.isAxiosError=Lee;Gn.mergeConfig=Hl;Gn.AxiosHeaders=uo;Gn.formToJSON=t=>YE(Pe.isHTMLForm(t)?new FormData(t):t);Gn.getAdapter=JE.getAdapter;Gn.HttpStatusCode=bv;Gn.default=Gn;const{Axios:Hhe,AxiosError:Whe,CanceledError:qhe,isCancel:Uhe,CancelToken:Yhe,VERSION:Ghe,all:Khe,Cancel:Xhe,isAxiosError:Zhe,spread:Qhe,toFormData:Jhe,AxiosHeaders:eme,HttpStatusCode:tme,formToJSON:nme,getAdapter:rme,mergeConfig:ome}=Gn;/*! js-cookie v3.0.5 | MIT */function Yp(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}var $ee={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function yv(t,e){function n(o,a,i){if(!(typeof document>"u")){i=Yp({},e,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in i)i[l]&&(s+="; "+l,i[l]!==!0&&(s+="="+i[l].split(";")[0]));return document.cookie=o+"="+t.write(a,o)+s}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var a=document.cookie?document.cookie.split("; "):[],i={},s=0;s<a.length;s++){var l=a[s].split("="),u=l.slice(1).join("=");try{var d=decodeURIComponent(l[0]);if(i[d]=t.read(u,d),o===d)break}catch{}}return o?i[o]:i}}return Object.create({set:n,get:r,remove:function(o,a){n(o,"",Yp({},a,{expires:-1}))},withAttributes:function(o){return yv(this.converter,Yp({},this.attributes,o))},withConverter:function(o){return yv(Yp({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Dee=yv($ee,{path:"/"});const $f={onRequest({config:t,cookie:e}){return t},onResponse({response:t}){return t?.data},async onResponseError({error:t,cookie:e}){return Promise.reject(t)}},{QueryClient:Bee}=await q("@tanstack/react-query"),zee=new Bee({defaultOptions:{queries:{refetchOnWindowFocus:!1}}}),Fee=(t,e)=>!t||!e||t.endsWith(e)?t:`${t}${e}`,Df=(t,e,n)=>{const r=Dee,{baseURL:o,withCredentials:a=!1,timeout:i=6e4}=t,s=Gn.create({...t,baseURL:o,withCredentials:a,timeout:i});return s.interceptors.request.use(l=>(l.baseURL&&(l.baseURL=Fee(l.baseURL,n)),e.onRequest?.({config:l,cookie:r}),l)),s.interceptors.response.use(l=>e.onResponse({response:l,cookie:r}),l=>e.onResponseError?.({error:l,cookie:r})),s},Vee=`http://${window.location.hostname}:undefined`,jee=`http://${window.location.hostname}:undefined`,rM=`http://${window.location.hostname}:undefined`;Df({baseURL:""},$f);Df({baseURL:Vee},$f);Df({baseURL:jee},$f);const oM=Df({baseURL:`${rM}/amr`},$f,"/amr"),Th=Df({baseURL:`${rM}/common`},$f,"/common"),{useQuery:ame}=await q("@tanstack/react-query"),{useMemo:ime}=await q("react"),{useQuery:sme}=await q("@tanstack/react-query"),{useMemo:lme}=await q("react"),{useMemo:cme}=await q("react"),{useQuery:ume}=await q("@tanstack/react-query"),Hee="/robot-component-list",Wee=async(t,e)=>{try{return await Th.get(Hee,e?{baseURL:e,params:{beService:t}}:{params:{beService:t}})}catch(n){throw console.error(n),n}},{useMemo:dme}=await q("react"),{useQuery:fme}=await q("@tanstack/react-query"),qee="/get-robot-info",Uee=async t=>{try{return await Th.get(qee,t?{baseURL:t}:void 0)}catch(e){throw console.error(e),e}},{useQuery:pme}=await q("@tanstack/react-query"),Yee="/common/robot-model",Gee=[Yee],Kee=600*1e3,Xee=async t=>{const[e,n]=await Promise.all([Uee(t),Wee("amr",t)]),r=e.info?.robotModel??e.modelInfo?.model;if(r)return r;const a=[...e.info?.components??[],...e.modelInfo?.components??[]].find(i=>n.includes(i));if(!a)throw new Error("AMR robot_model을 찾을 수 없습니다.");return a},Zee=t=>zee.fetchQuery({queryKey:[...Gee,""],queryFn:()=>Xee(t),staleTime:Kee}),{useQuery:hme}=await q("@tanstack/react-query"),{useMemo:mme}=await q("react"),{useMemo:gme}=await q("react"),{useQuery:vme}=await q("@tanstack/react-query"),{useMemo:wme}=await q("react"),{useQuery:bme}=await q("@tanstack/react-query"),{useQuery:yme}=await q("@tanstack/react-query"),{useMemo:_me}=await q("react"),{useQuery:xme}=await q("@tanstack/react-query"),{useMemo:Sme}=await q("react"),{useQuery:Cme}=await q("@tanstack/react-query"),{useMemo:Eme}=await q("react"),{useQuery:Mme}=await q("@tanstack/react-query"),{useMemo:kme}=await q("react"),{useQuery:Rme}=await q("@tanstack/react-query"),{useMemo:Tme}=await q("react"),{useQuery:Nme}=await q("@tanstack/react-query"),{useMemo:Pme}=await q("react"),{useQuery:Ame}=await q("@tanstack/react-query"),{useMemo:Ime}=await q("react"),{useQuery:Ome}=await q("@tanstack/react-query"),{useMemo:Lme}=await q("react"),{useQuery:Qee}=await q("@tanstack/react-query"),{useMemo:Jee}=await q("react"),Q4="/getState",$me=(t={},e,n="")=>{const r=Jee(()=>[Q4,e,n],[e,n]);return{...Qee({queryKey:r,queryFn:()=>Th.get(Q4,void 0),...t}),queryKey:r}},{useMemo:Dme}=await q("react"),{useQuery:Bme}=await q("@tanstack/react-query"),{useQuery:zme}=await q("@tanstack/react-query"),{useMemo:Fme}=await q("react"),{useQuery:Vme}=await q("@tanstack/react-query"),{useMemo:jme}=await q("react"),{useQuery:Hme}=await q("@tanstack/react-query"),{useMemo:Wme}=await q("react");/**
180
+ * @remix-run/router v1.23.2
181
+ *
182
+ * Copyright (c) Remix Software Inc.
183
+ *
184
+ * This source code is licensed under the MIT license found in the
185
+ * LICENSE.md file in the root directory of this source tree.
186
+ *
187
+ * @license MIT
188
+ */function _v(){return _v=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},_v.apply(this,arguments)}var xv;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(xv||(xv={}));function kr(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function p3(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function qme(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Nh(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}var J4;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(J4||(J4={}));function ete(t,e,n){return n===void 0&&(n="/"),tte(t,e,n)}function tte(t,e,n,r){let o=typeof e=="string"?Nh(e):e,a=sM(o.pathname||"/",n);if(a==null)return null;let i=aM(t);nte(i);let s=null;for(let l=0;s==null&&l<i.length;++l){let u=hte(a);s=dte(i[l],u)}return s}function aM(t,e,n,r){e===void 0&&(e=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(a,i,s)=>{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};l.relativePath.startsWith("/")&&(kr(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Os([r,l.relativePath]),d=n.concat(l);a.children&&a.children.length>0&&(kr(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),aM(a.children,e,d,u)),!(a.path==null&&!a.index)&&e.push({path:u,score:cte(u,a.index),routesMeta:d})};return t.forEach((a,i)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))o(a,i);else for(let l of iM(a.path))o(a,i,l)}),e}function iM(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return o?[a,""]:[a];let i=iM(r.join("/")),s=[];return s.push(...i.map(l=>l===""?a:[a,l].join("/"))),o&&s.push(...i),s.map(l=>t.startsWith("/")&&l===""?"/":l)}function nte(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:ute(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const rte=/^:[\w-]+$/,ote=3,ate=2,ite=1,ste=10,lte=-2,e5=t=>t==="*";function cte(t,e){let n=t.split("/"),r=n.length;return n.some(e5)&&(r+=lte),e&&(r+=ate),n.filter(o=>!e5(o)).reduce((o,a)=>o+(rte.test(a)?ote:a===""?ite:ste),r)}function ute(t,e){return t.length===e.length&&t.slice(0,-1).every((r,o)=>r===e[o])?t[t.length-1]-e[e.length-1]:0}function dte(t,e,n){let{routesMeta:r}=t,o={},a="/",i=[];for(let s=0;s<r.length;++s){let l=r[s],u=s===r.length-1,d=a==="/"?e:e.slice(a.length)||"/",f=fte({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},d),m=l.route;if(!f)return null;Object.assign(o,f.params),i.push({params:o,pathname:Os([a,f.pathname]),pathnameBase:bte(Os([a,f.pathnameBase])),route:m}),f.pathnameBase!=="/"&&(a=Os([a,f.pathnameBase]))}return i}function fte(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=pte(t.path,t.caseSensitive,t.end),o=e.match(n);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:m,isOptional:v}=d;if(m==="*"){let w=s[f]||"";i=a.slice(0,a.length-w.length).replace(/(.)\/+$/,"$1")}const g=s[f];return v&&!g?u[m]=void 0:u[m]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:i,pattern:t}}function pte(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),p3(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),r]}function hte(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return p3(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function sM(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}const mte=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,gte=t=>mte.test(t);function vte(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:o=""}=typeof t=="string"?Nh(t):t,a;if(n)if(gte(n))a=n;else{if(n.includes("//")){let i=n;n=n.replace(/\/\/+/g,"/"),p3(!1,"Pathnames cannot have embedded double slashes - normalizing "+(i+" -> "+n))}n.startsWith("/")?a=t5(n.substring(1),"/"):a=t5(n,e)}else a=e;return{pathname:a,search:yte(r),hash:_te(o)}}function t5(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function $g(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function wte(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function h3(t,e){let n=wte(t);return e?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function m3(t,e,n,r){r===void 0&&(r=!1);let o;typeof t=="string"?o=Nh(t):(o=_v({},t),kr(!o.pathname||!o.pathname.includes("?"),$g("?","pathname","search",o)),kr(!o.pathname||!o.pathname.includes("#"),$g("#","pathname","hash",o)),kr(!o.search||!o.search.includes("#"),$g("#","search","hash",o)));let a=t===""||o.pathname==="",i=a?"/":o.pathname,s;if(i==null)s=n;else{let f=e.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),f-=1;o.pathname=m.join("/")}s=f>=0?e[f]:"/"}let l=vte(o,s),u=i&&i!=="/"&&i.endsWith("/"),d=(a||i===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const Os=t=>t.join("/").replace(/\/\/+/g,"/"),bte=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),yte=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,_te=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;class xte extends Error{}function Ste(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const lM=["post","put","patch","delete"];new Set(lM);const Cte=["get",...lM];new Set(Cte);/**
189
+ * React Router v6.30.3
190
+ *
191
+ * Copyright (c) Remix Software Inc.
192
+ *
193
+ * This source code is licensed under the MIT license found in the
194
+ * LICENSE.md file in the root directory of this source tree.
195
+ *
196
+ * @license MIT
197
+ */const pt=await q("react");function P0(){return P0=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},P0.apply(this,arguments)}const g3=pt.createContext(null),Ete=pt.createContext(null),n5=pt.createContext(null),nc=pt.createContext(null),v3=pt.createContext(null),si=pt.createContext({outlet:null,matches:[],isDataRoute:!1}),cM=pt.createContext(null);function Ume(t,e){let{relative:n}=e===void 0?{}:e;Tu()||kr(!1);let{basename:r,navigator:o}=pt.useContext(nc),{hash:a,pathname:i,search:s}=Tte(t,{relative:n}),l=i;return r!=="/"&&(l=i==="/"?r:Os([r,i])),o.createHref({pathname:l,search:s,hash:a})}function Tu(){return pt.useContext(v3)!=null}function Ph(){return Tu()||kr(!1),pt.useContext(v3).location}function uM(t){pt.useContext(nc).static||pt.useLayoutEffect(t)}function Mte(){let{isDataRoute:t}=pt.useContext(si);return t?Fte():kte()}function kte(){Tu()||kr(!1);let t=pt.useContext(g3),{basename:e,future:n,navigator:r}=pt.useContext(nc),{matches:o}=pt.useContext(si),{pathname:a}=Ph(),i=JSON.stringify(h3(o,n.v7_relativeSplatPath)),s=pt.useRef(!1);return uM(()=>{s.current=!0}),pt.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let f=m3(u,JSON.parse(i),a,d.relative==="path");t==null&&e!=="/"&&(f.pathname=f.pathname==="/"?e:Os([e,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[e,r,i,a,t])}const dM=pt.createContext(null);function Yme(){return pt.useContext(dM)}function Rte(t){let e=pt.useContext(si).outlet;return e&&pt.createElement(dM.Provider,{value:t},e)}function Gme(){let{matches:t}=pt.useContext(si),e=t[t.length-1];return e?e.params:{}}function Tte(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=pt.useContext(nc),{matches:o}=pt.useContext(si),{pathname:a}=Ph(),i=JSON.stringify(h3(o,r.v7_relativeSplatPath));return pt.useMemo(()=>m3(t,JSON.parse(i),a,n==="path"),[t,i,a,n])}function Kme(t,e){return Nte(t)}function Nte(t,e,n,r){Tu()||kr(!1);let{navigator:o}=pt.useContext(nc),{matches:a}=pt.useContext(si),i=a[a.length-1],s=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let u=Ph(),d;d=u;let f=d.pathname||"/",m=f;if(l!=="/"){let w=l.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=ete(t,{pathname:m});return Lte(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},s,w.params),pathname:Os([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:Os([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),a,n,r)}function Pte(){let t=zte(),e=Ste(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return pt.createElement(pt.Fragment,null,pt.createElement("h2",null,"Unexpected Application Error!"),pt.createElement("h3",{style:{fontStyle:"italic"}},e),n?pt.createElement("pre",{style:o},n):null,null)}const Ate=pt.createElement(Pte,null);class Ite extends pt.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?pt.createElement(si.Provider,{value:this.props.routeContext},pt.createElement(cM.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ote(t){let{routeContext:e,match:n,children:r}=t,o=pt.useContext(g3);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),pt.createElement(si.Provider,{value:e},r)}function Lte(t,e,n,r){var o;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var a;if(!n)return null;if(n.errors)t=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let i=t,s=(o=n)==null?void 0:o.errors;if(s!=null){let d=i.findIndex(f=>f.route.id&&s?.[f.route.id]!==void 0);d>=0||kr(!1),i=i.slice(0,Math.min(i.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<i.length;d++){let f=i[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:m,errors:v}=n,g=f.route.loader&&m[f.route.id]===void 0&&(!v||v[f.route.id]===void 0);if(f.route.lazy||g){l=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((d,f,m)=>{let v,g=!1,w=null,y=null;n&&(v=s&&f.route.id?s[f.route.id]:void 0,w=f.route.errorElement||Ate,l&&(u<0&&m===0?(Vte("route-fallback"),g=!0,y=null):u===m&&(g=!0,y=f.route.hydrateFallbackElement||null)));let _=e.concat(i.slice(0,m+1)),S=()=>{let x;return v?x=w:g?x=y:f.route.Component?x=pt.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,pt.createElement(Ote,{match:f,routeContext:{outlet:d,matches:_,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||m===0)?pt.createElement(Ite,{location:n.location,revalidation:n.revalidation,component:w,error:v,children:S(),routeContext:{outlet:null,matches:_,isDataRoute:!0}}):S()},null)}var fM=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(fM||{}),pM=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(pM||{});function $te(t){let e=pt.useContext(g3);return e||kr(!1),e}function Dte(t){let e=pt.useContext(Ete);return e||kr(!1),e}function Bte(t){let e=pt.useContext(si);return e||kr(!1),e}function hM(t){let e=Bte(),n=e.matches[e.matches.length-1];return n.route.id||kr(!1),n.route.id}function zte(){var t;let e=pt.useContext(cM),n=Dte(),r=hM();return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function Fte(){let{router:t}=$te(fM.UseNavigateStable),e=hM(pM.UseNavigateStable),n=pt.useRef(!1);return uM(()=>{n.current=!0}),pt.useCallback(function(o,a){a===void 0&&(a={}),n.current&&(typeof o=="number"?t.navigate(o):t.navigate(o,P0({fromRouteId:e},a)))},[t,e])}const r5={};function Vte(t,e,n){r5[t]||(r5[t]=!0)}const jte="startTransition";pt[jte];function Xme(t){let{to:e,replace:n,state:r,relative:o}=t;Tu()||kr(!1);let{future:a,static:i}=pt.useContext(nc),{matches:s}=pt.useContext(si),{pathname:l}=Ph(),u=Mte(),d=m3(e,h3(s,a.v7_relativeSplatPath),l,o==="path"),f=JSON.stringify(d);return pt.useEffect(()=>u(JSON.parse(f),{replace:n,state:r,relative:o}),[u,f,o,n,r]),null}function Zme(t){return Rte(t.context)}function Qme(t){let{basename:e="/",children:n=null,location:r,navigationType:o=xv.Pop,navigator:a,static:i=!1,future:s}=t;Tu()&&kr(!1);let l=e.replace(/^\/*/,"/"),u=pt.useMemo(()=>({basename:l,navigator:a,static:i,future:P0({v7_relativeSplatPath:!1},s)}),[l,s,a,i]);typeof r=="string"&&(r=Nh(r));let{pathname:d="/",search:f="",hash:m="",state:v=null,key:g="default"}=r,w=pt.useMemo(()=>{let y=sM(d,l);return y==null?null:{location:{pathname:y,search:f,hash:m,state:v,key:g},navigationType:o}},[l,d,f,m,v,g,o]);return w==null?null:pt.createElement(nc.Provider,{value:u},pt.createElement(v3.Provider,{children:n,value:w}))}var jo=(function(t){return t[t.pending=0]="pending",t[t.success=1]="success",t[t.error=2]="error",t})(jo||{});const Hte=new Promise(()=>{});class Jme extends pt.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,n){console.error("<Await> caught the following error during render",e,n)}render(){let{children:e,errorElement:n,resolve:r}=this.props,o=null,a=jo.pending;if(!(r instanceof Promise))a=jo.success,o=Promise.resolve(),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_data",{get:()=>r});else if(this.state.error){a=jo.error;let i=this.state.error;o=Promise.reject().catch(()=>{}),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_error",{get:()=>i})}else r._tracked?(o=r,a="_error"in o?jo.error:"_data"in o?jo.success:jo.pending):(a=jo.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),o=r.then(i=>Object.defineProperty(r,"_data",{get:()=>i}),i=>Object.defineProperty(r,"_error",{get:()=>i})));if(a===jo.error&&o._error instanceof xte)throw Hte;if(a===jo.error&&!n)throw o._error;if(a===jo.error)return pt.createElement(n5.Provider,{value:o,children:n});if(a===jo.success)return pt.createElement(n5.Provider,{value:o,children:e});throw o}}const{useQuery:ege}=await q("@tanstack/react-query"),{useEffect:tge}=await q("react"),nge=t=>localStorage.getItem(t),rge=(t,e)=>{localStorage.setItem(t,e)},oge=t=>{localStorage.removeItem(t)},{useQuery:age}=await q("@tanstack/react-query"),{useMemo:ige}=await q("react"),{useQuery:Wte}=await q("@tanstack/react-query"),{useMemo:qte}=await q("react"),o5="/{robot_model}/setting/getSettingCategory",sge=(t,e={},n)=>{const r=qte(()=>[o5,t.level,t.robotType,n],[n,t.level,t.robotType]);return{...Wte({queryKey:r,queryFn:async()=>{const a=await Zee(n),i=o5.replace("{robot_model}",a);return await oM.get(i,{params:{robotType:t.robotType,level:t.level}})},enabled:!!t.robotType&&typeof t.level=="number"&&!Number.isNaN(t.level),...e}),queryKey:r}},{useQuery:lge}=await q("@tanstack/react-query"),{useMemo:cge}=await q("react"),{useQuery:uge}=await q("@tanstack/react-query"),{useEffect:dge,useRef:fge}=await q("react");var sn;(function(t){t.assertEqual=o=>{};function e(o){}t.assertIs=e;function n(o){throw new Error}t.assertNever=n,t.arrayToEnum=o=>{const a={};for(const i of o)a[i]=i;return a},t.getValidEnumValues=o=>{const a=t.objectKeys(o).filter(s=>typeof o[o[s]]!="number"),i={};for(const s of a)i[s]=o[s];return t.objectValues(i)},t.objectValues=o=>t.objectKeys(o).map(function(a){return o[a]}),t.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const a=[];for(const i in o)Object.prototype.hasOwnProperty.call(o,i)&&a.push(i);return a},t.find=(o,a)=>{for(const i of o)if(a(i))return i},t.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&Number.isFinite(o)&&Math.floor(o)===o;function r(o,a=" | "){return o.map(i=>typeof i=="string"?`'${i}'`:i).join(a)}t.joinValues=r,t.jsonStringifyReplacer=(o,a)=>typeof a=="bigint"?a.toString():a})(sn||(sn={}));var a5;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(a5||(a5={}));const ut=sn.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Cs=t=>{switch(typeof t){case"undefined":return ut.undefined;case"string":return ut.string;case"number":return Number.isNaN(t)?ut.nan:ut.number;case"boolean":return ut.boolean;case"function":return ut.function;case"bigint":return ut.bigint;case"symbol":return ut.symbol;case"object":return Array.isArray(t)?ut.array:t===null?ut.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?ut.promise:typeof Map<"u"&&t instanceof Map?ut.map:typeof Set<"u"&&t instanceof Set?ut.set:typeof Date<"u"&&t instanceof Date?ut.date:ut.object;default:return ut.unknown}},Xe=sn.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class ji extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){const n=e||function(a){return a.message},r={_errors:[]},o=a=>{for(const i of a.issues)if(i.code==="invalid_union")i.unionErrors.map(o);else if(i.code==="invalid_return_type")o(i.returnTypeError);else if(i.code==="invalid_arguments")o(i.argumentsError);else if(i.path.length===0)r._errors.push(n(i));else{let s=r,l=0;for(;l<i.path.length;){const u=i.path[l];l===i.path.length-1?(s[u]=s[u]||{_errors:[]},s[u]._errors.push(n(i))):s[u]=s[u]||{_errors:[]},s=s[u],l++}}};return o(this),r}static assert(e){if(!(e instanceof ji))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,sn.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n={},r=[];for(const o of this.issues)if(o.path.length>0){const a=o.path[0];n[a]=n[a]||[],n[a].push(e(o))}else r.push(e(o));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}ji.create=t=>new ji(t);const Sv=(t,e)=>{let n;switch(t.code){case Xe.invalid_type:t.received===ut.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case Xe.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,sn.jsonStringifyReplacer)}`;break;case Xe.unrecognized_keys:n=`Unrecognized key(s) in object: ${sn.joinValues(t.keys,", ")}`;break;case Xe.invalid_union:n="Invalid input";break;case Xe.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${sn.joinValues(t.options)}`;break;case Xe.invalid_enum_value:n=`Invalid enum value. Expected ${sn.joinValues(t.options)}, received '${t.received}'`;break;case Xe.invalid_arguments:n="Invalid function arguments";break;case Xe.invalid_return_type:n="Invalid function return type";break;case Xe.invalid_date:n="Invalid date";break;case Xe.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:sn.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case Xe.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case Xe.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case Xe.custom:n="Invalid input";break;case Xe.invalid_intersection_types:n="Intersection results could not be merged";break;case Xe.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case Xe.not_finite:n="Number must be finite";break;default:n=e.defaultError,sn.assertNever(t)}return{message:n}};let Ute=Sv;function Yte(){return Ute}const Gte=t=>{const{data:e,path:n,errorMaps:r,issueData:o}=t,a=[...n,...o.path||[]],i={...o,path:a};if(o.message!==void 0)return{...o,path:a,message:o.message};let s="";const l=r.filter(u=>!!u).slice().reverse();for(const u of l)s=u(i,{data:e,defaultError:s}).message;return{...o,path:a,message:s}};function et(t,e){const n=Yte(),r=Gte({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===Sv?void 0:Sv].filter(o=>!!o)});t.common.issues.push(r)}class ko{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const r=[];for(const o of n){if(o.status==="aborted")return zt;o.status==="dirty"&&e.dirty(),r.push(o.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,n){const r=[];for(const o of n){const a=await o.key,i=await o.value;r.push({key:a,value:i})}return ko.mergeObjectSync(e,r)}static mergeObjectSync(e,n){const r={};for(const o of n){const{key:a,value:i}=o;if(a.status==="aborted"||i.status==="aborted")return zt;a.status==="dirty"&&e.dirty(),i.status==="dirty"&&e.dirty(),a.value!=="__proto__"&&(typeof i.value<"u"||o.alwaysSet)&&(r[a.value]=i.value)}return{status:e.value,value:r}}}const zt=Object.freeze({status:"aborted"}),zd=t=>({status:"dirty",value:t}),Zo=t=>({status:"valid",value:t}),i5=t=>t.status==="aborted",s5=t=>t.status==="dirty",gu=t=>t.status==="valid",A0=t=>typeof Promise<"u"&&t instanceof Promise;var ft;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(ft||(ft={}));class zs{constructor(e,n,r,o){this._cachedPath=[],this.parent=e,this.data=n,this._path=r,this._key=o}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const l5=(t,e)=>{if(gu(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new ji(t.common.issues);return this._error=n,this._error}}};function Zt(t){if(!t)return{};const{errorMap:e,invalid_type_error:n,required_error:r,description:o}=t;if(e&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:o}:{errorMap:(i,s)=>{const{message:l}=t;return i.code==="invalid_enum_value"?{message:l??s.defaultError}:typeof s.data>"u"?{message:l??r??s.defaultError}:i.code!=="invalid_type"?{message:s.defaultError}:{message:l??n??s.defaultError}},description:o}}class an{get description(){return this._def.description}_getType(e){return Cs(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:Cs(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new ko,ctx:{common:e.parent.common,data:e.data,parsedType:Cs(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(A0(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const r=this.safeParse(e,n);if(r.success)return r.data;throw r.error}safeParse(e,n){const r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Cs(e)},o=this._parseSync({data:e,path:r.path,parent:r});return l5(r,o)}"~validate"(e){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Cs(e)};if(!this["~standard"].async)try{const r=this._parseSync({data:e,path:[],parent:n});return gu(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then(r=>gu(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(e,n){const r=await this.safeParseAsync(e,n);if(r.success)return r.data;throw r.error}async safeParseAsync(e,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Cs(e)},o=this._parse({data:e,path:r.path,parent:r}),a=await(A0(o)?o:Promise.resolve(o));return l5(r,a)}refine(e,n){const r=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,a)=>{const i=e(o),s=()=>a.addIssue({code:Xe.custom,...r(o)});return typeof Promise<"u"&&i instanceof Promise?i.then(l=>l?!0:(s(),!1)):i?!0:(s(),!1)})}refinement(e,n){return this._refinement((r,o)=>e(r)?!0:(o.addIssue(typeof n=="function"?n(r,o):n),!1))}_refinement(e){return new wu({schema:this,typeName:Ft.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Ls.create(this,this._def)}nullable(){return bu.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ti.create(this)}promise(){return $0.create(this,this._def)}or(e){return O0.create([this,e],this._def)}and(e){return L0.create(this,e,this._def)}transform(e){return new wu({...Zt(this._def),schema:this,typeName:Ft.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new Ev({...Zt(this._def),innerType:this,defaultValue:n,typeName:Ft.ZodDefault})}brand(){return new vne({typeName:Ft.ZodBranded,type:this,...Zt(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new Mv({...Zt(this._def),innerType:this,catchValue:n,typeName:Ft.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return w3.create(this,e)}readonly(){return kv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Kte=/^c[^\s-]{8,}$/i,Xte=/^[0-9a-z]+$/,Zte=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Qte=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Jte=/^[a-z0-9_-]{21}$/i,ene=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,tne=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,nne=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,rne="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Dg;const one=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ane=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ine=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,sne=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,lne=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,cne=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,mM="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",une=new RegExp(`^${mM}$`);function gM(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);const n=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`}function dne(t){return new RegExp(`^${gM(t)}$`)}function fne(t){let e=`${mM}T${gM(t)}`;const n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function pne(t,e){return!!((e==="v4"||!e)&&one.test(t)||(e==="v6"||!e)&&ine.test(t))}function hne(t,e){if(!ene.test(t))return!1;try{const[n]=t.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),o=JSON.parse(atob(r));return!(typeof o!="object"||o===null||"typ"in o&&o?.typ!=="JWT"||!o.alg||e&&o.alg!==e)}catch{return!1}}function mne(t,e){return!!((e==="v4"||!e)&&ane.test(t)||(e==="v6"||!e)&&sne.test(t))}class Ps extends an{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==ut.string){const a=this._getOrReturnCtx(e);return et(a,{code:Xe.invalid_type,expected:ut.string,received:a.parsedType}),zt}const r=new ko;let o;for(const a of this._def.checks)if(a.kind==="min")e.data.length<a.value&&(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="max")e.data.length>a.value&&(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="length"){const i=e.data.length>a.value,s=e.data.length<a.value;(i||s)&&(o=this._getOrReturnCtx(e,o),i?et(o,{code:Xe.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):s&&et(o,{code:Xe.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),r.dirty())}else if(a.kind==="email")nne.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"email",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="emoji")Dg||(Dg=new RegExp(rne,"u")),Dg.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"emoji",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="uuid")Qte.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"uuid",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="nanoid")Jte.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"nanoid",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid")Kte.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"cuid",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid2")Xte.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"cuid2",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="ulid")Zte.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"ulid",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="url")try{new URL(e.data)}catch{o=this._getOrReturnCtx(e,o),et(o,{validation:"url",code:Xe.invalid_string,message:a.message}),r.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"regex",code:Xe.invalid_string,message:a.message}),r.dirty())):a.kind==="trim"?e.data=e.data.trim():a.kind==="includes"?e.data.includes(a.value,a.position)||(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),r.dirty()):a.kind==="toLowerCase"?e.data=e.data.toLowerCase():a.kind==="toUpperCase"?e.data=e.data.toUpperCase():a.kind==="startsWith"?e.data.startsWith(a.value)||(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.invalid_string,validation:{startsWith:a.value},message:a.message}),r.dirty()):a.kind==="endsWith"?e.data.endsWith(a.value)||(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.invalid_string,validation:{endsWith:a.value},message:a.message}),r.dirty()):a.kind==="datetime"?fne(a).test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.invalid_string,validation:"datetime",message:a.message}),r.dirty()):a.kind==="date"?une.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.invalid_string,validation:"date",message:a.message}),r.dirty()):a.kind==="time"?dne(a).test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.invalid_string,validation:"time",message:a.message}),r.dirty()):a.kind==="duration"?tne.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"duration",code:Xe.invalid_string,message:a.message}),r.dirty()):a.kind==="ip"?pne(e.data,a.version)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"ip",code:Xe.invalid_string,message:a.message}),r.dirty()):a.kind==="jwt"?hne(e.data,a.alg)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"jwt",code:Xe.invalid_string,message:a.message}),r.dirty()):a.kind==="cidr"?mne(e.data,a.version)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"cidr",code:Xe.invalid_string,message:a.message}),r.dirty()):a.kind==="base64"?lne.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"base64",code:Xe.invalid_string,message:a.message}),r.dirty()):a.kind==="base64url"?cne.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"base64url",code:Xe.invalid_string,message:a.message}),r.dirty()):sn.assertNever(a);return{status:r.value,value:e.data}}_regex(e,n,r){return this.refinement(o=>e.test(o),{validation:n,code:Xe.invalid_string,...ft.errToObj(r)})}_addCheck(e){return new Ps({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...ft.errToObj(e)})}url(e){return this._addCheck({kind:"url",...ft.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...ft.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...ft.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...ft.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...ft.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...ft.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...ft.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...ft.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...ft.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...ft.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...ft.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...ft.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...ft.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...ft.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...ft.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...ft.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...ft.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...ft.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...ft.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...ft.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...ft.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...ft.errToObj(n)})}nonempty(e){return this.min(1,ft.errToObj(e))}trim(){return new Ps({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ps({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ps({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ps.create=t=>new Ps({checks:[],typeName:Ft.ZodString,coerce:t?.coerce??!1,...Zt(t)});function gne(t,e){const n=(t.toString().split(".")[1]||"").length,r=(e.toString().split(".")[1]||"").length,o=n>r?n:r,a=Number.parseInt(t.toFixed(o).replace(".","")),i=Number.parseInt(e.toFixed(o).replace(".",""));return a%i/10**o}class af extends an{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==ut.number){const a=this._getOrReturnCtx(e);return et(a,{code:Xe.invalid_type,expected:ut.number,received:a.parsedType}),zt}let r;const o=new ko;for(const a of this._def.checks)a.kind==="int"?sn.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.invalid_type,expected:"integer",received:"float",message:a.message}),o.dirty()):a.kind==="min"?(a.inclusive?e.data<a.value:e.data<=a.value)&&(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),o.dirty()):a.kind==="max"?(a.inclusive?e.data>a.value:e.data>=a.value)&&(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),o.dirty()):a.kind==="multipleOf"?gne(e.data,a.value)!==0&&(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.not_multiple_of,multipleOf:a.value,message:a.message}),o.dirty()):a.kind==="finite"?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.not_finite,message:a.message}),o.dirty()):sn.assertNever(a);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,ft.toString(n))}gt(e,n){return this.setLimit("min",e,!1,ft.toString(n))}lte(e,n){return this.setLimit("max",e,!0,ft.toString(n))}lt(e,n){return this.setLimit("max",e,!1,ft.toString(n))}setLimit(e,n,r,o){return new af({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:ft.toString(o)}]})}_addCheck(e){return new af({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:ft.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:ft.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:ft.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:ft.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:ft.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:ft.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:ft.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:ft.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:ft.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&sn.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(e===null||r.value<e)&&(e=r.value)}return Number.isFinite(n)&&Number.isFinite(e)}}af.create=t=>new af({checks:[],typeName:Ft.ZodNumber,coerce:t?.coerce||!1,...Zt(t)});class sf extends an{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==ut.bigint)return this._getInvalidInput(e);let r;const o=new ko;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?e.data<a.value:e.data<=a.value)&&(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),o.dirty()):a.kind==="max"?(a.inclusive?e.data>a.value:e.data>=a.value)&&(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),o.dirty()):a.kind==="multipleOf"?e.data%a.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.not_multiple_of,multipleOf:a.value,message:a.message}),o.dirty()):sn.assertNever(a);return{status:o.value,value:e.data}}_getInvalidInput(e){const n=this._getOrReturnCtx(e);return et(n,{code:Xe.invalid_type,expected:ut.bigint,received:n.parsedType}),zt}gte(e,n){return this.setLimit("min",e,!0,ft.toString(n))}gt(e,n){return this.setLimit("min",e,!1,ft.toString(n))}lte(e,n){return this.setLimit("max",e,!0,ft.toString(n))}lt(e,n){return this.setLimit("max",e,!1,ft.toString(n))}setLimit(e,n,r,o){return new sf({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:ft.toString(o)}]})}_addCheck(e){return new sf({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:ft.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:ft.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:ft.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:ft.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:ft.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}sf.create=t=>new sf({checks:[],typeName:Ft.ZodBigInt,coerce:t?.coerce??!1,...Zt(t)});class c5 extends an{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==ut.boolean){const r=this._getOrReturnCtx(e);return et(r,{code:Xe.invalid_type,expected:ut.boolean,received:r.parsedType}),zt}return Zo(e.data)}}c5.create=t=>new c5({typeName:Ft.ZodBoolean,coerce:t?.coerce||!1,...Zt(t)});class I0 extends an{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==ut.date){const a=this._getOrReturnCtx(e);return et(a,{code:Xe.invalid_type,expected:ut.date,received:a.parsedType}),zt}if(Number.isNaN(e.data.getTime())){const a=this._getOrReturnCtx(e);return et(a,{code:Xe.invalid_date}),zt}const r=new ko;let o;for(const a of this._def.checks)a.kind==="min"?e.data.getTime()<a.value&&(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),r.dirty()):a.kind==="max"?e.data.getTime()>a.value&&(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):sn.assertNever(a);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new I0({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:ft.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:ft.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}}I0.create=t=>new I0({checks:[],coerce:t?.coerce||!1,typeName:Ft.ZodDate,...Zt(t)});class u5 extends an{_parse(e){if(this._getType(e)!==ut.symbol){const r=this._getOrReturnCtx(e);return et(r,{code:Xe.invalid_type,expected:ut.symbol,received:r.parsedType}),zt}return Zo(e.data)}}u5.create=t=>new u5({typeName:Ft.ZodSymbol,...Zt(t)});class d5 extends an{_parse(e){if(this._getType(e)!==ut.undefined){const r=this._getOrReturnCtx(e);return et(r,{code:Xe.invalid_type,expected:ut.undefined,received:r.parsedType}),zt}return Zo(e.data)}}d5.create=t=>new d5({typeName:Ft.ZodUndefined,...Zt(t)});class f5 extends an{_parse(e){if(this._getType(e)!==ut.null){const r=this._getOrReturnCtx(e);return et(r,{code:Xe.invalid_type,expected:ut.null,received:r.parsedType}),zt}return Zo(e.data)}}f5.create=t=>new f5({typeName:Ft.ZodNull,...Zt(t)});class p5 extends an{constructor(){super(...arguments),this._any=!0}_parse(e){return Zo(e.data)}}p5.create=t=>new p5({typeName:Ft.ZodAny,...Zt(t)});class h5 extends an{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Zo(e.data)}}h5.create=t=>new h5({typeName:Ft.ZodUnknown,...Zt(t)});class Fs extends an{_parse(e){const n=this._getOrReturnCtx(e);return et(n,{code:Xe.invalid_type,expected:ut.never,received:n.parsedType}),zt}}Fs.create=t=>new Fs({typeName:Ft.ZodNever,...Zt(t)});class m5 extends an{_parse(e){if(this._getType(e)!==ut.undefined){const r=this._getOrReturnCtx(e);return et(r,{code:Xe.invalid_type,expected:ut.void,received:r.parsedType}),zt}return Zo(e.data)}}m5.create=t=>new m5({typeName:Ft.ZodVoid,...Zt(t)});class ti extends an{_parse(e){const{ctx:n,status:r}=this._processInputParams(e),o=this._def;if(n.parsedType!==ut.array)return et(n,{code:Xe.invalid_type,expected:ut.array,received:n.parsedType}),zt;if(o.exactLength!==null){const i=n.data.length>o.exactLength.value,s=n.data.length<o.exactLength.value;(i||s)&&(et(n,{code:i?Xe.too_big:Xe.too_small,minimum:s?o.exactLength.value:void 0,maximum:i?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),r.dirty())}if(o.minLength!==null&&n.data.length<o.minLength.value&&(et(n,{code:Xe.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),r.dirty()),o.maxLength!==null&&n.data.length>o.maxLength.value&&(et(n,{code:Xe.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((i,s)=>o.type._parseAsync(new zs(n,i,n.path,s)))).then(i=>ko.mergeArray(r,i));const a=[...n.data].map((i,s)=>o.type._parseSync(new zs(n,i,n.path,s)));return ko.mergeArray(r,a)}get element(){return this._def.type}min(e,n){return new ti({...this._def,minLength:{value:e,message:ft.toString(n)}})}max(e,n){return new ti({...this._def,maxLength:{value:e,message:ft.toString(n)}})}length(e,n){return new ti({...this._def,exactLength:{value:e,message:ft.toString(n)}})}nonempty(e){return this.min(1,e)}}ti.create=(t,e)=>new ti({type:t,minLength:null,maxLength:null,exactLength:null,typeName:Ft.ZodArray,...Zt(e)});function Qc(t){if(t instanceof Xn){const e={};for(const n in t.shape){const r=t.shape[n];e[n]=Ls.create(Qc(r))}return new Xn({...t._def,shape:()=>e})}else return t instanceof ti?new ti({...t._def,type:Qc(t.element)}):t instanceof Ls?Ls.create(Qc(t.unwrap())):t instanceof bu?bu.create(Qc(t.unwrap())):t instanceof Wl?Wl.create(t.items.map(e=>Qc(e))):t}class Xn extends an{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=sn.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==ut.object){const u=this._getOrReturnCtx(e);return et(u,{code:Xe.invalid_type,expected:ut.object,received:u.parsedType}),zt}const{status:r,ctx:o}=this._processInputParams(e),{shape:a,keys:i}=this._getCached(),s=[];if(!(this._def.catchall instanceof Fs&&this._def.unknownKeys==="strip"))for(const u in o.data)i.includes(u)||s.push(u);const l=[];for(const u of i){const d=a[u],f=o.data[u];l.push({key:{status:"valid",value:u},value:d._parse(new zs(o,f,o.path,u)),alwaysSet:u in o.data})}if(this._def.catchall instanceof Fs){const u=this._def.unknownKeys;if(u==="passthrough")for(const d of s)l.push({key:{status:"valid",value:d},value:{status:"valid",value:o.data[d]}});else if(u==="strict")s.length>0&&(et(o,{code:Xe.unrecognized_keys,keys:s}),r.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const d of s){const f=o.data[d];l.push({key:{status:"valid",value:d},value:u._parse(new zs(o,f,o.path,d)),alwaysSet:d in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const u=[];for(const d of l){const f=await d.key,m=await d.value;u.push({key:f,value:m,alwaysSet:d.alwaysSet})}return u}).then(u=>ko.mergeObjectSync(r,u)):ko.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(e){return ft.errToObj,new Xn({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,r)=>{const o=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:ft.errToObj(e).message??o}:{message:o}}}:{}})}strip(){return new Xn({...this._def,unknownKeys:"strip"})}passthrough(){return new Xn({...this._def,unknownKeys:"passthrough"})}extend(e){return new Xn({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Xn({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Ft.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new Xn({...this._def,catchall:e})}pick(e){const n={};for(const r of sn.objectKeys(e))e[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Xn({...this._def,shape:()=>n})}omit(e){const n={};for(const r of sn.objectKeys(this.shape))e[r]||(n[r]=this.shape[r]);return new Xn({...this._def,shape:()=>n})}deepPartial(){return Qc(this)}partial(e){const n={};for(const r of sn.objectKeys(this.shape)){const o=this.shape[r];e&&!e[r]?n[r]=o:n[r]=o.optional()}return new Xn({...this._def,shape:()=>n})}required(e){const n={};for(const r of sn.objectKeys(this.shape))if(e&&!e[r])n[r]=this.shape[r];else{let a=this.shape[r];for(;a instanceof Ls;)a=a._def.innerType;n[r]=a}return new Xn({...this._def,shape:()=>n})}keyof(){return vM(sn.objectKeys(this.shape))}}Xn.create=(t,e)=>new Xn({shape:()=>t,unknownKeys:"strip",catchall:Fs.create(),typeName:Ft.ZodObject,...Zt(e)});Xn.strictCreate=(t,e)=>new Xn({shape:()=>t,unknownKeys:"strict",catchall:Fs.create(),typeName:Ft.ZodObject,...Zt(e)});Xn.lazycreate=(t,e)=>new Xn({shape:t,unknownKeys:"strip",catchall:Fs.create(),typeName:Ft.ZodObject,...Zt(e)});class O0 extends an{_parse(e){const{ctx:n}=this._processInputParams(e),r=this._def.options;function o(a){for(const s of a)if(s.result.status==="valid")return s.result;for(const s of a)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;const i=a.map(s=>new ji(s.ctx.common.issues));return et(n,{code:Xe.invalid_union,unionErrors:i}),zt}if(n.common.async)return Promise.all(r.map(async a=>{const i={...n,common:{...n.common,issues:[]},parent:null};return{result:await a._parseAsync({data:n.data,path:n.path,parent:i}),ctx:i}})).then(o);{let a;const i=[];for(const l of r){const u={...n,common:{...n.common,issues:[]},parent:null},d=l._parseSync({data:n.data,path:n.path,parent:u});if(d.status==="valid")return d;d.status==="dirty"&&!a&&(a={result:d,ctx:u}),u.common.issues.length&&i.push(u.common.issues)}if(a)return n.common.issues.push(...a.ctx.common.issues),a.result;const s=i.map(l=>new ji(l));return et(n,{code:Xe.invalid_union,unionErrors:s}),zt}}get options(){return this._def.options}}O0.create=(t,e)=>new O0({options:t,typeName:Ft.ZodUnion,...Zt(e)});function Cv(t,e){const n=Cs(t),r=Cs(e);if(t===e)return{valid:!0,data:t};if(n===ut.object&&r===ut.object){const o=sn.objectKeys(e),a=sn.objectKeys(t).filter(s=>o.indexOf(s)!==-1),i={...t,...e};for(const s of a){const l=Cv(t[s],e[s]);if(!l.valid)return{valid:!1};i[s]=l.data}return{valid:!0,data:i}}else if(n===ut.array&&r===ut.array){if(t.length!==e.length)return{valid:!1};const o=[];for(let a=0;a<t.length;a++){const i=t[a],s=e[a],l=Cv(i,s);if(!l.valid)return{valid:!1};o.push(l.data)}return{valid:!0,data:o}}else return n===ut.date&&r===ut.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}class L0 extends an{_parse(e){const{status:n,ctx:r}=this._processInputParams(e),o=(a,i)=>{if(i5(a)||i5(i))return zt;const s=Cv(a.value,i.value);return s.valid?((s5(a)||s5(i))&&n.dirty(),{status:n.value,value:s.data}):(et(r,{code:Xe.invalid_intersection_types}),zt)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([a,i])=>o(a,i)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}L0.create=(t,e,n)=>new L0({left:t,right:e,typeName:Ft.ZodIntersection,...Zt(n)});class Wl extends an{_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==ut.array)return et(r,{code:Xe.invalid_type,expected:ut.array,received:r.parsedType}),zt;if(r.data.length<this._def.items.length)return et(r,{code:Xe.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),zt;!this._def.rest&&r.data.length>this._def.items.length&&(et(r,{code:Xe.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const a=[...r.data].map((i,s)=>{const l=this._def.items[s]||this._def.rest;return l?l._parse(new zs(r,i,r.path,s)):null}).filter(i=>!!i);return r.common.async?Promise.all(a).then(i=>ko.mergeArray(n,i)):ko.mergeArray(n,a)}get items(){return this._def.items}rest(e){return new Wl({...this._def,rest:e})}}Wl.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Wl({items:t,typeName:Ft.ZodTuple,rest:null,...Zt(e)})};class g5 extends an{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==ut.map)return et(r,{code:Xe.invalid_type,expected:ut.map,received:r.parsedType}),zt;const o=this._def.keyType,a=this._def.valueType,i=[...r.data.entries()].map(([s,l],u)=>({key:o._parse(new zs(r,s,r.path,[u,"key"])),value:a._parse(new zs(r,l,r.path,[u,"value"]))}));if(r.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const l of i){const u=await l.key,d=await l.value;if(u.status==="aborted"||d.status==="aborted")return zt;(u.status==="dirty"||d.status==="dirty")&&n.dirty(),s.set(u.value,d.value)}return{status:n.value,value:s}})}else{const s=new Map;for(const l of i){const u=l.key,d=l.value;if(u.status==="aborted"||d.status==="aborted")return zt;(u.status==="dirty"||d.status==="dirty")&&n.dirty(),s.set(u.value,d.value)}return{status:n.value,value:s}}}}g5.create=(t,e,n)=>new g5({valueType:e,keyType:t,typeName:Ft.ZodMap,...Zt(n)});class lf extends an{_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==ut.set)return et(r,{code:Xe.invalid_type,expected:ut.set,received:r.parsedType}),zt;const o=this._def;o.minSize!==null&&r.data.size<o.minSize.value&&(et(r,{code:Xe.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),n.dirty()),o.maxSize!==null&&r.data.size>o.maxSize.value&&(et(r,{code:Xe.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const a=this._def.valueType;function i(l){const u=new Set;for(const d of l){if(d.status==="aborted")return zt;d.status==="dirty"&&n.dirty(),u.add(d.value)}return{status:n.value,value:u}}const s=[...r.data.values()].map((l,u)=>a._parse(new zs(r,l,r.path,u)));return r.common.async?Promise.all(s).then(l=>i(l)):i(s)}min(e,n){return new lf({...this._def,minSize:{value:e,message:ft.toString(n)}})}max(e,n){return new lf({...this._def,maxSize:{value:e,message:ft.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}lf.create=(t,e)=>new lf({valueType:t,minSize:null,maxSize:null,typeName:Ft.ZodSet,...Zt(e)});class v5 extends an{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}v5.create=(t,e)=>new v5({getter:t,typeName:Ft.ZodLazy,...Zt(e)});class w5 extends an{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return et(n,{received:n.data,code:Xe.invalid_literal,expected:this._def.value}),zt}return{status:"valid",value:e.data}}get value(){return this._def.value}}w5.create=(t,e)=>new w5({value:t,typeName:Ft.ZodLiteral,...Zt(e)});function vM(t,e){return new vu({values:t,typeName:Ft.ZodEnum,...Zt(e)})}class vu extends an{_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),r=this._def.values;return et(n,{expected:sn.joinValues(r),received:n.parsedType,code:Xe.invalid_type}),zt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const n=this._getOrReturnCtx(e),r=this._def.values;return et(n,{received:n.data,code:Xe.invalid_enum_value,options:r}),zt}return Zo(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return vu.create(e,{...this._def,...n})}exclude(e,n=this._def){return vu.create(this.options.filter(r=>!e.includes(r)),{...this._def,...n})}}vu.create=vM;class b5 extends an{_parse(e){const n=sn.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==ut.string&&r.parsedType!==ut.number){const o=sn.objectValues(n);return et(r,{expected:sn.joinValues(o),received:r.parsedType,code:Xe.invalid_type}),zt}if(this._cache||(this._cache=new Set(sn.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const o=sn.objectValues(n);return et(r,{received:r.data,code:Xe.invalid_enum_value,options:o}),zt}return Zo(e.data)}get enum(){return this._def.values}}b5.create=(t,e)=>new b5({values:t,typeName:Ft.ZodNativeEnum,...Zt(e)});class $0 extends an{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==ut.promise&&n.common.async===!1)return et(n,{code:Xe.invalid_type,expected:ut.promise,received:n.parsedType}),zt;const r=n.parsedType===ut.promise?n.data:Promise.resolve(n.data);return Zo(r.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}$0.create=(t,e)=>new $0({type:t,typeName:Ft.ZodPromise,...Zt(e)});class wu extends an{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ft.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:r}=this._processInputParams(e),o=this._def.effect||null,a={addIssue:i=>{et(r,i),i.fatal?n.abort():n.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),o.type==="preprocess"){const i=o.transform(r.data,a);if(r.common.async)return Promise.resolve(i).then(async s=>{if(n.value==="aborted")return zt;const l=await this._def.schema._parseAsync({data:s,path:r.path,parent:r});return l.status==="aborted"?zt:l.status==="dirty"||n.value==="dirty"?zd(l.value):l});{if(n.value==="aborted")return zt;const s=this._def.schema._parseSync({data:i,path:r.path,parent:r});return s.status==="aborted"?zt:s.status==="dirty"||n.value==="dirty"?zd(s.value):s}}if(o.type==="refinement"){const i=s=>{const l=o.refinement(s,a);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(r.common.async===!1){const s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?zt:(s.status==="dirty"&&n.dirty(),i(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>s.status==="aborted"?zt:(s.status==="dirty"&&n.dirty(),i(s.value).then(()=>({status:n.value,value:s.value}))))}if(o.type==="transform")if(r.common.async===!1){const i=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!gu(i))return zt;const s=o.transform(i.value,a);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(i=>gu(i)?Promise.resolve(o.transform(i.value,a)).then(s=>({status:n.value,value:s})):zt);sn.assertNever(o)}}wu.create=(t,e,n)=>new wu({schema:t,typeName:Ft.ZodEffects,effect:e,...Zt(n)});wu.createWithPreprocess=(t,e,n)=>new wu({schema:e,effect:{type:"preprocess",transform:t},typeName:Ft.ZodEffects,...Zt(n)});class Ls extends an{_parse(e){return this._getType(e)===ut.undefined?Zo(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Ls.create=(t,e)=>new Ls({innerType:t,typeName:Ft.ZodOptional,...Zt(e)});class bu extends an{_parse(e){return this._getType(e)===ut.null?Zo(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}bu.create=(t,e)=>new bu({innerType:t,typeName:Ft.ZodNullable,...Zt(e)});class Ev extends an{_parse(e){const{ctx:n}=this._processInputParams(e);let r=n.data;return n.parsedType===ut.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Ev.create=(t,e)=>new Ev({innerType:t,typeName:Ft.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...Zt(e)});class Mv extends an{_parse(e){const{ctx:n}=this._processInputParams(e),r={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return A0(o)?o.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new ji(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new ji(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Mv.create=(t,e)=>new Mv({innerType:t,typeName:Ft.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...Zt(e)});class y5 extends an{_parse(e){if(this._getType(e)!==ut.nan){const r=this._getOrReturnCtx(e);return et(r,{code:Xe.invalid_type,expected:ut.nan,received:r.parsedType}),zt}return{status:"valid",value:e.data}}}y5.create=t=>new y5({typeName:Ft.ZodNaN,...Zt(t)});class vne extends an{_parse(e){const{ctx:n}=this._processInputParams(e),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class w3 extends an{_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?zt:a.status==="dirty"?(n.dirty(),zd(a.value)):this._def.out._parseAsync({data:a.value,path:r.path,parent:r})})();{const o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?zt:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(e,n){return new w3({in:e,out:n,typeName:Ft.ZodPipeline})}}class kv extends an{_parse(e){const n=this._def.innerType._parse(e),r=o=>(gu(o)&&(o.value=Object.freeze(o.value)),o);return A0(n)?n.then(o=>r(o)):r(n)}unwrap(){return this._def.innerType}}kv.create=(t,e)=>new kv({innerType:t,typeName:Ft.ZodReadonly,...Zt(e)});var Ft;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(Ft||(Ft={}));const zr=Ps.create;Fs.create;ti.create;const wne=Xn.create;O0.create;L0.create;Wl.create;vu.create;$0.create;Ls.create;bu.create;const{useQuery:pge}=await q("@tanstack/react-query"),{useMemo:hge}=await q("react");wne({LIMIT_V:zr({required_error:"필수입니다"}).nonempty("필수입니다"),LIMIT_W:zr({required_error:"필수입니다"}).nonempty("필수입니다"),LIMIT_V_ACC:zr({required_error:"필수입니다"}).nonempty("필수입니다"),LIMIT_V_DCC:zr({required_error:"필수입니다"}).nonempty("필수입니다"),LIMIT_W_ACC:zr({required_error:"필수입니다"}).nonempty("필수입니다"),LIMIT_PIVOT_W:zr({required_error:"필수입니다"}).nonempty("필수입니다"),ST_V:zr({required_error:"필수입니다"}).nonempty("필수입니다"),ED_V:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_T:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_H:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_A:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_B:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_L:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_K:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_EPS:zr({required_error:"필수입니다"}).nonempty("필수입니다")});const{useQuery:mge}=await q("@tanstack/react-query"),{useMemo:gge}=await q("react"),{useQuery:vge}=await q("@tanstack/react-query"),{useQuery:wge}=await q("@tanstack/react-query"),{useQuery:bge}=await q("@tanstack/react-query"),{useQuery:yge}=await q("@tanstack/react-query"),{useQuery:_ge}=await q("@tanstack/react-query"),{useQuery:xge}=await q("@tanstack/react-query"),{useQuery:Sge}=await q("@tanstack/react-query"),{useQuery:Cge}=await q("@tanstack/react-query"),{useQuery:Ege}=await q("@tanstack/react-query"),{useCallback:Mge}=await q("react"),{useQuery:kge}=await q("@tanstack/react-query"),{useQuery:Rge}=await q("@tanstack/react-query"),{useQuery:Tge}=await q("@tanstack/react-query"),{useRef:Nge}=await q("react"),{useQuery:Pge}=await q("@tanstack/react-query"),{useMemo:Age}=await q("react"),{useQuery:Ige}=await q("@tanstack/react-query"),{useMemo:Oge}=await q("react"),{useQuery:Lge}=await q("@tanstack/react-query"),{useMemo:$ge}=await q("react"),{useQuery:Dge}=await q("@tanstack/react-query"),{useMemo:Bge}=await q("react"),{useMemo:zge}=await q("react"),{useQuery:Fge}=await q("@tanstack/react-query"),{useQuery:Vge}=await q("@tanstack/react-query"),{useMemo:jge}=await q("react"),{useMemo:Hge}=await q("react"),{useQuery:Wge}=await q("@tanstack/react-query"),{useQuery:qge}=await q("@tanstack/react-query"),{useMemo:Uge}=await q("react"),{useQuery:Yge}=await q("@tanstack/react-query"),{useQuery:Gge}=await q("@tanstack/react-query"),{useQuery:Kge}=await q("@tanstack/react-query"),{useQuery:Xge}=await q("@tanstack/react-query"),{useMemo:Zge}=await q("react"),{useQuery:Qge}=await q("@tanstack/react-query"),{useMemo:Jge}=await q("react"),{useMemo:e2e}=await q("react"),{useQuery:t2e}=await q("@tanstack/react-query"),{useCallback:n2e}=await q("react"),{useQuery:r2e}=await q("@tanstack/react-query"),{useCallback:o2e}=await q("react"),{useQuery:a2e}=await q("@tanstack/react-query"),{useEffect:i2e,useRef:s2e}=await q("react"),{useEffect:l2e,useRef:c2e}=await q("react"),{useQuery:u2e}=await q("@tanstack/react-query"),{useMemo:bne}=await q("react"),{useQuery:yne}=await q("@tanstack/react-query"),wM="/{robot_model}/program/getVersion",_ne=async({robot_model:t,baseURL:e})=>{if(!t)throw new Error("robot_model is required to fetch AMR program version");const n=wM.replace("{robot_model}",t);return oM.get(n,{})},xne=({robot_model:t,baseURL:e})=>[wM,t,e??""],d2e=(t,e={},n)=>{const{robot_model:r,enabled:o=!0}=t,{enabled:a=!0,...i}=e,s=bne(()=>xne({robot_model:r,baseURL:n}),[n,r]);return{...yne({queryKey:s,queryFn:()=>_ne({...t,baseURL:n}),enabled:!!r&&o&&a,staleTime:1e3,gcTime:60*1e3,...i}),queryKey:s}},{useEffect:f2e,useRef:p2e}=await q("react"),{useQuery:h2e}=await q("@tanstack/react-query"),{useQuery:m2e}=await q("@tanstack/react-query"),{useQuery:g2e}=await q("@tanstack/react-query"),{useQuery:v2e}=await q("@tanstack/react-query"),{useQuery:w2e}=await q("@tanstack/react-query"),{keepPreviousData:b2e,useQuery:y2e}=await q("@tanstack/react-query"),{useMemo:_2e}=await q("react"),{keepPreviousData:x2e,useQuery:S2e}=await q("@tanstack/react-query"),{useMemo:C2e}=await q("react"),{useQuery:E2e}=await q("@tanstack/react-query"),{useMemo:M2e}=await q("react"),{useQuery:k2e}=await q("@tanstack/react-query"),{useMemo:R2e}=await q("react"),{useMemo:T2e}=await q("react"),{useQuery:N2e}=await q("@tanstack/react-query"),{useMemo:P2e}=await q("react"),{useMemo:A2e}=await q("react"),{useMemo:I2e}=await q("react"),Sne="_btn_m6csy_40",Cne="_loading_m6csy_75",Ene="_text_m6csy_78",Mne="_fullsize_m6csy_87",kne="_large_m6csy_111",Rne="_medium_m6csy_115",Tne="_small_m6csy_120",Nne="_tiny_m6csy_126",Pne={btn:Sne,loading:Cne,text:Ene,"loading-spinner":"_loading-spinner_m6csy_81",fullsize:Mne,large:kne,medium:Rne,small:Tne,tiny:Nne},{useCallback:_5,useRef:Ane}=await q("react"),Bg=rn(Pne,"rb-ui"),Ah=({className:t="",type:e="button",children:n,size:r,color:o="primary",ripple:a,detectDoubleClick:i,disabled:s,loading:l=!1,onClick:u,...d})=>{const f=Ane(null),m=_5(()=>{i&&(window.clearTimeout(f.current??0),f.current=window.setTimeout(()=>{f.current=null},500))},[i]),v=_5(g=>{f.current||(u?.(g),m())},[m,u]);return h(Rr,{...a,disabled:s||!!a?.disabled,children:ne("button",{type:e,className:Bg(t,r,o,"btn",{loading:l}),disabled:s,onClick:v,...d,children:[l&&h("span",{className:Bg("loading-spinner"),children:h(Hi,{})}),h("span",{className:Bg("text"),children:n})]})})},Ine={"error-boundary":"_error-boundary_1wa6f_1"},One=await q("react"),Lne=rn(Ine,"rb-ui");class Bf extends One.Component{constructor(e){super(e),this.state={hasError:!1,fallback:e.fallback??h("div",{className:Lne("error-boundary"),children:h(Hi,{})})}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,n){}render(){return this.state.hasError?this.state.fallback:this.props.children}}const $ne={"no-data":"_no-data_1m5b1_40","no-data-icon":"_no-data-icon_1m5b1_46","no-data-text":"_no-data-text_1m5b1_56","no-data-action":"_no-data-action_1m5b1_66"},zg=rn($ne,"rb-ui"),zf=({className:t,nullText:e="no data",children:n,style:r})=>ne("div",{className:zg("no-data",t),style:r,children:[h("span",{className:zg("no-data-icon"),children:n}),h("div",{className:zg("no-data-text"),children:e})]}),{createElement:O2e,useCallback:L2e,useEffect:$2e,useMemo:D2e,useRef:B2e,useState:z2e}=await q("react"),Dne="_loading_1eo8r_40",Bne={loading:Dne},{cloneElement:zne,useMemo:Fne}=await q("react"),x5=rn(Bne,"rb-ui"),F2e=({list:t,loadingElement:e=h(Hi,{size:40}),loadingWrapperClassName:n,skeletonElement:r,skeletonCnt:o=3,noDataMsg:a,noDataMsgClassName:i,loading:s=!1,errorFallback:l,children:u})=>{const d=Fne(()=>!t||s?r?Array.from({length:o}).map((f,m)=>zne(r,{...r.props,key:m})):h("div",{className:x5("loading",n),children:e}):t.length===0?typeof a=="object"?a:h(zf,{className:x5("no-data",i),nullText:a}):t.map((f,m)=>u({item:f,index:m})),[t,s,r,n,e,o,a,i,u]);return h(Bf,{fallback:!l||e,children:d})},{createElement:V2e}=await q("react"),{useCallback:j2e,useEffect:H2e,useId:W2e,useRef:q2e,useMemo:U2e}=await q("react"),{useId:Y2e}=await q("react");function S5(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function b3(t,e){t===void 0&&(t={}),e===void 0&&(e={});const n=["__proto__","constructor","prototype"];Object.keys(e).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof t[r]>"u"?t[r]=e[r]:S5(e[r])&&S5(t[r])&&Object.keys(e[r]).length>0&&b3(t[r],e[r])})}const bM={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Gs(){const t=typeof document<"u"?document:{};return b3(t,bM),t}const Vne={document:bM,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function Ur(){const t=typeof window<"u"?window:{};return b3(t,Vne),t}function jne(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Hne(t){const e=t;Object.keys(e).forEach(n=>{try{e[n]=null}catch{}try{delete e[n]}catch{}})}function yM(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Ll(){return Date.now()}function Wne(t){const e=Ur();let n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}function qne(t,e){e===void 0&&(e="x");const n=Ur();let r,o,a;const i=Wne(t);return n.WebKitCSSMatrix?(o=i.transform||i.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),a=new n.WebKitCSSMatrix(o==="none"?"":o)):(a=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=a.toString().split(",")),e==="x"&&(n.WebKitCSSMatrix?o=a.m41:r.length===16?o=parseFloat(r[12]):o=parseFloat(r[4])),e==="y"&&(n.WebKitCSSMatrix?o=a.m42:r.length===16?o=parseFloat(r[13]):o=parseFloat(r[5])),o||0}function Gp(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Une(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Co(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(r!=null&&!Une(r)){const o=Object.keys(Object(r)).filter(a=>e.indexOf(a)<0);for(let a=0,i=o.length;a<i;a+=1){const s=o[a],l=Object.getOwnPropertyDescriptor(r,s);l!==void 0&&l.enumerable&&(Gp(t[s])&&Gp(r[s])?r[s].__swiper__?t[s]=r[s]:Co(t[s],r[s]):!Gp(t[s])&&Gp(r[s])?(t[s]={},r[s].__swiper__?t[s]=r[s]:Co(t[s],r[s])):t[s]=r[s])}}}return t}function Fd(t,e,n){t.style.setProperty(e,n)}function _M(t){let{swiper:e,targetPosition:n,side:r}=t;const o=Ur(),a=-e.translate;let i=null,s;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=n>a?"next":"prev",d=(m,v)=>u==="next"&&m>=v||u==="prev"&&m<=v,f=()=>{s=new Date().getTime(),i===null&&(i=s);const m=Math.max(Math.min((s-i)/l,1),0),v=.5-Math.cos(m*Math.PI)/2;let g=a+v*(n-a);if(d(g,n)&&(g=n),e.wrapperEl.scrollTo({[r]:g}),d(g,n)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[r]:g})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(f)};f()}function xM(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function ga(t,e){e===void 0&&(e="");const n=Ur(),r=[...t.children];return n.HTMLSlotElement&&t instanceof HTMLSlotElement&&r.push(...t.assignedElements()),e?r.filter(o=>o.matches(e)):r}function Yne(t,e){const n=[e];for(;n.length>0;){const r=n.shift();if(t===r)return!0;n.push(...r.children,...r.shadowRoot?r.shadowRoot.children:[],...r.assignedElements?r.assignedElements():[])}}function Gne(t,e){const n=Ur();let r=e.contains(t);return!r&&n.HTMLSlotElement&&e instanceof HTMLSlotElement&&(r=[...e.assignedElements()].includes(t),r||(r=Yne(t,e))),r}function D0(t){try{console.warn(t);return}catch{}}function yu(t,e){e===void 0&&(e=[]);const n=document.createElement(t);return n.classList.add(...Array.isArray(e)?e:jne(e)),n}function Kne(t,e){const n=[];for(;t.previousElementSibling;){const r=t.previousElementSibling;e?r.matches(e)&&n.push(r):n.push(r),t=r}return n}function Xne(t,e){const n=[];for(;t.nextElementSibling;){const r=t.nextElementSibling;e?r.matches(e)&&n.push(r):n.push(r),t=r}return n}function As(t,e){return Ur().getComputedStyle(t,null).getPropertyValue(e)}function B0(t){let e=t,n;if(e){for(n=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(n+=1);return n}}function SM(t,e){const n=[];let r=t.parentElement;for(;r;)e?r.matches(e)&&n.push(r):n.push(r),r=r.parentElement;return n}function X1(t,e){function n(r){r.target===t&&(e.call(t,r),t.removeEventListener("transitionend",n))}e&&t.addEventListener("transitionend",n)}function Rv(t,e,n){const r=Ur();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function dr(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function _u(t,e){e===void 0&&(e=""),typeof trustedTypes<"u"?t.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(e):t.innerHTML=e}function Zne(t){let{swiper:e,extendParams:n,on:r,emit:o}=t;n({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let a;const i=Gs();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const s=i.createElement("div");function l(g,w){const y=e.params.virtual;if(y.cache&&e.virtual.cache[w])return e.virtual.cache[w];let _;return y.renderSlide?(_=y.renderSlide.call(e,g,w),typeof _=="string"&&(_u(s,_),_=s.children[0])):e.isElement?_=yu("swiper-slide"):_=yu("div",e.params.slideClass),_.setAttribute("data-swiper-slide-index",w),y.renderSlide||_u(_,g),y.cache&&(e.virtual.cache[w]=_),_}function u(g,w,y){const{slidesPerView:_,slidesPerGroup:S,centeredSlides:x,loop:C,initialSlide:R}=e.params;if(w&&!C&&R>0)return;const{addSlidesBefore:P,addSlidesAfter:O}=e.params.virtual,{from:$,to:A,slides:M,slidesGrid:L,offset:B}=e.virtual;e.params.cssMode||e.updateActiveIndex();const F=typeof y>"u"?e.activeIndex||0:y;let N;e.rtlTranslate?N="right":N=e.isHorizontal()?"left":"top";let V,z;x?(V=Math.floor(_/2)+S+O,z=Math.floor(_/2)+S+P):(V=_+(S-1)+O,z=(C?_:S)+P);let I=F-z,D=F+V;C||(I=Math.max(I,0),D=Math.min(D,M.length-1));let U=(e.slidesGrid[I]||0)-(e.slidesGrid[0]||0);C&&F>=z?(I-=z,x||(U+=e.slidesGrid[0])):C&&F<z&&(I=-z,x&&(U+=e.slidesGrid[0])),Object.assign(e.virtual,{from:I,to:D,offset:U,slidesGrid:e.slidesGrid,slidesBefore:z,slidesAfter:V});function Y(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),o("virtualUpdate")}if($===I&&A===D&&!g){e.slidesGrid!==L&&U!==B&&e.slides.forEach(te=>{te.style[N]=`${U-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),o("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:U,from:I,to:D,slides:(function(){const ue=[];for(let ve=I;ve<=D;ve+=1)ue.push(M[ve]);return ue})()}),e.params.virtual.renderExternalUpdate?Y():o("virtualUpdate");return}const oe=[],Q=[],re=te=>{let ue=te;return te<0?ue=M.length+te:ue>=M.length&&(ue=ue-M.length),ue};if(g)e.slides.filter(te=>te.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(te=>{te.remove()});else for(let te=$;te<=A;te+=1)if(te<I||te>D){const ue=re(te);e.slides.filter(ve=>ve.matches(`.${e.params.slideClass}[data-swiper-slide-index="${ue}"], swiper-slide[data-swiper-slide-index="${ue}"]`)).forEach(ve=>{ve.remove()})}const le=C?-M.length:0,ee=C?M.length*2:M.length;for(let te=le;te<ee;te+=1)if(te>=I&&te<=D){const ue=re(te);typeof A>"u"||g?Q.push(ue):(te>A&&Q.push(ue),te<$&&oe.push(ue))}if(Q.forEach(te=>{e.slidesEl.append(l(M[te],te))}),C)for(let te=oe.length-1;te>=0;te-=1){const ue=oe[te];e.slidesEl.prepend(l(M[ue],ue))}else oe.sort((te,ue)=>ue-te),oe.forEach(te=>{e.slidesEl.prepend(l(M[te],te))});ga(e.slidesEl,".swiper-slide, swiper-slide").forEach(te=>{te.style[N]=`${U-Math.abs(e.cssOverflowAdjustment())}px`}),Y()}function d(g){if(typeof g=="object"&&"length"in g)for(let w=0;w<g.length;w+=1)g[w]&&e.virtual.slides.push(g[w]);else e.virtual.slides.push(g);u(!0)}function f(g){const w=e.activeIndex;let y=w+1,_=1;if(Array.isArray(g)){for(let S=0;S<g.length;S+=1)g[S]&&e.virtual.slides.unshift(g[S]);y=w+g.length,_=g.length}else e.virtual.slides.unshift(g);if(e.params.virtual.cache){const S=e.virtual.cache,x={};Object.keys(S).forEach(C=>{const R=S[C],P=R.getAttribute("data-swiper-slide-index");P&&R.setAttribute("data-swiper-slide-index",parseInt(P,10)+_),x[parseInt(C,10)+_]=R}),e.virtual.cache=x}u(!0),e.slideTo(y,0)}function m(g){if(typeof g>"u"||g===null)return;let w=e.activeIndex;if(Array.isArray(g))for(let y=g.length-1;y>=0;y-=1)e.params.virtual.cache&&(delete e.virtual.cache[g[y]],Object.keys(e.virtual.cache).forEach(_=>{_>g&&(e.virtual.cache[_-1]=e.virtual.cache[_],e.virtual.cache[_-1].setAttribute("data-swiper-slide-index",_-1),delete e.virtual.cache[_])})),e.virtual.slides.splice(g[y],1),g[y]<w&&(w-=1),w=Math.max(w,0);else e.params.virtual.cache&&(delete e.virtual.cache[g],Object.keys(e.virtual.cache).forEach(y=>{y>g&&(e.virtual.cache[y-1]=e.virtual.cache[y],e.virtual.cache[y-1].setAttribute("data-swiper-slide-index",y-1),delete e.virtual.cache[y])})),e.virtual.slides.splice(g,1),g<w&&(w-=1),w=Math.max(w,0);u(!0),e.slideTo(w,0)}function v(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),u(!0),e.slideTo(0,0)}r("beforeInit",()=>{if(!e.params.virtual.enabled)return;let g;if(typeof e.passedParams.virtual.slides>"u"){const w=[...e.slidesEl.children].filter(y=>y.matches(`.${e.params.slideClass}, swiper-slide`));w&&w.length&&(e.virtual.slides=[...w],g=!0,w.forEach((y,_)=>{y.setAttribute("data-swiper-slide-index",_),e.virtual.cache[_]=y,y.remove()}))}g||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,u(!1,!0)}),r("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(a),a=setTimeout(()=>{u()},100)):u())}),r("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Fd(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:d,prependSlide:f,removeSlide:m,removeAllSlides:v,update:u})}function CM(t,e,n,r){return t.params.createElements&&Object.keys(r).forEach(o=>{if(!n[o]&&n.auto===!0){let a=ga(t.el,`.${r[o]}`)[0];a||(a=yu("div",r[o]),a.className=r[o],t.el.append(a)),n[o]=a,e[o]=a}}),n}function Qne(t){let{swiper:e,extendParams:n,on:r,emit:o}=t;n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function a(g){let w;return g&&typeof g=="string"&&e.isElement&&(w=e.el.querySelector(g)||e.hostEl.querySelector(g),w)?w:(g&&(typeof g=="string"&&(w=[...document.querySelectorAll(g)]),e.params.uniqueNavElements&&typeof g=="string"&&w&&w.length>1&&e.el.querySelectorAll(g).length===1?w=e.el.querySelector(g):w&&w.length===1&&(w=w[0])),g&&!w?g:w)}function i(g,w){const y=e.params.navigation;g=dr(g),g.forEach(_=>{_&&(_.classList[w?"add":"remove"](...y.disabledClass.split(" ")),_.tagName==="BUTTON"&&(_.disabled=w),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](y.lockClass))})}function s(){const{nextEl:g,prevEl:w}=e.navigation;if(e.params.loop){i(w,!1),i(g,!1);return}i(w,e.isBeginning&&!e.params.rewind),i(g,e.isEnd&&!e.params.rewind)}function l(g){g.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),o("navigationPrev"))}function u(g){g.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),o("navigationNext"))}function d(){const g=e.params.navigation;if(e.params.navigation=CM(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(g.nextEl||g.prevEl))return;let w=a(g.nextEl),y=a(g.prevEl);Object.assign(e.navigation,{nextEl:w,prevEl:y}),w=dr(w),y=dr(y);const _=(S,x)=>{S&&S.addEventListener("click",x==="next"?u:l),!e.enabled&&S&&S.classList.add(...g.lockClass.split(" "))};w.forEach(S=>_(S,"next")),y.forEach(S=>_(S,"prev"))}function f(){let{nextEl:g,prevEl:w}=e.navigation;g=dr(g),w=dr(w);const y=(_,S)=>{_.removeEventListener("click",S==="next"?u:l),_.classList.remove(...e.params.navigation.disabledClass.split(" "))};g.forEach(_=>y(_,"next")),w.forEach(_=>y(_,"prev"))}r("init",()=>{e.params.navigation.enabled===!1?v():(d(),s())}),r("toEdge fromEdge lock unlock",()=>{s()}),r("destroy",()=>{f()}),r("enable disable",()=>{let{nextEl:g,prevEl:w}=e.navigation;if(g=dr(g),w=dr(w),e.enabled){s();return}[...g,...w].filter(y=>!!y).forEach(y=>y.classList.add(e.params.navigation.lockClass))}),r("click",(g,w)=>{let{nextEl:y,prevEl:_}=e.navigation;y=dr(y),_=dr(_);const S=w.target;let x=_.includes(S)||y.includes(S);if(e.isElement&&!x){const C=w.path||w.composedPath&&w.composedPath();C&&(x=C.find(R=>y.includes(R)||_.includes(R)))}if(e.params.navigation.hideOnClick&&!x){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===S||e.pagination.el.contains(S)))return;let C;y.length?C=y[0].classList.contains(e.params.navigation.hiddenClass):_.length&&(C=_[0].classList.contains(e.params.navigation.hiddenClass)),o(C===!0?"navigationShow":"navigationHide"),[...y,..._].filter(R=>!!R).forEach(R=>R.classList.toggle(e.params.navigation.hiddenClass))}});const m=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),d(),s()},v=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(e.navigation,{enable:m,disable:v,update:s,init:d,destroy:f})}function cd(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function Jne(t){let{swiper:e,extendParams:n,on:r,emit:o}=t;const a="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:S=>S,formatFractionTotal:S=>S,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),e.pagination={el:null,bullets:[]};let i,s=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(S,x){const{bulletActiveClass:C}=e.params.pagination;S&&(S=S[`${x==="prev"?"previous":"next"}ElementSibling`],S&&(S.classList.add(`${C}-${x}`),S=S[`${x==="prev"?"previous":"next"}ElementSibling`],S&&S.classList.add(`${C}-${x}-${x}`)))}function d(S,x,C){if(S=S%C,x=x%C,x===S+1)return"next";if(x===S-1)return"previous"}function f(S){const x=S.target.closest(cd(e.params.pagination.bulletClass));if(!x)return;S.preventDefault();const C=B0(x)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===C)return;const R=d(e.realIndex,C,e.slides.length);R==="next"?e.slideNext():R==="previous"?e.slidePrev():e.slideToLoop(C)}else e.slideTo(C)}function m(){const S=e.rtl,x=e.params.pagination;if(l())return;let C=e.pagination.el;C=dr(C);let R,P;const O=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,$=e.params.loop?Math.ceil(O/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(P=e.previousRealIndex||0,R=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(R=e.snapIndex,P=e.previousSnapIndex):(P=e.previousIndex||0,R=e.activeIndex||0),x.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const A=e.pagination.bullets;let M,L,B;if(x.dynamicBullets&&(i=Rv(A[0],e.isHorizontal()?"width":"height"),C.forEach(F=>{F.style[e.isHorizontal()?"width":"height"]=`${i*(x.dynamicMainBullets+4)}px`}),x.dynamicMainBullets>1&&P!==void 0&&(s+=R-(P||0),s>x.dynamicMainBullets-1?s=x.dynamicMainBullets-1:s<0&&(s=0)),M=Math.max(R-s,0),L=M+(Math.min(A.length,x.dynamicMainBullets)-1),B=(L+M)/2),A.forEach(F=>{const N=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(V=>`${x.bulletActiveClass}${V}`)].map(V=>typeof V=="string"&&V.includes(" ")?V.split(" "):V).flat();F.classList.remove(...N)}),C.length>1)A.forEach(F=>{const N=B0(F);N===R?F.classList.add(...x.bulletActiveClass.split(" ")):e.isElement&&F.setAttribute("part","bullet"),x.dynamicBullets&&(N>=M&&N<=L&&F.classList.add(...`${x.bulletActiveClass}-main`.split(" ")),N===M&&u(F,"prev"),N===L&&u(F,"next"))});else{const F=A[R];if(F&&F.classList.add(...x.bulletActiveClass.split(" ")),e.isElement&&A.forEach((N,V)=>{N.setAttribute("part",V===R?"bullet-active":"bullet")}),x.dynamicBullets){const N=A[M],V=A[L];for(let z=M;z<=L;z+=1)A[z]&&A[z].classList.add(...`${x.bulletActiveClass}-main`.split(" "));u(N,"prev"),u(V,"next")}}if(x.dynamicBullets){const F=Math.min(A.length,x.dynamicMainBullets+4),N=(i*F-i)/2-B*i,V=S?"right":"left";A.forEach(z=>{z.style[e.isHorizontal()?V:"top"]=`${N}px`})}}C.forEach((A,M)=>{if(x.type==="fraction"&&(A.querySelectorAll(cd(x.currentClass)).forEach(L=>{L.textContent=x.formatFractionCurrent(R+1)}),A.querySelectorAll(cd(x.totalClass)).forEach(L=>{L.textContent=x.formatFractionTotal($)})),x.type==="progressbar"){let L;x.progressbarOpposite?L=e.isHorizontal()?"vertical":"horizontal":L=e.isHorizontal()?"horizontal":"vertical";const B=(R+1)/$;let F=1,N=1;L==="horizontal"?F=B:N=B,A.querySelectorAll(cd(x.progressbarFillClass)).forEach(V=>{V.style.transform=`translate3d(0,0,0) scaleX(${F}) scaleY(${N})`,V.style.transitionDuration=`${e.params.speed}ms`})}x.type==="custom"&&x.renderCustom?(_u(A,x.renderCustom(e,R+1,$)),M===0&&o("paginationRender",A)):(M===0&&o("paginationRender",A),o("paginationUpdate",A)),e.params.watchOverflow&&e.enabled&&A.classList[e.isLocked?"add":"remove"](x.lockClass)})}function v(){const S=e.params.pagination;if(l())return;const x=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let C=e.pagination.el;C=dr(C);let R="";if(S.type==="bullets"){let P=e.params.loop?Math.ceil(x/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&P>x&&(P=x);for(let O=0;O<P;O+=1)S.renderBullet?R+=S.renderBullet.call(e,O,S.bulletClass):R+=`<${S.bulletElement} ${e.isElement?'part="bullet"':""} class="${S.bulletClass}"></${S.bulletElement}>`}S.type==="fraction"&&(S.renderFraction?R=S.renderFraction.call(e,S.currentClass,S.totalClass):R=`<span class="${S.currentClass}"></span> / <span class="${S.totalClass}"></span>`),S.type==="progressbar"&&(S.renderProgressbar?R=S.renderProgressbar.call(e,S.progressbarFillClass):R=`<span class="${S.progressbarFillClass}"></span>`),e.pagination.bullets=[],C.forEach(P=>{S.type!=="custom"&&_u(P,R||""),S.type==="bullets"&&e.pagination.bullets.push(...P.querySelectorAll(cd(S.bulletClass)))}),S.type!=="custom"&&o("paginationRender",C[0])}function g(){e.params.pagination=CM(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const S=e.params.pagination;if(!S.el)return;let x;typeof S.el=="string"&&e.isElement&&(x=e.el.querySelector(S.el)),!x&&typeof S.el=="string"&&(x=[...document.querySelectorAll(S.el)]),x||(x=S.el),!(!x||x.length===0)&&(e.params.uniqueNavElements&&typeof S.el=="string"&&Array.isArray(x)&&x.length>1&&(x=[...e.el.querySelectorAll(S.el)],x.length>1&&(x=x.find(C=>SM(C,".swiper")[0]===e.el))),Array.isArray(x)&&x.length===1&&(x=x[0]),Object.assign(e.pagination,{el:x}),x=dr(x),x.forEach(C=>{S.type==="bullets"&&S.clickable&&C.classList.add(...(S.clickableClass||"").split(" ")),C.classList.add(S.modifierClass+S.type),C.classList.add(e.isHorizontal()?S.horizontalClass:S.verticalClass),S.type==="bullets"&&S.dynamicBullets&&(C.classList.add(`${S.modifierClass}${S.type}-dynamic`),s=0,S.dynamicMainBullets<1&&(S.dynamicMainBullets=1)),S.type==="progressbar"&&S.progressbarOpposite&&C.classList.add(S.progressbarOppositeClass),S.clickable&&C.addEventListener("click",f),e.enabled||C.classList.add(S.lockClass)}))}function w(){const S=e.params.pagination;if(l())return;let x=e.pagination.el;x&&(x=dr(x),x.forEach(C=>{C.classList.remove(S.hiddenClass),C.classList.remove(S.modifierClass+S.type),C.classList.remove(e.isHorizontal()?S.horizontalClass:S.verticalClass),S.clickable&&(C.classList.remove(...(S.clickableClass||"").split(" ")),C.removeEventListener("click",f))})),e.pagination.bullets&&e.pagination.bullets.forEach(C=>C.classList.remove(...S.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const S=e.params.pagination;let{el:x}=e.pagination;x=dr(x),x.forEach(C=>{C.classList.remove(S.horizontalClass,S.verticalClass),C.classList.add(e.isHorizontal()?S.horizontalClass:S.verticalClass)})}),r("init",()=>{e.params.pagination.enabled===!1?_():(g(),v(),m())}),r("activeIndexChange",()=>{typeof e.snapIndex>"u"&&m()}),r("snapIndexChange",()=>{m()}),r("snapGridLengthChange",()=>{v(),m()}),r("destroy",()=>{w()}),r("enable disable",()=>{let{el:S}=e.pagination;S&&(S=dr(S),S.forEach(x=>x.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),r("lock unlock",()=>{m()}),r("click",(S,x)=>{const C=x.target,R=dr(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&R&&R.length>0&&!C.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&C===e.navigation.nextEl||e.navigation.prevEl&&C===e.navigation.prevEl))return;const P=R[0].classList.contains(e.params.pagination.hiddenClass);o(P===!0?"paginationShow":"paginationHide"),R.forEach(O=>O.classList.toggle(e.params.pagination.hiddenClass))}});const y=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:S}=e.pagination;S&&(S=dr(S),S.forEach(x=>x.classList.remove(e.params.pagination.paginationDisabledClass))),g(),v(),m()},_=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:S}=e.pagination;S&&(S=dr(S),S.forEach(x=>x.classList.add(e.params.pagination.paginationDisabledClass))),w()};Object.assign(e.pagination,{enable:y,disable:_,render:v,update:m,init:g,destroy:w})}function ere(t){let{swiper:e,extendParams:n,emit:r,once:o}=t;n({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function a(){if(e.params.cssMode)return;const l=e.getTranslate();e.setTranslate(l),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function i(){if(e.params.cssMode)return;const{touchEventsData:l,touches:u}=e;l.velocities.length===0&&l.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Ll()})}function s(l){let{currentPos:u}=l;if(e.params.cssMode)return;const{params:d,wrapperEl:f,rtlTranslate:m,snapGrid:v,touchEventsData:g}=e,y=Ll()-g.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<v.length?e.slideTo(v.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(g.velocities.length>1){const $=g.velocities.pop(),A=g.velocities.pop(),M=$.position-A.position,L=$.time-A.time;e.velocity=M/L,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(L>150||Ll()-$.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,g.velocities.length=0;let _=1e3*d.freeMode.momentumRatio;const S=e.velocity*_;let x=e.translate+S;m&&(x=-x);let C=!1,R;const P=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let O;if(x<e.maxTranslate())d.freeMode.momentumBounce?(x+e.maxTranslate()<-P&&(x=e.maxTranslate()-P),R=e.maxTranslate(),C=!0,g.allowMomentumBounce=!0):x=e.maxTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(x>e.minTranslate())d.freeMode.momentumBounce?(x-e.minTranslate()>P&&(x=e.minTranslate()+P),R=e.minTranslate(),C=!0,g.allowMomentumBounce=!0):x=e.minTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(d.freeMode.sticky){let $;for(let A=0;A<v.length;A+=1)if(v[A]>-x){$=A;break}Math.abs(v[$]-x)<Math.abs(v[$-1]-x)||e.swipeDirection==="next"?x=v[$]:x=v[$-1],x=-x}if(O&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?_=Math.abs((-x-e.translate)/e.velocity):_=Math.abs((x-e.translate)/e.velocity),d.freeMode.sticky){const $=Math.abs((m?-x:x)-e.translate),A=e.slidesSizesGrid[e.activeIndex];$<A?_=d.speed:$<2*A?_=d.speed*1.5:_=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&C?(e.updateProgress(R),e.setTransition(_),e.setTranslate(x),e.transitionStart(!0,e.swipeDirection),e.animating=!0,X1(f,()=>{!e||e.destroyed||!g.allowMomentumBounce||(r("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(R),X1(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(r("_freeModeNoMomentumRelease"),e.updateProgress(x),e.setTransition(_),e.setTranslate(x),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,X1(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(x),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&r("_freeModeNoMomentumRelease");(!d.freeMode.momentum||y>=d.longSwipesMs)&&(r("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:a,onTouchMove:i,onTouchEnd:s}})}function tre(t){const{effect:e,swiper:n,on:r,setTranslate:o,setTransition:a,overwriteParams:i,perspective:s,recreateShadows:l,getEffectParams:u}=t;r("beforeInit",()=>{if(n.params.effect!==e)return;n.classNames.push(`${n.params.containerModifierClass}${e}`),s&&s()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const f=i?i():{};Object.assign(n.params,f),Object.assign(n.originalParams,f)}),r("setTranslate _virtualUpdated",()=>{n.params.effect===e&&o()}),r("setTransition",(f,m)=>{n.params.effect===e&&a(m)}),r("transitionEnd",()=>{if(n.params.effect===e&&l){if(!u||!u().slideShadows)return;n.slides.forEach(f=>{f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(m=>m.remove())}),l()}});let d;r("virtualUpdate",()=>{n.params.effect===e&&(n.slides.length||(d=!0),requestAnimationFrame(()=>{d&&n.slides&&n.slides.length&&(o(),d=!1)}))})}function nre(t,e){const n=xM(e);return n!==e&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function rre(t){let{swiper:e,duration:n,transformElements:r}=t;const{activeIndex:o}=e;if(e.params.virtualTranslate&&n!==0){let a=!1,i;i=r,i.forEach(s=>{X1(s,()=>{if(a||!e||e.destroyed)return;a=!0,e.animating=!1;const l=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(l)})})}}function ore(t){let{swiper:e,extendParams:n,on:r}=t;n({fadeEffect:{crossFade:!1}}),tre({effect:"fade",swiper:e,on:r,setTranslate:()=>{const{slides:i}=e,s=e.params.fadeEffect;for(let l=0;l<i.length;l+=1){const u=e.slides[l];let f=-u.swiperSlideOffset;e.params.virtualTranslate||(f-=e.translate);let m=0;e.isHorizontal()||(m=f,f=0);const v=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(u.progress),0):1+Math.min(Math.max(u.progress,-1),0),g=nre(s,u);g.style.opacity=v,g.style.transform=`translate3d(${f}px, ${m}px, 0px)`}},setTransition:i=>{const s=e.slides.map(l=>xM(l));s.forEach(l=>{l.style.transitionDuration=`${i}ms`}),rre({swiper:e,duration:i,transformElements:s})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}let Fg;function are(){const t=Ur(),e=Gs();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function EM(){return Fg||(Fg=are()),Fg}let Vg;function ire(t){let{userAgent:e}=t===void 0?{}:t;const n=EM(),r=Ur(),o=r.navigator.platform,a=e||r.navigator.userAgent,i={ios:!1,android:!1},s=r.screen.width,l=r.screen.height,u=a.match(/(Android);?[\s\/]+([\d.]+)?/);let d=a.match(/(iPad).*OS\s([\d_]+)/);const f=a.match(/(iPod)(.*OS\s([\d_]+))?/),m=!d&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),v=o==="Win32";let g=o==="MacIntel";const w=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&g&&n.touch&&w.indexOf(`${s}x${l}`)>=0&&(d=a.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),g=!1),u&&!v&&(i.os="android",i.android=!0),(d||m||f)&&(i.os="ios",i.ios=!0),i}function MM(t){return t===void 0&&(t={}),Vg||(Vg=ire(t)),Vg}let jg;function sre(){const t=Ur(),e=MM();let n=!1;function r(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(r()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[l,u]=s.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));n=l<16||l===16&&u<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),a=r(),i=a||o&&e.ios;return{isSafari:n||a,needPerspectiveFix:n,need3dFix:i,isWebView:o}}function kM(){return jg||(jg=sre()),jg}function lre(t){let{swiper:e,on:n,emit:r}=t;const o=Ur();let a=null,i=null;const s=()=>{!e||e.destroyed||!e.initialized||(r("beforeResize"),r("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(a=new ResizeObserver(f=>{i=o.requestAnimationFrame(()=>{const{width:m,height:v}=e;let g=m,w=v;f.forEach(y=>{let{contentBoxSize:_,contentRect:S,target:x}=y;x&&x!==e.el||(g=S?S.width:(_[0]||_).inlineSize,w=S?S.height:(_[0]||_).blockSize)}),(g!==m||w!==v)&&s()})}),a.observe(e.el))},u=()=>{i&&o.cancelAnimationFrame(i),a&&a.unobserve&&e.el&&(a.unobserve(e.el),a=null)},d=()=>{!e||e.destroyed||!e.initialized||r("orientationchange")};n("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){l();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",d)}),n("destroy",()=>{u(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",d)})}function cre(t){let{swiper:e,extendParams:n,on:r,emit:o}=t;const a=[],i=Ur(),s=function(d,f){f===void 0&&(f={});const m=i.MutationObserver||i.WebkitMutationObserver,v=new m(g=>{if(e.__preventObserver__)return;if(g.length===1){o("observerUpdate",g[0]);return}const w=function(){o("observerUpdate",g[0])};i.requestAnimationFrame?i.requestAnimationFrame(w):i.setTimeout(w,0)});v.observe(d,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:e.isElement||(typeof f.childList>"u"?!0:f).childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),a.push(v)},l=()=>{if(e.params.observer){if(e.params.observeParents){const d=SM(e.hostEl);for(let f=0;f<d.length;f+=1)s(d[f])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},u=()=>{a.forEach(d=>{d.disconnect()}),a.splice(0,a.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var ure={on(t,e,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;const o=n?"unshift":"push";return t.split(" ").forEach(a=>{r.eventsListeners[a]||(r.eventsListeners[a]=[]),r.eventsListeners[a][o](e)}),r},once(t,e,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;function o(){r.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var a=arguments.length,i=new Array(a),s=0;s<a;s++)i[s]=arguments[s];e.apply(r,i)}return o.__emitterProxy=e,r.on(t,o,n)},onAny(t,e){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;const r=e?"unshift":"push";return n.eventsAnyListeners.indexOf(t)<0&&n.eventsAnyListeners[r](t),n},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const n=e.eventsAnyListeners.indexOf(t);return n>=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||t.split(" ").forEach(r=>{typeof e>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((o,a)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&n.eventsListeners[r].splice(a,1)})}),n},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,n,r;for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return typeof a[0]=="string"||Array.isArray(a[0])?(e=a[0],n=a.slice(1,a.length),r=t):(e=a[0].events,n=a[0].data,r=a[0].context||t),n.unshift(r),(Array.isArray(e)?e:e.split(" ")).forEach(l=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(r,[l,...n])}),t.eventsListeners&&t.eventsListeners[l]&&t.eventsListeners[l].forEach(u=>{u.apply(r,n)})}),t}};function dre(){const t=this;let e,n;const r=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=r.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?n=t.params.height:n=r.clientHeight,!(e===0&&t.isHorizontal()||n===0&&t.isVertical())&&(e=e-parseInt(As(r,"padding-left")||0,10)-parseInt(As(r,"padding-right")||0,10),n=n-parseInt(As(r,"padding-top")||0,10)-parseInt(As(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))}function fre(){const t=this;function e(M,L){return parseFloat(M.getPropertyValue(t.getDirectionLabel(L))||0)}const n=t.params,{wrapperEl:r,slidesEl:o,size:a,rtlTranslate:i,wrongRTL:s}=t,l=t.virtual&&n.virtual.enabled,u=l?t.virtual.slides.length:t.slides.length,d=ga(o,`.${t.params.slideClass}, swiper-slide`),f=l?t.virtual.slides.length:d.length;let m=[];const v=[],g=[];let w=n.slidesOffsetBefore;typeof w=="function"&&(w=n.slidesOffsetBefore.call(t));let y=n.slidesOffsetAfter;typeof y=="function"&&(y=n.slidesOffsetAfter.call(t));const _=t.snapGrid.length,S=t.slidesGrid.length;let x=n.spaceBetween,C=-w,R=0,P=0;if(typeof a>"u")return;typeof x=="string"&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*a:typeof x=="string"&&(x=parseFloat(x)),t.virtualSize=-x,d.forEach(M=>{i?M.style.marginLeft="":M.style.marginRight="",M.style.marginBottom="",M.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Fd(r,"--swiper-centered-offset-before",""),Fd(r,"--swiper-centered-offset-after",""));const O=n.grid&&n.grid.rows>1&&t.grid;O?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let $;const A=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(M=>typeof n.breakpoints[M].slidesPerView<"u").length>0;for(let M=0;M<f;M+=1){$=0;let L;if(d[M]&&(L=d[M]),O&&t.grid.updateSlide(M,L,d),!(d[M]&&As(L,"display")==="none")){if(n.slidesPerView==="auto"){A&&(d[M].style[t.getDirectionLabel("width")]="");const B=getComputedStyle(L),F=L.style.transform,N=L.style.webkitTransform;if(F&&(L.style.transform="none"),N&&(L.style.webkitTransform="none"),n.roundLengths)$=t.isHorizontal()?Rv(L,"width"):Rv(L,"height");else{const V=e(B,"width"),z=e(B,"padding-left"),I=e(B,"padding-right"),D=e(B,"margin-left"),U=e(B,"margin-right"),Y=B.getPropertyValue("box-sizing");if(Y&&Y==="border-box")$=V+D+U;else{const{clientWidth:oe,offsetWidth:Q}=L;$=V+z+I+D+U+(Q-oe)}}F&&(L.style.transform=F),N&&(L.style.webkitTransform=N),n.roundLengths&&($=Math.floor($))}else $=(a-(n.slidesPerView-1)*x)/n.slidesPerView,n.roundLengths&&($=Math.floor($)),d[M]&&(d[M].style[t.getDirectionLabel("width")]=`${$}px`);d[M]&&(d[M].swiperSlideSize=$),g.push($),n.centeredSlides?(C=C+$/2+R/2+x,R===0&&M!==0&&(C=C-a/2-x),M===0&&(C=C-a/2-x),Math.abs(C)<1/1e3&&(C=0),n.roundLengths&&(C=Math.floor(C)),P%n.slidesPerGroup===0&&m.push(C),v.push(C)):(n.roundLengths&&(C=Math.floor(C)),(P-Math.min(t.params.slidesPerGroupSkip,P))%t.params.slidesPerGroup===0&&m.push(C),v.push(C),C=C+$+x),t.virtualSize+=$+x,R=$,P+=1}}if(t.virtualSize=Math.max(t.virtualSize,a)+y,i&&s&&(n.effect==="slide"||n.effect==="coverflow")&&(r.style.width=`${t.virtualSize+x}px`),n.setWrapperSize&&(r.style[t.getDirectionLabel("width")]=`${t.virtualSize+x}px`),O&&t.grid.updateWrapperSize($,m),!n.centeredSlides){const M=[];for(let L=0;L<m.length;L+=1){let B=m[L];n.roundLengths&&(B=Math.floor(B)),m[L]<=t.virtualSize-a&&M.push(B)}m=M,Math.floor(t.virtualSize-a)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-a)}if(l&&n.loop){const M=g[0]+x;if(n.slidesPerGroup>1){const L=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),B=M*n.slidesPerGroup;for(let F=0;F<L;F+=1)m.push(m[m.length-1]+B)}for(let L=0;L<t.virtual.slidesBefore+t.virtual.slidesAfter;L+=1)n.slidesPerGroup===1&&m.push(m[m.length-1]+M),v.push(v[v.length-1]+M),t.virtualSize+=M}if(m.length===0&&(m=[0]),x!==0){const M=t.isHorizontal()&&i?"marginLeft":t.getDirectionLabel("marginRight");d.filter((L,B)=>!n.cssMode||n.loop?!0:B!==d.length-1).forEach(L=>{L.style[M]=`${x}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let M=0;g.forEach(B=>{M+=B+(x||0)}),M-=x;const L=M>a?M-a:0;m=m.map(B=>B<=0?-w:B>L?L+y:B)}if(n.centerInsufficientSlides){let M=0;g.forEach(B=>{M+=B+(x||0)}),M-=x;const L=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(M+L<a){const B=(a-M-L)/2;m.forEach((F,N)=>{m[N]=F-B}),v.forEach((F,N)=>{v[N]=F+B})}}if(Object.assign(t,{slides:d,snapGrid:m,slidesGrid:v,slidesSizesGrid:g}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Fd(r,"--swiper-centered-offset-before",`${-m[0]}px`),Fd(r,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);const M=-t.snapGrid[0],L=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(B=>B+M),t.slidesGrid=t.slidesGrid.map(B=>B+L)}if(f!==u&&t.emit("slidesLengthChange"),m.length!==_&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),v.length!==S&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!l&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const M=`${n.containerModifierClass}backface-hidden`,L=t.el.classList.contains(M);f<=n.maxBackfaceHiddenSlides?L||t.el.classList.add(M):L&&t.el.classList.remove(M)}}function pre(t){const e=this,n=[],r=e.virtual&&e.params.virtual.enabled;let o=0,a;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const i=s=>r?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{n.push(s)});else for(a=0;a<Math.ceil(e.params.slidesPerView);a+=1){const s=e.activeIndex+a;if(s>e.slides.length&&!r)break;n.push(i(s))}else n.push(i(e.activeIndex));for(a=0;a<n.length;a+=1)if(typeof n[a]<"u"){const s=n[a].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function hre(){const t=this,e=t.slides,n=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let r=0;r<e.length;r+=1)e[r].swiperSlideOffset=(t.isHorizontal()?e[r].offsetLeft:e[r].offsetTop)-n-t.cssOverflowAdjustment()}const C5=(t,e,n)=>{e&&!t.classList.contains(n)?t.classList.add(n):!e&&t.classList.contains(n)&&t.classList.remove(n)};function mre(t){t===void 0&&(t=this&&this.translate||0);const e=this,n=e.params,{slides:r,rtlTranslate:o,snapGrid:a}=e;if(r.length===0)return;typeof r[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let i=-t;o&&(i=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=n.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let l=0;l<r.length;l+=1){const u=r[l];let d=u.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(d-=r[0].swiperSlideOffset);const f=(i+(n.centeredSlides?e.minTranslate():0)-d)/(u.swiperSlideSize+s),m=(i-a[0]+(n.centeredSlides?e.minTranslate():0)-d)/(u.swiperSlideSize+s),v=-(i-d),g=v+e.slidesSizesGrid[l],w=v>=0&&v<=e.size-e.slidesSizesGrid[l],y=v>=0&&v<e.size-1||g>1&&g<=e.size||v<=0&&g>=e.size;y&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(l)),C5(u,y,n.slideVisibleClass),C5(u,w,n.slideFullyVisibleClass),u.progress=o?-f:f,u.originalProgress=o?-m:m}}function gre(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const n=e.params,r=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:a,isEnd:i,progressLoop:s}=e;const l=a,u=i;if(r===0)o=0,a=!0,i=!0;else{o=(t-e.minTranslate())/r;const d=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;a=d||o<=0,i=f||o>=1,d&&(o=0),f&&(o=1)}if(n.loop){const d=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[d],v=e.slidesGrid[f],g=e.slidesGrid[e.slidesGrid.length-1],w=Math.abs(t);w>=m?s=(w-m)/g:s=(w+g-v)/g,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:a,isEnd:i}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),a&&!l&&e.emit("reachBeginning toEdge"),i&&!u&&e.emit("reachEnd toEdge"),(l&&!a||u&&!i)&&e.emit("fromEdge"),e.emit("progress",o)}const Hg=(t,e,n)=>{e&&!t.classList.contains(n)?t.classList.add(n):!e&&t.classList.contains(n)&&t.classList.remove(n)};function vre(){const t=this,{slides:e,params:n,slidesEl:r,activeIndex:o}=t,a=t.virtual&&n.virtual.enabled,i=t.grid&&n.grid&&n.grid.rows>1,s=f=>ga(r,`.${n.slideClass}${f}, swiper-slide${f}`)[0];let l,u,d;if(a)if(n.loop){let f=o-t.virtual.slidesBefore;f<0&&(f=t.virtual.slides.length+f),f>=t.virtual.slides.length&&(f-=t.virtual.slides.length),l=s(`[data-swiper-slide-index="${f}"]`)}else l=s(`[data-swiper-slide-index="${o}"]`);else i?(l=e.find(f=>f.column===o),d=e.find(f=>f.column===o+1),u=e.find(f=>f.column===o-1)):l=e[o];l&&(i||(d=Xne(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!d&&(d=e[0]),u=Kne(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(f=>{Hg(f,f===l,n.slideActiveClass),Hg(f,f===d,n.slideNextClass),Hg(f,f===u,n.slidePrevClass)}),t.emitSlidesClasses()}const Z1=(t,e)=>{if(!t||t.destroyed||!t.params)return;const n=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,r=e.closest(n());if(r){let o=r.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(r.shadowRoot?o=r.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(o=r.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},Wg=(t,e)=>{if(!t.slides[e])return;const n=t.slides[e].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Tv=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const n=t.slides.length;if(!n||!e||e<0)return;e=Math.min(e,n);const r=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const i=o,s=[i-e];s.push(...Array.from({length:e}).map((l,u)=>i+r+u)),t.slides.forEach((l,u)=>{s.includes(l.column)&&Wg(t,u)});return}const a=o+r-1;if(t.params.rewind||t.params.loop)for(let i=o-e;i<=a+e;i+=1){const s=(i%n+n)%n;(s<o||s>a)&&Wg(t,s)}else for(let i=Math.max(o-e,0);i<=Math.min(a+e,n-1);i+=1)i!==o&&(i>a||i<o)&&Wg(t,i)};function wre(t){const{slidesGrid:e,params:n}=t,r=t.rtlTranslate?t.translate:-t.translate;let o;for(let a=0;a<e.length;a+=1)typeof e[a+1]<"u"?r>=e[a]&&r<e[a+1]-(e[a+1]-e[a])/2?o=a:r>=e[a]&&r<e[a+1]&&(o=a+1):r>=e[a]&&(o=a);return n.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function bre(t){const e=this,n=e.rtlTranslate?e.translate:-e.translate,{snapGrid:r,params:o,activeIndex:a,realIndex:i,snapIndex:s}=e;let l=t,u;const d=v=>{let g=v-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof l>"u"&&(l=wre(e)),r.indexOf(n)>=0)u=r.indexOf(n);else{const v=Math.min(o.slidesPerGroupSkip,l);u=v+Math.floor((l-v)/o.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===a&&!e.params.loop){u!==s&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(l===a&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(l);return}const f=e.grid&&o.grid&&o.grid.rows>1;let m;if(e.virtual&&o.virtual.enabled&&o.loop)m=d(l);else if(f){const v=e.slides.find(w=>w.column===l);let g=parseInt(v.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(v),0)),m=Math.floor(g/o.grid.rows)}else if(e.slides[l]){const v=e.slides[l].getAttribute("data-swiper-slide-index");v?m=parseInt(v,10):m=l}else m=l;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:i,realIndex:m,previousIndex:a,activeIndex:l}),e.initialized&&Tv(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(i!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function yre(t,e){const n=this,r=n.params;let o=t.closest(`.${r.slideClass}, swiper-slide`);!o&&n.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${r.slideClass}, swiper-slide`)&&(o=s)});let a=!1,i;if(o){for(let s=0;s<n.slides.length;s+=1)if(n.slides[s]===o){a=!0,i=s;break}}if(o&&a)n.clickedSlide=o,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=i;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}r.slideToClickedSlide&&n.clickedIndex!==void 0&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}var _re={updateSize:dre,updateSlides:fre,updateAutoHeight:pre,updateSlidesOffset:hre,updateSlidesProgress:mre,updateProgress:gre,updateSlidesClasses:vre,updateActiveIndex:bre,updateClickedSlide:yre};function xre(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:n,rtlTranslate:r,translate:o,wrapperEl:a}=e;if(n.virtualTranslate)return r?-o:o;if(n.cssMode)return o;let i=qne(a,t);return i+=e.cssOverflowAdjustment(),r&&(i=-i),i||0}function Sre(t,e){const n=this,{rtlTranslate:r,params:o,wrapperEl:a,progress:i}=n;let s=0,l=0;const u=0;n.isHorizontal()?s=r?-t:t:l=t,o.roundLengths&&(s=Math.floor(s),l=Math.floor(l)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?s:l,o.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-s:-l:o.virtualTranslate||(n.isHorizontal()?s-=n.cssOverflowAdjustment():l-=n.cssOverflowAdjustment(),a.style.transform=`translate3d(${s}px, ${l}px, ${u}px)`);let d;const f=n.maxTranslate()-n.minTranslate();f===0?d=0:d=(t-n.minTranslate())/f,d!==i&&n.updateProgress(t),n.emit("setTranslate",n.translate,e)}function Cre(){return-this.snapGrid[0]}function Ere(){return-this.snapGrid[this.snapGrid.length-1]}function Mre(t,e,n,r,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),n===void 0&&(n=!0),r===void 0&&(r=!0);const a=this,{params:i,wrapperEl:s}=a;if(a.animating&&i.preventInteractionOnTransition)return!1;const l=a.minTranslate(),u=a.maxTranslate();let d;if(r&&t>l?d=l:r&&t<u?d=u:d=t,a.updateProgress(d),i.cssMode){const f=a.isHorizontal();if(e===0)s[f?"scrollLeft":"scrollTop"]=-d;else{if(!a.support.smoothScroll)return _M({swiper:a,targetPosition:-d,side:f?"left":"top"}),!0;s.scrollTo({[f?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(a.setTransition(0),a.setTranslate(d),n&&(a.emit("beforeTransitionStart",e,o),a.emit("transitionEnd"))):(a.setTransition(e),a.setTranslate(d),n&&(a.emit("beforeTransitionStart",e,o),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(m){!a||a.destroyed||m.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,n&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}var kre={getTranslate:xre,setTranslate:Sre,minTranslate:Cre,maxTranslate:Ere,translateTo:Mre};function Rre(t,e){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${t}ms`,n.wrapperEl.style.transitionDelay=t===0?"0ms":""),n.emit("setTransition",t,e)}function RM(t){let{swiper:e,runCallbacks:n,direction:r,step:o}=t;const{activeIndex:a,previousIndex:i}=e;let s=r;s||(a>i?s="next":a<i?s="prev":s="reset"),e.emit(`transition${o}`),n&&s==="reset"?e.emit(`slideResetTransition${o}`):n&&a!==i&&(e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`))}function Tre(t,e){t===void 0&&(t=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),RM({swiper:n,runCallbacks:t,direction:e,step:"Start"}))}function Nre(t,e){t===void 0&&(t=!0);const n=this,{params:r}=n;n.animating=!1,!r.cssMode&&(n.setTransition(0),RM({swiper:n,runCallbacks:t,direction:e,step:"End"}))}var Pre={setTransition:Rre,transitionStart:Tre,transitionEnd:Nre};function Are(t,e,n,r,o){t===void 0&&(t=0),n===void 0&&(n=!0),typeof t=="string"&&(t=parseInt(t,10));const a=this;let i=t;i<0&&(i=0);const{params:s,snapGrid:l,slidesGrid:u,previousIndex:d,activeIndex:f,rtlTranslate:m,wrapperEl:v,enabled:g}=a;if(!g&&!r&&!o||a.destroyed||a.animating&&s.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=a.params.speed);const w=Math.min(a.params.slidesPerGroupSkip,i);let y=w+Math.floor((i-w)/a.params.slidesPerGroup);y>=l.length&&(y=l.length-1);const _=-l[y];if(s.normalizeSlideIndex)for(let O=0;O<u.length;O+=1){const $=-Math.floor(_*100),A=Math.floor(u[O]*100),M=Math.floor(u[O+1]*100);typeof u[O+1]<"u"?$>=A&&$<M-(M-A)/2?i=O:$>=A&&$<M&&(i=O+1):$>=A&&(i=O)}if(a.initialized&&i!==f&&(!a.allowSlideNext&&(m?_>a.translate&&_>a.minTranslate():_<a.translate&&_<a.minTranslate())||!a.allowSlidePrev&&_>a.translate&&_>a.maxTranslate()&&(f||0)!==i))return!1;i!==(d||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(_);let S;i>f?S="next":i<f?S="prev":S="reset";const x=a.virtual&&a.params.virtual.enabled;if(!(x&&o)&&(m&&-_===a.translate||!m&&_===a.translate))return a.updateActiveIndex(i),s.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),s.effect!=="slide"&&a.setTranslate(_),S!=="reset"&&(a.transitionStart(n,S),a.transitionEnd(n,S)),!1;if(s.cssMode){const O=a.isHorizontal(),$=m?_:-_;if(e===0)x&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),x&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{v[O?"scrollLeft":"scrollTop"]=$})):v[O?"scrollLeft":"scrollTop"]=$,x&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1});else{if(!a.support.smoothScroll)return _M({swiper:a,targetPosition:$,side:O?"left":"top"}),!0;v.scrollTo({[O?"left":"top"]:$,behavior:"smooth"})}return!0}const P=kM().isSafari;return x&&!o&&P&&a.isElement&&a.virtual.update(!1,!1,i),a.setTransition(e),a.setTranslate(_),a.updateActiveIndex(i),a.updateSlidesClasses(),a.emit("beforeTransitionStart",e,r),a.transitionStart(n,S),e===0?a.transitionEnd(n,S):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function($){!a||a.destroyed||$.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,S))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0}function Ire(t,e,n,r){t===void 0&&(t=0),n===void 0&&(n=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;typeof e>"u"&&(e=o.params.speed);const a=o.grid&&o.params.grid&&o.params.grid.rows>1;let i=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)i=i+o.virtual.slidesBefore;else{let s;if(a){const m=i*o.params.grid.rows;s=o.slides.find(v=>v.getAttribute("data-swiper-slide-index")*1===m).column}else s=o.getSlideIndexByData(i);const l=a?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:u}=o.params;let d=o.params.slidesPerView;d==="auto"?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),u&&d%2===0&&(d=d+1));let f=l-s<d;if(u&&(f=f||s<Math.ceil(d/2)),r&&u&&o.params.slidesPerView!=="auto"&&!a&&(f=!1),f){const m=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?s+1:s-l+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(a){const m=i*o.params.grid.rows;i=o.slides.find(v=>v.getAttribute("data-swiper-slide-index")*1===m).column}else i=o.getSlideIndexByData(i)}return requestAnimationFrame(()=>{o.slideTo(i,e,n,r)}),o}function Ore(t,e,n){e===void 0&&(e=!0);const r=this,{enabled:o,params:a,animating:i}=r;if(!o||r.destroyed)return r;typeof t>"u"&&(t=r.params.speed);let s=a.slidesPerGroup;a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<a.slidesPerGroupSkip?1:s,u=r.virtual&&a.virtual.enabled;if(a.loop){if(i&&!u&&a.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&a.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,t,e,n)}),!0}return a.rewind&&r.isEnd?r.slideTo(0,t,e,n):r.slideTo(r.activeIndex+l,t,e,n)}function Lre(t,e,n){e===void 0&&(e=!0);const r=this,{params:o,snapGrid:a,slidesGrid:i,rtlTranslate:s,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof t>"u"&&(t=r.params.speed);const d=r.virtual&&o.virtual.enabled;if(o.loop){if(u&&!d&&o.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const f=s?r.translate:-r.translate;function m(S){return S<0?-Math.floor(Math.abs(S)):Math.floor(S)}const v=m(f),g=a.map(S=>m(S)),w=o.freeMode&&o.freeMode.enabled;let y=a[g.indexOf(v)-1];if(typeof y>"u"&&(o.cssMode||w)){let S;a.forEach((x,C)=>{v>=x&&(S=C)}),typeof S<"u"&&(y=w?a[S]:a[S>0?S-1:S])}let _=0;if(typeof y<"u"&&(_=i.indexOf(y),_<0&&(_=r.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(_=_-r.slidesPerViewDynamic("previous",!0)+1,_=Math.max(_,0))),o.rewind&&r.isBeginning){const S=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(S,t,e,n)}else if(o.loop&&r.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{r.slideTo(_,t,e,n)}),!0;return r.slideTo(_,t,e,n)}function $re(t,e,n){e===void 0&&(e=!0);const r=this;if(!r.destroyed)return typeof t>"u"&&(t=r.params.speed),r.slideTo(r.activeIndex,t,e,n)}function Dre(t,e,n,r){e===void 0&&(e=!0),r===void 0&&(r=.5);const o=this;if(o.destroyed)return;typeof t>"u"&&(t=o.params.speed);let a=o.activeIndex;const i=Math.min(o.params.slidesPerGroupSkip,a),s=i+Math.floor((a-i)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;if(l>=o.snapGrid[s]){const u=o.snapGrid[s],d=o.snapGrid[s+1];l-u>(d-u)*r&&(a+=o.params.slidesPerGroup)}else{const u=o.snapGrid[s-1],d=o.snapGrid[s];l-u<=(d-u)*r&&(a-=o.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,o.slidesGrid.length-1),o.slideTo(a,t,e,n)}function Bre(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:n}=t,r=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.getSlideIndexWhenGrid(t.clickedIndex),a;const i=t.isElement?"swiper-slide":`.${e.slideClass}`,s=t.grid&&t.params.grid&&t.params.grid.rows>1;if(e.loop){if(t.animating)return;a=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?t.slideToLoop(a):o>(s?(t.slides.length-r)/2-(t.params.grid.rows-1):t.slides.length-r)?(t.loopFix(),o=t.getSlideIndex(ga(n,`${i}[data-swiper-slide-index="${a}"]`)[0]),yM(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var zre={slideTo:Are,slideToLoop:Ire,slideNext:Ore,slidePrev:Lre,slideReset:$re,slideToClosest:Dre,slideToClickedSlide:Bre};function Fre(t,e){const n=this,{params:r,slidesEl:o}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const a=()=>{ga(o,`.${r.slideClass}, swiper-slide`).forEach((v,g)=>{v.setAttribute("data-swiper-slide-index",g)})},i=()=>{const m=ga(o,`.${r.slideBlankClass}`);m.forEach(v=>{v.remove()}),m.length>0&&(n.recalcSlides(),n.updateSlides())},s=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||s)&&i();const l=r.slidesPerGroup*(s?r.grid.rows:1),u=n.slides.length%l!==0,d=s&&n.slides.length%r.grid.rows!==0,f=m=>{for(let v=0;v<m;v+=1){const g=n.isElement?yu("swiper-slide",[r.slideBlankClass]):yu("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(g)}};if(u){if(r.loopAddBlankSlides){const m=l-n.slides.length%l;f(m),n.recalcSlides(),n.updateSlides()}else D0("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else if(d){if(r.loopAddBlankSlides){const m=r.grid.rows-n.slides.length%r.grid.rows;f(m),n.recalcSlides(),n.updateSlides()}else D0("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else a();n.loopFix({slideRealIndex:t,direction:r.centeredSlides?void 0:"next",initial:e})}function Vre(t){let{slideRealIndex:e,slideTo:n=!0,direction:r,setTranslate:o,activeSlideIndex:a,initial:i,byController:s,byMousewheel:l}=t===void 0?{}:t;const u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");const{slides:d,allowSlidePrev:f,allowSlideNext:m,slidesEl:v,params:g}=u,{centeredSlides:w,initialSlide:y}=g;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&g.virtual.enabled){n&&(!g.centeredSlides&&u.snapIndex===0?u.slideTo(u.virtual.slides.length,0,!1,!0):g.centeredSlides&&u.snapIndex<g.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0)),u.allowSlidePrev=f,u.allowSlideNext=m,u.emit("loopFix");return}let _=g.slidesPerView;_==="auto"?_=u.slidesPerViewDynamic():(_=Math.ceil(parseFloat(g.slidesPerView,10)),w&&_%2===0&&(_=_+1));const S=g.slidesPerGroupAuto?_:g.slidesPerGroup;let x=w?Math.max(S,Math.ceil(_/2)):S;x%S!==0&&(x+=S-x%S),x+=g.loopAdditionalSlides,u.loopedSlides=x;const C=u.grid&&g.grid&&g.grid.rows>1;d.length<_+x||u.params.effect==="cards"&&d.length<_+x*2?D0("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):C&&g.grid.fill==="row"&&D0("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const R=[],P=[],O=C?Math.ceil(d.length/g.grid.rows):d.length,$=i&&O-y<_&&!w;let A=$?y:u.activeIndex;typeof a>"u"?a=u.getSlideIndex(d.find(z=>z.classList.contains(g.slideActiveClass))):A=a;const M=r==="next"||!r,L=r==="prev"||!r;let B=0,F=0;const V=(C?d[a].column:a)+(w&&typeof o>"u"?-_/2+.5:0);if(V<x){B=Math.max(x-V,S);for(let z=0;z<x-V;z+=1){const I=z-Math.floor(z/O)*O;if(C){const D=O-I-1;for(let U=d.length-1;U>=0;U-=1)d[U].column===D&&R.push(U)}else R.push(O-I-1)}}else if(V+_>O-x){F=Math.max(V-(O-x*2),S),$&&(F=Math.max(F,_-O+y+1));for(let z=0;z<F;z+=1){const I=z-Math.floor(z/O)*O;C?d.forEach((D,U)=>{D.column===I&&P.push(U)}):P.push(I)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),u.params.effect==="cards"&&d.length<_+x*2&&(P.includes(a)&&P.splice(P.indexOf(a),1),R.includes(a)&&R.splice(R.indexOf(a),1)),L&&R.forEach(z=>{d[z].swiperLoopMoveDOM=!0,v.prepend(d[z]),d[z].swiperLoopMoveDOM=!1}),M&&P.forEach(z=>{d[z].swiperLoopMoveDOM=!0,v.append(d[z]),d[z].swiperLoopMoveDOM=!1}),u.recalcSlides(),g.slidesPerView==="auto"?u.updateSlides():C&&(R.length>0&&L||P.length>0&&M)&&u.slides.forEach((z,I)=>{u.grid.updateSlide(I,z,u.slides)}),g.watchSlidesProgress&&u.updateSlidesOffset(),n){if(R.length>0&&L){if(typeof e>"u"){const z=u.slidesGrid[A],D=u.slidesGrid[A+B]-z;l?u.setTranslate(u.translate-D):(u.slideTo(A+Math.ceil(B),0,!1,!0),o&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-D,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-D))}else if(o){const z=C?R.length/g.grid.rows:R.length;u.slideTo(u.activeIndex+z,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(P.length>0&&M)if(typeof e>"u"){const z=u.slidesGrid[A],D=u.slidesGrid[A-F]-z;l?u.setTranslate(u.translate-D):(u.slideTo(A-F,0,!1,!0),o&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-D,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-D))}else{const z=C?P.length/g.grid.rows:P.length;u.slideTo(u.activeIndex-z,0,!1,!0)}}if(u.allowSlidePrev=f,u.allowSlideNext=m,u.controller&&u.controller.control&&!s){const z={slideRealIndex:e,direction:r,setTranslate:o,activeSlideIndex:a,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(I=>{!I.destroyed&&I.params.loop&&I.loopFix({...z,slideTo:I.params.slidesPerView===g.slidesPerView?n:!1})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...z,slideTo:u.controller.control.params.slidesPerView===g.slidesPerView?n:!1})}u.emit("loopFix")}function jre(){const t=this,{params:e,slidesEl:n}=t;if(!e.loop||!n||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const r=[];t.slides.forEach(o=>{const a=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;r[a]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),r.forEach(o=>{n.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Hre={loopCreate:Fre,loopFix:Vre,loopDestroy:jre};function Wre(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const n=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function qre(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Ure={setGrabCursor:Wre,unsetGrabCursor:qre};function Yre(t,e){e===void 0&&(e=this);function n(r){if(!r||r===Gs()||r===Ur())return null;r.assignedSlot&&(r=r.assignedSlot);const o=r.closest(t);return!o&&!r.getRootNode?null:o||n(r.getRootNode().host)}return n(e)}function E5(t,e,n){const r=Ur(),{params:o}=t,a=o.edgeSwipeDetection,i=o.edgeSwipeThreshold;return a&&(n<=i||n>=r.innerWidth-i)?a==="prevent"?(e.preventDefault(),!0):!1:!0}function Gre(t){const e=this,n=Gs();let r=t;r.originalEvent&&(r=r.originalEvent);const o=e.touchEventsData;if(r.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==r.pointerId)return;o.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(o.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){E5(e,r,r.targetTouches[0].pageX);return}const{params:a,touches:i,enabled:s}=e;if(!s||!a.simulateTouch&&r.pointerType==="mouse"||e.animating&&a.preventInteractionOnTransition)return;!e.animating&&a.cssMode&&a.loop&&e.loopFix();let l=r.target;if(a.touchEventsTarget==="wrapper"&&!Gne(l,e.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||o.isTouched&&o.isMoved)return;const u=!!a.noSwipingClass&&a.noSwipingClass!=="",d=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&d&&(l=d[0]);const f=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,m=!!(r.target&&r.target.shadowRoot);if(a.noSwiping&&(m?Yre(f,l):l.closest(f))){e.allowClick=!0;return}if(a.swipeHandler&&!l.closest(a.swipeHandler))return;i.currentX=r.pageX,i.currentY=r.pageY;const v=i.currentX,g=i.currentY;if(!E5(e,r,v))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=v,i.startY=g,o.touchStartTime=Ll(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,a.threshold>0&&(o.allowThresholdMove=!1);let w=!0;l.matches(o.focusableElements)&&(w=!1,l.nodeName==="SELECT"&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==l&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!l.matches(o.focusableElements))&&n.activeElement.blur();const y=w&&e.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||y)&&!l.isContentEditable&&r.preventDefault(),a.freeMode&&a.freeMode.enabled&&e.freeMode&&e.animating&&!a.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",r)}function Kre(t){const e=Gs(),n=this,r=n.touchEventsData,{params:o,touches:a,rtlTranslate:i,enabled:s}=n;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let l=t;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].find(R=>R.identifier===r.touchId),!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l);return}const d=u.pageX,f=u.pageY;if(l.preventedByNestedSwiper){a.startX=d,a.startY=f;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(a,{startX:d,startY:f,currentX:d,currentY:f}),r.touchStartTime=Ll());return}if(o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(f<a.startY&&n.translate<=n.maxTranslate()||f>a.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else{if(i&&(d>a.startX&&-n.translate<=n.maxTranslate()||d<a.startX&&-n.translate>=n.minTranslate()))return;if(!i&&(d<a.startX&&n.translate<=n.maxTranslate()||d>a.startX&&n.translate>=n.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(r.focusableElements)&&e.activeElement!==l.target&&l.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&l.target===e.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",l),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=d,a.currentY=f;const m=a.currentX-a.startX,v=a.currentY-a.startY;if(n.params.threshold&&Math.sqrt(m**2+v**2)<n.params.threshold)return;if(typeof r.isScrolling>"u"){let R;n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?r.isScrolling=!1:m*m+v*v>=25&&(R=Math.atan2(Math.abs(v),Math.abs(m))*180/Math.PI,r.isScrolling=n.isHorizontal()?R>o.touchAngle:90-R>o.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!o.cssMode&&l.cancelable&&l.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&l.stopPropagation();let g=n.isHorizontal()?m:v,w=n.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;o.oneWayMovement&&(g=Math.abs(g)*(i?1:-1),w=Math.abs(w)*(i?1:-1)),a.diff=g,g*=o.touchRatio,i&&(g=-g,w=-w);const y=n.touchesDirection;n.swipeDirection=g>0?"prev":"next",n.touchesDirection=w>0?"prev":"next";const _=n.params.loop&&!o.cssMode,S=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(_&&S&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const R=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(R)}r.allowMomentumBounce=!1,o.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}if(new Date().getTime(),o._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&y!==n.touchesDirection&&_&&S&&Math.abs(g)>=1){Object.assign(a,{startX:d,startY:f,currentX:d,currentY:f,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=g+r.startTranslate;let x=!0,C=o.resistanceRatio;if(o.touchReleaseOnEdges&&(C=0),g>0?(_&&S&&r.allowThresholdMove&&r.currentTranslate>(o.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(x=!1,o.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+g)**C))):g<0&&(_&&S&&r.allowThresholdMove&&r.currentTranslate<(o.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(o.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(x=!1,o.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-g)**C))),x&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),o.threshold>0)if(Math.abs(g)>o.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,r.currentTranslate=r.startTranslate,a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{r.currentTranslate=r.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function Xre(t){const e=this,n=e.touchEventsData;let r=t;r.originalEvent&&(r=r.originalEvent);let o;if(r.type==="touchend"||r.type==="touchcancel"){if(o=[...r.changedTouches].find(R=>R.identifier===n.touchId),!o||o.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;o=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(e.browser.isSafari||e.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:i,touches:s,rtlTranslate:l,slidesGrid:u,enabled:d}=e;if(!d||!i.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&e.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&i.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}i.grabCursor&&n.isMoved&&n.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=Ll(),m=f-n.touchStartTime;if(e.allowClick){const R=r.path||r.composedPath&&r.composedPath();e.updateClickedSlide(R&&R[0]||r.target,R),e.emit("tap click",r),m<300&&f-n.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(n.lastClickTime=Ll(),yM(()=>{e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||s.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let v;if(i.followFinger?v=l?e.translate:-e.translate:v=-n.currentTranslate,i.cssMode)return;if(i.freeMode&&i.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:v});return}const g=v>=-e.maxTranslate()&&!e.params.loop;let w=0,y=e.slidesSizesGrid[0];for(let R=0;R<u.length;R+=R<i.slidesPerGroupSkip?1:i.slidesPerGroup){const P=R<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;typeof u[R+P]<"u"?(g||v>=u[R]&&v<u[R+P])&&(w=R,y=u[R+P]-u[R]):(g||v>=u[R])&&(w=R,y=u[u.length-1]-u[u.length-2])}let _=null,S=null;i.rewind&&(e.isBeginning?S=i.virtual&&i.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(_=0));const x=(v-u[w])/y,C=w<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(m>i.longSwipesMs){if(!i.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(x>=i.longSwipesRatio?e.slideTo(i.rewind&&e.isEnd?_:w+C):e.slideTo(w)),e.swipeDirection==="prev"&&(x>1-i.longSwipesRatio?e.slideTo(w+C):S!==null&&x<0&&Math.abs(x)>i.longSwipesRatio?e.slideTo(S):e.slideTo(w))}else{if(!i.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(r.target===e.navigation.nextEl||r.target===e.navigation.prevEl)?r.target===e.navigation.nextEl?e.slideTo(w+C):e.slideTo(w):(e.swipeDirection==="next"&&e.slideTo(_!==null?_:w+C),e.swipeDirection==="prev"&&e.slideTo(S!==null?S:w))}}function M5(){const t=this,{params:e,el:n}=t;if(n&&n.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:o,snapGrid:a}=t,i=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=i&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!i?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=r,t.params.watchOverflow&&a!==t.snapGrid&&t.checkOverflow()}function Zre(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Qre(){const t=this,{wrapperEl:e,rtlTranslate:n,enabled:r}=t;if(!r)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const a=t.maxTranslate()-t.minTranslate();a===0?o=0:o=(t.translate-t.minTranslate())/a,o!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function Jre(t){const e=this;Z1(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function eoe(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const TM=(t,e)=>{const n=Gs(),{params:r,el:o,wrapperEl:a,device:i}=t,s=!!r.nested,l=e==="on"?"addEventListener":"removeEventListener",u=e;!o||typeof o=="string"||(n[l]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[l]("touchstart",t.onTouchStart,{passive:!1}),o[l]("pointerdown",t.onTouchStart,{passive:!1}),n[l]("touchmove",t.onTouchMove,{passive:!1,capture:s}),n[l]("pointermove",t.onTouchMove,{passive:!1,capture:s}),n[l]("touchend",t.onTouchEnd,{passive:!0}),n[l]("pointerup",t.onTouchEnd,{passive:!0}),n[l]("pointercancel",t.onTouchEnd,{passive:!0}),n[l]("touchcancel",t.onTouchEnd,{passive:!0}),n[l]("pointerout",t.onTouchEnd,{passive:!0}),n[l]("pointerleave",t.onTouchEnd,{passive:!0}),n[l]("contextmenu",t.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&o[l]("click",t.onClick,!0),r.cssMode&&a[l]("scroll",t.onScroll),r.updateOnWindowResize?t[u](i.ios||i.android?"resize orientationchange observerUpdate":"resize observerUpdate",M5,!0):t[u]("observerUpdate",M5,!0),o[l]("load",t.onLoad,{capture:!0}))};function toe(){const t=this,{params:e}=t;t.onTouchStart=Gre.bind(t),t.onTouchMove=Kre.bind(t),t.onTouchEnd=Xre.bind(t),t.onDocumentTouchStart=eoe.bind(t),e.cssMode&&(t.onScroll=Qre.bind(t)),t.onClick=Zre.bind(t),t.onLoad=Jre.bind(t),TM(t,"on")}function noe(){TM(this,"off")}var roe={attachEvents:toe,detachEvents:noe};const k5=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function ooe(){const t=this,{realIndex:e,initialized:n,params:r,el:o}=t,a=r.breakpoints;if(!a||a&&Object.keys(a).length===0)return;const i=Gs(),s=r.breakpointsBase==="window"||!r.breakpointsBase?r.breakpointsBase:"container",l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?t.el:i.querySelector(r.breakpointsBase),u=t.getBreakpoint(a,s,l);if(!u||t.currentBreakpoint===u)return;const f=(u in a?a[u]:void 0)||t.originalParams,m=k5(t,r),v=k5(t,f),g=t.params.grabCursor,w=f.grabCursor,y=r.enabled;m&&!v?(o.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),t.emitContainerClasses()):!m&&v&&(o.classList.add(`${r.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&r.grid.fill==="column")&&o.classList.add(`${r.containerModifierClass}grid-column`),t.emitContainerClasses()),g&&!w?t.unsetGrabCursor():!g&&w&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(P=>{if(typeof f[P]>"u")return;const O=r[P]&&r[P].enabled,$=f[P]&&f[P].enabled;O&&!$&&t[P].disable(),!O&&$&&t[P].enable()});const _=f.direction&&f.direction!==r.direction,S=r.loop&&(f.slidesPerView!==r.slidesPerView||_),x=r.loop;_&&n&&t.changeDirection(),Co(t.params,f);const C=t.params.enabled,R=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),y&&!C?t.disable():!y&&C&&t.enable(),t.currentBreakpoint=u,t.emit("_beforeBreakpoint",f),n&&(S?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!x&&R?(t.loopCreate(e),t.updateSlides()):x&&!R&&t.loopDestroy()),t.emit("breakpoint",f)}function aoe(t,e,n){if(e===void 0&&(e="window"),!t||e==="container"&&!n)return;let r=!1;const o=Ur(),a=e==="window"?o.innerHeight:n.clientHeight,i=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const l=parseFloat(s.substr(1));return{value:a*l,point:s}}return{value:s,point:s}});i.sort((s,l)=>parseInt(s.value,10)-parseInt(l.value,10));for(let s=0;s<i.length;s+=1){const{point:l,value:u}=i[s];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(r=l):u<=n.clientWidth&&(r=l)}return r||"max"}var ioe={setBreakpoint:ooe,getBreakpoint:aoe};function soe(t,e){const n=[];return t.forEach(r=>{typeof r=="object"?Object.keys(r).forEach(o=>{r[o]&&n.push(e+o)}):typeof r=="string"&&n.push(e+r)}),n}function loe(){const t=this,{classNames:e,params:n,rtl:r,el:o,device:a}=t,i=soe(["initialized",n.direction,{"free-mode":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:a.android},{ios:a.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);e.push(...i),o.classList.add(...e),t.emitContainerClasses()}function coe(){const t=this,{el:e,classNames:n}=t;!e||typeof e=="string"||(e.classList.remove(...n),t.emitContainerClasses())}var uoe={addClasses:loe,removeClasses:coe};function doe(){const t=this,{isLocked:e,params:n}=t,{slidesOffsetBefore:r}=n;if(r){const o=t.slides.length-1,a=t.slidesGrid[o]+t.slidesSizesGrid[o]+r*2;t.isLocked=t.size>a}else t.isLocked=t.snapGrid.length===1;n.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),n.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var foe={checkOverflow:doe},Nv={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function poe(t,e){return function(r){r===void 0&&(r={});const o=Object.keys(r)[0],a=r[o];if(typeof a!="object"||a===null){Co(e,r);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in a)){Co(e,r);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Co(e,r)}}const qg={eventsEmitter:ure,update:_re,translate:kre,transition:Pre,slide:zre,loop:Hre,grabCursor:Ure,events:roe,breakpoints:ioe,checkOverflow:foe,classes:uoe},Ug={};let y3=class Ii{constructor(){let e,n;for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?n=o[0]:[e,n]=o,n||(n={}),n=Co({},n),e&&!n.el&&(n.el=e);const i=Gs();if(n.el&&typeof n.el=="string"&&i.querySelectorAll(n.el).length>1){const d=[];return i.querySelectorAll(n.el).forEach(f=>{const m=Co({},n,{el:f});d.push(new Ii(m))}),d}const s=this;s.__swiper__=!0,s.support=EM(),s.device=MM({userAgent:n.userAgent}),s.browser=kM(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],n.modules&&Array.isArray(n.modules)&&s.modules.push(...n.modules);const l={};s.modules.forEach(d=>{d({params:n,swiper:s,extendParams:poe(n,l),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=Co({},Nv,l);return s.params=Co({},u,Ug,n),s.originalParams=Co({},s.params),s.passedParams=Co({},n),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:n,params:r}=this,o=ga(n,`.${r.slideClass}, swiper-slide`),a=B0(o[0]);return B0(e)-a}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(n=>n.getAttribute("data-swiper-slide-index")*1===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?e=Math.floor(e/this.params.grid.rows):this.params.grid.fill==="row"&&(e=e%Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const e=this,{slidesEl:n,params:r}=e;e.slides=ga(n,`.${r.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,n){const r=this;e=Math.min(Math.max(e,0),1);const o=r.minTranslate(),i=(r.maxTranslate()-o)*e+o;r.translateTo(i,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=e.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",n.join(" "))}getSlideClasses(e){const n=this;return n.destroyed?"":e.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=[];e.slides.forEach(r=>{const o=e.getSlideClasses(r);n.push({slideEl:r,classNames:o}),e.emit("_slideClass",r,o)}),e.emit("_slideClasses",n)}slidesPerViewDynamic(e,n){e===void 0&&(e="current"),n===void 0&&(n=!1);const r=this,{params:o,slides:a,slidesGrid:i,slidesSizesGrid:s,size:l,activeIndex:u}=r;let d=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let f=a[u]?Math.ceil(a[u].swiperSlideSize):0,m;for(let v=u+1;v<a.length;v+=1)a[v]&&!m&&(f+=Math.ceil(a[v].swiperSlideSize),d+=1,f>l&&(m=!0));for(let v=u-1;v>=0;v-=1)a[v]&&!m&&(f+=a[v].swiperSlideSize,d+=1,f>l&&(m=!0))}else if(e==="current")for(let f=u+1;f<a.length;f+=1)(n?i[f]+s[f]-i[u]<l:i[f]-i[u]<l)&&(d+=1);else for(let f=u-1;f>=0;f-=1)i[u]-i[f]<l&&(d+=1);return d}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:n,params:r}=e;r.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(i=>{i.complete&&Z1(e,i)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const i=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(i,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)o(),r.autoHeight&&e.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const i=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(i.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||o()}r.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,n){n===void 0&&(n=!0);const r=this,o=r.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${o}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEach(a=>{e==="vertical"?a.style.width="":a.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(e){const n=this;n.rtl&&e==="rtl"||!n.rtl&&e==="ltr"||(n.rtl=e==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(e){const n=this;if(n.mounted)return!0;let r=e||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const o=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(o()):ga(r,o())[0];return!i&&n.params.createElements&&(i=yu("div",n.params.wrapperClass),r.append(i),ga(r,`.${n.params.slideClass}`).forEach(s=>{i.append(s)})),Object.assign(n,{el:r,wrapperEl:i,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:i,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||As(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||As(r,"direction")==="rtl"),wrongRTL:As(i,"display")==="-webkit-box"}),!0}init(e){const n=this;if(n.initialized||n.mount(e)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(void 0,!0),n.attachEvents();const o=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&o.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(a=>{a.complete?Z1(n,a):a.addEventListener("load",i=>{Z1(n,i.target)})}),Tv(n),n.initialized=!0,Tv(n),n.emit("init"),n.emit("afterInit"),n}destroy(e,n){e===void 0&&(e=!0),n===void 0&&(n=!0);const r=this,{params:o,el:a,wrapperEl:i,slides:s}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),o.loop&&r.loopDestroy(),n&&(r.removeClasses(),a&&typeof a!="string"&&a.removeAttribute("style"),i&&i.removeAttribute("style"),s&&s.length&&s.forEach(l=>{l.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),e!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),Hne(r)),r.destroyed=!0),null}static extendDefaults(e){Co(Ug,e)}static get extendedDefaults(){return Ug}static get defaults(){return Nv}static installModule(e){Ii.prototype.__modules__||(Ii.prototype.__modules__=[]);const n=Ii.prototype.__modules__;typeof e=="function"&&n.indexOf(e)<0&&n.push(e)}static use(e){return Array.isArray(e)?(e.forEach(n=>Ii.installModule(n)),Ii):(Ii.installModule(e),Ii)}};Object.keys(qg).forEach(t=>{Object.keys(qg[t]).forEach(e=>{y3.prototype[e]=qg[t][e]})});y3.use([lre,cre]);const NM=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function ql(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function su(t,e){const n=["__proto__","constructor","prototype"];Object.keys(e).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof t[r]>"u"?t[r]=e[r]:ql(e[r])&&ql(t[r])&&Object.keys(e[r]).length>0?e[r].__swiper__?t[r]=e[r]:su(t[r],e[r]):t[r]=e[r]})}function PM(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function AM(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function IM(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function OM(t){t===void 0&&(t="");const e=t.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return e.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function hoe(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function moe(t){let{swiper:e,slides:n,passedParams:r,changedParams:o,nextEl:a,prevEl:i,scrollbarEl:s,paginationEl:l}=t;const u=o.filter(A=>A!=="children"&&A!=="direction"&&A!=="wrapperClass"),{params:d,pagination:f,navigation:m,scrollbar:v,virtual:g,thumbs:w}=e;let y,_,S,x,C,R,P,O;o.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&!r.thumbs.swiper.destroyed&&d.thumbs&&(!d.thumbs.swiper||d.thumbs.swiper.destroyed)&&(y=!0),o.includes("controller")&&r.controller&&r.controller.control&&d.controller&&!d.controller.control&&(_=!0),o.includes("pagination")&&r.pagination&&(r.pagination.el||l)&&(d.pagination||d.pagination===!1)&&f&&!f.el&&(S=!0),o.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&v&&!v.el&&(x=!0),o.includes("navigation")&&r.navigation&&(r.navigation.prevEl||i)&&(r.navigation.nextEl||a)&&(d.navigation||d.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(C=!0);const $=A=>{e[A]&&(e[A].destroy(),A==="navigation"?(e.isElement&&(e[A].prevEl.remove(),e[A].nextEl.remove()),d[A].prevEl=void 0,d[A].nextEl=void 0,e[A].prevEl=void 0,e[A].nextEl=void 0):(e.isElement&&e[A].el.remove(),d[A].el=void 0,e[A].el=void 0))};o.includes("loop")&&e.isElement&&(d.loop&&!r.loop?R=!0:!d.loop&&r.loop?P=!0:O=!0),u.forEach(A=>{if(ql(d[A])&&ql(r[A]))Object.assign(d[A],r[A]),(A==="navigation"||A==="pagination"||A==="scrollbar")&&"enabled"in r[A]&&!r[A].enabled&&$(A);else{const M=r[A];(M===!0||M===!1)&&(A==="navigation"||A==="pagination"||A==="scrollbar")?M===!1&&$(A):d[A]=r[A]}}),u.includes("controller")&&!_&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),o.includes("children")&&n&&g&&d.virtual.enabled?(g.slides=n,g.update(!0)):o.includes("virtual")&&g&&d.virtual.enabled&&(n&&(g.slides=n),g.update(!0)),o.includes("children")&&n&&d.loop&&(O=!0),y&&w.init()&&w.update(!0),_&&(e.controller.control=d.controller.control),S&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),e.el.appendChild(l)),l&&(d.pagination.el=l),f.init(),f.render(),f.update()),x&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),v.init(),v.updateSize(),v.setTranslate()),C&&(e.isElement&&((!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-next"),_u(a,e.hostEl.constructor.nextButtonSvg),a.part.add("button-next"),e.el.appendChild(a)),(!i||typeof i=="string")&&(i=document.createElement("div"),i.classList.add("swiper-button-prev"),_u(i,e.hostEl.constructor.prevButtonSvg),i.part.add("button-prev"),e.el.appendChild(i))),a&&(d.navigation.nextEl=a),i&&(d.navigation.prevEl=i),m.init(),m.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=r.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=r.allowSlidePrev),o.includes("direction")&&e.changeDirection(r.direction,!1),(R||O)&&e.loopDestroy(),(P||O)&&e.loopCreate(),e.update()}function goe(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const n={on:{}},r={},o={};su(n,Nv),n._emitClasses=!0,n.init=!1;const a={},i=NM.map(l=>l.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(l=>{typeof t[l]>"u"||(i.indexOf(l)>=0?ql(t[l])?(n[l]={},o[l]={},su(n[l],t[l]),su(o[l],t[l])):(n[l]=t[l],o[l]=t[l]):l.search(/on[A-Z]/)===0&&typeof t[l]=="function"?e?r[`${l[2].toLowerCase()}${l.substr(3)}`]=t[l]:n.on[`${l[2].toLowerCase()}${l.substr(3)}`]=t[l]:a[l]=t[l])}),["navigation","pagination","scrollbar"].forEach(l=>{n[l]===!0&&(n[l]={}),n[l]===!1&&delete n[l]}),{params:n,passedParams:o,rest:a,events:r}}function voe(t,e){let{el:n,nextEl:r,prevEl:o,paginationEl:a,scrollbarEl:i,swiper:s}=t;PM(e)&&r&&o&&(s.params.navigation.nextEl=r,s.originalParams.navigation.nextEl=r,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),AM(e)&&a&&(s.params.pagination.el=a,s.originalParams.pagination.el=a),IM(e)&&i&&(s.params.scrollbar.el=i,s.originalParams.scrollbar.el=i),s.init(n)}function woe(t,e,n,r,o){const a=[];if(!e)return a;const i=l=>{a.indexOf(l)<0&&a.push(l)};if(n&&r){const l=r.map(o),u=n.map(o);l.join("")!==u.join("")&&i("children"),r.length!==n.length&&i("children")}return NM.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in t&&l in e)if(ql(t[l])&&ql(e[l])){const u=Object.keys(t[l]),d=Object.keys(e[l]);u.length!==d.length?i(l):(u.forEach(f=>{t[l][f]!==e[l][f]&&i(l)}),d.forEach(f=>{t[l][f]!==e[l][f]&&i(l)}))}else t[l]!==e[l]&&i(l)}),a}const boe=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.emit("_virtualUpdated"),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())},Zn=await q("react"),{useEffect:Pv,useLayoutEffect:yoe,useContext:G2e,createContext:LM,forwardRef:$M,useState:Wd,useRef:Ya}=Zn;function z0(){return z0=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},z0.apply(this,arguments)}function DM(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function BM(t){const e=[];return Zn.Children.toArray(t).forEach(n=>{DM(n)?e.push(n):n.props&&n.props.children&&BM(n.props.children).forEach(r=>e.push(r))}),e}function _oe(t){const e=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return Zn.Children.toArray(t).forEach(r=>{if(DM(r))e.push(r);else if(r.props&&r.props.slot&&n[r.props.slot])n[r.props.slot].push(r);else if(r.props&&r.props.children){const o=BM(r.props.children);o.length>0?o.forEach(a=>e.push(a)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:e,slots:n}}function xoe(t,e,n){if(!n)return null;const r=d=>{let f=d;return d<0?f=e.length+d:f>=e.length&&(f=f-e.length),f},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:a,to:i}=n,s=t.params.loop?-e.length:0,l=t.params.loop?e.length*2:e.length,u=[];for(let d=s;d<l;d+=1)d>=a&&d<=i&&u.push(e[r(d)]);return u.map((d,f)=>Zn.cloneElement(d,{swiper:t,style:o,key:d.props.virtualIndex||d.key||`slide-${f}`}))}function qd(t,e){return typeof window>"u"?Pv(t,e):yoe(t,e)}const R5=LM(null),Soe=LM(null),Ih=$M(function(t,e){let{className:n,tag:r="div",wrapperTag:o="div",children:a,onSwiper:i,...s}=t===void 0?{}:t,l=!1;const[u,d]=Wd("swiper"),[f,m]=Wd(null),[v,g]=Wd(!1),w=Ya(!1),y=Ya(null),_=Ya(null),S=Ya(null),x=Ya(null),C=Ya(null),R=Ya(null),P=Ya(null),O=Ya(null),{params:$,passedParams:A,rest:M,events:L}=goe(s),{slides:B,slots:F}=_oe(a),N=()=>{g(!v)};Object.assign($.on,{_containerClasses(U,Y){d(Y)}});const V=()=>{Object.assign($.on,L),l=!0;const U={...$};if(delete U.wrapperClass,_.current=new y3(U),_.current.virtual&&_.current.params.virtual.enabled){_.current.virtual.slides=B;const Y={cache:!1,slides:B,renderExternal:m,renderExternalUpdate:!1};su(_.current.params.virtual,Y),su(_.current.originalParams.virtual,Y)}};y.current||V(),_.current&&_.current.on("_beforeBreakpoint",N);const z=()=>{l||!L||!_.current||Object.keys(L).forEach(U=>{_.current.on(U,L[U])})},I=()=>{!L||!_.current||Object.keys(L).forEach(U=>{_.current.off(U,L[U])})};Pv(()=>()=>{_.current&&_.current.off("_beforeBreakpoint",N)}),Pv(()=>{!w.current&&_.current&&(_.current.emitSlidesClasses(),w.current=!0)}),qd(()=>{if(e&&(e.current=y.current),!!y.current)return _.current.destroyed&&V(),voe({el:y.current,nextEl:C.current,prevEl:R.current,paginationEl:P.current,scrollbarEl:O.current,swiper:_.current},$),i&&!_.current.destroyed&&i(_.current),()=>{_.current&&!_.current.destroyed&&_.current.destroy(!0,!1)}},[]),qd(()=>{z();const U=woe(A,S.current,B,x.current,Y=>Y.key);return S.current=A,x.current=B,U.length&&_.current&&!_.current.destroyed&&moe({swiper:_.current,slides:B,passedParams:A,changedParams:U,nextEl:C.current,prevEl:R.current,scrollbarEl:O.current,paginationEl:P.current}),()=>{I()}}),qd(()=>{boe(_.current)},[f]);function D(){return $.virtual?xoe(_.current,B,f):B.map((U,Y)=>Zn.cloneElement(U,{swiper:_.current,swiperSlideIndex:Y}))}return Zn.createElement(r,z0({ref:y,className:OM(`${u}${n?` ${n}`:""}`)},M),Zn.createElement(Soe.Provider,{value:_.current},F["container-start"],Zn.createElement(o,{className:hoe($.wrapperClass)},F["wrapper-start"],D(),F["wrapper-end"]),PM($)&&Zn.createElement(Zn.Fragment,null,Zn.createElement("div",{ref:R,className:"swiper-button-prev"}),Zn.createElement("div",{ref:C,className:"swiper-button-next"})),IM($)&&Zn.createElement("div",{ref:O,className:"swiper-scrollbar"}),AM($)&&Zn.createElement("div",{ref:P,className:"swiper-pagination"}),F["container-end"]))});Ih.displayName="Swiper";const Oh=$M(function(t,e){let{tag:n="div",children:r,className:o="",swiper:a,zoom:i,lazy:s,virtualIndex:l,swiperSlideIndex:u,...d}=t===void 0?{}:t;const f=Ya(null),[m,v]=Wd("swiper-slide"),[g,w]=Wd(!1);function y(C,R,P){R===f.current&&v(P)}qd(()=>{if(typeof u<"u"&&(f.current.swiperSlideIndex=u),e&&(e.current=f.current),!(!f.current||!a)){if(a.destroyed){m!=="swiper-slide"&&v("swiper-slide");return}return a.on("_slideClass",y),()=>{a&&a.off("_slideClass",y)}}}),qd(()=>{a&&f.current&&!a.destroyed&&v(a.getSlideClasses(f.current))},[a]);const _={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},S=()=>typeof r=="function"?r(_):r,x=()=>{w(!0)};return Zn.createElement(n,z0({ref:f,className:OM(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":l,onLoad:x},d),i&&Zn.createElement(R5.Provider,{value:_},Zn.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof i=="number"?i:void 0},S(),s&&!g&&Zn.createElement("div",{className:"swiper-lazy-preloader"}))),!i&&Zn.createElement(R5.Provider,{value:_},S(),s&&!g&&Zn.createElement("div",{className:"swiper-lazy-preloader"})))});Oh.displayName="SwiperSlide";const Coe={"carousel-wrapper":"_carousel-wrapper_3oi1q_39","carousel-navigation":"_carousel-navigation_3oi1q_43","carousel-swiper":"_carousel-swiper_3oi1q_46","nav-prev-btn":"_nav-prev-btn_3oi1q_100","nav-next-btn":"_nav-next-btn_3oi1q_103","carousel-pagination":"_carousel-pagination_3oi1q_116"},{forwardRef:Eoe,useImperativeHandle:Moe}=await q("react"),{Children:koe,useCallback:T5,useEffect:Roe,useMemo:N5,useRef:P5,useState:A5}=await q("react"),Lc=rn(Coe,"rb-ui"),I5=Oh,Toe=Ih,Noe=Eoe(({className:t,isLoading:e=!1,skeletonCount:n=3,skeletonElement:r=null,children:o,modules:a=[],effect:i="slide",spaceBetween:s=10,breakpoints:l,slidesPerView:u=1,threshold:d=5,longSwipesMs:f=1e3,initialSlide:m=0,speed:v=1e3,loop:g=!0,autoplay:w=!1,allowTouchMove:y=!0,navigation:_=!1,pagination:S=!1,prevButton:x=h(c$,{}),nextButton:C=h(l$,{}),onSlideChangeTransitionEnd:R,handleOnSlideChangeTransitionEnd:P,onSlideChange:O,onSwiper:$,onUpdate:A,onPrevButtonClick:M,onNextButtonClick:L,...B},F)=>{const N=P5(null),V=P5(null),z=!!B.virtual,[I,D]=A5(),[U,Y]=A5(),oe=N5(()=>e?Array.from({length:n},(ee,te)=>h(I5,{virtualIndex:z?te:void 0,children:r},`slide-item-${te}`)):koe.toArray(o).map((ee,te)=>h(I5,{virtualIndex:z?te:void 0,children:ee},`slide-item-${te}`)),[e,o,n,r,z]),Q=N5(()=>String(Math.random()).replace(".",""),[]),re=T5(ee=>{const te=(u==="auto"?1:u)-1;return ee===0?"first":ee===oe.length-1-te?"last":"middle"},[u,oe]),le=T5(ee=>{N.current=ee,$?.(ee)},[$]);return Roe(()=>{N.current&&_&&(N.current.navigation.prevEl=I,N.current.navigation.nextEl=U)},[_,U,I]),Moe(F,()=>N.current),ne("div",{className:Lc("carousel-wrapper",t),children:[h("div",{className:Lc("carousel-swiper"),children:h(Toe,{modules:[Qne,Jne,ere,ore,...z?[Zne]:[],...a],effect:i,slidesPerView:u,initialSlide:m,speed:v,threshold:d,longSwipesMs:f,loop:g,autoplay:w,allowTouchMove:y,breakpoints:l,spaceBetween:s,onSlideChangeTransitionEnd:ee=>{R?.(ee);const{realIndex:te,activeIndex:ue,previousIndex:ve}=ee,we=re(te);P?.({realIndex:te,position:we,direction:ue-ve>0?"next":"prev"})},onSlideChange:O,onSwiper:le,onUpdate:A,navigation:_?{prevEl:I,nextEl:U,...typeof _=="boolean"?{}:_}:!1,pagination:S?{clickable:!0,el:`#pagination-${Q}`,...typeof S=="boolean"?{}:S}:!1,...B,style:{...B.style,width:u==="auto"?"auto":""},children:oe})}),_&&ne("div",{className:Lc("carousel-navigation"),children:[h("button",{ref:D,className:Lc("nav-prev-btn"),onClick:M,children:x}),h("button",{ref:Y,className:Lc("nav-next-btn"),onClick:L,children:C})]}),S&&h("div",{ref:V,id:`pagination-${Q}`,className:Lc("carousel-pagination")})]})});Noe.displayName="Carousel";const Poe="_checkbox_49j8a_40",Aoe="_readonly_49j8a_52",Ioe="_disabled_49j8a_56",Ooe="_icon_49j8a_60",Loe="_check_49j8a_40",$oe="_partial_49j8a_134",Doe="_text_49j8a_137",Boe="_small_49j8a_174",zoe={checkbox:Poe,readonly:Aoe,disabled:Ioe,"ico-check":"_ico-check_49j8a_60",icon:Ooe,check:Loe,partial:$oe,text:Doe,small:Boe},{forwardRef:Foe,useCallback:Voe,useEffect:O5,useId:joe,useImperativeHandle:Hoe,useMemo:L5,useRef:Woe}=await q("react"),$c=rn(zoe,"rb-ui"),zM=Foe((t,e)=>{const{className:n="",name:r,size:o="normal",checkValue:a=!0,unCheckValue:i=!1,value:s,children:l,disabled:u,readOnly:d,onChange:f,onBlur:m,onFocus:v,handleChange:g}=t,w=Woe(null),y=joe(),_=L5(()=>{if(!(typeof s>"u"))return Array.isArray(a)&&Array.isArray(s)?s.length===a.length&&s.every(C=>a.includes(C)):Array.isArray(s)?s.includes(a):s===a},[s,a]),S=L5(()=>_?!1:Array.isArray(a)&&Array.isArray(s)?s.length!==a.length&&s.some(C=>a.includes(C)):!1,[_,a,s]),x=Voe(C=>{const{name:R,checked:P}=C.target,O=`input[name="${R}"]`,$=document.querySelectorAll(O);if(Array.isArray(a)&&Array.isArray(s)){g?.(s.length>0?[]:a,R);return}if($.length>1||Array.isArray(s)){const A=document.querySelectorAll(`${O}:checked`);let M=[];const L=a,B=s?[...s]:void 0;for(let F=0;F<A.length;F+=1){const N=typeof a=="number"?Number(A[F].value):A[F].value;M.findIndex(z=>z===N)===-1&&M.push(N)}B&&typeof L<"u"&&B.push(L),M=B?B.filter(F=>M.includes(F)):kn.uniq(M),g?.(M,R)}else g?.(P?a:i,R);f?.(C)},[s,i,g,f,a]);return O5(()=>{const C=`input[name="${r||y}"]`;if(document.querySelectorAll(C).length>1||Array.isArray(s)){if(typeof a=="boolean")throw new Error("여러개의 동일한 name 값을 갖거나 data가 배열로 전달된 CheckBox는 boolean타입의 value를 받을 수 없습니다.")}else if(Array.isArray(s))throw new Error("단일의 name 값을 갖는 CheckBox는 배열 타입의 data를 가질 수 없습니다.")},[s,r,y,a]),O5(()=>{w.current&&(w.current.indeterminate=S)},[S]),Hoe(e,()=>w.current),h("div",{className:$c(n,"checkbox",o,{readonly:d,disabled:u,"not-allow":d||u}),children:ne("label",{children:[h("input",{ref:w,type:"checkbox",name:Array.isArray(a)?y:r||y,value:String(a),checked:_,readOnly:d,disabled:u,onBlur:m,onFocus:v,onChange:x}),h("span",{className:$c("ico-check"),children:h("i",{className:$c("icon"),children:S?h(p8,{className:$c("partial")}):h(f8,{className:$c("check")})})}),h("span",{className:$c("text"),children:l})]})})});zM.displayName="CheckBox";const qoe={"check-button":"_check-button_18j0k_39","check-button-text":"_check-button-text_18j0k_44"},{forwardRef:Uoe}=await q("react"),$5=rn(qoe,"rb-ui"),Yoe=Uoe(({className:t="",children:e,rippleOption:n={disabled:!0},...r},o)=>h(Rr,{...n,children:h(zM,{ref:o,className:$5(t,"check-button"),...r,children:h("div",{className:$5("check-button-text"),children:e})})}));Yoe.displayName="CheckButton";const Goe="_disabled_1utli_44",Koe="_slider_1utli_44",Xoe="_range_1utli_39",Zoe="_track_1utli_112",Qoe={"range-input":"_range-input_1utli_39",disabled:Goe,slider:Koe,range:Xoe,"range-area":"_range-area_1utli_53",track:Zoe,"input-box":"_input-box_1utli_139"},{forwardRef:Joe,useCallback:Kp,useEffect:D5,useImperativeHandle:eae,useMemo:tae,useRef:ud,useState:nae}=await q("react"),ja=rn(Qoe,"rb-ui"),rae=Joe((t,e)=>{const{className:n="",value:r,name:o,min:a,max:i,step:s=1,thumbSize:l=26,sliderHeight:u=6,thumbBorderColor:d,thumbColor:f,trackColor:m,rangeColor:v,showTextInput:g=!0,handleChange:w,onChange:y}=t,_=ud([a,i]),S=ud(null),x=ud(null),C=ud(null),R=ud(null),[P,O]=nae([a,i]),$=tae(()=>P.map(F=>(F-a)/(i-a)*100),[P,a,i]),A=Kp(()=>{!C.current||!R.current||(C.current.value=Wo(P[0]),R.current.value=Wo(P[1]),C.current.style.width=`${C.current.scrollWidth}px`,R.current.style.width=`${R.current.scrollWidth}px`)},[P]),M=Kp(F=>{F.key==="Enter"&&!F.nativeEvent.isComposing&&(C.current.blur(),R.current.blur())},[]),L=Kp((F,N,V=!1)=>{if(g&&(!C.current||!R.current))return;const{value:z}=N.target;if(F==="left"){let I=Math.min(Dl(z),P[1]-s);I=I>a?I:a,O([I,P[1]]),V&&w?.([I,P[1]],o),C.current.value=Wo(I)}else{let I=Math.max(Dl(z),P[0]+s);I=I<=i?I:i,O([P[0],I]),V&&w?.([P[0],I],o),R.current.value=Wo(I)}y?.(N),A()},[y,g,A,w,o,P,s,a,i]),B=Kp(()=>{P.some((F,N)=>F!==_.current[N])&&(_.current=[...P],w?.(P,o))},[P,o,w]);return D5(()=>{A()},[A]),D5(()=>{typeof r<"u"&&(O(r),_.current=[...r])},[r]),eae(e,()=>({focus:S.current.focus})),ne("div",{className:ja("range-input",n,{disabled:a===i}),style:{"--mri-thumb-size":`${l}px`,"--mri-slider-height":`${u}px`,"--mri-thumb-border-color":d,"--mri-thumb-color":f,"--mri-track-color":m,"--mri-range-color":v},children:[h("div",{className:ja("range-area"),children:ne("div",{children:[h("input",{ref:S,type:"range",value:P[0],min:a,max:i,step:s,onChange:F=>L("left",F),onMouseUp:B,onMouseLeave:B,onTouchEnd:B}),h("input",{ref:x,type:"range",value:P[1],id:"input-right",min:a,max:i,step:s,onChange:F=>L("right",F),onMouseUp:B,onMouseLeave:B,onTouchEnd:B}),ne("div",{className:ja("slider"),children:[h("div",{className:ja("track")}),h("div",{className:ja("range"),style:{left:`${$[0]}%`,right:`${100-$[1]}%`}}),h("div",{className:ja("thumb","left"),style:{left:`${$[0]}%`}}),h("div",{className:ja("thumb","right"),style:{right:`${100-$[1]}%`}})]})]})}),g&&ne("div",{className:ja("range-input"),children:[ne("div",{className:ja("input-box"),children:[h("label",{htmlFor:"rangeMinInput",children:"min"}),h("input",{ref:C,type:"text",inputMode:"numeric",defaultValue:P[0],disabled:a===i,onBlur:F=>L("left",F,!0),onKeyDown:M})]}),ne("div",{className:ja("input-box"),children:[h("label",{htmlFor:"rangeMaxInput",children:"max"}),h("input",{ref:R,type:"text",inputMode:"numeric",defaultValue:P[1],disabled:a===i,onBlur:F=>L("right",F,!0),onKeyDown:M})]})]})]})});rae.displayName="MultiRangeInput";/*!
198
+ * decimal.js v10.6.0
199
+ * An arbitrary-precision Decimal type for JavaScript.
200
+ * https://github.com/MikeMcl/decimal.js
201
+ * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
202
+ * MIT Licence
203
+ */var tu=9e15,Ks=1e9,Av="0123456789abcdef",F0="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",V0="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Iv={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-tu,maxE:tu,crypto:!1},FM,$i,Ot=!0,Lh="[DecimalError] ",Vs=Lh+"Invalid argument: ",VM=Lh+"Precision limit exceeded",jM=Lh+"crypto unavailable",HM="[object Decimal]",Nr=Math.floor,ir=Math.pow,oae=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,aae=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,iae=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,WM=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ba=1e7,Rt=7,sae=9007199254740991,lae=F0.length-1,Ov=V0.length-1,je={toStringTag:HM};je.absoluteValue=je.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),gt(t)};je.ceil=function(){return gt(new this.constructor(this),this.e+1,2)};je.clampedTo=je.clamp=function(t,e){var n,r=this,o=r.constructor;if(t=new o(t),e=new o(e),!t.s||!e.s)return new o(NaN);if(t.gt(e))throw Error(Vs+e);return n=r.cmp(t),n<0?t:r.cmp(e)>0?e:new o(r)};je.comparedTo=je.cmp=function(t){var e,n,r,o,a=this,i=a.d,s=(t=new a.constructor(t)).d,l=a.s,u=t.s;if(!i||!s)return!l||!u?NaN:l!==u?l:i===s?0:!i^l<0?1:-1;if(!i[0]||!s[0])return i[0]?l:s[0]?-u:0;if(l!==u)return l;if(a.e!==t.e)return a.e>t.e^l<0?1:-1;for(r=i.length,o=s.length,e=0,n=r<o?r:o;e<n;++e)if(i[e]!==s[e])return i[e]>s[e]^l<0?1:-1;return r===o?0:r>o^l<0?1:-1};je.cosine=je.cos=function(){var t,e,n=this,r=n.constructor;return n.d?n.d[0]?(t=r.precision,e=r.rounding,r.precision=t+Math.max(n.e,n.sd())+Rt,r.rounding=1,n=cae(r,KM(r,n)),r.precision=t,r.rounding=e,gt($i==2||$i==3?n.neg():n,t,e,!0)):new r(1):new r(NaN)};je.cubeRoot=je.cbrt=function(){var t,e,n,r,o,a,i,s,l,u,d=this,f=d.constructor;if(!d.isFinite()||d.isZero())return new f(d);for(Ot=!1,a=d.s*ir(d.s*d,1/3),!a||Math.abs(a)==1/0?(n=wr(d.d),t=d.e,(a=(t-n.length+1)%3)&&(n+=a==1||a==-2?"0":"00"),a=ir(n,1/3),t=Nr((t+1)/3)-(t%3==(t<0?-1:2)),a==1/0?n="5e"+t:(n=a.toExponential(),n=n.slice(0,n.indexOf("e")+1)+t),r=new f(n),r.s=d.s):r=new f(a.toString()),i=(t=f.precision)+3;;)if(s=r,l=s.times(s).times(s),u=l.plus(d),r=En(u.plus(d).times(s),u.plus(l),i+2,1),wr(s.d).slice(0,i)===(n=wr(r.d)).slice(0,i))if(n=n.slice(i-3,i+1),n=="9999"||!o&&n=="4999"){if(!o&&(gt(s,t+1,0),s.times(s).times(s).eq(d))){r=s;break}i+=4,o=1}else{(!+n||!+n.slice(1)&&n.charAt(0)=="5")&&(gt(r,t+1,1),e=!r.times(r).times(r).eq(d));break}return Ot=!0,gt(r,t,f.rounding,e)};je.decimalPlaces=je.dp=function(){var t,e=this.d,n=NaN;if(e){if(t=e.length-1,n=(t-Nr(this.e/Rt))*Rt,t=e[t],t)for(;t%10==0;t/=10)n--;n<0&&(n=0)}return n};je.dividedBy=je.div=function(t){return En(this,new this.constructor(t))};je.dividedToIntegerBy=je.divToInt=function(t){var e=this,n=e.constructor;return gt(En(e,new n(t),0,1,1),n.precision,n.rounding)};je.equals=je.eq=function(t){return this.cmp(t)===0};je.floor=function(){return gt(new this.constructor(this),this.e+1,3)};je.greaterThan=je.gt=function(t){return this.cmp(t)>0};je.greaterThanOrEqualTo=je.gte=function(t){var e=this.cmp(t);return e==1||e===0};je.hyperbolicCosine=je.cosh=function(){var t,e,n,r,o,a=this,i=a.constructor,s=new i(1);if(!a.isFinite())return new i(a.s?1/0:NaN);if(a.isZero())return s;n=i.precision,r=i.rounding,i.precision=n+Math.max(a.e,a.sd())+4,i.rounding=1,o=a.d.length,o<32?(t=Math.ceil(o/3),e=(1/Dh(4,t)).toString()):(t=16,e="2.3283064365386962890625e-10"),a=xu(i,1,a.times(e),new i(1),!0);for(var l,u=t,d=new i(8);u--;)l=a.times(a),a=s.minus(l.times(d.minus(l.times(d))));return gt(a,i.precision=n,i.rounding=r,!0)};je.hyperbolicSine=je.sinh=function(){var t,e,n,r,o=this,a=o.constructor;if(!o.isFinite()||o.isZero())return new a(o);if(e=a.precision,n=a.rounding,a.precision=e+Math.max(o.e,o.sd())+4,a.rounding=1,r=o.d.length,r<3)o=xu(a,2,o,o,!0);else{t=1.4*Math.sqrt(r),t=t>16?16:t|0,o=o.times(1/Dh(5,t)),o=xu(a,2,o,o,!0);for(var i,s=new a(5),l=new a(16),u=new a(20);t--;)i=o.times(o),o=o.times(s.plus(i.times(l.times(i).plus(u))))}return a.precision=e,a.rounding=n,gt(o,e,n,!0)};je.hyperbolicTangent=je.tanh=function(){var t,e,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(t=r.precision,e=r.rounding,r.precision=t+7,r.rounding=1,En(n.sinh(),n.cosh(),r.precision=t,r.rounding=e)):new r(n.s)};je.inverseCosine=je.acos=function(){var t=this,e=t.constructor,n=t.abs().cmp(1),r=e.precision,o=e.rounding;return n!==-1?n===0?t.isNeg()?Qa(e,r,o):new e(0):new e(NaN):t.isZero()?Qa(e,r+4,o).times(.5):(e.precision=r+6,e.rounding=1,t=new e(1).minus(t).div(t.plus(1)).sqrt().atan(),e.precision=r,e.rounding=o,t.times(2))};je.inverseHyperbolicCosine=je.acosh=function(){var t,e,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(t=r.precision,e=r.rounding,r.precision=t+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,Ot=!1,n=n.times(n).minus(1).sqrt().plus(n),Ot=!0,r.precision=t,r.rounding=e,n.ln()):new r(n)};je.inverseHyperbolicSine=je.asinh=function(){var t,e,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(t=r.precision,e=r.rounding,r.precision=t+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,Ot=!1,n=n.times(n).plus(1).sqrt().plus(n),Ot=!0,r.precision=t,r.rounding=e,n.ln())};je.inverseHyperbolicTangent=je.atanh=function(){var t,e,n,r,o=this,a=o.constructor;return o.isFinite()?o.e>=0?new a(o.abs().eq(1)?o.s/0:o.isZero()?o:NaN):(t=a.precision,e=a.rounding,r=o.sd(),Math.max(r,t)<2*-o.e-1?gt(new a(o),t,e,!0):(a.precision=n=r-o.e,o=En(o.plus(1),new a(1).minus(o),n+t,1),a.precision=t+4,a.rounding=1,o=o.ln(),a.precision=t,a.rounding=e,o.times(.5))):new a(NaN)};je.inverseSine=je.asin=function(){var t,e,n,r,o=this,a=o.constructor;return o.isZero()?new a(o):(e=o.abs().cmp(1),n=a.precision,r=a.rounding,e!==-1?e===0?(t=Qa(a,n+4,r).times(.5),t.s=o.s,t):new a(NaN):(a.precision=n+6,a.rounding=1,o=o.div(new a(1).minus(o.times(o)).sqrt().plus(1)).atan(),a.precision=n,a.rounding=r,o.times(2)))};je.inverseTangent=je.atan=function(){var t,e,n,r,o,a,i,s,l,u=this,d=u.constructor,f=d.precision,m=d.rounding;if(u.isFinite()){if(u.isZero())return new d(u);if(u.abs().eq(1)&&f+4<=Ov)return i=Qa(d,f+4,m).times(.25),i.s=u.s,i}else{if(!u.s)return new d(NaN);if(f+4<=Ov)return i=Qa(d,f+4,m).times(.5),i.s=u.s,i}for(d.precision=s=f+10,d.rounding=1,n=Math.min(28,s/Rt+2|0),t=n;t;--t)u=u.div(u.times(u).plus(1).sqrt().plus(1));for(Ot=!1,e=Math.ceil(s/Rt),r=1,l=u.times(u),i=new d(u),o=u;t!==-1;)if(o=o.times(l),a=i.minus(o.div(r+=2)),o=o.times(l),i=a.plus(o.div(r+=2)),i.d[e]!==void 0)for(t=e;i.d[t]===a.d[t]&&t--;);return n&&(i=i.times(2<<n-1)),Ot=!0,gt(i,d.precision=f,d.rounding=m,!0)};je.isFinite=function(){return!!this.d};je.isInteger=je.isInt=function(){return!!this.d&&Nr(this.e/Rt)>this.d.length-2};je.isNaN=function(){return!this.s};je.isNegative=je.isNeg=function(){return this.s<0};je.isPositive=je.isPos=function(){return this.s>0};je.isZero=function(){return!!this.d&&this.d[0]===0};je.lessThan=je.lt=function(t){return this.cmp(t)<0};je.lessThanOrEqualTo=je.lte=function(t){return this.cmp(t)<1};je.logarithm=je.log=function(t){var e,n,r,o,a,i,s,l,u=this,d=u.constructor,f=d.precision,m=d.rounding,v=5;if(t==null)t=new d(10),e=!0;else{if(t=new d(t),n=t.d,t.s<0||!n||!n[0]||t.eq(1))return new d(NaN);e=t.eq(10)}if(n=u.d,u.s<0||!n||!n[0]||u.eq(1))return new d(n&&!n[0]?-1/0:u.s!=1?NaN:n?0:1/0);if(e)if(n.length>1)a=!0;else{for(o=n[0];o%10===0;)o/=10;a=o!==1}if(Ot=!1,s=f+v,i=Is(u,s),r=e?j0(d,s+10):Is(t,s),l=En(i,r,s,1),cf(l.d,o=f,m))do if(s+=10,i=Is(u,s),r=e?j0(d,s+10):Is(t,s),l=En(i,r,s,1),!a){+wr(l.d).slice(o+1,o+15)+1==1e14&&(l=gt(l,f+1,0));break}while(cf(l.d,o+=10,m));return Ot=!0,gt(l,f,m)};je.minus=je.sub=function(t){var e,n,r,o,a,i,s,l,u,d,f,m,v=this,g=v.constructor;if(t=new g(t),!v.d||!t.d)return!v.s||!t.s?t=new g(NaN):v.d?t.s=-t.s:t=new g(t.d||v.s!==t.s?v:NaN),t;if(v.s!=t.s)return t.s=-t.s,v.plus(t);if(u=v.d,m=t.d,s=g.precision,l=g.rounding,!u[0]||!m[0]){if(m[0])t.s=-t.s;else if(u[0])t=new g(v);else return new g(l===3?-0:0);return Ot?gt(t,s,l):t}if(n=Nr(t.e/Rt),d=Nr(v.e/Rt),u=u.slice(),a=d-n,a){for(f=a<0,f?(e=u,a=-a,i=m.length):(e=m,n=d,i=u.length),r=Math.max(Math.ceil(s/Rt),i)+2,a>r&&(a=r,e.length=1),e.reverse(),r=a;r--;)e.push(0);e.reverse()}else{for(r=u.length,i=m.length,f=r<i,f&&(i=r),r=0;r<i;r++)if(u[r]!=m[r]){f=u[r]<m[r];break}a=0}for(f&&(e=u,u=m,m=e,t.s=-t.s),i=u.length,r=m.length-i;r>0;--r)u[i++]=0;for(r=m.length;r>a;){if(u[--r]<m[r]){for(o=r;o&&u[--o]===0;)u[o]=ba-1;--u[o],u[r]+=ba}u[r]-=m[r]}for(;u[--i]===0;)u.pop();for(;u[0]===0;u.shift())--n;return u[0]?(t.d=u,t.e=$h(u,n),Ot?gt(t,s,l):t):new g(l===3?-0:0)};je.modulo=je.mod=function(t){var e,n=this,r=n.constructor;return t=new r(t),!n.d||!t.s||t.d&&!t.d[0]?new r(NaN):!t.d||n.d&&!n.d[0]?gt(new r(n),r.precision,r.rounding):(Ot=!1,r.modulo==9?(e=En(n,t.abs(),0,3,1),e.s*=t.s):e=En(n,t,0,r.modulo,1),e=e.times(t),Ot=!0,n.minus(e))};je.naturalExponential=je.exp=function(){return Lv(this)};je.naturalLogarithm=je.ln=function(){return Is(this)};je.negated=je.neg=function(){var t=new this.constructor(this);return t.s=-t.s,gt(t)};je.plus=je.add=function(t){var e,n,r,o,a,i,s,l,u,d,f=this,m=f.constructor;if(t=new m(t),!f.d||!t.d)return!f.s||!t.s?t=new m(NaN):f.d||(t=new m(t.d||f.s===t.s?f:NaN)),t;if(f.s!=t.s)return t.s=-t.s,f.minus(t);if(u=f.d,d=t.d,s=m.precision,l=m.rounding,!u[0]||!d[0])return d[0]||(t=new m(f)),Ot?gt(t,s,l):t;if(a=Nr(f.e/Rt),r=Nr(t.e/Rt),u=u.slice(),o=a-r,o){for(o<0?(n=u,o=-o,i=d.length):(n=d,r=a,i=u.length),a=Math.ceil(s/Rt),i=a>i?a+1:i+1,o>i&&(o=i,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for(i=u.length,o=d.length,i-o<0&&(o=i,n=d,d=u,u=n),e=0;o;)e=(u[--o]=u[o]+d[o]+e)/ba|0,u[o]%=ba;for(e&&(u.unshift(e),++r),i=u.length;u[--i]==0;)u.pop();return t.d=u,t.e=$h(u,r),Ot?gt(t,s,l):t};je.precision=je.sd=function(t){var e,n=this;if(t!==void 0&&t!==!!t&&t!==1&&t!==0)throw Error(Vs+t);return n.d?(e=qM(n.d),t&&n.e+1>e&&(e=n.e+1)):e=NaN,e};je.round=function(){var t=this,e=t.constructor;return gt(new e(t),t.e+1,e.rounding)};je.sine=je.sin=function(){var t,e,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(t=r.precision,e=r.rounding,r.precision=t+Math.max(n.e,n.sd())+Rt,r.rounding=1,n=dae(r,KM(r,n)),r.precision=t,r.rounding=e,gt($i>2?n.neg():n,t,e,!0)):new r(NaN)};je.squareRoot=je.sqrt=function(){var t,e,n,r,o,a,i=this,s=i.d,l=i.e,u=i.s,d=i.constructor;if(u!==1||!s||!s[0])return new d(!u||u<0&&(!s||s[0])?NaN:s?i:1/0);for(Ot=!1,u=Math.sqrt(+i),u==0||u==1/0?(e=wr(s),(e.length+l)%2==0&&(e+="0"),u=Math.sqrt(e),l=Nr((l+1)/2)-(l<0||l%2),u==1/0?e="5e"+l:(e=u.toExponential(),e=e.slice(0,e.indexOf("e")+1)+l),r=new d(e)):r=new d(u.toString()),n=(l=d.precision)+3;;)if(a=r,r=a.plus(En(i,a,n+2,1)).times(.5),wr(a.d).slice(0,n)===(e=wr(r.d)).slice(0,n))if(e=e.slice(n-3,n+1),e=="9999"||!o&&e=="4999"){if(!o&&(gt(a,l+1,0),a.times(a).eq(i))){r=a;break}n+=4,o=1}else{(!+e||!+e.slice(1)&&e.charAt(0)=="5")&&(gt(r,l+1,1),t=!r.times(r).eq(i));break}return Ot=!0,gt(r,l,d.rounding,t)};je.tangent=je.tan=function(){var t,e,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(t=r.precision,e=r.rounding,r.precision=t+10,r.rounding=1,n=n.sin(),n.s=1,n=En(n,new r(1).minus(n.times(n)).sqrt(),t+10,0),r.precision=t,r.rounding=e,gt($i==2||$i==4?n.neg():n,t,e,!0)):new r(NaN)};je.times=je.mul=function(t){var e,n,r,o,a,i,s,l,u,d=this,f=d.constructor,m=d.d,v=(t=new f(t)).d;if(t.s*=d.s,!m||!m[0]||!v||!v[0])return new f(!t.s||m&&!m[0]&&!v||v&&!v[0]&&!m?NaN:!m||!v?t.s/0:t.s*0);for(n=Nr(d.e/Rt)+Nr(t.e/Rt),l=m.length,u=v.length,l<u&&(a=m,m=v,v=a,i=l,l=u,u=i),a=[],i=l+u,r=i;r--;)a.push(0);for(r=u;--r>=0;){for(e=0,o=l+r;o>r;)s=a[o]+v[r]*m[o-r-1]+e,a[o--]=s%ba|0,e=s/ba|0;a[o]=(a[o]+e)%ba|0}for(;!a[--i];)a.pop();return e?++n:a.shift(),t.d=a,t.e=$h(a,n),Ot?gt(t,f.precision,f.rounding):t};je.toBinary=function(t,e){return _3(this,2,t,e)};je.toDecimalPlaces=je.toDP=function(t,e){var n=this,r=n.constructor;return n=new r(n),t===void 0?n:(fo(t,0,Ks),e===void 0?e=r.rounding:fo(e,0,8),gt(n,t+n.e+1,e))};je.toExponential=function(t,e){var n,r=this,o=r.constructor;return t===void 0?n=ri(r,!0):(fo(t,0,Ks),e===void 0?e=o.rounding:fo(e,0,8),r=gt(new o(r),t+1,e),n=ri(r,!0,t+1)),r.isNeg()&&!r.isZero()?"-"+n:n};je.toFixed=function(t,e){var n,r,o=this,a=o.constructor;return t===void 0?n=ri(o):(fo(t,0,Ks),e===void 0?e=a.rounding:fo(e,0,8),r=gt(new a(o),t+o.e+1,e),n=ri(r,!1,t+r.e+1)),o.isNeg()&&!o.isZero()?"-"+n:n};je.toFraction=function(t){var e,n,r,o,a,i,s,l,u,d,f,m,v=this,g=v.d,w=v.constructor;if(!g)return new w(v);if(u=n=new w(1),r=l=new w(0),e=new w(r),a=e.e=qM(g)-v.e-1,i=a%Rt,e.d[0]=ir(10,i<0?Rt+i:i),t==null)t=a>0?e:u;else{if(s=new w(t),!s.isInt()||s.lt(u))throw Error(Vs+s);t=s.gt(e)?a>0?e:u:s}for(Ot=!1,s=new w(wr(g)),d=w.precision,w.precision=a=g.length*Rt*2;f=En(s,e,0,1,1),o=n.plus(f.times(r)),o.cmp(t)!=1;)n=r,r=o,o=u,u=l.plus(f.times(o)),l=o,o=e,e=s.minus(f.times(o)),s=o;return o=En(t.minus(n),r,0,1,1),l=l.plus(o.times(u)),n=n.plus(o.times(r)),l.s=u.s=v.s,m=En(u,r,a,1).minus(v).abs().cmp(En(l,n,a,1).minus(v).abs())<1?[u,r]:[l,n],w.precision=d,Ot=!0,m};je.toHexadecimal=je.toHex=function(t,e){return _3(this,16,t,e)};je.toNearest=function(t,e){var n=this,r=n.constructor;if(n=new r(n),t==null){if(!n.d)return n;t=new r(1),e=r.rounding}else{if(t=new r(t),e===void 0?e=r.rounding:fo(e,0,8),!n.d)return t.s?n:t;if(!t.d)return t.s&&(t.s=n.s),t}return t.d[0]?(Ot=!1,n=En(n,t,0,e,1).times(t),Ot=!0,gt(n)):(t.s=n.s,n=t),n};je.toNumber=function(){return+this};je.toOctal=function(t,e){return _3(this,8,t,e)};je.toPower=je.pow=function(t){var e,n,r,o,a,i,s=this,l=s.constructor,u=+(t=new l(t));if(!s.d||!t.d||!s.d[0]||!t.d[0])return new l(ir(+s,u));if(s=new l(s),s.eq(1))return s;if(r=l.precision,a=l.rounding,t.eq(1))return gt(s,r,a);if(e=Nr(t.e/Rt),e>=t.d.length-1&&(n=u<0?-u:u)<=sae)return o=UM(l,s,n,r),t.s<0?new l(1).div(o):gt(o,r,a);if(i=s.s,i<0){if(e<t.d.length-1)return new l(NaN);if((t.d[e]&1)==0&&(i=1),s.e==0&&s.d[0]==1&&s.d.length==1)return s.s=i,s}return n=ir(+s,u),e=n==0||!isFinite(n)?Nr(u*(Math.log("0."+wr(s.d))/Math.LN10+s.e+1)):new l(n+"").e,e>l.maxE+1||e<l.minE-1?new l(e>0?i/0:0):(Ot=!1,l.rounding=s.s=1,n=Math.min(12,(e+"").length),o=Lv(t.times(Is(s,r+n)),r),o.d&&(o=gt(o,r+5,1),cf(o.d,r,a)&&(e=r+10,o=gt(Lv(t.times(Is(s,e+n)),e),e+5,1),+wr(o.d).slice(r+1,r+15)+1==1e14&&(o=gt(o,r+1,0)))),o.s=i,Ot=!0,l.rounding=a,gt(o,r,a))};je.toPrecision=function(t,e){var n,r=this,o=r.constructor;return t===void 0?n=ri(r,r.e<=o.toExpNeg||r.e>=o.toExpPos):(fo(t,1,Ks),e===void 0?e=o.rounding:fo(e,0,8),r=gt(new o(r),t,e),n=ri(r,t<=r.e||r.e<=o.toExpNeg,t)),r.isNeg()&&!r.isZero()?"-"+n:n};je.toSignificantDigits=je.toSD=function(t,e){var n=this,r=n.constructor;return t===void 0?(t=r.precision,e=r.rounding):(fo(t,1,Ks),e===void 0?e=r.rounding:fo(e,0,8)),gt(new r(n),t,e)};je.toString=function(){var t=this,e=t.constructor,n=ri(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()&&!t.isZero()?"-"+n:n};je.truncated=je.trunc=function(){return gt(new this.constructor(this),this.e+1,1)};je.valueOf=je.toJSON=function(){var t=this,e=t.constructor,n=ri(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()?"-"+n:n};function wr(t){var e,n,r,o=t.length-1,a="",i=t[0];if(o>0){for(a+=i,e=1;e<o;e++)r=t[e]+"",n=Rt-r.length,n&&(a+=Es(n)),a+=r;i=t[e],r=i+"",n=Rt-r.length,n&&(a+=Es(n))}else if(i===0)return"0";for(;i%10===0;)i/=10;return a+i}function fo(t,e,n){if(t!==~~t||t<e||t>n)throw Error(Vs+t)}function cf(t,e,n,r){var o,a,i,s;for(a=t[0];a>=10;a/=10)--e;return--e<0?(e+=Rt,o=0):(o=Math.ceil((e+1)/Rt),e%=Rt),a=ir(10,Rt-e),s=t[o]%a|0,r==null?e<3?(e==0?s=s/100|0:e==1&&(s=s/10|0),i=n<4&&s==99999||n>3&&s==49999||s==5e4||s==0):i=(n<4&&s+1==a||n>3&&s+1==a/2)&&(t[o+1]/a/100|0)==ir(10,e-2)-1||(s==a/2||s==0)&&(t[o+1]/a/100|0)==0:e<4?(e==0?s=s/1e3|0:e==1?s=s/100|0:e==2&&(s=s/10|0),i=(r||n<4)&&s==9999||!r&&n>3&&s==4999):i=((r||n<4)&&s+1==a||!r&&n>3&&s+1==a/2)&&(t[o+1]/a/1e3|0)==ir(10,e-3)-1,i}function Q1(t,e,n){for(var r,o=[0],a,i=0,s=t.length;i<s;){for(a=o.length;a--;)o[a]*=e;for(o[0]+=Av.indexOf(t.charAt(i++)),r=0;r<o.length;r++)o[r]>n-1&&(o[r+1]===void 0&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}function cae(t,e){var n,r,o;if(e.isZero())return e;r=e.d.length,r<32?(n=Math.ceil(r/3),o=(1/Dh(4,n)).toString()):(n=16,o="2.3283064365386962890625e-10"),t.precision+=n,e=xu(t,1,e.times(o),new t(1));for(var a=n;a--;){var i=e.times(e);e=i.times(i).minus(i).times(8).plus(1)}return t.precision-=n,e}var En=(function(){function t(r,o,a){var i,s=0,l=r.length;for(r=r.slice();l--;)i=r[l]*o+s,r[l]=i%a|0,s=i/a|0;return s&&r.unshift(s),r}function e(r,o,a,i){var s,l;if(a!=i)l=a>i?1:-1;else for(s=l=0;s<a;s++)if(r[s]!=o[s]){l=r[s]>o[s]?1:-1;break}return l}function n(r,o,a,i){for(var s=0;a--;)r[a]-=s,s=r[a]<o[a]?1:0,r[a]=s*i+r[a]-o[a];for(;!r[0]&&r.length>1;)r.shift()}return function(r,o,a,i,s,l){var u,d,f,m,v,g,w,y,_,S,x,C,R,P,O,$,A,M,L,B,F=r.constructor,N=r.s==o.s?1:-1,V=r.d,z=o.d;if(!V||!V[0]||!z||!z[0])return new F(!r.s||!o.s||(V?z&&V[0]==z[0]:!z)?NaN:V&&V[0]==0||!z?N*0:N/0);for(l?(v=1,d=r.e-o.e):(l=ba,v=Rt,d=Nr(r.e/v)-Nr(o.e/v)),L=z.length,A=V.length,_=new F(N),S=_.d=[],f=0;z[f]==(V[f]||0);f++);if(z[f]>(V[f]||0)&&d--,a==null?(P=a=F.precision,i=F.rounding):s?P=a+(r.e-o.e)+1:P=a,P<0)S.push(1),g=!0;else{if(P=P/v+2|0,f=0,L==1){for(m=0,z=z[0],P++;(f<A||m)&&P--;f++)O=m*l+(V[f]||0),S[f]=O/z|0,m=O%z|0;g=m||f<A}else{for(m=l/(z[0]+1)|0,m>1&&(z=t(z,m,l),V=t(V,m,l),L=z.length,A=V.length),$=L,x=V.slice(0,L),C=x.length;C<L;)x[C++]=0;B=z.slice(),B.unshift(0),M=z[0],z[1]>=l/2&&++M;do m=0,u=e(z,x,L,C),u<0?(R=x[0],L!=C&&(R=R*l+(x[1]||0)),m=R/M|0,m>1?(m>=l&&(m=l-1),w=t(z,m,l),y=w.length,C=x.length,u=e(w,x,y,C),u==1&&(m--,n(w,L<y?B:z,y,l))):(m==0&&(u=m=1),w=z.slice()),y=w.length,y<C&&w.unshift(0),n(x,w,C,l),u==-1&&(C=x.length,u=e(z,x,L,C),u<1&&(m++,n(x,L<C?B:z,C,l))),C=x.length):u===0&&(m++,x=[0]),S[f++]=m,u&&x[0]?x[C++]=V[$]||0:(x=[V[$]],C=1);while(($++<A||x[0]!==void 0)&&P--);g=x[0]!==void 0}S[0]||S.shift()}if(v==1)_.e=d,FM=g;else{for(f=1,m=S[0];m>=10;m/=10)f++;_.e=f+d*v-1,gt(_,s?a+_.e+1:a,i,g)}return _}})();function gt(t,e,n,r){var o,a,i,s,l,u,d,f,m,v=t.constructor;e:if(e!=null){if(f=t.d,!f)return t;for(o=1,s=f[0];s>=10;s/=10)o++;if(a=e-o,a<0)a+=Rt,i=e,d=f[m=0],l=d/ir(10,o-i-1)%10|0;else if(m=Math.ceil((a+1)/Rt),s=f.length,m>=s)if(r){for(;s++<=m;)f.push(0);d=l=0,o=1,a%=Rt,i=a-Rt+1}else break e;else{for(d=s=f[m],o=1;s>=10;s/=10)o++;a%=Rt,i=a-Rt+o,l=i<0?0:d/ir(10,o-i-1)%10|0}if(r=r||e<0||f[m+1]!==void 0||(i<0?d:d%ir(10,o-i-1)),u=n<4?(l||r)&&(n==0||n==(t.s<0?3:2)):l>5||l==5&&(n==4||r||n==6&&(a>0?i>0?d/ir(10,o-i):0:f[m-1])%10&1||n==(t.s<0?8:7)),e<1||!f[0])return f.length=0,u?(e-=t.e+1,f[0]=ir(10,(Rt-e%Rt)%Rt),t.e=-e||0):f[0]=t.e=0,t;if(a==0?(f.length=m,s=1,m--):(f.length=m+1,s=ir(10,Rt-a),f[m]=i>0?(d/ir(10,o-i)%ir(10,i)|0)*s:0),u)for(;;)if(m==0){for(a=1,i=f[0];i>=10;i/=10)a++;for(i=f[0]+=s,s=1;i>=10;i/=10)s++;a!=s&&(t.e++,f[0]==ba&&(f[0]=1));break}else{if(f[m]+=s,f[m]!=ba)break;f[m--]=0,s=1}for(a=f.length;f[--a]===0;)f.pop()}return Ot&&(t.e>v.maxE?(t.d=null,t.e=NaN):t.e<v.minE&&(t.e=0,t.d=[0])),t}function ri(t,e,n){if(!t.isFinite())return GM(t);var r,o=t.e,a=wr(t.d),i=a.length;return e?(n&&(r=n-i)>0?a=a.charAt(0)+"."+a.slice(1)+Es(r):i>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(t.e<0?"e":"e+")+t.e):o<0?(a="0."+Es(-o-1)+a,n&&(r=n-i)>0&&(a+=Es(r))):o>=i?(a+=Es(o+1-i),n&&(r=n-o-1)>0&&(a=a+"."+Es(r))):((r=o+1)<i&&(a=a.slice(0,r)+"."+a.slice(r)),n&&(r=n-i)>0&&(o+1===i&&(a+="."),a+=Es(r))),a}function $h(t,e){var n=t[0];for(e*=Rt;n>=10;n/=10)e++;return e}function j0(t,e,n){if(e>lae)throw Ot=!0,n&&(t.precision=n),Error(VM);return gt(new t(F0),e,1,!0)}function Qa(t,e,n){if(e>Ov)throw Error(VM);return gt(new t(V0),e,n,!0)}function qM(t){var e=t.length-1,n=e*Rt+1;if(e=t[e],e){for(;e%10==0;e/=10)n--;for(e=t[0];e>=10;e/=10)n++}return n}function Es(t){for(var e="";t--;)e+="0";return e}function UM(t,e,n,r){var o,a=new t(1),i=Math.ceil(r/Rt+4);for(Ot=!1;;){if(n%2&&(a=a.times(e),z5(a.d,i)&&(o=!0)),n=Nr(n/2),n===0){n=a.d.length-1,o&&a.d[n]===0&&++a.d[n];break}e=e.times(e),z5(e.d,i)}return Ot=!0,a}function B5(t){return t.d[t.d.length-1]&1}function YM(t,e,n){for(var r,o,a=new t(e[0]),i=0;++i<e.length;){if(o=new t(e[i]),!o.s){a=o;break}r=a.cmp(o),(r===n||r===0&&a.s===n)&&(a=o)}return a}function Lv(t,e){var n,r,o,a,i,s,l,u=0,d=0,f=0,m=t.constructor,v=m.rounding,g=m.precision;if(!t.d||!t.d[0]||t.e>17)return new m(t.d?t.d[0]?t.s<0?0:1/0:1:t.s?t.s<0?0:t:NaN);for(e==null?(Ot=!1,l=g):l=e,s=new m(.03125);t.e>-2;)t=t.times(s),f+=5;for(r=Math.log(ir(2,f))/Math.LN10*2+5|0,l+=r,n=a=i=new m(1),m.precision=l;;){if(a=gt(a.times(t),l,1),n=n.times(++d),s=i.plus(En(a,n,l,1)),wr(s.d).slice(0,l)===wr(i.d).slice(0,l)){for(o=f;o--;)i=gt(i.times(i),l,1);if(e==null)if(u<3&&cf(i.d,l-r,v,u))m.precision=l+=10,n=a=s=new m(1),d=0,u++;else return gt(i,m.precision=g,v,Ot=!0);else return m.precision=g,i}i=s}}function Is(t,e){var n,r,o,a,i,s,l,u,d,f,m,v=1,g=10,w=t,y=w.d,_=w.constructor,S=_.rounding,x=_.precision;if(w.s<0||!y||!y[0]||!w.e&&y[0]==1&&y.length==1)return new _(y&&!y[0]?-1/0:w.s!=1?NaN:y?0:w);if(e==null?(Ot=!1,d=x):d=e,_.precision=d+=g,n=wr(y),r=n.charAt(0),Math.abs(a=w.e)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)w=w.times(t),n=wr(w.d),r=n.charAt(0),v++;a=w.e,r>1?(w=new _("0."+n),a++):w=new _(r+"."+n.slice(1))}else return u=j0(_,d+2,x).times(a+""),w=Is(new _(r+"."+n.slice(1)),d-g).plus(u),_.precision=x,e==null?gt(w,x,S,Ot=!0):w;for(f=w,l=i=w=En(w.minus(1),w.plus(1),d,1),m=gt(w.times(w),d,1),o=3;;){if(i=gt(i.times(m),d,1),u=l.plus(En(i,new _(o),d,1)),wr(u.d).slice(0,d)===wr(l.d).slice(0,d))if(l=l.times(2),a!==0&&(l=l.plus(j0(_,d+2,x).times(a+""))),l=En(l,new _(v),d,1),e==null)if(cf(l.d,d-g,S,s))_.precision=d+=g,u=i=w=En(f.minus(1),f.plus(1),d,1),m=gt(w.times(w),d,1),o=s=1;else return gt(l,_.precision=x,S,Ot=!0);else return _.precision=x,l;l=u,o+=2}}function GM(t){return String(t.s*t.s/0)}function J1(t,e){var n,r,o;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charCodeAt(r)===48;r++);for(o=e.length;e.charCodeAt(o-1)===48;--o);if(e=e.slice(r,o),e){if(o-=r,t.e=n=n-r-1,t.d=[],r=(n+1)%Rt,n<0&&(r+=Rt),r<o){for(r&&t.d.push(+e.slice(0,r)),o-=Rt;r<o;)t.d.push(+e.slice(r,r+=Rt));e=e.slice(r),r=Rt-e.length}else r-=o;for(;r--;)e+="0";t.d.push(+e),Ot&&(t.e>t.constructor.maxE?(t.d=null,t.e=NaN):t.e<t.constructor.minE&&(t.e=0,t.d=[0]))}else t.e=0,t.d=[0];return t}function uae(t,e){var n,r,o,a,i,s,l,u,d;if(e.indexOf("_")>-1){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),WM.test(e))return J1(t,e)}else if(e==="Infinity"||e==="NaN")return+e||(t.s=NaN),t.e=NaN,t.d=null,t;if(aae.test(e))n=16,e=e.toLowerCase();else if(oae.test(e))n=2;else if(iae.test(e))n=8;else throw Error(Vs+e);for(a=e.search(/p/i),a>0?(l=+e.slice(a+1),e=e.substring(2,a)):e=e.slice(2),a=e.indexOf("."),i=a>=0,r=t.constructor,i&&(e=e.replace(".",""),s=e.length,a=s-a,o=UM(r,new r(n),a,a*2)),u=Q1(e,n,ba),d=u.length-1,a=d;u[a]===0;--a)u.pop();return a<0?new r(t.s*0):(t.e=$h(u,d),t.d=u,Ot=!1,i&&(t=En(t,o,s*4)),l&&(t=t.times(Math.abs(l)<54?ir(2,l):Ut.pow(2,l))),Ot=!0,t)}function dae(t,e){var n,r=e.d.length;if(r<3)return e.isZero()?e:xu(t,2,e,e);n=1.4*Math.sqrt(r),n=n>16?16:n|0,e=e.times(1/Dh(5,n)),e=xu(t,2,e,e);for(var o,a=new t(5),i=new t(16),s=new t(20);n--;)o=e.times(e),e=e.times(a.plus(o.times(i.times(o).minus(s))));return e}function xu(t,e,n,r,o){var a,i,s,l,u=t.precision,d=Math.ceil(u/Rt);for(Ot=!1,l=n.times(n),s=new t(r);;){if(i=En(s.times(l),new t(e++*e++),u,1),s=o?r.plus(i):r.minus(i),r=En(i.times(l),new t(e++*e++),u,1),i=s.plus(r),i.d[d]!==void 0){for(a=d;i.d[a]===s.d[a]&&a--;);if(a==-1)break}a=s,s=r,r=i,i=a}return Ot=!0,i.d.length=d+1,i}function Dh(t,e){for(var n=t;--e;)n*=t;return n}function KM(t,e){var n,r=e.s<0,o=Qa(t,t.precision,1),a=o.times(.5);if(e=e.abs(),e.lte(a))return $i=r?4:1,e;if(n=e.divToInt(o),n.isZero())$i=r?3:2;else{if(e=e.minus(n.times(o)),e.lte(a))return $i=B5(n)?r?2:3:r?4:1,e;$i=B5(n)?r?1:4:r?3:2}return e.minus(o).abs()}function _3(t,e,n,r){var o,a,i,s,l,u,d,f,m,v=t.constructor,g=n!==void 0;if(g?(fo(n,1,Ks),r===void 0?r=v.rounding:fo(r,0,8)):(n=v.precision,r=v.rounding),!t.isFinite())d=GM(t);else{for(d=ri(t),i=d.indexOf("."),g?(o=2,e==16?n=n*4-3:e==8&&(n=n*3-2)):o=e,i>=0&&(d=d.replace(".",""),m=new v(1),m.e=d.length-i,m.d=Q1(ri(m),10,o),m.e=m.d.length),f=Q1(d,10,o),a=l=f.length;f[--l]==0;)f.pop();if(!f[0])d=g?"0p+0":"0";else{if(i<0?a--:(t=new v(t),t.d=f,t.e=a,t=En(t,m,n,r,0,o),f=t.d,a=t.e,u=FM),i=f[n],s=o/2,u=u||f[n+1]!==void 0,u=r<4?(i!==void 0||u)&&(r===0||r===(t.s<0?3:2)):i>s||i===s&&(r===4||u||r===6&&f[n-1]&1||r===(t.s<0?8:7)),f.length=n,u)for(;++f[--n]>o-1;)f[n]=0,n||(++a,f.unshift(1));for(l=f.length;!f[l-1];--l);for(i=0,d="";i<l;i++)d+=Av.charAt(f[i]);if(g){if(l>1)if(e==16||e==8){for(i=e==16?4:3,--l;l%i;l++)d+="0";for(f=Q1(d,o,e),l=f.length;!f[l-1];--l);for(i=1,d="1.";i<l;i++)d+=Av.charAt(f[i])}else d=d.charAt(0)+"."+d.slice(1);d=d+(a<0?"p":"p+")+a}else if(a<0){for(;++a;)d="0"+d;d="0."+d}else if(++a>l)for(a-=l;a--;)d+="0";else a<l&&(d=d.slice(0,a)+"."+d.slice(a))}d=(e==16?"0x":e==2?"0b":e==8?"0o":"")+d}return t.s<0?"-"+d:d}function z5(t,e){if(t.length>e)return t.length=e,!0}function fae(t){return new this(t).abs()}function pae(t){return new this(t).acos()}function hae(t){return new this(t).acosh()}function mae(t,e){return new this(t).plus(e)}function gae(t){return new this(t).asin()}function vae(t){return new this(t).asinh()}function wae(t){return new this(t).atan()}function bae(t){return new this(t).atanh()}function yae(t,e){t=new this(t),e=new this(e);var n,r=this.precision,o=this.rounding,a=r+4;return!t.s||!e.s?n=new this(NaN):!t.d&&!e.d?(n=Qa(this,a,1).times(e.s>0?.25:.75),n.s=t.s):!e.d||t.isZero()?(n=e.s<0?Qa(this,r,o):new this(0),n.s=t.s):!t.d||e.isZero()?(n=Qa(this,a,1).times(.5),n.s=t.s):e.s<0?(this.precision=a,this.rounding=1,n=this.atan(En(t,e,a,1)),e=Qa(this,a,1),this.precision=r,this.rounding=o,n=t.s<0?n.minus(e):n.plus(e)):n=this.atan(En(t,e,a,1)),n}function _ae(t){return new this(t).cbrt()}function xae(t){return gt(t=new this(t),t.e+1,2)}function Sae(t,e,n){return new this(t).clamp(e,n)}function Cae(t){if(!t||typeof t!="object")throw Error(Lh+"Object expected");var e,n,r,o=t.defaults===!0,a=["precision",1,Ks,"rounding",0,8,"toExpNeg",-tu,0,"toExpPos",0,tu,"maxE",0,tu,"minE",-tu,0,"modulo",0,9];for(e=0;e<a.length;e+=3)if(n=a[e],o&&(this[n]=Iv[n]),(r=t[n])!==void 0)if(Nr(r)===r&&r>=a[e+1]&&r<=a[e+2])this[n]=r;else throw Error(Vs+n+": "+r);if(n="crypto",o&&(this[n]=Iv[n]),(r=t[n])!==void 0)if(r===!0||r===!1||r===0||r===1)if(r)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[n]=!0;else throw Error(jM);else this[n]=!1;else throw Error(Vs+n+": "+r);return this}function Eae(t){return new this(t).cos()}function Mae(t){return new this(t).cosh()}function XM(t){var e,n,r;function o(a){var i,s,l,u=this;if(!(u instanceof o))return new o(a);if(u.constructor=o,F5(a)){u.s=a.s,Ot?!a.d||a.e>o.maxE?(u.e=NaN,u.d=null):a.e<o.minE?(u.e=0,u.d=[0]):(u.e=a.e,u.d=a.d.slice()):(u.e=a.e,u.d=a.d?a.d.slice():a.d);return}if(l=typeof a,l==="number"){if(a===0){u.s=1/a<0?-1:1,u.e=0,u.d=[0];return}if(a<0?(a=-a,u.s=-1):u.s=1,a===~~a&&a<1e7){for(i=0,s=a;s>=10;s/=10)i++;Ot?i>o.maxE?(u.e=NaN,u.d=null):i<o.minE?(u.e=0,u.d=[0]):(u.e=i,u.d=[a]):(u.e=i,u.d=[a]);return}if(a*0!==0){a||(u.s=NaN),u.e=NaN,u.d=null;return}return J1(u,a.toString())}if(l==="string")return(s=a.charCodeAt(0))===45?(a=a.slice(1),u.s=-1):(s===43&&(a=a.slice(1)),u.s=1),WM.test(a)?J1(u,a):uae(u,a);if(l==="bigint")return a<0?(a=-a,u.s=-1):u.s=1,J1(u,a.toString());throw Error(Vs+a)}if(o.prototype=je,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=Cae,o.clone=XM,o.isDecimal=F5,o.abs=fae,o.acos=pae,o.acosh=hae,o.add=mae,o.asin=gae,o.asinh=vae,o.atan=wae,o.atanh=bae,o.atan2=yae,o.cbrt=_ae,o.ceil=xae,o.clamp=Sae,o.cos=Eae,o.cosh=Mae,o.div=kae,o.exp=Rae,o.floor=Tae,o.hypot=Nae,o.ln=Pae,o.log=Aae,o.log10=Oae,o.log2=Iae,o.max=Lae,o.min=$ae,o.mod=Dae,o.mul=Bae,o.pow=zae,o.random=Fae,o.round=Vae,o.sign=jae,o.sin=Hae,o.sinh=Wae,o.sqrt=qae,o.sub=Uae,o.sum=Yae,o.tan=Gae,o.tanh=Kae,o.trunc=Xae,t===void 0&&(t={}),t&&t.defaults!==!0)for(r=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],e=0;e<r.length;)t.hasOwnProperty(n=r[e++])||(t[n]=this[n]);return o.config(t),o}function kae(t,e){return new this(t).div(e)}function Rae(t){return new this(t).exp()}function Tae(t){return gt(t=new this(t),t.e+1,3)}function Nae(){var t,e,n=new this(0);for(Ot=!1,t=0;t<arguments.length;)if(e=new this(arguments[t++]),e.d)n.d&&(n=n.plus(e.times(e)));else{if(e.s)return Ot=!0,new this(1/0);n=e}return Ot=!0,n.sqrt()}function F5(t){return t instanceof Ut||t&&t.toStringTag===HM||!1}function Pae(t){return new this(t).ln()}function Aae(t,e){return new this(t).log(e)}function Iae(t){return new this(t).log(2)}function Oae(t){return new this(t).log(10)}function Lae(){return YM(this,arguments,-1)}function $ae(){return YM(this,arguments,1)}function Dae(t,e){return new this(t).mod(e)}function Bae(t,e){return new this(t).mul(e)}function zae(t,e){return new this(t).pow(e)}function Fae(t){var e,n,r,o,a=0,i=new this(1),s=[];if(t===void 0?t=this.precision:fo(t,1,Ks),r=Math.ceil(t/Rt),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(r));a<r;)o=e[a],o>=429e7?e[a]=crypto.getRandomValues(new Uint32Array(1))[0]:s[a++]=o%1e7;else if(crypto.randomBytes){for(e=crypto.randomBytes(r*=4);a<r;)o=e[a]+(e[a+1]<<8)+(e[a+2]<<16)+((e[a+3]&127)<<24),o>=214e7?crypto.randomBytes(4).copy(e,a):(s.push(o%1e7),a+=4);a=r/4}else throw Error(jM);else for(;a<r;)s[a++]=Math.random()*1e7|0;for(r=s[--a],t%=Rt,r&&t&&(o=ir(10,Rt-t),s[a]=(r/o|0)*o);s[a]===0;a--)s.pop();if(a<0)n=0,s=[0];else{for(n=-1;s[0]===0;n-=Rt)s.shift();for(r=1,o=s[0];o>=10;o/=10)r++;r<Rt&&(n-=Rt-r)}return i.e=n,i.d=s,i}function Vae(t){return gt(t=new this(t),t.e+1,this.rounding)}function jae(t){return t=new this(t),t.d?t.d[0]?t.s:0*t.s:t.s||NaN}function Hae(t){return new this(t).sin()}function Wae(t){return new this(t).sinh()}function qae(t){return new this(t).sqrt()}function Uae(t,e){return new this(t).sub(e)}function Yae(){var t=0,e=arguments,n=new this(e[t]);for(Ot=!1;n.s&&++t<e.length;)n=n.plus(e[t]);return Ot=!0,gt(n,this.precision,this.rounding)}function Gae(t){return new this(t).tan()}function Kae(t){return new this(t).tanh()}function Xae(t){return gt(t=new this(t),t.e+1,1)}je[Symbol.for("nodejs.util.inspect.custom")]=je.toString;je[Symbol.toStringTag]="Decimal";var Ut=je.constructor=XM(Iv);F0=new Ut(F0);V0=new Ut(V0);const Zae="_horizontal_cm4wx_98",Qae="_error_cm4wx_134",ZM={"number-input":"_number-input_cm4wx_39","number-inp-cont":"_number-inp-cont_cm4wx_56","number-btn-area":"_number-btn-area_cm4wx_67","number-btn":"_number-btn_cm4wx_67",horizontal:Zae,"button-horizontal":"_button-horizontal_cm4wx_125",error:Qae},Jae=rn(ZM,"rb-ui"),Xp=({type:t,disabled:e,rippleOption:n,onMouseDown:r,onMouseUp:o,onClick:a,children:i})=>h(Rr,{...n,disabled:e||n?.disabled,children:h("button",{type:"button","data-type":t,className:Jae("number-btn",t),disabled:e,onMouseDown:()=>r(t),onMouseUp:()=>o(t),onMouseOut:()=>o(),onClick:()=>a(t),children:i})}),{forwardRef:eie}=await q("react"),e0=eie(({value:t,isDirect:e,useComma:n=!0,onChange:r,onFocus:o,onBlur:a,...i},s)=>{const l=n?Bi(t??"").join("."):t??"";return h("input",{...i,ref:s,type:"text",inputMode:"decimal",value:l,readOnly:!e,onChange:r,onFocus:o,onBlur:a})});e0.displayName="NumberInputField";const{forwardRef:tie,useRef:ps,useEffect:Zp,useState:V5,useCallback:hs,useMemo:nie,useImperativeHandle:rie}=await q("react"),dd=rn(ZM,"rb-ui"),oie=t=>{const e=t?.target?.value;return kn.replace(e,/^0+[\d,]/gm,o=>kn.last(o)).replace(/[^\d.-]/g,"")},aie=tie(({className:t="",step:e=1,error:n,isDirect:r=!0,increaseStep:o,decreaseStep:a,maxLength:i,arrowUpElement:s=h(E$,{}),arrowDownElement:l=h(C$,{}),rippleOption:u,hideButton:d,useComma:f=!0,buttonPosition:m="vertical",handleChange:v,...g},w)=>{const{value:y,readOnly:_,disabled:S,min:x,max:C="9999999999999",digit:R=18,onFocus:P,onBlur:O}=g,$=ps(null),A=ps(!1),M=ps(""),L=ps(null),B=ps(null),F=ps(0),N=ps(0),V=ps(1e3),[z,I]=V5(y??""),[D,U]=V5(!1),Y=nie(()=>S||new Ut(x??0).cmp(new Ut(C))>0,[S,C,x]),oe=hs((ye,Le,Oe)=>Oe==="up"?new Ut(ye||0).add(new Ut(L.current?.increase??Le??1)).toDP(R,Ut.ROUND_DOWN).toString():new Ut(ye||0).sub(new Ut(L.current?.decrease??Le??1)).toDP(R,Ut.ROUND_DOWN).toString(),[R]),Q=hs(ye=>typeof ye>"u"||!ye||Y?"":ye.endsWith(".")?ye:typeof x<"u"&&new Ut(Number(ye)).lt(new Ut(x))?String(x):typeof C<"u"&&new Ut(Dl(ye||"")).gt(new Ut(C))?String(C):ye,[x,C,Y]),re=hs(ye=>Y?"":ye.endsWith(".")?ye:Q(ye),[Y,Q]),le=hs(({type:ye,e:Le})=>{if(!$.current||Y)return;const{value:Oe,name:Ne}=$.current,me=oie({target:{value:Oe}}),pe=R?new RegExp(`^-?[0-9]*[.]{0,1}[0-9]{0,${R}}$`,"gm"):/^-?\d{0,18}$/;me.match(pe)&&(typeof i<"u"&&(me||"").split(".")[0].replace(/[^0-9]/g,"").length>Number(i)||($.current.value=f?Bi(me??"").join("."):me??"",M.current!==me&&(v?.(me,Ne,{type:ye}),Le&&g.onChange?.(Le),M.current=me),I(me)))},[Y,R,i,v,g,f]),ee=hs((ye,Le)=>{if($.current)if(U(Le),Le)P?.(ye);else{const Oe=re($.current.value);$.current.value=f?Bi(Oe).join("."):Oe,le({}),O?.(ye)}},[P,re,le,O,f]),te=hs(ye=>{if(Y||_){A.current=!1,window.clearTimeout(F.current);return}M.current=oe(M.current??"0",B.current,ye),M.current=Q(M.current??"0"),I(String(M.current)),v?.(M.current,g.name,{type:ye}),A.current&&(window.clearTimeout(N.current),N.current=window.setTimeout(()=>{te(ye),V.current>100&&(V.current-=V.current/5)},V.current))},[oe,Q,Y,v,g.name,_]),ue=hs(ye=>{if(Y||_){A.current=!1,window.clearTimeout(F.current);return}F.current=window.setTimeout(()=>{A.current=!0,te(ye)},500)},[Y,te,_]),ve=hs(ye=>{if(Y||_){A.current=!1,window.clearTimeout(F.current);return}A.current=!1,V.current=500,window.clearTimeout(F.current),ye&&le({type:ye})},[Y,le,_]);return Zp(()=>{const ye=y?String(y).replace(/,/g,""):"";M.current=ye},[y]),Zp(()=>{if(typeof y<"u"){const ye=String(y).replace(/,/g,"");I(ye),$.current&&($.current.value=f?Bi(ye).join("."):ye)}},[y,f]),Zp(()=>{B.current=e},[e]),Zp(()=>{L.current={increase:o,decrease:a}},[o,a]),rie(w,()=>$.current),h("div",{className:dd("number-input",`button-${d?"vertical":m}`,t,{focus:D,readonly:_,disabled:S,error:n}),children:ne("div",{className:dd("number-inp-cont"),children:[!d&&h(Mr,{children:m==="horizontal"?ne(Mr,{children:[h("div",{className:dd("number-btn-area","horizontal"),children:h(Xp,{type:"down",disabled:Y||x===z,rippleOption:u,onMouseDown:ue,onMouseUp:ve,onClick:te,children:l})}),h(e0,{...g,ref:$,value:z??"",useComma:f,isDirect:r,onChange:ye=>le({e:ye}),onFocus:ye=>ee(ye,!0),onBlur:ye=>ee(ye,!1)}),h("div",{className:dd("number-btn-area","horizontal"),children:h(Xp,{type:"up",disabled:Y||C===z,rippleOption:u,onMouseDown:ue,onMouseUp:ve,onClick:te,children:s})})]}):ne(Mr,{children:[h(e0,{...g,ref:$,value:z??"",useComma:f,isDirect:r,onChange:ye=>le({e:ye}),onFocus:ye=>ee(ye,!0),onBlur:ye=>ee(ye,!1)}),ne("div",{className:dd("number-btn-area","vertical"),children:[h(Xp,{type:"up",disabled:Y||C===z,rippleOption:u,onMouseDown:ue,onMouseUp:ve,onClick:te,children:s}),h(Xp,{type:"down",disabled:Y||x===z,rippleOption:u,onMouseDown:ue,onMouseUp:ve,onClick:te,children:l})]})]})}),d&&h(e0,{...g,ref:$,value:z??"",useComma:f,isDirect:r,onChange:ye=>le({e:ye}),onFocus:ye=>ee(ye,!0),onBlur:ye=>ee(ye,!1)})]})})});aie.displayName="NumberInput";const iie="_readonly_lth3f_55",sie="_disabled_lth3f_59",lie="_icon_lth3f_63",cie="_text_lth3f_156",uie="_small_lth3f_191",die={"radio-box":"_radio-box_lth3f_39",readonly:iie,disabled:sie,"ico-check":"_ico-check_lth3f_63",icon:lie,text:cie,small:uie},{forwardRef:fie,useCallback:pie,useImperativeHandle:hie,useMemo:mie,useRef:gie}=await q("react"),Qp=rn(die,"rb-ui"),QM=fie(({className:t="",children:e,size:n="normal",checkValue:r,value:o,handleChange:a,...i},s)=>{const l=gie(null),u=mie(()=>{if(o)return o===r},[o,r]),d=pie(f=>{const{name:m,value:v}=f.target;(typeof r=="number"?Number(v)===r:v===r)&&a?.(r,m),i.onChange?.(f)},[a,i,r]);return hie(s,()=>l.current),h("div",{className:Qp("radio-box",t,n,{readonly:i?.readOnly,disabled:i?.disabled,"not-allow":i?.readOnly||i?.disabled,checked:u}),children:ne("label",{children:[h("input",{ref:l,...i,type:"radio",value:r,checked:u,onChange:d}),h("span",{className:Qp("ico-check"),children:h("i",{className:Qp("icon")})}),h("span",{className:Qp("text"),children:e})]})})});QM.displayName="RadioBox";const vie={"radio-button":"_radio-button_12hgr_41","radio-button-text":"_radio-button-text_12hgr_48"},{forwardRef:wie}=await q("react"),j5=rn(vie,"rb-ui"),bie=wie(({className:t="",children:e,rippleOption:n={disabled:!0},...r},o)=>h(Rr,{...n,children:h(QM,{ref:o,className:j5(t,"radio-button"),...r,children:h("div",{className:j5("radio-button-text"),children:e})})}));bie.displayName="RadioButton";const yie="_top_ot3bh_49",_ie="_bottom_ot3bh_52",xie="_hd_ot3bh_141",Sie="_label_ot3bh_149",Cie={"select-drop-box":"_select-drop-box_ot3bh_40","select-option-slide":"_select-option-slide_ot3bh_1",top:yie,bottom:_ie,"drop-box-contents":"_drop-box-contents_ot3bh_55","scroll-area":"_scroll-area_ot3bh_69","search-area":"_search-area_ot3bh_89","ico-search":"_ico-search_ot3bh_103","ico-reset":"_ico-reset_ot3bh_107",hd:xie,label:Sie,"btn-close":"_btn-close_ot3bh_162"},{Children:Eie,forwardRef:Mie,useCallback:fd,useEffect:Jp,useImperativeHandle:kie,useMemo:H5,useRef:W5,useState:q5}=await q("react"),Ha=rn(Cie,"rb-ui"),e1=10,JM=Mie((t,e)=>{const{className:n,children:r,label:o,inputEl:a,parentEl:i,maxHeight:s=200,search:l,searchText:u="",searchPlaceholder:d,noDataMsg:f,direction:m="bottom",showCloseBtn:v,whenScrollCloseDropBox:g,setOpen:w,handleSearchTextChange:y,handleKeyPress:_}=t,S=W5(null),x=W5(null),{isMobile:C}=s3(),[R,P]=q5(!1),[O,$]=q5(m),A=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",A+"px");const M=H5(()=>Eie.map(r,I=>I).length===0,[r]),L=H5(()=>C?o||v:!1,[C,o,v]),B=fd((I,D)=>{const U=window.scrollY,Y=window.scrollY+window.innerHeight;m==="top"&&I-D+e1<U?$("bottom"):m==="bottom"&&I+s+e1>Y&&$("top")},[m,s]),F=fd(I=>{if(!I)return;const{clientWidth:D,clientHeight:U}=I,Y=I.getBoundingClientRect(),Q=document.body.style.position==="fixed"&&!!document.body.style.top&&Number(document.body.style.top.replace("px",""))<0?Number(document.body.style.top.replace("px",""))*-1:window.scrollY,re=Y.top+Q,{left:le}=Y;let ee=`min-width:${D}px;`;const te=S.current.clientHeight??0;switch(B(Y.top+window.scrollY,te),O){case"top":ee+=`top: ${re-te-e1}px; left: ${le}px;`;break;case"bottom":ee+=`top: ${re+U+e1}px; left: ${le}px;`;break}return ee},[B,O]),N=fd(I=>{const{value:D}=I.target;y(D)},[y]),V=fd(()=>{y("")},[y]),z=fd(()=>{a&&a.blur(),w(!1)},[a,w]);return Jp(()=>{const I=S.current,D=x.current,U=F(i);if(I&&D){const Y=D.querySelector(".active");typeof D.scrollTo=="function"&&D.scrollTo(0,Y?.offsetTop??0),I.setAttribute("style",U)}},[F,i]),Jp(()=>{if(x){const I=x.current,D=I.querySelector(".match");D&&([...I.children].map(U=>U.classList.remove("match")),D.classList.add("match"),I.scrollTo(0,D.offsetTop))}},[u,x]),Jp(()=>{const I=()=>{window.innerWidth<800||(w(!1),a&&a.blur())};return window.removeEventListener("resize",I),window.addEventListener("resize",I),g&&(window.removeEventListener("scroll",I),window.addEventListener("scroll",I)),()=>{window.removeEventListener("scroll",I),window.removeEventListener("resize",I)}},[a,w,g]),Jp(()=>(C&&D8(),()=>{C&&B8()}),[C]),kie(e,()=>S.current),ne("div",{ref:S,role:"button",tabIndex:-1,className:Ha(n,O,"select-drop-box",C?"":"desktop"),children:[h("div",{className:Ha("dim"),onClick:z}),ne("div",{className:Ha("drop-box-contents"),children:[L&&ne("div",{className:Ha("hd"),children:[o&&h("label",{className:Ha("label"),children:o}),v&&h("button",{type:"button",className:Ha("btn-close"),onClick:z,children:h(Hy,{})})]}),l&&ne("div",{className:Ha("search-area"),children:[h(g$,{className:Ha("ico-search")}),h("input",{type:"search",placeholder:d,value:u,onChange:N,onKeyDown:_,onFocus:()=>P(!0),onBlur:()=>P(!1)}),h("button",{type:"button",style:{display:R&&u?"block":"none"},onMouseDown:V,children:h(Hy,{className:Ha("ico-reset")})})]}),h("div",{ref:x,className:Ha("scroll-area"),children:M?f:r})]})]})});JM.displayName="SelectDropBox";const Rie="_placeholder_obecl_55",Tie="_readonly_obecl_61",Nie="_focus_obecl_67",Pie="_open_obecl_71",Aie="_value_obecl_94",Iie={"select-box":"_select-box_obecl_40",placeholder:Rie,"not-allow":"_not-allow_obecl_58",readonly:Tie,focus:Nie,open:Pie,"ico-arrow":"_ico-arrow_obecl_71",value:Aie,"no-data":"_no-data_obecl_155"},Oie={"select-modal-drop-box":"_select-modal-drop-box_c1y39_40","modal-box-contents":"_modal-box-contents_c1y39_40"},{useEffect:Lie,useRef:$ie}=await q("react"),U5=rn(Oie),Die=({className:t,children:e,...n})=>{const r=$ie(null);return Lie(()=>{setTimeout(()=>{if(r.current&&n.open){const o=r.current.querySelector(".active");typeof r.current.scrollTo=="function"&&r.current.scrollTo(0,o?.offsetTop??0)}},50)},[n.open]),h(tc,{className:U5("select-modal-drop-box",t),...n,children:h("div",{ref:r,className:U5("modal-box-contents"),children:e})})},{Children:Bie,cloneElement:zie,useCallback:Dc,useEffect:Yg,useMemo:t1,useRef:n1,useState:pd,forwardRef:Fie,useImperativeHandle:Vie}=await q("react"),r1=rn(Iie,"rb-ui"),jie=Fie((t,e)=>{const{className:n="",children:r,name:o,value:a,error:i,search:s,mobileLabel:l,placeholder:u,disabled:d,readOnly:f,dropBoxClassName:m,modalBoxClassName:v,selectArrow:g=h(s$,{}),keepDropDown:w,searchPlaceholder:y="Search",showCloseBtn:_,whenScrollCloseDropBox:S,enableModal:x,noDataMsg:C=h(zf,{className:r1("no-data")}),onClick:R,handleChange:P,...O}=t,$=n1(null),A=n1(null),M=n1(null),L=n1(Date.now()),[B,F]=pd(a),[N,V]=pd(""),[z,I]=pd(""),[D,U]=pd(!1),[Y,oe]=pd(!1),Q=t1(()=>{const Oe=({value:pe})=>{d||(F(pe),P?.(pe,o),$.current.value=String(pe),O.onChange?.({target:$.current}),w||U(!1))},Ne=pe=>(pe??[]).flatMap(be=>{if(!be?.props)return[];if(be.type?.displayName==="Option"){let Ue;return be.props.text||(typeof be.props.label=="string"?Ue=be.props.label:typeof be.props.children=="string"?Ue=be.props.children:Ue=be.props.value.toString()),zie(be,{...be.props,text:Ue.toLowerCase(),selectedValue:B,searchText:N,handleChange:Oe})}return Array.isArray(be.props.children)?Ne(be.props.children):[]}),me=Bie.map(r,pe=>pe);return Ne(me)},[r,d,P,w,o,N,B,O]),re=t1(()=>Q.filter(Oe=>Oe.props.text.toLowerCase().includes(z.toLowerCase())),[Q,z]),le=t1(()=>Q.find(Oe=>{const Ne=Oe.props.value;return Ne===B||Ne===a}),[Q,B,a]),ee=t1(()=>{if(!le){const me=Q[0]?.props;return{text:u??me?.label??me?.children??"",isPlaceholder:!!u}}const{label:Oe,children:Ne}=le.props;return{text:Oe??Ne??"",isPlaceholder:!1}},[le,Q,u]),te=Dc(()=>{const Oe=Date.now();if(Oe-L.current<300){L.current=Oe;return}if(R)R();else{if(d||f)return;U(me=>!me),L.current=Oe}},[d,f,R]),ue=Dc(Oe=>{V(Oe),I(Oe)},[]),ve=Dc(()=>{if(!D){U(!0);return}const Oe=Q.find(Ne=>Ne.props.text.includes(N.toLowerCase()));if(Oe){const Ne=Oe.props;F(Ne.value),P?.(Ne.value,o),$.current.value=String(Ne.value||""),O.onChange?.({target:$.current}),U(!1),$.current.blur()}},[P,O,o,D,Q,N]),we=Dc(Oe=>{let Ne;const me=Q.findIndex(be=>{const Ue=be.props;return N?Ue.text===N:Ue.value===B});Oe==="down"?Ne=me+1>=Q.length?Q[0]:Q[me+1]:Ne=me<=0?Q[Q.length-1]:Q[me-1];const pe=Ne.props.text;V(pe)},[Q,B,N]),ye=Dc(Oe=>{Oe.key==="Enter"&&!Oe.nativeEvent.isComposing?ve():Oe.key==="ArrowDown"?(we("down"),Oe.preventDefault()):Oe.key==="ArrowUp"&&(we("up"),Oe.preventDefault())},[ve,we]),Le=Dc((Oe,Ne)=>{oe(Ne),Ne?O.onFocus?.(Oe):O.onBlur?.(Oe)},[O]);return Nf(A,Oe=>{},{offTouchEvent:!0}),Yg(()=>{if(Q.length&&!u&&!le){const Ne=Q[0].props.value;F($.current?.value??Ne)}},[u,le,Q]),Yg(()=>{typeof a<"u"&&F(a)},[a]),Yg(()=>{D||V("")},[D]),Vie(e,()=>($.current.handleClickSelectBox=te,{...$.current,get value(){return $.current.value},set value(Oe){F(Ne=>typeof Ne=="string"&&Ne===Oe||typeof Ne=="number"&&Ne===Number(Oe)||typeof Ne=="boolean"&&String(Ne)===String(Oe)?Ne:Oe),$.current.value=Oe}})),ne(Mr,{children:[h("div",{ref:A,className:r1("select-box",n,{open:D,focus:Y,disabled:d,error:i,readonly:f,placeholder:ee.isPlaceholder,"not-allow":d}),onClick:te,children:ne("label",{className:"h-inherit relative box-border block w-full overflow-hidden",children:[h("div",{className:r1("value",{placeholder:ee.isPlaceholder}),children:h("span",{children:ee.text})}),h("input",{...O,ref:$,type:"text",value:B??$.current?.value??"",name:o,readOnly:!0,onFocus:Oe=>Le(Oe,!0),onBlur:Oe=>Le(Oe,!1),onKeyDown:ye}),h("i",{className:r1("ico-arrow"),children:g})]})}),x&&h(Die,{className:v,type:"dialog",open:D,hideCloseButton:!0,onOpenChange:U,children:re}),!x&&D&&h(Gl,{children:h(JM,{ref:M,className:m,label:l,inputEl:$.current,parentEl:A.current,setOpen:U,search:s,searchText:N,searchPlaceholder:y,showCloseBtn:_,whenScrollCloseDropBox:S,noDataMsg:C,handleSearchTextChange:ue,handleKeyPress:ye,children:re})})]})});jie.displayName="SelectBox";const Hie="_option_1nygb_40",Wie="_active_1nygb_57",qie="_match_1nygb_65",Uie="_hide_1nygb_68",Yie="_disabled_1nygb_71",Gie={option:Hie,active:Wie,match:qie,hide:Uie,disabled:Yie},{useCallback:Kie,useMemo:Xie}=await q("react"),Zie=rn(Gie,"rb-ui"),Qie=({className:t="",text:e,value:n,label:r,children:o,selectedValue:a="",searchText:i="",disabled:s,handleChange:l})=>{const u=Xie(()=>i?kn.lowerCase(e).includes(kn.lowerCase(i)):!1,[e,i]),d=Kie(f=>{f.button===2||s||l?.({label:r??o,value:n})},[o,s,l,n,r]);return h("div",{className:Zie(t,"option",{active:a===n,match:u,disabled:s}),role:"button",tabIndex:-1,onMouseDown:d,children:o})};Qie.displayName="Option";const Jie="_error_k6i01_44",ese="_filled_k6i01_51",tse={"text-area":"_text-area_k6i01_39",error:Jie,filled:ese,"text-count":"_text-count_k6i01_83"},{forwardRef:nse,useCallback:rse,useEffect:Y5,useImperativeHandle:ose,useRef:ase,useState:ise}=await q("react"),G5=rn(tse,"rb-ui"),sse=nse(({className:t="",maxLength:e,error:n,handleChange:r,...o},a)=>{const i=ase(null),[s,l]=ise(0),u=rse(d=>{const{value:f,name:m}=d.target;r?.(f,m),o.onChange?.(d),l(f.length)},[r,o]);return Y5(()=>{i.current&&l((i.current.value??"").length)},[]),Y5(()=>{i.current&&i.current.value.length>e&&(i.current.value=i.current.value.slice(0,e),dispatchEvent(new Event("change",{bubbles:!0})))},[e]),ose(a,()=>i.current),ne("div",{className:G5(t,"text-area",{error:n}),children:[h("textarea",{ref:i,...o,maxLength:e,onChange:u}),!!e&&ne("p",{className:G5("text-count"),children:[h("strong",{children:Wo(s)}),"/",Wo(e)]})]})});sse.displayName="TextArea";const lse="_focus_svlhq_78",cse="_filled_svlhq_81",use="_disabled_svlhq_88",dse="_error_svlhq_96",fse="_search_svlhq_103",pse={"rb-text-input":"_rb-text-input_svlhq_40",focus:lse,filled:cse,disabled:use,error:dse,search:fse,"ico-prefix":"_ico-prefix_svlhq_103","input-area":"_input-area_svlhq_106","ico-reset":"_ico-reset_svlhq_135"},{useRef:hse,useMemo:mse,useState:K5,useCallback:Bc,useEffect:X5,forwardRef:gse,useImperativeHandle:vse}=await q("react"),hd=rn(pse,"rb-ui"),ek=gse((t,e)=>{const{className:n="",error:r,info:o,hideBtnReset:a,prefixIcon:i,searchIcon:s=h(m$,{className:"ico-search"}),resetIcon:l=h(h$,{}),handleChange:u,handleReset:d,handleEnter:f,validate:m,...v}=t,{value:g,...w}=v,y=hse(null),[_,S]=K5(!1),[x,C]=K5(String(g||w?.defaultValue||"")),R=mse(()=>{const{type:B,readOnly:F}=v;return{reset:_&&!a&&!!x&&!F,search:B==="search"}},[v,x,_,a]),P=Bc(B=>!B||!m?B:typeof m=="function"?m(B):m instanceof RegExp?m.test(String(B))?B:x:B,[x,m]),O=Bc(()=>{const B=v.name;y.current.value="";const F={target:{...y.current,value:"",name:B}};v.onChange?.(F),C(""),u?.("",B),d?.("",B,!0)},[v,u,d]),$=Bc(B=>{const{name:F}=B.target;let N=B.target.value;if(N===x)return;(typeof v.value=="number"||v.type==="number")&&(N=!N||Number.isNaN(Number(N))?void 0:Number(N));const V=P(N);B.target.value=String(V??""),u?.(V,F),v.onChange?.(B),C(V??""),y.current.value=String(V??""),V===""&&d?.("",F)},[x,P,u,v,d]),A=Bc((B,F)=>{S(F),F?v.onFocus?.(B):v.onBlur?.(B)},[v]),M=Bc(B=>{const{value:F="",name:N}=B.target;f?.(F,N),y.current?.blur()},[f]),L=Bc(B=>{B.key==="Enter"&&!B.nativeEvent.isComposing&&M(B),v.onKeyDown?.(B)},[v,M]);return X5(()=>{v.value!==x&&v.value!==void 0&&(C(v.value),y.current.value=String(v.value??""))},[v.value,x]),X5(()=>{y.current&&typeof y.current.scrollTo=="function"&&y.current.scrollTo(window.innerWidth,0)},[R.reset]),vse(e,()=>({...y.current,set value(B){B!==y.current.value&&(y.current.value=B),C(B)},get value(){return y.current.value}})),h("div",{className:hd("rb-text-input",n,v.type,{focus:_,filled:!!x,readonly:v.readOnly,disabled:v.disabled,required:v.required,error:r,info:o}),children:ne("div",{className:hd("input-area"),children:[R.search&&h("span",{className:hd("ico-prefix"),children:s}),!R.search&&!!i&&h("span",{className:hd("ico-prefix"),children:i}),R.reset&&h("button",{className:hd("ico-reset"),onMouseDown:O,onTouchStart:O,children:l}),h("input",{ref:y,...w,defaultValue:v.defaultValue||x,onChange:$,onFocus:B=>A(B,!0),onBlur:B=>A(B,!1),onKeyDown:L})]})})});ek.displayName="TextInput";const wse="_vstack_iu452_40",bse="_hstack_iu452_43",tk={vstack:wse,hstack:bse,"rb-inline-flex":"_rb-inline-flex_iu452_46","rb-flex":"_rb-flex_iu452_49","justify-content-center":"_justify-content-center_iu452_53","justify-content-start":"_justify-content-start_iu452_57","justify-content-end":"_justify-content-end_iu452_61","justify-content-space-between":"_justify-content-space-between_iu452_65","justify-content-space-around":"_justify-content-space-around_iu452_69","justify-content-space-evenly":"_justify-content-space-evenly_iu452_73","justify-content-stretch":"_justify-content-stretch_iu452_77","justify-content-flex-start":"_justify-content-flex-start_iu452_81","justify-content-flex-end":"_justify-content-flex-end_iu452_85","justify-content-left":"_justify-content-left_iu452_89","justify-content-right":"_justify-content-right_iu452_93","justify-content-normal":"_justify-content-normal_iu452_97","justify-content-revert":"_justify-content-revert_iu452_101","justify-content-revert-layer":"_justify-content-revert-layer_iu452_105","justify-content-initial":"_justify-content-initial_iu452_109","justify-content-inherit":"_justify-content-inherit_iu452_113","justify-self-center":"_justify-self-center_iu452_117","justify-self-start":"_justify-self-start_iu452_120","justify-self-end":"_justify-self-end_iu452_123","justify-self-stretch":"_justify-self-stretch_iu452_126","justify-self-flex-start":"_justify-self-flex-start_iu452_129","justify-self-flex-end":"_justify-self-flex-end_iu452_132","justify-self-left":"_justify-self-left_iu452_135","justify-self-right":"_justify-self-right_iu452_138","justify-self-normal":"_justify-self-normal_iu452_141","justify-self-baseline":"_justify-self-baseline_iu452_144","justify-self-revert":"_justify-self-revert_iu452_147","justify-self-revert-layer":"_justify-self-revert-layer_iu452_150","justify-self-initial":"_justify-self-initial_iu452_153","justify-self-inherit":"_justify-self-inherit_iu452_156","justify-items-center":"_justify-items-center_iu452_159","justify-items-start":"_justify-items-start_iu452_162","justify-items-end":"_justify-items-end_iu452_165","justify-items-stretch":"_justify-items-stretch_iu452_168","justify-items-flex-start":"_justify-items-flex-start_iu452_171","justify-items-flex-end":"_justify-items-flex-end_iu452_174","justify-items-left":"_justify-items-left_iu452_177","justify-items-right":"_justify-items-right_iu452_180","justify-items-normal":"_justify-items-normal_iu452_183","justify-items-baseline":"_justify-items-baseline_iu452_186","justify-items-legacy":"_justify-items-legacy_iu452_189","justify-items-self-start":"_justify-items-self-start_iu452_192","justify-items-self-end":"_justify-items-self-end_iu452_195","justify-items-initial":"_justify-items-initial_iu452_198","justify-items-inherit":"_justify-items-inherit_iu452_201","align-items-start":"_align-items-start_iu452_204","align-items-center":"_align-items-center_iu452_208","align-items-end":"_align-items-end_iu452_212","align-items-stretch":"_align-items-stretch_iu452_216","align-items-flex-start":"_align-items-flex-start_iu452_220","align-items-flex-end":"_align-items-flex-end_iu452_224","align-items-left":"_align-items-left_iu452_228","align-items-right":"_align-items-right_iu452_232","align-items-normal":"_align-items-normal_iu452_236","align-items-revert":"_align-items-revert_iu452_240","align-items-revert-layer":"_align-items-revert-layer_iu452_244","align-items-baseline":"_align-items-baseline_iu452_247","align-items-self-start":"_align-items-self-start_iu452_251","align-items-self-end":"_align-items-self-end_iu452_255","align-items-initial":"_align-items-initial_iu452_259","align-items-inherit":"_align-items-inherit_iu452_263","align-self-baseline":"_align-self-baseline_iu452_267","align-self-center":"_align-self-center_iu452_270","align-self-start":"_align-self-start_iu452_273","align-self-end":"_align-self-end_iu452_276","align-self-stretch":"_align-self-stretch_iu452_279","align-self-flex-start":"_align-self-flex-start_iu452_282","align-self-flex-end":"_align-self-flex-end_iu452_285","align-self-left":"_align-self-left_iu452_288","align-self-right":"_align-self-right_iu452_291","align-self-normal":"_align-self-normal_iu452_294","align-self-revert":"_align-self-revert_iu452_297","align-self-revert-layer":"_align-self-revert-layer_iu452_300","align-self-initial":"_align-self-initial_iu452_303","align-self-inherit":"_align-self-inherit_iu452_306","align-content-center":"_align-content-center_iu452_309","align-content-start":"_align-content-start_iu452_312","align-content-end":"_align-content-end_iu452_315","align-content-space-between":"_align-content-space-between_iu452_318","align-content-space-around":"_align-content-space-around_iu452_321","align-content-space-evenly":"_align-content-space-evenly_iu452_324","align-content-stretch":"_align-content-stretch_iu452_327","align-content-flex-start":"_align-content-flex-start_iu452_330","align-content-flex-end":"_align-content-flex-end_iu452_333","align-content-left":"_align-content-left_iu452_336","align-content-right":"_align-content-right_iu452_339","align-content-normal":"_align-content-normal_iu452_342","align-content-revert":"_align-content-revert_iu452_345","align-content-revert-layer":"_align-content-revert-layer_iu452_348","align-content-initial":"_align-content-initial_iu452_351","align-content-inherit":"_align-content-inherit_iu452_354","column-gap-1":"_column-gap-1_iu452_357","row-gap-1":"_row-gap-1_iu452_360","column-gap-2":"_column-gap-2_iu452_363","row-gap-2":"_row-gap-2_iu452_366","column-gap-3":"_column-gap-3_iu452_369","row-gap-3":"_row-gap-3_iu452_372","column-gap-4":"_column-gap-4_iu452_375","row-gap-4":"_row-gap-4_iu452_378","column-gap-5":"_column-gap-5_iu452_381","row-gap-5":"_row-gap-5_iu452_384","column-gap-6":"_column-gap-6_iu452_387","row-gap-6":"_row-gap-6_iu452_390","column-gap-7":"_column-gap-7_iu452_393","row-gap-7":"_row-gap-7_iu452_396","column-gap-8":"_column-gap-8_iu452_399","row-gap-8":"_row-gap-8_iu452_402","column-gap-9":"_column-gap-9_iu452_405","row-gap-9":"_row-gap-9_iu452_408","column-gap-10":"_column-gap-10_iu452_411","row-gap-10":"_row-gap-10_iu452_414","column-gap-11":"_column-gap-11_iu452_417","row-gap-11":"_row-gap-11_iu452_420","column-gap-12":"_column-gap-12_iu452_423","row-gap-12":"_row-gap-12_iu452_426","column-gap-13":"_column-gap-13_iu452_429","row-gap-13":"_row-gap-13_iu452_432","column-gap-14":"_column-gap-14_iu452_435","row-gap-14":"_row-gap-14_iu452_438","column-gap-15":"_column-gap-15_iu452_441","row-gap-15":"_row-gap-15_iu452_444","column-gap-16":"_column-gap-16_iu452_447","row-gap-16":"_row-gap-16_iu452_450","column-gap-17":"_column-gap-17_iu452_453","row-gap-17":"_row-gap-17_iu452_456","column-gap-18":"_column-gap-18_iu452_459","row-gap-18":"_row-gap-18_iu452_462","column-gap-19":"_column-gap-19_iu452_465","row-gap-19":"_row-gap-19_iu452_468","column-gap-20":"_column-gap-20_iu452_471","row-gap-20":"_row-gap-20_iu452_474","column-gap-21":"_column-gap-21_iu452_477","row-gap-21":"_row-gap-21_iu452_480","column-gap-22":"_column-gap-22_iu452_483","row-gap-22":"_row-gap-22_iu452_486","column-gap-23":"_column-gap-23_iu452_489","row-gap-23":"_row-gap-23_iu452_492","column-gap-24":"_column-gap-24_iu452_495","row-gap-24":"_row-gap-24_iu452_498","column-gap-25":"_column-gap-25_iu452_501","row-gap-25":"_row-gap-25_iu452_504","column-gap-26":"_column-gap-26_iu452_507","row-gap-26":"_row-gap-26_iu452_510","column-gap-27":"_column-gap-27_iu452_513","row-gap-27":"_row-gap-27_iu452_516","column-gap-28":"_column-gap-28_iu452_519","row-gap-28":"_row-gap-28_iu452_522","column-gap-29":"_column-gap-29_iu452_525","row-gap-29":"_row-gap-29_iu452_528","column-gap-30":"_column-gap-30_iu452_531","row-gap-30":"_row-gap-30_iu452_534","column-gap-31":"_column-gap-31_iu452_537","row-gap-31":"_row-gap-31_iu452_540","column-gap-32":"_column-gap-32_iu452_543","row-gap-32":"_row-gap-32_iu452_546","column-gap-33":"_column-gap-33_iu452_549","row-gap-33":"_row-gap-33_iu452_552","column-gap-34":"_column-gap-34_iu452_555","row-gap-34":"_row-gap-34_iu452_558","column-gap-35":"_column-gap-35_iu452_561","row-gap-35":"_row-gap-35_iu452_564","column-gap-36":"_column-gap-36_iu452_567","row-gap-36":"_row-gap-36_iu452_570","column-gap-37":"_column-gap-37_iu452_573","row-gap-37":"_row-gap-37_iu452_576","column-gap-38":"_column-gap-38_iu452_579","row-gap-38":"_row-gap-38_iu452_582","column-gap-39":"_column-gap-39_iu452_585","row-gap-39":"_row-gap-39_iu452_588","column-gap-40":"_column-gap-40_iu452_591","row-gap-40":"_row-gap-40_iu452_594","column-gap-41":"_column-gap-41_iu452_597","row-gap-41":"_row-gap-41_iu452_600","column-gap-42":"_column-gap-42_iu452_603","row-gap-42":"_row-gap-42_iu452_606","column-gap-43":"_column-gap-43_iu452_609","row-gap-43":"_row-gap-43_iu452_612","column-gap-44":"_column-gap-44_iu452_615","row-gap-44":"_row-gap-44_iu452_618","column-gap-45":"_column-gap-45_iu452_621","row-gap-45":"_row-gap-45_iu452_624","column-gap-46":"_column-gap-46_iu452_627","row-gap-46":"_row-gap-46_iu452_630","column-gap-47":"_column-gap-47_iu452_633","row-gap-47":"_row-gap-47_iu452_636","column-gap-48":"_column-gap-48_iu452_639","row-gap-48":"_row-gap-48_iu452_642","column-gap-49":"_column-gap-49_iu452_645","row-gap-49":"_row-gap-49_iu452_648","column-gap-50":"_column-gap-50_iu452_651","row-gap-50":"_row-gap-50_iu452_654","column-gap-51":"_column-gap-51_iu452_657","row-gap-51":"_row-gap-51_iu452_660","column-gap-52":"_column-gap-52_iu452_663","row-gap-52":"_row-gap-52_iu452_666","column-gap-53":"_column-gap-53_iu452_669","row-gap-53":"_row-gap-53_iu452_672","column-gap-54":"_column-gap-54_iu452_675","row-gap-54":"_row-gap-54_iu452_678","column-gap-55":"_column-gap-55_iu452_681","row-gap-55":"_row-gap-55_iu452_684","column-gap-56":"_column-gap-56_iu452_687","row-gap-56":"_row-gap-56_iu452_690","column-gap-57":"_column-gap-57_iu452_693","row-gap-57":"_row-gap-57_iu452_696","column-gap-58":"_column-gap-58_iu452_699","row-gap-58":"_row-gap-58_iu452_702","column-gap-59":"_column-gap-59_iu452_705","row-gap-59":"_row-gap-59_iu452_708","column-gap-60":"_column-gap-60_iu452_711","row-gap-60":"_row-gap-60_iu452_714","column-gap-61":"_column-gap-61_iu452_717","row-gap-61":"_row-gap-61_iu452_720","column-gap-62":"_column-gap-62_iu452_723","row-gap-62":"_row-gap-62_iu452_726","column-gap-63":"_column-gap-63_iu452_729","row-gap-63":"_row-gap-63_iu452_732","column-gap-64":"_column-gap-64_iu452_735","row-gap-64":"_row-gap-64_iu452_738","column-gap-65":"_column-gap-65_iu452_741","row-gap-65":"_row-gap-65_iu452_744","column-gap-66":"_column-gap-66_iu452_747","row-gap-66":"_row-gap-66_iu452_750","column-gap-67":"_column-gap-67_iu452_753","row-gap-67":"_row-gap-67_iu452_756","column-gap-68":"_column-gap-68_iu452_759","row-gap-68":"_row-gap-68_iu452_762","column-gap-69":"_column-gap-69_iu452_765","row-gap-69":"_row-gap-69_iu452_768","column-gap-70":"_column-gap-70_iu452_771","row-gap-70":"_row-gap-70_iu452_774","column-gap-71":"_column-gap-71_iu452_777","row-gap-71":"_row-gap-71_iu452_780","column-gap-72":"_column-gap-72_iu452_783","row-gap-72":"_row-gap-72_iu452_786","column-gap-73":"_column-gap-73_iu452_789","row-gap-73":"_row-gap-73_iu452_792","column-gap-74":"_column-gap-74_iu452_795","row-gap-74":"_row-gap-74_iu452_798","column-gap-75":"_column-gap-75_iu452_801","row-gap-75":"_row-gap-75_iu452_804","column-gap-76":"_column-gap-76_iu452_807","row-gap-76":"_row-gap-76_iu452_810","column-gap-77":"_column-gap-77_iu452_813","row-gap-77":"_row-gap-77_iu452_816","column-gap-78":"_column-gap-78_iu452_819","row-gap-78":"_row-gap-78_iu452_822","column-gap-79":"_column-gap-79_iu452_825","row-gap-79":"_row-gap-79_iu452_828","column-gap-80":"_column-gap-80_iu452_831","row-gap-80":"_row-gap-80_iu452_834","column-gap-81":"_column-gap-81_iu452_837","row-gap-81":"_row-gap-81_iu452_840","column-gap-82":"_column-gap-82_iu452_843","row-gap-82":"_row-gap-82_iu452_846","column-gap-83":"_column-gap-83_iu452_849","row-gap-83":"_row-gap-83_iu452_852","column-gap-84":"_column-gap-84_iu452_855","row-gap-84":"_row-gap-84_iu452_858","column-gap-85":"_column-gap-85_iu452_861","row-gap-85":"_row-gap-85_iu452_864","column-gap-86":"_column-gap-86_iu452_867","row-gap-86":"_row-gap-86_iu452_870","column-gap-87":"_column-gap-87_iu452_873","row-gap-87":"_row-gap-87_iu452_876","column-gap-88":"_column-gap-88_iu452_879","row-gap-88":"_row-gap-88_iu452_882","column-gap-89":"_column-gap-89_iu452_885","row-gap-89":"_row-gap-89_iu452_888","column-gap-90":"_column-gap-90_iu452_891","row-gap-90":"_row-gap-90_iu452_894","column-gap-91":"_column-gap-91_iu452_897","row-gap-91":"_row-gap-91_iu452_900","column-gap-92":"_column-gap-92_iu452_903","row-gap-92":"_row-gap-92_iu452_906","column-gap-93":"_column-gap-93_iu452_909","row-gap-93":"_row-gap-93_iu452_912","column-gap-94":"_column-gap-94_iu452_915","row-gap-94":"_row-gap-94_iu452_918","column-gap-95":"_column-gap-95_iu452_921","row-gap-95":"_row-gap-95_iu452_924","column-gap-96":"_column-gap-96_iu452_927","row-gap-96":"_row-gap-96_iu452_930","column-gap-97":"_column-gap-97_iu452_933","row-gap-97":"_row-gap-97_iu452_936","column-gap-98":"_column-gap-98_iu452_939","row-gap-98":"_row-gap-98_iu452_942","column-gap-99":"_column-gap-99_iu452_945","row-gap-99":"_row-gap-99_iu452_948","column-gap-100":"_column-gap-100_iu452_951","row-gap-100":"_row-gap-100_iu452_954","column-gap-101":"_column-gap-101_iu452_957","row-gap-101":"_row-gap-101_iu452_960","column-gap-102":"_column-gap-102_iu452_963","row-gap-102":"_row-gap-102_iu452_966","column-gap-103":"_column-gap-103_iu452_969","row-gap-103":"_row-gap-103_iu452_972","column-gap-104":"_column-gap-104_iu452_975","row-gap-104":"_row-gap-104_iu452_978","column-gap-105":"_column-gap-105_iu452_981","row-gap-105":"_row-gap-105_iu452_984","column-gap-106":"_column-gap-106_iu452_987","row-gap-106":"_row-gap-106_iu452_990","column-gap-107":"_column-gap-107_iu452_993","row-gap-107":"_row-gap-107_iu452_996","column-gap-108":"_column-gap-108_iu452_999","row-gap-108":"_row-gap-108_iu452_1002","column-gap-109":"_column-gap-109_iu452_1005","row-gap-109":"_row-gap-109_iu452_1008","column-gap-110":"_column-gap-110_iu452_1011","row-gap-110":"_row-gap-110_iu452_1014","column-gap-111":"_column-gap-111_iu452_1017","row-gap-111":"_row-gap-111_iu452_1020","column-gap-112":"_column-gap-112_iu452_1023","row-gap-112":"_row-gap-112_iu452_1026","column-gap-113":"_column-gap-113_iu452_1029","row-gap-113":"_row-gap-113_iu452_1032","column-gap-114":"_column-gap-114_iu452_1035","row-gap-114":"_row-gap-114_iu452_1038","column-gap-115":"_column-gap-115_iu452_1041","row-gap-115":"_row-gap-115_iu452_1044","column-gap-116":"_column-gap-116_iu452_1047","row-gap-116":"_row-gap-116_iu452_1050","column-gap-117":"_column-gap-117_iu452_1053","row-gap-117":"_row-gap-117_iu452_1056","column-gap-118":"_column-gap-118_iu452_1059","row-gap-118":"_row-gap-118_iu452_1062","column-gap-119":"_column-gap-119_iu452_1065","row-gap-119":"_row-gap-119_iu452_1068","column-gap-120":"_column-gap-120_iu452_1071","row-gap-120":"_row-gap-120_iu452_1074","column-gap-121":"_column-gap-121_iu452_1077","row-gap-121":"_row-gap-121_iu452_1080","column-gap-122":"_column-gap-122_iu452_1083","row-gap-122":"_row-gap-122_iu452_1086","column-gap-123":"_column-gap-123_iu452_1089","row-gap-123":"_row-gap-123_iu452_1092","column-gap-124":"_column-gap-124_iu452_1095","row-gap-124":"_row-gap-124_iu452_1098","column-gap-125":"_column-gap-125_iu452_1101","row-gap-125":"_row-gap-125_iu452_1104","column-gap-126":"_column-gap-126_iu452_1107","row-gap-126":"_row-gap-126_iu452_1110","column-gap-127":"_column-gap-127_iu452_1113","row-gap-127":"_row-gap-127_iu452_1116","column-gap-128":"_column-gap-128_iu452_1119","row-gap-128":"_row-gap-128_iu452_1122","column-gap-129":"_column-gap-129_iu452_1125","row-gap-129":"_row-gap-129_iu452_1128","column-gap-130":"_column-gap-130_iu452_1131","row-gap-130":"_row-gap-130_iu452_1134","column-gap-131":"_column-gap-131_iu452_1137","row-gap-131":"_row-gap-131_iu452_1140","column-gap-132":"_column-gap-132_iu452_1143","row-gap-132":"_row-gap-132_iu452_1146","column-gap-133":"_column-gap-133_iu452_1149","row-gap-133":"_row-gap-133_iu452_1152","column-gap-134":"_column-gap-134_iu452_1155","row-gap-134":"_row-gap-134_iu452_1158","column-gap-135":"_column-gap-135_iu452_1161","row-gap-135":"_row-gap-135_iu452_1164","column-gap-136":"_column-gap-136_iu452_1167","row-gap-136":"_row-gap-136_iu452_1170","column-gap-137":"_column-gap-137_iu452_1173","row-gap-137":"_row-gap-137_iu452_1176","column-gap-138":"_column-gap-138_iu452_1179","row-gap-138":"_row-gap-138_iu452_1182","column-gap-139":"_column-gap-139_iu452_1185","row-gap-139":"_row-gap-139_iu452_1188","column-gap-140":"_column-gap-140_iu452_1191","row-gap-140":"_row-gap-140_iu452_1194","column-gap-141":"_column-gap-141_iu452_1197","row-gap-141":"_row-gap-141_iu452_1200","column-gap-142":"_column-gap-142_iu452_1203","row-gap-142":"_row-gap-142_iu452_1206","column-gap-143":"_column-gap-143_iu452_1209","row-gap-143":"_row-gap-143_iu452_1212","column-gap-144":"_column-gap-144_iu452_1215","row-gap-144":"_row-gap-144_iu452_1218","column-gap-145":"_column-gap-145_iu452_1221","row-gap-145":"_row-gap-145_iu452_1224","column-gap-146":"_column-gap-146_iu452_1227","row-gap-146":"_row-gap-146_iu452_1230","column-gap-147":"_column-gap-147_iu452_1233","row-gap-147":"_row-gap-147_iu452_1236","column-gap-148":"_column-gap-148_iu452_1239","row-gap-148":"_row-gap-148_iu452_1242","column-gap-149":"_column-gap-149_iu452_1245","row-gap-149":"_row-gap-149_iu452_1248","column-gap-150":"_column-gap-150_iu452_1251","row-gap-150":"_row-gap-150_iu452_1254","column-gap-151":"_column-gap-151_iu452_1257","row-gap-151":"_row-gap-151_iu452_1260","column-gap-152":"_column-gap-152_iu452_1263","row-gap-152":"_row-gap-152_iu452_1266","column-gap-153":"_column-gap-153_iu452_1269","row-gap-153":"_row-gap-153_iu452_1272","column-gap-154":"_column-gap-154_iu452_1275","row-gap-154":"_row-gap-154_iu452_1278","column-gap-155":"_column-gap-155_iu452_1281","row-gap-155":"_row-gap-155_iu452_1284","column-gap-156":"_column-gap-156_iu452_1287","row-gap-156":"_row-gap-156_iu452_1290","column-gap-157":"_column-gap-157_iu452_1293","row-gap-157":"_row-gap-157_iu452_1296","column-gap-158":"_column-gap-158_iu452_1299","row-gap-158":"_row-gap-158_iu452_1302","column-gap-159":"_column-gap-159_iu452_1305","row-gap-159":"_row-gap-159_iu452_1308","column-gap-160":"_column-gap-160_iu452_1311","row-gap-160":"_row-gap-160_iu452_1314","column-gap-161":"_column-gap-161_iu452_1317","row-gap-161":"_row-gap-161_iu452_1320","column-gap-162":"_column-gap-162_iu452_1323","row-gap-162":"_row-gap-162_iu452_1326","column-gap-163":"_column-gap-163_iu452_1329","row-gap-163":"_row-gap-163_iu452_1332","column-gap-164":"_column-gap-164_iu452_1335","row-gap-164":"_row-gap-164_iu452_1338","column-gap-165":"_column-gap-165_iu452_1341","row-gap-165":"_row-gap-165_iu452_1344","column-gap-166":"_column-gap-166_iu452_1347","row-gap-166":"_row-gap-166_iu452_1350","column-gap-167":"_column-gap-167_iu452_1353","row-gap-167":"_row-gap-167_iu452_1356","column-gap-168":"_column-gap-168_iu452_1359","row-gap-168":"_row-gap-168_iu452_1362","column-gap-169":"_column-gap-169_iu452_1365","row-gap-169":"_row-gap-169_iu452_1368","column-gap-170":"_column-gap-170_iu452_1371","row-gap-170":"_row-gap-170_iu452_1374","column-gap-171":"_column-gap-171_iu452_1377","row-gap-171":"_row-gap-171_iu452_1380","column-gap-172":"_column-gap-172_iu452_1383","row-gap-172":"_row-gap-172_iu452_1386","column-gap-173":"_column-gap-173_iu452_1389","row-gap-173":"_row-gap-173_iu452_1392","column-gap-174":"_column-gap-174_iu452_1395","row-gap-174":"_row-gap-174_iu452_1398","column-gap-175":"_column-gap-175_iu452_1401","row-gap-175":"_row-gap-175_iu452_1404","column-gap-176":"_column-gap-176_iu452_1407","row-gap-176":"_row-gap-176_iu452_1410","column-gap-177":"_column-gap-177_iu452_1413","row-gap-177":"_row-gap-177_iu452_1416","column-gap-178":"_column-gap-178_iu452_1419","row-gap-178":"_row-gap-178_iu452_1422","column-gap-179":"_column-gap-179_iu452_1425","row-gap-179":"_row-gap-179_iu452_1428","column-gap-180":"_column-gap-180_iu452_1431","row-gap-180":"_row-gap-180_iu452_1434","column-gap-181":"_column-gap-181_iu452_1437","row-gap-181":"_row-gap-181_iu452_1440","column-gap-182":"_column-gap-182_iu452_1443","row-gap-182":"_row-gap-182_iu452_1446","column-gap-183":"_column-gap-183_iu452_1449","row-gap-183":"_row-gap-183_iu452_1452","column-gap-184":"_column-gap-184_iu452_1455","row-gap-184":"_row-gap-184_iu452_1458","column-gap-185":"_column-gap-185_iu452_1461","row-gap-185":"_row-gap-185_iu452_1464","column-gap-186":"_column-gap-186_iu452_1467","row-gap-186":"_row-gap-186_iu452_1470","column-gap-187":"_column-gap-187_iu452_1473","row-gap-187":"_row-gap-187_iu452_1476","column-gap-188":"_column-gap-188_iu452_1479","row-gap-188":"_row-gap-188_iu452_1482","column-gap-189":"_column-gap-189_iu452_1485","row-gap-189":"_row-gap-189_iu452_1488","column-gap-190":"_column-gap-190_iu452_1491","row-gap-190":"_row-gap-190_iu452_1494","column-gap-191":"_column-gap-191_iu452_1497","row-gap-191":"_row-gap-191_iu452_1500","column-gap-192":"_column-gap-192_iu452_1503","row-gap-192":"_row-gap-192_iu452_1506","column-gap-193":"_column-gap-193_iu452_1509","row-gap-193":"_row-gap-193_iu452_1512","column-gap-194":"_column-gap-194_iu452_1515","row-gap-194":"_row-gap-194_iu452_1518","column-gap-195":"_column-gap-195_iu452_1521","row-gap-195":"_row-gap-195_iu452_1524","column-gap-196":"_column-gap-196_iu452_1527","row-gap-196":"_row-gap-196_iu452_1530","column-gap-197":"_column-gap-197_iu452_1533","row-gap-197":"_row-gap-197_iu452_1536","column-gap-198":"_column-gap-198_iu452_1539","row-gap-198":"_row-gap-198_iu452_1542","column-gap-199":"_column-gap-199_iu452_1545","row-gap-199":"_row-gap-199_iu452_1548","column-gap-200":"_column-gap-200_iu452_1551","row-gap-200":"_row-gap-200_iu452_1554","column-gap-201":"_column-gap-201_iu452_1557","row-gap-201":"_row-gap-201_iu452_1560","column-gap-202":"_column-gap-202_iu452_1563","row-gap-202":"_row-gap-202_iu452_1566","column-gap-203":"_column-gap-203_iu452_1569","row-gap-203":"_row-gap-203_iu452_1572","column-gap-204":"_column-gap-204_iu452_1575","row-gap-204":"_row-gap-204_iu452_1578","column-gap-205":"_column-gap-205_iu452_1581","row-gap-205":"_row-gap-205_iu452_1584","column-gap-206":"_column-gap-206_iu452_1587","row-gap-206":"_row-gap-206_iu452_1590","column-gap-207":"_column-gap-207_iu452_1593","row-gap-207":"_row-gap-207_iu452_1596","column-gap-208":"_column-gap-208_iu452_1599","row-gap-208":"_row-gap-208_iu452_1602","column-gap-209":"_column-gap-209_iu452_1605","row-gap-209":"_row-gap-209_iu452_1608","column-gap-210":"_column-gap-210_iu452_1611","row-gap-210":"_row-gap-210_iu452_1614","column-gap-211":"_column-gap-211_iu452_1617","row-gap-211":"_row-gap-211_iu452_1620","column-gap-212":"_column-gap-212_iu452_1623","row-gap-212":"_row-gap-212_iu452_1626","column-gap-213":"_column-gap-213_iu452_1629","row-gap-213":"_row-gap-213_iu452_1632","column-gap-214":"_column-gap-214_iu452_1635","row-gap-214":"_row-gap-214_iu452_1638","column-gap-215":"_column-gap-215_iu452_1641","row-gap-215":"_row-gap-215_iu452_1644","column-gap-216":"_column-gap-216_iu452_1647","row-gap-216":"_row-gap-216_iu452_1650","column-gap-217":"_column-gap-217_iu452_1653","row-gap-217":"_row-gap-217_iu452_1656","column-gap-218":"_column-gap-218_iu452_1659","row-gap-218":"_row-gap-218_iu452_1662","column-gap-219":"_column-gap-219_iu452_1665","row-gap-219":"_row-gap-219_iu452_1668","column-gap-220":"_column-gap-220_iu452_1671","row-gap-220":"_row-gap-220_iu452_1674","column-gap-221":"_column-gap-221_iu452_1677","row-gap-221":"_row-gap-221_iu452_1680","column-gap-222":"_column-gap-222_iu452_1683","row-gap-222":"_row-gap-222_iu452_1686","column-gap-223":"_column-gap-223_iu452_1689","row-gap-223":"_row-gap-223_iu452_1692","column-gap-224":"_column-gap-224_iu452_1695","row-gap-224":"_row-gap-224_iu452_1698","column-gap-225":"_column-gap-225_iu452_1701","row-gap-225":"_row-gap-225_iu452_1704","column-gap-226":"_column-gap-226_iu452_1707","row-gap-226":"_row-gap-226_iu452_1710","column-gap-227":"_column-gap-227_iu452_1713","row-gap-227":"_row-gap-227_iu452_1716","column-gap-228":"_column-gap-228_iu452_1719","row-gap-228":"_row-gap-228_iu452_1722","column-gap-229":"_column-gap-229_iu452_1725","row-gap-229":"_row-gap-229_iu452_1728","column-gap-230":"_column-gap-230_iu452_1731","row-gap-230":"_row-gap-230_iu452_1734","column-gap-231":"_column-gap-231_iu452_1737","row-gap-231":"_row-gap-231_iu452_1740","column-gap-232":"_column-gap-232_iu452_1743","row-gap-232":"_row-gap-232_iu452_1746","column-gap-233":"_column-gap-233_iu452_1749","row-gap-233":"_row-gap-233_iu452_1752","column-gap-234":"_column-gap-234_iu452_1755","row-gap-234":"_row-gap-234_iu452_1758","column-gap-235":"_column-gap-235_iu452_1761","row-gap-235":"_row-gap-235_iu452_1764","column-gap-236":"_column-gap-236_iu452_1767","row-gap-236":"_row-gap-236_iu452_1770","column-gap-237":"_column-gap-237_iu452_1773","row-gap-237":"_row-gap-237_iu452_1776","column-gap-238":"_column-gap-238_iu452_1779","row-gap-238":"_row-gap-238_iu452_1782","column-gap-239":"_column-gap-239_iu452_1785","row-gap-239":"_row-gap-239_iu452_1788","column-gap-240":"_column-gap-240_iu452_1791","row-gap-240":"_row-gap-240_iu452_1794","column-gap-241":"_column-gap-241_iu452_1797","row-gap-241":"_row-gap-241_iu452_1800","column-gap-242":"_column-gap-242_iu452_1803","row-gap-242":"_row-gap-242_iu452_1806","column-gap-243":"_column-gap-243_iu452_1809","row-gap-243":"_row-gap-243_iu452_1812","column-gap-244":"_column-gap-244_iu452_1815","row-gap-244":"_row-gap-244_iu452_1818","column-gap-245":"_column-gap-245_iu452_1821","row-gap-245":"_row-gap-245_iu452_1824","column-gap-246":"_column-gap-246_iu452_1827","row-gap-246":"_row-gap-246_iu452_1830","column-gap-247":"_column-gap-247_iu452_1833","row-gap-247":"_row-gap-247_iu452_1836","column-gap-248":"_column-gap-248_iu452_1839","row-gap-248":"_row-gap-248_iu452_1842","column-gap-249":"_column-gap-249_iu452_1845","row-gap-249":"_row-gap-249_iu452_1848","column-gap-250":"_column-gap-250_iu452_1851","row-gap-250":"_row-gap-250_iu452_1854","column-gap-251":"_column-gap-251_iu452_1857","row-gap-251":"_row-gap-251_iu452_1860","column-gap-252":"_column-gap-252_iu452_1863","row-gap-252":"_row-gap-252_iu452_1866","column-gap-253":"_column-gap-253_iu452_1869","row-gap-253":"_row-gap-253_iu452_1872","column-gap-254":"_column-gap-254_iu452_1875","row-gap-254":"_row-gap-254_iu452_1878","column-gap-255":"_column-gap-255_iu452_1881","row-gap-255":"_row-gap-255_iu452_1884","column-gap-256":"_column-gap-256_iu452_1887","row-gap-256":"_row-gap-256_iu452_1890","column-gap-257":"_column-gap-257_iu452_1893","row-gap-257":"_row-gap-257_iu452_1896","column-gap-258":"_column-gap-258_iu452_1899","row-gap-258":"_row-gap-258_iu452_1902","column-gap-259":"_column-gap-259_iu452_1905","row-gap-259":"_row-gap-259_iu452_1908","column-gap-260":"_column-gap-260_iu452_1911","row-gap-260":"_row-gap-260_iu452_1914","column-gap-261":"_column-gap-261_iu452_1917","row-gap-261":"_row-gap-261_iu452_1920","column-gap-262":"_column-gap-262_iu452_1923","row-gap-262":"_row-gap-262_iu452_1926","column-gap-263":"_column-gap-263_iu452_1929","row-gap-263":"_row-gap-263_iu452_1932","column-gap-264":"_column-gap-264_iu452_1935","row-gap-264":"_row-gap-264_iu452_1938","column-gap-265":"_column-gap-265_iu452_1941","row-gap-265":"_row-gap-265_iu452_1944","column-gap-266":"_column-gap-266_iu452_1947","row-gap-266":"_row-gap-266_iu452_1950","column-gap-267":"_column-gap-267_iu452_1953","row-gap-267":"_row-gap-267_iu452_1956","column-gap-268":"_column-gap-268_iu452_1959","row-gap-268":"_row-gap-268_iu452_1962","column-gap-269":"_column-gap-269_iu452_1965","row-gap-269":"_row-gap-269_iu452_1968","column-gap-270":"_column-gap-270_iu452_1971","row-gap-270":"_row-gap-270_iu452_1974","column-gap-271":"_column-gap-271_iu452_1977","row-gap-271":"_row-gap-271_iu452_1980","column-gap-272":"_column-gap-272_iu452_1983","row-gap-272":"_row-gap-272_iu452_1986","column-gap-273":"_column-gap-273_iu452_1989","row-gap-273":"_row-gap-273_iu452_1992","column-gap-274":"_column-gap-274_iu452_1995","row-gap-274":"_row-gap-274_iu452_1998","column-gap-275":"_column-gap-275_iu452_2001","row-gap-275":"_row-gap-275_iu452_2004","column-gap-276":"_column-gap-276_iu452_2007","row-gap-276":"_row-gap-276_iu452_2010","column-gap-277":"_column-gap-277_iu452_2013","row-gap-277":"_row-gap-277_iu452_2016","column-gap-278":"_column-gap-278_iu452_2019","row-gap-278":"_row-gap-278_iu452_2022","column-gap-279":"_column-gap-279_iu452_2025","row-gap-279":"_row-gap-279_iu452_2028","column-gap-280":"_column-gap-280_iu452_2031","row-gap-280":"_row-gap-280_iu452_2034","column-gap-281":"_column-gap-281_iu452_2037","row-gap-281":"_row-gap-281_iu452_2040","column-gap-282":"_column-gap-282_iu452_2043","row-gap-282":"_row-gap-282_iu452_2046","column-gap-283":"_column-gap-283_iu452_2049","row-gap-283":"_row-gap-283_iu452_2052","column-gap-284":"_column-gap-284_iu452_2055","row-gap-284":"_row-gap-284_iu452_2058","column-gap-285":"_column-gap-285_iu452_2061","row-gap-285":"_row-gap-285_iu452_2064","column-gap-286":"_column-gap-286_iu452_2067","row-gap-286":"_row-gap-286_iu452_2070","column-gap-287":"_column-gap-287_iu452_2073","row-gap-287":"_row-gap-287_iu452_2076","column-gap-288":"_column-gap-288_iu452_2079","row-gap-288":"_row-gap-288_iu452_2082","column-gap-289":"_column-gap-289_iu452_2085","row-gap-289":"_row-gap-289_iu452_2088","column-gap-290":"_column-gap-290_iu452_2091","row-gap-290":"_row-gap-290_iu452_2094","column-gap-291":"_column-gap-291_iu452_2097","row-gap-291":"_row-gap-291_iu452_2100","column-gap-292":"_column-gap-292_iu452_2103","row-gap-292":"_row-gap-292_iu452_2106","column-gap-293":"_column-gap-293_iu452_2109","row-gap-293":"_row-gap-293_iu452_2112","column-gap-294":"_column-gap-294_iu452_2115","row-gap-294":"_row-gap-294_iu452_2118","column-gap-295":"_column-gap-295_iu452_2121","row-gap-295":"_row-gap-295_iu452_2124","column-gap-296":"_column-gap-296_iu452_2127","row-gap-296":"_row-gap-296_iu452_2130","column-gap-297":"_column-gap-297_iu452_2133","row-gap-297":"_row-gap-297_iu452_2136","column-gap-298":"_column-gap-298_iu452_2139","row-gap-298":"_row-gap-298_iu452_2142","column-gap-299":"_column-gap-299_iu452_2145","row-gap-299":"_row-gap-299_iu452_2148","column-gap-300":"_column-gap-300_iu452_2151","row-gap-300":"_row-gap-300_iu452_2154","column-gap-301":"_column-gap-301_iu452_2157","row-gap-301":"_row-gap-301_iu452_2160","column-gap-302":"_column-gap-302_iu452_2163","row-gap-302":"_row-gap-302_iu452_2166","column-gap-303":"_column-gap-303_iu452_2169","row-gap-303":"_row-gap-303_iu452_2172","column-gap-304":"_column-gap-304_iu452_2175","row-gap-304":"_row-gap-304_iu452_2178","column-gap-305":"_column-gap-305_iu452_2181","row-gap-305":"_row-gap-305_iu452_2184","column-gap-306":"_column-gap-306_iu452_2187","row-gap-306":"_row-gap-306_iu452_2190","column-gap-307":"_column-gap-307_iu452_2193","row-gap-307":"_row-gap-307_iu452_2196","column-gap-308":"_column-gap-308_iu452_2199","row-gap-308":"_row-gap-308_iu452_2202","column-gap-309":"_column-gap-309_iu452_2205","row-gap-309":"_row-gap-309_iu452_2208","column-gap-310":"_column-gap-310_iu452_2211","row-gap-310":"_row-gap-310_iu452_2214","column-gap-311":"_column-gap-311_iu452_2217","row-gap-311":"_row-gap-311_iu452_2220","column-gap-312":"_column-gap-312_iu452_2223","row-gap-312":"_row-gap-312_iu452_2226","column-gap-313":"_column-gap-313_iu452_2229","row-gap-313":"_row-gap-313_iu452_2232","column-gap-314":"_column-gap-314_iu452_2235","row-gap-314":"_row-gap-314_iu452_2238","column-gap-315":"_column-gap-315_iu452_2241","row-gap-315":"_row-gap-315_iu452_2244","column-gap-316":"_column-gap-316_iu452_2247","row-gap-316":"_row-gap-316_iu452_2250","column-gap-317":"_column-gap-317_iu452_2253","row-gap-317":"_row-gap-317_iu452_2256","column-gap-318":"_column-gap-318_iu452_2259","row-gap-318":"_row-gap-318_iu452_2262","column-gap-319":"_column-gap-319_iu452_2265","row-gap-319":"_row-gap-319_iu452_2268","column-gap-320":"_column-gap-320_iu452_2271","row-gap-320":"_row-gap-320_iu452_2274","column-gap-321":"_column-gap-321_iu452_2277","row-gap-321":"_row-gap-321_iu452_2280","column-gap-322":"_column-gap-322_iu452_2283","row-gap-322":"_row-gap-322_iu452_2286","column-gap-323":"_column-gap-323_iu452_2289","row-gap-323":"_row-gap-323_iu452_2292","column-gap-324":"_column-gap-324_iu452_2295","row-gap-324":"_row-gap-324_iu452_2298","column-gap-325":"_column-gap-325_iu452_2301","row-gap-325":"_row-gap-325_iu452_2304","column-gap-326":"_column-gap-326_iu452_2307","row-gap-326":"_row-gap-326_iu452_2310","column-gap-327":"_column-gap-327_iu452_2313","row-gap-327":"_row-gap-327_iu452_2316","column-gap-328":"_column-gap-328_iu452_2319","row-gap-328":"_row-gap-328_iu452_2322","column-gap-329":"_column-gap-329_iu452_2325","row-gap-329":"_row-gap-329_iu452_2328","column-gap-330":"_column-gap-330_iu452_2331","row-gap-330":"_row-gap-330_iu452_2334","column-gap-331":"_column-gap-331_iu452_2337","row-gap-331":"_row-gap-331_iu452_2340","column-gap-332":"_column-gap-332_iu452_2343","row-gap-332":"_row-gap-332_iu452_2346","column-gap-333":"_column-gap-333_iu452_2349","row-gap-333":"_row-gap-333_iu452_2352","column-gap-334":"_column-gap-334_iu452_2355","row-gap-334":"_row-gap-334_iu452_2358","column-gap-335":"_column-gap-335_iu452_2361","row-gap-335":"_row-gap-335_iu452_2364","column-gap-336":"_column-gap-336_iu452_2367","row-gap-336":"_row-gap-336_iu452_2370","column-gap-337":"_column-gap-337_iu452_2373","row-gap-337":"_row-gap-337_iu452_2376","column-gap-338":"_column-gap-338_iu452_2379","row-gap-338":"_row-gap-338_iu452_2382","column-gap-339":"_column-gap-339_iu452_2385","row-gap-339":"_row-gap-339_iu452_2388","column-gap-340":"_column-gap-340_iu452_2391","row-gap-340":"_row-gap-340_iu452_2394","column-gap-341":"_column-gap-341_iu452_2397","row-gap-341":"_row-gap-341_iu452_2400","column-gap-342":"_column-gap-342_iu452_2403","row-gap-342":"_row-gap-342_iu452_2406","column-gap-343":"_column-gap-343_iu452_2409","row-gap-343":"_row-gap-343_iu452_2412","column-gap-344":"_column-gap-344_iu452_2415","row-gap-344":"_row-gap-344_iu452_2418","column-gap-345":"_column-gap-345_iu452_2421","row-gap-345":"_row-gap-345_iu452_2424","column-gap-346":"_column-gap-346_iu452_2427","row-gap-346":"_row-gap-346_iu452_2430","column-gap-347":"_column-gap-347_iu452_2433","row-gap-347":"_row-gap-347_iu452_2436","column-gap-348":"_column-gap-348_iu452_2439","row-gap-348":"_row-gap-348_iu452_2442","column-gap-349":"_column-gap-349_iu452_2445","row-gap-349":"_row-gap-349_iu452_2448","column-gap-350":"_column-gap-350_iu452_2451","row-gap-350":"_row-gap-350_iu452_2454","column-gap-351":"_column-gap-351_iu452_2457","row-gap-351":"_row-gap-351_iu452_2460","column-gap-352":"_column-gap-352_iu452_2463","row-gap-352":"_row-gap-352_iu452_2466","column-gap-353":"_column-gap-353_iu452_2469","row-gap-353":"_row-gap-353_iu452_2472","column-gap-354":"_column-gap-354_iu452_2475","row-gap-354":"_row-gap-354_iu452_2478","column-gap-355":"_column-gap-355_iu452_2481","row-gap-355":"_row-gap-355_iu452_2484","column-gap-356":"_column-gap-356_iu452_2487","row-gap-356":"_row-gap-356_iu452_2490","column-gap-357":"_column-gap-357_iu452_2493","row-gap-357":"_row-gap-357_iu452_2496","column-gap-358":"_column-gap-358_iu452_2499","row-gap-358":"_row-gap-358_iu452_2502","column-gap-359":"_column-gap-359_iu452_2505","row-gap-359":"_row-gap-359_iu452_2508","column-gap-360":"_column-gap-360_iu452_2511","row-gap-360":"_row-gap-360_iu452_2514","column-gap-361":"_column-gap-361_iu452_2517","row-gap-361":"_row-gap-361_iu452_2520","column-gap-362":"_column-gap-362_iu452_2523","row-gap-362":"_row-gap-362_iu452_2526","column-gap-363":"_column-gap-363_iu452_2529","row-gap-363":"_row-gap-363_iu452_2532","column-gap-364":"_column-gap-364_iu452_2535","row-gap-364":"_row-gap-364_iu452_2538","column-gap-365":"_column-gap-365_iu452_2541","row-gap-365":"_row-gap-365_iu452_2544","column-gap-366":"_column-gap-366_iu452_2547","row-gap-366":"_row-gap-366_iu452_2550","column-gap-367":"_column-gap-367_iu452_2553","row-gap-367":"_row-gap-367_iu452_2556","column-gap-368":"_column-gap-368_iu452_2559","row-gap-368":"_row-gap-368_iu452_2562","column-gap-369":"_column-gap-369_iu452_2565","row-gap-369":"_row-gap-369_iu452_2568","column-gap-370":"_column-gap-370_iu452_2571","row-gap-370":"_row-gap-370_iu452_2574","column-gap-371":"_column-gap-371_iu452_2577","row-gap-371":"_row-gap-371_iu452_2580","column-gap-372":"_column-gap-372_iu452_2583","row-gap-372":"_row-gap-372_iu452_2586","column-gap-373":"_column-gap-373_iu452_2589","row-gap-373":"_row-gap-373_iu452_2592","column-gap-374":"_column-gap-374_iu452_2595","row-gap-374":"_row-gap-374_iu452_2598","column-gap-375":"_column-gap-375_iu452_2601","row-gap-375":"_row-gap-375_iu452_2604","column-gap-376":"_column-gap-376_iu452_2607","row-gap-376":"_row-gap-376_iu452_2610","column-gap-377":"_column-gap-377_iu452_2613","row-gap-377":"_row-gap-377_iu452_2616","column-gap-378":"_column-gap-378_iu452_2619","row-gap-378":"_row-gap-378_iu452_2622","column-gap-379":"_column-gap-379_iu452_2625","row-gap-379":"_row-gap-379_iu452_2628","column-gap-380":"_column-gap-380_iu452_2631","row-gap-380":"_row-gap-380_iu452_2634","column-gap-381":"_column-gap-381_iu452_2637","row-gap-381":"_row-gap-381_iu452_2640","column-gap-382":"_column-gap-382_iu452_2643","row-gap-382":"_row-gap-382_iu452_2646","column-gap-383":"_column-gap-383_iu452_2649","row-gap-383":"_row-gap-383_iu452_2652","column-gap-384":"_column-gap-384_iu452_2655","row-gap-384":"_row-gap-384_iu452_2658","column-gap-385":"_column-gap-385_iu452_2661","row-gap-385":"_row-gap-385_iu452_2664","column-gap-386":"_column-gap-386_iu452_2667","row-gap-386":"_row-gap-386_iu452_2670","column-gap-387":"_column-gap-387_iu452_2673","row-gap-387":"_row-gap-387_iu452_2676","column-gap-388":"_column-gap-388_iu452_2679","row-gap-388":"_row-gap-388_iu452_2682","column-gap-389":"_column-gap-389_iu452_2685","row-gap-389":"_row-gap-389_iu452_2688","column-gap-390":"_column-gap-390_iu452_2691","row-gap-390":"_row-gap-390_iu452_2694","column-gap-391":"_column-gap-391_iu452_2697","row-gap-391":"_row-gap-391_iu452_2700","column-gap-392":"_column-gap-392_iu452_2703","row-gap-392":"_row-gap-392_iu452_2706","column-gap-393":"_column-gap-393_iu452_2709","row-gap-393":"_row-gap-393_iu452_2712","column-gap-394":"_column-gap-394_iu452_2715","row-gap-394":"_row-gap-394_iu452_2718","column-gap-395":"_column-gap-395_iu452_2721","row-gap-395":"_row-gap-395_iu452_2724","column-gap-396":"_column-gap-396_iu452_2727","row-gap-396":"_row-gap-396_iu452_2730","column-gap-397":"_column-gap-397_iu452_2733","row-gap-397":"_row-gap-397_iu452_2736","column-gap-398":"_column-gap-398_iu452_2739","row-gap-398":"_row-gap-398_iu452_2742","column-gap-399":"_column-gap-399_iu452_2745","row-gap-399":"_row-gap-399_iu452_2748","column-gap-400":"_column-gap-400_iu452_2751","row-gap-400":"_row-gap-400_iu452_2754","column-gap-401":"_column-gap-401_iu452_2757","row-gap-401":"_row-gap-401_iu452_2760","column-gap-402":"_column-gap-402_iu452_2763","row-gap-402":"_row-gap-402_iu452_2766","column-gap-403":"_column-gap-403_iu452_2769","row-gap-403":"_row-gap-403_iu452_2772","column-gap-404":"_column-gap-404_iu452_2775","row-gap-404":"_row-gap-404_iu452_2778","column-gap-405":"_column-gap-405_iu452_2781","row-gap-405":"_row-gap-405_iu452_2784","column-gap-406":"_column-gap-406_iu452_2787","row-gap-406":"_row-gap-406_iu452_2790","column-gap-407":"_column-gap-407_iu452_2793","row-gap-407":"_row-gap-407_iu452_2796","column-gap-408":"_column-gap-408_iu452_2799","row-gap-408":"_row-gap-408_iu452_2802","column-gap-409":"_column-gap-409_iu452_2805","row-gap-409":"_row-gap-409_iu452_2808","column-gap-410":"_column-gap-410_iu452_2811","row-gap-410":"_row-gap-410_iu452_2814","column-gap-411":"_column-gap-411_iu452_2817","row-gap-411":"_row-gap-411_iu452_2820","column-gap-412":"_column-gap-412_iu452_2823","row-gap-412":"_row-gap-412_iu452_2826","column-gap-413":"_column-gap-413_iu452_2829","row-gap-413":"_row-gap-413_iu452_2832","column-gap-414":"_column-gap-414_iu452_2835","row-gap-414":"_row-gap-414_iu452_2838","column-gap-415":"_column-gap-415_iu452_2841","row-gap-415":"_row-gap-415_iu452_2844","column-gap-416":"_column-gap-416_iu452_2847","row-gap-416":"_row-gap-416_iu452_2850","column-gap-417":"_column-gap-417_iu452_2853","row-gap-417":"_row-gap-417_iu452_2856","column-gap-418":"_column-gap-418_iu452_2859","row-gap-418":"_row-gap-418_iu452_2862","column-gap-419":"_column-gap-419_iu452_2865","row-gap-419":"_row-gap-419_iu452_2868","column-gap-420":"_column-gap-420_iu452_2871","row-gap-420":"_row-gap-420_iu452_2874","column-gap-421":"_column-gap-421_iu452_2877","row-gap-421":"_row-gap-421_iu452_2880","column-gap-422":"_column-gap-422_iu452_2883","row-gap-422":"_row-gap-422_iu452_2886","column-gap-423":"_column-gap-423_iu452_2889","row-gap-423":"_row-gap-423_iu452_2892","column-gap-424":"_column-gap-424_iu452_2895","row-gap-424":"_row-gap-424_iu452_2898","column-gap-425":"_column-gap-425_iu452_2901","row-gap-425":"_row-gap-425_iu452_2904","column-gap-426":"_column-gap-426_iu452_2907","row-gap-426":"_row-gap-426_iu452_2910","column-gap-427":"_column-gap-427_iu452_2913","row-gap-427":"_row-gap-427_iu452_2916","column-gap-428":"_column-gap-428_iu452_2919","row-gap-428":"_row-gap-428_iu452_2922","column-gap-429":"_column-gap-429_iu452_2925","row-gap-429":"_row-gap-429_iu452_2928","column-gap-430":"_column-gap-430_iu452_2931","row-gap-430":"_row-gap-430_iu452_2934","column-gap-431":"_column-gap-431_iu452_2937","row-gap-431":"_row-gap-431_iu452_2940","column-gap-432":"_column-gap-432_iu452_2943","row-gap-432":"_row-gap-432_iu452_2946","column-gap-433":"_column-gap-433_iu452_2949","row-gap-433":"_row-gap-433_iu452_2952","column-gap-434":"_column-gap-434_iu452_2955","row-gap-434":"_row-gap-434_iu452_2958","column-gap-435":"_column-gap-435_iu452_2961","row-gap-435":"_row-gap-435_iu452_2964","column-gap-436":"_column-gap-436_iu452_2967","row-gap-436":"_row-gap-436_iu452_2970","column-gap-437":"_column-gap-437_iu452_2973","row-gap-437":"_row-gap-437_iu452_2976","column-gap-438":"_column-gap-438_iu452_2979","row-gap-438":"_row-gap-438_iu452_2982","column-gap-439":"_column-gap-439_iu452_2985","row-gap-439":"_row-gap-439_iu452_2988","column-gap-440":"_column-gap-440_iu452_2991","row-gap-440":"_row-gap-440_iu452_2994","column-gap-441":"_column-gap-441_iu452_2997","row-gap-441":"_row-gap-441_iu452_3000","column-gap-442":"_column-gap-442_iu452_3003","row-gap-442":"_row-gap-442_iu452_3006","column-gap-443":"_column-gap-443_iu452_3009","row-gap-443":"_row-gap-443_iu452_3012","column-gap-444":"_column-gap-444_iu452_3015","row-gap-444":"_row-gap-444_iu452_3018","column-gap-445":"_column-gap-445_iu452_3021","row-gap-445":"_row-gap-445_iu452_3024","column-gap-446":"_column-gap-446_iu452_3027","row-gap-446":"_row-gap-446_iu452_3030","column-gap-447":"_column-gap-447_iu452_3033","row-gap-447":"_row-gap-447_iu452_3036","column-gap-448":"_column-gap-448_iu452_3039","row-gap-448":"_row-gap-448_iu452_3042","column-gap-449":"_column-gap-449_iu452_3045","row-gap-449":"_row-gap-449_iu452_3048","column-gap-450":"_column-gap-450_iu452_3051","row-gap-450":"_row-gap-450_iu452_3054","column-gap-451":"_column-gap-451_iu452_3057","row-gap-451":"_row-gap-451_iu452_3060","column-gap-452":"_column-gap-452_iu452_3063","row-gap-452":"_row-gap-452_iu452_3066","column-gap-453":"_column-gap-453_iu452_3069","row-gap-453":"_row-gap-453_iu452_3072","column-gap-454":"_column-gap-454_iu452_3075","row-gap-454":"_row-gap-454_iu452_3078","column-gap-455":"_column-gap-455_iu452_3081","row-gap-455":"_row-gap-455_iu452_3084","column-gap-456":"_column-gap-456_iu452_3087","row-gap-456":"_row-gap-456_iu452_3090","column-gap-457":"_column-gap-457_iu452_3093","row-gap-457":"_row-gap-457_iu452_3096","column-gap-458":"_column-gap-458_iu452_3099","row-gap-458":"_row-gap-458_iu452_3102","column-gap-459":"_column-gap-459_iu452_3105","row-gap-459":"_row-gap-459_iu452_3108","column-gap-460":"_column-gap-460_iu452_3111","row-gap-460":"_row-gap-460_iu452_3114","column-gap-461":"_column-gap-461_iu452_3117","row-gap-461":"_row-gap-461_iu452_3120","column-gap-462":"_column-gap-462_iu452_3123","row-gap-462":"_row-gap-462_iu452_3126","column-gap-463":"_column-gap-463_iu452_3129","row-gap-463":"_row-gap-463_iu452_3132","column-gap-464":"_column-gap-464_iu452_3135","row-gap-464":"_row-gap-464_iu452_3138","column-gap-465":"_column-gap-465_iu452_3141","row-gap-465":"_row-gap-465_iu452_3144","column-gap-466":"_column-gap-466_iu452_3147","row-gap-466":"_row-gap-466_iu452_3150","column-gap-467":"_column-gap-467_iu452_3153","row-gap-467":"_row-gap-467_iu452_3156","column-gap-468":"_column-gap-468_iu452_3159","row-gap-468":"_row-gap-468_iu452_3162","column-gap-469":"_column-gap-469_iu452_3165","row-gap-469":"_row-gap-469_iu452_3168","column-gap-470":"_column-gap-470_iu452_3171","row-gap-470":"_row-gap-470_iu452_3174","column-gap-471":"_column-gap-471_iu452_3177","row-gap-471":"_row-gap-471_iu452_3180","column-gap-472":"_column-gap-472_iu452_3183","row-gap-472":"_row-gap-472_iu452_3186","column-gap-473":"_column-gap-473_iu452_3189","row-gap-473":"_row-gap-473_iu452_3192","column-gap-474":"_column-gap-474_iu452_3195","row-gap-474":"_row-gap-474_iu452_3198","column-gap-475":"_column-gap-475_iu452_3201","row-gap-475":"_row-gap-475_iu452_3204","column-gap-476":"_column-gap-476_iu452_3207","row-gap-476":"_row-gap-476_iu452_3210","column-gap-477":"_column-gap-477_iu452_3213","row-gap-477":"_row-gap-477_iu452_3216","column-gap-478":"_column-gap-478_iu452_3219","row-gap-478":"_row-gap-478_iu452_3222","column-gap-479":"_column-gap-479_iu452_3225","row-gap-479":"_row-gap-479_iu452_3228","column-gap-480":"_column-gap-480_iu452_3231","row-gap-480":"_row-gap-480_iu452_3234","column-gap-481":"_column-gap-481_iu452_3237","row-gap-481":"_row-gap-481_iu452_3240","column-gap-482":"_column-gap-482_iu452_3243","row-gap-482":"_row-gap-482_iu452_3246","column-gap-483":"_column-gap-483_iu452_3249","row-gap-483":"_row-gap-483_iu452_3252","column-gap-484":"_column-gap-484_iu452_3255","row-gap-484":"_row-gap-484_iu452_3258","column-gap-485":"_column-gap-485_iu452_3261","row-gap-485":"_row-gap-485_iu452_3264","column-gap-486":"_column-gap-486_iu452_3267","row-gap-486":"_row-gap-486_iu452_3270","column-gap-487":"_column-gap-487_iu452_3273","row-gap-487":"_row-gap-487_iu452_3276","column-gap-488":"_column-gap-488_iu452_3279","row-gap-488":"_row-gap-488_iu452_3282","column-gap-489":"_column-gap-489_iu452_3285","row-gap-489":"_row-gap-489_iu452_3288","column-gap-490":"_column-gap-490_iu452_3291","row-gap-490":"_row-gap-490_iu452_3294","column-gap-491":"_column-gap-491_iu452_3297","row-gap-491":"_row-gap-491_iu452_3300","column-gap-492":"_column-gap-492_iu452_3303","row-gap-492":"_row-gap-492_iu452_3306","column-gap-493":"_column-gap-493_iu452_3309","row-gap-493":"_row-gap-493_iu452_3312","column-gap-494":"_column-gap-494_iu452_3315","row-gap-494":"_row-gap-494_iu452_3318","column-gap-495":"_column-gap-495_iu452_3321","row-gap-495":"_row-gap-495_iu452_3324","column-gap-496":"_column-gap-496_iu452_3327","row-gap-496":"_row-gap-496_iu452_3330","column-gap-497":"_column-gap-497_iu452_3333","row-gap-497":"_row-gap-497_iu452_3336","column-gap-498":"_column-gap-498_iu452_3339","row-gap-498":"_row-gap-498_iu452_3342","column-gap-499":"_column-gap-499_iu452_3345","row-gap-499":"_row-gap-499_iu452_3348","column-gap-500":"_column-gap-500_iu452_3351","row-gap-500":"_row-gap-500_iu452_3354"},{createElement:yse,forwardRef:_se}=await q("react"),xse=rn(tk,"rb-ui"),Yo=_se(({id:t,className:e,inline:n,justifyContent:r,justifyItems:o,justifySelf:a,alignItems:i,alignSelf:s,alignContent:l,columnGap:u,rowGap:d,gap:f,style:m={},children:v,tag:g="div",...w},y)=>{const _=({directionGap:S,gap:x})=>S?typeof S=="number"&&S>0&&S<=500:typeof x=="number"&&x>0&&x<=500;return yse(g,{...w,ref:y,id:t,className:xse("hstack",e,{"rb-inline-flex":n,"rb-flex":!n,[`justify-content-${r}`]:r,[`justify-items-${o}`]:o,[`justify-self-${a}`]:a,[`align-items-${i}`]:i,[`align-self-${s}`]:s,[`align-content-${l}`]:l,[`column-gap-${u??f}`]:_({directionGap:u,gap:f}),[`row-gap-${d??f}`]:_({directionGap:d,gap:f})}),style:{...m,gap:_({gap:f})?void 0:f,columnGap:_({directionGap:u})?void 0:u,rowGap:_({directionGap:d})?void 0:d}},v)});Yo.displayName="HStack";const{createElement:Sse,forwardRef:Cse}=await q("react"),Ese=rn(tk,"rb-ui"),Ul=Cse(({id:t,className:e,inline:n,justifyContent:r,justifyItems:o,justifySelf:a,alignItems:i,alignSelf:s,alignContent:l,gap:u,columnGap:d,rowGap:f,style:m={},children:v,tag:g="div",...w},y)=>{const _=(S,x)=>S?typeof S=="number"&&S>0&&S<=500:typeof x=="number"&&x>0&&x<=500;return Sse(g,{ref:y,...w,id:t,className:Ese("vstack",e,{"inline-flex":n,flex:!n,[`justify-content-${r}`]:r,[`justify-items-${o}`]:o,[`justify-self-${a}`]:a,[`align-items-${i}`]:i,[`align-self-${s}`]:s,[`align-content-${l}`]:l,[`column-gap-${d??u}`]:_(d,u),[`row-gap-${f??u}`]:_(f,u)}),style:{...m,gap:!_(u)&&u,columnGap:!_(d)&&d,rowGap:!_(f)&&f}},v)});Ul.displayName="VStack";const{useCallback:K2e,useEffect:X2e,useMemo:Z2e,useRef:Q2e,useState:J2e}=await q("react"),Mse="_table_1h1za_40",x3={table:Mse,"no-data":"_no-data_1h1za_44","sticky-thead":"_sticky-thead_1h1za_71","th-block":"_th-block_1h1za_95","enable-sorting":"_enable-sorting_1h1za_116","ico-sorting":"_ico-sorting_1h1za_120","table-loading":"_table-loading_1h1za_131","no-data-tr":"_no-data-tr_1h1za_112","table-no-data":"_table-no-data_1h1za_145","table-row":"_table-row_1h1za_157","table-checkbox":"_table-checkbox_1h1za_157","expend-table-cell":"_expend-table-cell_1h1za_160","expend-controller":"_expend-controller_1h1za_165","td-expend":"_td-expend_1h1za_168","td-expend-inner":"_td-expend-inner_1h1za_173"},{useCallback:kse,useState:Rse}=await q("react"),Tse=rn(x3,"rb-ui"),nk=({className:t="",children:e,fieldId:n,size:r="",colSpan:o,rowSpan:a,expend:i,expendOpen:s,handleExpendToggle:l,onClick:u})=>{const[d,f]=Rse(s),m=kse(async v=>{if(u?.(v),!!i)try{f(g=>!g)}catch(g){console.error(g)}finally{setTimeout(()=>{l?.(!d)},10)}},[i,d,u,l]);return h("td",{className:Tse(t,n,{"expend-controller":i,"expend-open":i&&s}),colSpan:o,rowSpan:a,style:{width:r},onClick:m,children:h(Bf,{children:e})})};nk.displayName="TdColumn";const{Children:$v,Fragment:Nse,isValidElement:rk,useMemo:Gg,useState:Z5}=await q("react"),ms=rn(x3,"rb-ui"),Dv=t=>{let e=[];return $v.forEach(t,n=>{if(rk(n)){const r=n;r.type===Nse?e=[...e,...Dv(r.props.children)]:typeof n.type=="function"&&(n.type.name==="TdColumn"||n.type.displayName==="TdColumn")?e.push(n):e=[...e,...Dv(r.props.children)]}}),e},eve=({className:t="",list:e,children:n,loadingElement:r=h(Hi,{}),errorFallback:o,noDataMsg:a,hideThead:i,stickyThead:s=!1,sortUpElement:l=h(b$,{}),sortDownElement:u=h(v$,{}),sortNormalElement:d=h(w$,{}),loading:f})=>{const[m,v]=Z5(!1),[g,w]=Z5(null),y=Gg(()=>{const C=(e||[]).length>0?e?.[0]:{};return Dv(n({item:C,index:0}))},[n,e]),_=Gg(()=>{const C=y?.map(R=>{const P=R;return{className:P.props?.className??"",label:P.props?.label??"",fieldId:P.props?.fieldId,enableSorting:typeof P.props?.sortValue<"u"||!!P.props?.handleClickSort,handleClickSort:P.props?.handleClickSort,thColSpan:P.props?.thColSpan,thRowSpan:P.props?.thRowSpan,rowSpan:P.props?.rowSpan,colSpan:P.props?.colSpan,size:P.props?.size,order:P.props?.order??""}});return C?C.filter(R=>typeof R.label<"u").map(R=>g?.fieldId?{...R,order:g?.fieldId===R.fieldId?g?.order:""}:R):[]},[y,g]),S=Gg(()=>{const{fieldId:C,order:R}=g??{};if(!R)return e;const O=e.map(($,A)=>$v.map(n({item:$,index:A}),M=>{if(rk(M)){const L=M;return L.type===nk?M:$v.toArray(L.props.children)}return[]})).reduce(($,A)=>{const M=A.find(L=>L.props.fieldId===C);return $.push(M.props?.sortValue??0),$},[]);return kn.orderBy(e.map(($,A)=>({...$,sortValue:O[A]})),["sortValue"],[R])},[e,g,n]),x=async C=>{let R="desc";const{order:P,index:O,fieldId:$,enableSorting:A,handleClickSort:M}=C;if(!A||m)return;P==="desc"?R="asc":P==="asc"&&(R="");const L={index:O,order:R,fieldId:$};if(w(L),M)try{v(!0),await M(L)}finally{v(!1)}};return h(Bf,{fallback:o,children:h("div",{className:ms("table",t,{"no-data":!!e&&e.length===0,loading:!e||m||f,"sticky-thead":s}),children:ne("table",{children:[!i&&h("thead",{children:h("tr",{children:_.map((C,R)=>h("th",{className:ms(C.fieldId,C.className,{"enable-sorting":C.enableSorting}),rowSpan:C.thRowSpan??C.rowSpan,colSpan:C.thColSpan??C.colSpan,style:{width:C.size},onClick:()=>x({...C,index:R}),children:ne("div",{className:ms("th-block"),children:[C.label,!!C.enableSorting&&ne("span",{className:ms("ico-sorting"),children:[C.order!=="desc"&&C.order!=="asc"&&d,C.order==="desc"&&u,C.order==="asc"&&l]})]})},`th-${C.fieldId??R}`))})}),ne("tbody",{children:[(!e||m||f)&&h("tr",{className:ms("loading-tr"),children:h("td",{colSpan:_.length,children:h("div",{className:ms("table-loading"),children:r})})}),!!e&&!f&&!m&&(e.length>0?S.map((C,R)=>n({item:C,index:R})):h("tr",{className:ms("no-data-tr"),children:h("td",{colSpan:_.length,children:typeof a=="object"?a:h(zf,{className:ms("table-no-data"),nullText:a})})}))]})]})})})},ok=t=>new Promise(e=>setTimeout(e,t)),tve=(t,e)=>{t||(t=""),e||(e="");const n=t.replace(/^v/,"").split(".").map(Number),r=e.replace(/^v/,"").split(".").map(Number),o=Math.max(n.length,r.length);for(let a=0;a<o;a++){const i=n[a]??0,s=r[a]??0;if(i>s)return 1;if(i<s)return-1}return 0},{useCallback:Q5,useEffect:J5,useMemo:ex,useRef:Pse,useState:Ase}=await q("react"),Kg=rn(x3,"rb-ui"),Ise=({className:t="",children:e,expendOpen:n=!1,handleExpendChange:r,beforeExpendOpen:o,onClick:a})=>{const i=Pse(null),[s,l]=Ase(n),u=Q5(v=>{if(i.current){const g=typeof v=="boolean"?v:!s,w=i.current.firstChild;w&&(w.style.maxHeight=g?`${w.scrollHeight}px`:"0px")}},[i,s]),d=Q5(async()=>{try{o&&!s&&(await o(),await ok(10))}catch(v){console.error(v)}finally{l(!s),r?.(!s)}},[s,r,o]),f=ex(()=>{const v=w=>w.flatMap(y=>y?.props?y.type?.displayName==="TdColumn"?{...y,props:{...y.props,handleExpendToggle:d,expendOpen:s}}:Array.isArray(y.props.children)?v(y.props.children):[]:[]),g=Array.isArray(e)?e:[e];return v(g)},[e,s,d]),m=ex(()=>{const v=w=>w.flatMap(y=>{if(y?.props){if(y.type?.displayName==="TdExpend")return y;if(Array.isArray(y.props.children))return v(y.props.children)}}),g=Array.isArray(e)?e:[e];return v(g).filter(w=>w)[0]},[e]);return J5(()=>{u(s)},[s,u]),J5(()=>{typeof n<"u"&&l(n)},[n]),ne(Mr,{children:[h("tr",{className:Kg(t,"table-row"),onClick:a,children:f}),!!m&&h("tr",{className:Kg("expend-tr"),children:h("td",{ref:i,className:Kg("expend-table-cell",{open:s}),colSpan:f.length,children:m})})]})};Ise.displayName="TableRow";const Ose="_tooltip_14ta1_40",Lse="_open_14ta1_100",$se="_top_14ta1_112",Dse="_bottom_14ta1_119",Bse="_left_14ta1_123",zse="_right_14ta1_130",Fse={tooltip:Ose,"tooltip-shadow":"_tooltip-shadow_14ta1_43","tooltip-arrow":"_tooltip-arrow_14ta1_50","tooltip-arrow-icon":"_tooltip-arrow-icon_14ta1_59","tooltip-text":"_tooltip-text_14ta1_67","speech-bubble":"_speech-bubble_14ta1_77",open:Lse,"tooltip-pop-fade":"_tooltip-pop-fade_14ta1_1",top:$se,bottom:Dse,left:Bse,right:zse},{useCallback:gs,useEffect:Xg,useMemo:tx,useRef:zc,useState:Zg}=await q("react"),Vse=t=>new Promise(e=>setTimeout(e,t)),wl=rn(Fse,"rb-ui"),nve=({className:t="",anchorId:e,width:n=200,space:r=4,place:o="bottom",events:a=["hover"],arrowPosition:i=0,hideArrow:s,tooltipPosition:l,tooltipColor:u,tooltipTextColor:d,tooltipBoxShadow:f,tooltipBorderRadius:m,open:v,whenWindowScrollClose:g,children:w})=>{const y=zc(null),_=zc(null),S=zc(null),x=zc(null),C=zc(0),R=zc(!1),[P,O]=Zg(!1),[$,A]=Zg(o),[M,L]=Zg(!!v),B=tx(()=>{const Q=[...a],re=Q.findIndex(le=>le==="hover");return re!==-1&&!xo.isMobile&&Q.splice(re,0,"mouseover","mouseout"),Q},[a]),F=gs(()=>{if(_.current)return _.current;const Q=document.querySelector(`#${e}`);Q&&(_.current=Q)},[e]),N=gs((Q,re)=>{if(!_.current)return;const{scrollY:le,innerHeight:ee}=window,te=le,ue=le+ee,{top:ve}=_.current.getBoundingClientRect();return te>Q&&ve>0?Q+ve:ue<Q+re?ue-re-10:Q},[]),V=gs((Q,re)=>{const{scrollX:le,innerWidth:ee}=window,te=le,ue=le+ee;return te>Q?te+r:ue<Q+re?ue-re-r:Q},[r]),z=gs(Q=>{const{targetTop:re,targetLeft:le,targetWidth:ee,targetHeight:te,tooltipHeight:ue,arrowWidth:ve,arrowHeight:we}=Q;return scrollY+re-ue-we-r<scrollY&&o==="top"?"bottom":scrollY+re+te+we+r>scrollY+innerHeight&&o==="bottom"?"top":le-ve-r<100&&o==="left"?"right":innerWidth-(scrollX+le+ee+ve+r+10)<100&&o==="right"?"left":le+scrollX<scrollX?"right":o},[o,r]),I=gs(()=>{if(!y.current||!_.current)return{targetTop:0,targetLeft:0,targetWidth:0,targetHeight:0,arrowWidth:0,arrowHeight:0,tooltipWidth:0,tooltipHeight:0,scrollX:0,scrollY:0,innerWidth:0,innerHeight:0};const{top:Q,left:re,height:le,width:ee}=_.current.getBoundingClientRect(),{offsetHeight:te,offsetWidth:ue}=y.current,{clientWidth:ve=0,clientHeight:we=0}=S.current??{},{scrollX:ye,scrollY:Le,innerWidth:Oe,innerHeight:Ne}=window,{position:me,top:pe,left:be}=document.body.style,Ue=me==="fixed"?Number(pe.replace("px",""))*-1:0,He=me==="fixed"?Number(be.replace("px",""))*-1:0;return{targetTop:Q,targetLeft:re,targetWidth:ee,targetHeight:le,arrowWidth:ve,arrowHeight:we,tooltipWidth:ue,tooltipHeight:te,scrollX:He||ye,scrollY:Ue||Le,innerWidth:Oe,innerHeight:Ne}},[]),D=gs(async()=>{if(!_.current||!y.current)return;const{targetTop:Q,targetLeft:re,targetWidth:le,targetHeight:ee,arrowWidth:te,arrowHeight:ue,tooltipWidth:ve,tooltipHeight:we,scrollX:ye,scrollY:Le,innerWidth:Oe,innerHeight:Ne}=I(),{top:me=0,left:pe=0}=l??{},be=i||0,Ue=z({targetTop:Q,targetLeft:re,targetWidth:le,targetHeight:ee,arrowWidth:te,arrowHeight:ue,tooltipWidth:ve,tooltipHeight:we,scrollX:ye,scrollY:Le,innerWidth:Oe,innerHeight:Ne});A(Ue);let He="",qe="",_e="";switch(Ue){case"top":He+=`
204
+ top: ${me+Le+Q-we-ue-r}px;
205
+ left: ${V(pe+ye+re+le/2-ve/2,ve)}px;
206
+ `,qe+=`
207
+ top: ${me+Le+Q-ue-r-1}px;
208
+ left: ${be+ye+re+le/2-te/2}px;
209
+ `;break;case"left":He+=`
210
+ top: ${N(me+Le+Q-(we-ee)/2,we)}px;
211
+ left: ${V(pe+ye+re-ve-ue-r,ve)}px;
212
+ max-width: ${re-te-r}px;
213
+ `,qe+=`
214
+ top: ${be+Le+Q+ee/2-te/2}px;
215
+ left: ${pe+ye+re-te-r}px;
216
+ `;break;case"right":He+=`
217
+ top: ${N(me+Le+Q-(we-ee)/2,we)}px;
218
+ left: ${pe+ye+re+le+te+r}px;
219
+ max-width: ${Oe-(ye+re+le+te+r+10)}px;
220
+ `,qe+=`
221
+ top: ${be+Le+Q+ee/2-ue/2}px;
222
+ left: ${pe+ye+re+le+r}px;
223
+ `;break;case"bottom":default:He+=`
224
+ top: ${me+Le+Q+ee+ue+r}px;
225
+ left: ${V(pe+ye+re+le/2-ve/2,ve)}px;
226
+ `,qe+=`
227
+ transform: rotate(0deg);
228
+ top: ${me+Le+Q+ee+r}px;
229
+ left: ${be+ye+re+le/2-te/2}px;
230
+ `;break}if(_e+=`
231
+ ${He}
232
+ width: ${ve}px;
233
+ height: ${we}px;
234
+ `,y.current.setAttribute("style",He),x.current.setAttribute("style",_e),S.current&&S.current.setAttribute("style",qe),C.current===2)return C.current=0,L(!0);await Vse(20),C.current+=1,D()},[i,r,l,z,V,N,I]),U=tx(()=>kn.debounce(Q=>{Q.type!=="click"&&R.current||(Q.type==="click"&&(Q.preventDefault(),R.current=!0),Q.type==="mouseout"?L(!1):C.current===0&&D(),Q.preventDefault())},100),[D]),Y=gs(()=>{!_.current||typeof v=="boolean"||B.forEach(Q=>{_.current.addEventListener(Q,U)})},[v,B,U]),oe=gs(()=>{_.current&&B.forEach(Q=>{_.current.removeEventListener(Q,U)})},[B,U]);return Nf(y,Q=>{if(typeof v=="boolean")return;const re=_.current;re&&!re.contains(Q.target)&&(R.current=!1,L(!1))}),Xg(()=>(F(),Y(),()=>{oe()}),[D,F,Y,oe]),Xg(()=>{const Q=kn.throttle(()=>{L(!1)},30);return window.removeEventListener("resize",Q),window.addEventListener("resize",Q),g&&(window.removeEventListener("scroll",Q),window.addEventListener("scroll",Q)),()=>{window.removeEventListener("resize",Q),window.removeEventListener("scroll",Q)}},[g,D]),Xg(()=>{v&&P&&D(),L(v)},[P,v,D]),h(Gl,{id:"tooltip",children:ne("div",{ref:()=>{P||O(!0)},className:wl("tooltip",t,$,{open:M}),style:{visibility:M?"visible":"hidden","--tooltip-color":u,"--tooltip-text-color":d,"--tooltip-box-shadow":f,"--tooltip-border-radius":m},children:[h("div",{ref:x,className:wl("tooltip-shadow")}),!s&&h("div",{ref:S,className:wl("tooltip-arrow"),children:h("span",{children:h(h8,{className:wl("tooltip-arrow-icon")})})}),h("div",{ref:y,className:wl("tooltip-text"),children:h("div",{className:wl("speech-bubble-wrap"),children:h("div",{className:wl("speech-bubble"),style:{width:n},children:h("div",{children:w})})})})]})})},ak=t=>{window.cacheImgs||(window.cacheImgs={}),Array.isArray(t)||(t=[t]),t.forEach(e=>{if(e&&!window.cacheImgs[e]){const n=new Image;n.src=e;const r=Object.entries(window.cacheImgs);if(r.length>200){r.sort((a,i)=>a[1].index-i[1].index);const o=r[0][0];delete window.cacheImgs[o],window.cacheImgs=r.slice(1,r.length).reduce((a,i)=>({...a,[i[0]]:{...i[1],index:i[1].index-1}}),{})}window.cacheImgs[e]={image:n,index:r.length}}})},jse="_loading_fcm70_43",ik={"virtual-scroll":"_virtual-scroll_fcm70_39",loading:jse,"virtual-item":"_virtual-item_fcm70_46","no-data":"_no-data_fcm70_49"},{cloneElement:nx,createElement:Hse,memo:sk,useCallback:Ud,useEffect:H0,useMemo:Fc,useRef:Jc,useState:Vd}=await q("react"),t0=rn(ik,"rb-ui"),lk=sk(({gapY:t,index:e,resizeObserver:n,children:r,heightList:o,updateHeight:a})=>{const i=Jc(null),[s,l]=Vd({position:"absolute",width:"100%",top:(i.current?.offsetHeight??0+t)*e,left:0,zIndex:1,visibility:o[e]?"visible":"hidden"}),u=Ud(()=>{if(i.current){const f=i.current.offsetHeight;a(f,e)}},[e,a]),d=Ud(()=>{if(o[e]){const f=o.slice(0,e).reduce((m,v)=>m+v,0);l(m=>({...m,left:0,top:f+t,visibility:"visible"}))}else u()},[t,o,e,u]);return H0(()=>{d()},[d]),H0(()=>{const f=i.current;return n.observe(f),()=>{n.unobserve(f)}},[n]),h("div",{ref:i,"data-index":e,className:t0("virtual-item"),style:s,children:r})});lk.displayName="VirtualItem";const Wse=({className:t="",scrollTarget:e,list:n,preloadCnt:r=5,itemHeight:o,gapY:a=0,loading:i,loadingElement:s=h(Hi,{}),skeletonElement:l,skeletonCnt:u=3,noDataMsg:d,element:f})=>{const m=Jc(null),v=Jc(null),g=Jc(0),w=Jc(0),y=Jc({startIndex:0,endIndex:50}),[_]=Vd(!!n),[S,x]=Vd([]),[C,R]=Vd({startIndex:0,endIndex:50}),[P,O]=Vd({containerWidth:m.current?.clientWidth??0,gapY:typeof a=="number"?a:a(m.current?.clientWidth??0)}),$=Fc(()=>Hse(f),[f]),A=Fc(()=>new ResizeObserver(I=>{for(const D of I){const{clientWidth:U,offsetHeight:Y,dataset:oe}=D.target,Q=Number(oe.index??-1);Q===-1?O({containerWidth:U??0,gapY:typeof a=="number"?a:a(U??0)}):x(re=>re.map((le,ee)=>ee===Q?Y:le))}}),[a]),M=Fc(()=>i||!n,[i,n]),L=Fc(()=>!n&&!l?[]:M?Array.from({length:u}).map(()=>{}):n.slice(C.startIndex,C.endIndex),[n,l,C,u,M]),B=Fc(()=>{const I=typeof o=="number"?o:o(P.containerWidth);return S.filter(U=>!!U).length?Math.max(...S.filter(U=>!!U)):I},[S,o,P.containerWidth]),F=Fc(()=>{const I=n?n.length:u;return I>0&&S.length===I?S.reduce((D,U)=>D+U+P.gapY,0):B>0?B*I:0},[n,u,S,B,P.gapY]),N=Ud(()=>{const I=e?"current"in e?e.current:e:null,D=I?I.scrollTop:window.scrollY,U=I?I.offsetHeight:window.innerHeight,Y=S.reduce((re,le)=>{const ee=(re[re.length-1]??0)+le;return re.push(ee),re},[]);let oe=Y.findIndex(re=>re>=D),Q=Y.findIndex(re=>re>=D+U);return oe===-1?oe=y.current.startIndex:(oe=oe-10-r,oe=B&&oe>0?oe:0),Q===-1?Q=y.current.endIndex:(Q=Q+10+r,Q=B&&Q>0?Q:50),{startIndex:oe,endIndex:Q}},[e,S,B,r]),V=Ud((I,D)=>{!n&&!l||x(U=>(U[D]=I,U.slice(0,n?n.length:u)))},[n,l,u]),z=Ud(()=>{const I=e?"current"in e?e.current:e:null,D=I?I.scrollTop:window.scrollY,U=Date.now(),Y=D-w.current,oe=Y>0,Q=Math.abs(Y);v.current!==null&&cancelAnimationFrame(v.current),v.current=requestAnimationFrame(()=>{const re=N();if(Q>0&&D>0&&(oe&&re.endIndex<y.current.endIndex||!oe&&re.startIndex>y.current.startIndex)){cancelAnimationFrame(v.current),v.current=null;return}if(oe&&Q>B?re.endIndex+=Math.floor(Q/B):!oe&&Q>B&&(re.startIndex-=Math.floor(Q/B),re.startIndex<=0&&(re.startIndex=0)),U-g.current>=200||D<=0||Q===0){R(re),w.current=D,y.current={...re},g.current=U,v.current=null;return}else Q>=B*(r/2)?(R(re),w.current=D,y.current={...re},g.current=U,v.current=null):(y.current.endIndex-re.endIndex>r||re.startIndex-y.current.startIndex>r)&&(R(re),w.current=D,g.current=U,y.current={...re})})},[N,B,r,e]);return H0(()=>{A.observe(m.current)},[m,A]),H0(()=>{if(typeof window<"u"&&m.current){const I=e?"current"in e?e.current:e:window;return z(),I.removeEventListener("scroll",z),I.addEventListener("scroll",z),()=>{v.current!==null&&cancelAnimationFrame(v.current),I.removeEventListener("scroll",z)}}},[e,v,z]),ne("div",{ref:m,className:t0(t,"virtual-scroll",{"no-data":n&&!n.length}),style:{height:F,minHeight:_&&!n?"100000px":0},children:[M&&!l&&h("div",{className:t0("loading"),children:s}),!M&&n.length===0&&(typeof d=="object"?d:h(zf,{className:t0("no-msg-comp"),nullText:d})),L.map((I,D)=>{const U=C.startIndex+D;return h(lk,{...P,index:U,resizeObserver:A,heightList:S,updateHeight:V,children:h("div",{children:n?nx($,{item:I,imageCacher:ak,index:U}):nx(l,{})})},`${U}-${P.containerWidth}-${n?"":"skeleton"}`)})]})};sk(Wse);const W0=await q("react"),{cloneElement:qse,createElement:Use,memo:ck,useCallback:Bv,useEffect:Qg,useMemo:Vc,useRef:bl,useState:Yd}=W0;typeof window>"u"&&(W0.useLayoutEffect=W0.useEffect);const n0=rn(ik,"rb-ui"),uk=ck(({width:t,gapX:e,gapY:n,rowIndex:r,columnIndex:o,startIndex:a,children:i})=>{const[s,l]=Yd(),[u,d]=Yd({position:"absolute",width:t,top:(s?.offsetHeight??0+n)*(a+o),left:r?(t+e)*r:0,zIndex:1}),f=Bv(()=>{if(s){const m=s.offsetHeight;d(v=>({...v,width:t,left:r?(t+e)*r:0,top:(m+n)*(a+o),visibility:"visible"}))}},[s,t,r,e,n,a,o]);return W0.useLayoutEffect(()=>{f()},[f]),h("div",{ref:l,className:n0("virtual-item"),style:u,children:i})});uk.displayName="VirtualItem";const Yse=({list:t,className:e="",scrollTarget:n,preloadRowCnt:r=2,itemWidth:o,itemHeight:a,gapX:i,gapY:s,loading:l,loadingElement:u=h(Hi,{}),skeletonElement:d,skeletonCnt:f=3,noDataMsg:m,element:v})=>{const g=bl(null),w=bl(null),y=bl(0),_=bl(0),S=bl(0),x=bl(0),C=bl({startIndex:0,endIndex:10}),[R]=Yd(!!t),[P,O]=Yd({startIndex:0,endIndex:10}),[$,A]=Yd({containerWidth:g.current?.clientWidth??0,width:typeof o=="number"?o:o(g.current?.clientWidth??0),gapX:typeof i=="number"?i:i(g.current?.clientWidth??0),gapY:typeof s=="number"?s:s(g.current?.clientWidth??0)}),M=Vc(()=>{if(!(typeof window>"u"))return new ResizeObserver(D=>{for(const U of D){const{clientWidth:Y}=U.target;A({containerWidth:Y??0,width:typeof o=="number"?o:o(Y??0),gapX:typeof i=="number"?i:i(Y??0),gapY:typeof s=="number"?s:s(Y??0)})}})},[i,s,o]),L=Vc(()=>l||!t,[l,t]),B=Vc(()=>{const D=Y=>{const{containerWidth:oe,width:Q}=$,re=parseInt((oe/Q).toString()),le=Math.ceil(Y.length/re)||0,ee=new Array(le);for(let te=0;te<le;te++)ee[te]=Y.slice(te*re,(te+1)*re).map(ue=>ue);return ee},U=Array.from({length:f}).map(()=>{});return D(L?U:t)},[t,L,$,f]),F=Vc(()=>B.slice(P.startIndex,P.endIndex),[P,B]),N=Vc(()=>{const D=typeof a=="number"?a:a($.containerWidth);if(g.current){const U=Array.from(g.current.children);U.length&&(g.current.style.minHeight="");const Y=Math.max(...U.map(oe=>(oe.offsetHeight??0)+$.gapY),0)||D||0;return y.current=Y,Y}return D||0},[B,F,$,a]),V=Vc(()=>{if(!(!t&&!d))return N>0?B.length*N:0},[t,d,N,B.length]),z=Bv(()=>{const D=n?"current"in n?n.current:n:null,U=D?D.scrollTop:window.scrollY,Y=D?D.offsetHeight:window.innerHeight,oe=D?D.scrollHeight:document.body.scrollHeight,Q=_.current>U?0:Math.floor((U-_.current)/N)-r,re=Math.ceil((U+Y)/N)+r;return oe===U+Y?{startIndex:C.current.startIndex,endIndex:C.current.endIndex}:{startIndex:N&&Q>=0?Q:0,endIndex:!N||!re?10:re}},[N,r,n]),I=Bv(()=>{const D=n?"current"in n?n.current:n:null,U=D?D.scrollTop:window.scrollY,Y=Date.now(),oe=U-x.current,Q=oe>0,re=Q?oe:oe*-1;w.current!==null&&cancelAnimationFrame(w.current),w.current=requestAnimationFrame(()=>{const le=z();if(re>0&&U>0&&(Q&&le.endIndex<C.current.endIndex||!Q&&le.startIndex>C.current.startIndex)){cancelAnimationFrame(w.current),w.current=null;return}if(Q&&re>N?le.endIndex+=Math.floor(re/N):!Q&&re>N&&(le.startIndex-=Math.floor(re/N),le.startIndex<=0&&(le.startIndex=0)),Y-S.current>=200||U<=0||re===0){O(le),x.current=U,C.current={...le},S.current=Y,w.current=null;return}else if(re>=N*(r/2)){O(le),x.current=U,S.current=Y,C.current={...le},w.current=null;return}else(C.current.endIndex-le.endIndex>r||le.startIndex-C.current.startIndex>r)&&(O(le),x.current=U,S.current=Y,C.current={...le})})},[z,N,r,n]);return Qg(()=>{if(M){const D=g.current;return M.observe(D),()=>{D&&M.unobserve(D)}}},[g,M]),Qg(()=>{if(g.current){const{top:D}=g.current.getBoundingClientRect();_.current=window.scrollY+D}},[]),Qg(()=>{if(typeof window<"u"&&g.current){const D=n?"current"in n?n.current:n:window;return I(),D?.removeEventListener("scroll",I),D?.addEventListener("scroll",I),()=>{w.current!==null&&cancelAnimationFrame(w.current),D?.removeEventListener("scroll",I)}}},[n,w,I]),ne("div",{ref:g,className:n0(e,"virtual-scroll",{"no-data":!!t&&!t.length}),style:{height:V,minHeight:R&&!F.length?"9999999px":0},children:[L&&!d&&h("div",{className:n0("loading"),children:u}),!L&&t.length===0&&(typeof m=="object"?m:h(zf,{className:n0("no-msg-comp"),nullText:m})),F.map((D,U)=>D.map((Y,oe)=>{const Q=(P.startIndex+U)*D.length+oe,re=U*D.length+oe;return h(uk,{...$,rowIndex:oe,columnIndex:U,startIndex:P.startIndex,children:h("div",{children:qse(t?Use(v,{item:Y,imageCacher:ak,index:Q}):d,{})})},`${re}-${$.containerWidth}${L?"skeleton":""}`)}))]})};ck(Yse);const Gse="_joystick_1y6py_40",Kse="_disabled_1y6py_48",Xse="_arc_1y6py_220",Zse="_stick_1y6py_71",Qse={joystick:Gse,disabled:Kse,"joystick-inner":"_joystick-inner_1y6py_55","direction-icons":"_direction-icons_1y6py_107","icon-top":"_icon-top_1y6py_91","icon-bottom":"_icon-bottom_1y6py_99","icon-left":"_icon-left_1y6py_75","icon-right":"_icon-right_1y6py_83","curved-icons":"_curved-icons_1y6py_155","icon-curved-top":"_icon-curved-top_1y6py_92","icon-curved-bottom":"_icon-curved-bottom_1y6py_100","stick-area":"_stick-area_1y6py_203","stick-area-inner":"_stick-area-inner_1y6py_213",arc:Xse,stick:Zse},{useRef:Ni,useCallback:yl,useId:Jse,useEffect:rx}=await q("react"),Fr=rn(Qse),ele=({className:t,type:e="direction",size:n=100,stickColor:r="radial-gradient(circle at 25px 25px, #444444, #141414)",arcColor:o="var(--color-scale-zinc-100)",stickAreaColor:a="#878787",throttleThreshold:i=.05,throttleDuration:s,xOnly:l=!1,yOnly:u=!1,disableDiagonal:d=!1,disabled:f=!1,keepMoveEventInterval:m,paddingSize:v=10,style:g,onStart:w,onMove:y,onEnd:_})=>{const S=Ni(null),x=Ni(null),C=Ni(null),R=Ni(null),P=Ni(null),O=Ni(null),$=Ni(null),A=Ni({x:0,y:0}),M=Ni({type:"none",startPosition:{x:0,y:0},normalizedDistance:{x:0,y:0},rotate:{radian:0,degree:0},distance:{x:0,y:0},direction:{x:"center",y:"center"},time:Date.now()}),L=Jse().replace(/:/g,""),B=({clientX:oe,clientY:Q})=>{if(!x.current)return;const{width:re,top:le,left:ee}=x.current.getBoundingClientRect(),te=re/2,ue=oe-ee-te,ve=Q-le-te;x.current.style.transform=`translate3d(${ue}px, ${ve}px, 0px)`,S.current.style.transition=""},F=yl(()=>{x.current&&(x.current.style.transform="translate3d(0px, 0px, 0px)",x.current.classList.remove("left","right","top","bottom","center"))},[]),N=yl(({clientX:oe,clientY:Q})=>{if(!S.current||!C.current)return;const le=C.current.offsetWidth/2,ee={x:oe-M.current.startPosition.x,y:Q-M.current.startPosition.y};d?Math.abs(ee.x)>Math.abs(ee.y)?ee.y=0:Math.abs(ee.x)<Math.abs(ee.y)?ee.x=0:(ee.x=0,ee.y=0):l?ee.y=0:u&&(ee.x=0);const te=Math.hypot(ee.x,ee.y);if(te>le){const Ne=le/te;ee.x*=Ne,ee.y*=Ne}const ue={x:Math.abs(ee.x)>3?ee.x>0?"right":"left":"center",y:Math.abs(ee.y)>3?ee.y>0?"bottom":"top":"center"},ve=Math.atan2(ee.x,-ee.y);let we=ve*180/Math.PI;we<0&&(we+=360);const ye={radian:ve,degree:we},Le={x:ee.x/le,y:-ee.y/le},Oe=Math.hypot(Le.x-A.current.x,Le.y-A.current.y);return{direction:ue,distance:ee,normalizedDistance:Le,movementRatio:Oe,rotate:ye}},[d,l,u]),V=yl(({clientX:oe,clientY:Q})=>{if(!S.current||!C.current)return;const{direction:re,distance:le,rotate:ee,normalizedDistance:te,movementRatio:ue}=N({clientX:oe,clientY:Q});S.current.style.transform=`translate3d(${le.x}px, ${le.y}px, 0px)`,C.current.style.setProperty("--joy-angle",`${ee.degree}deg`);const ve=Math.hypot(te.x,te.y);return C.current.style.setProperty("--joy-ratio",`${ve}`),x.current.classList.remove("left","right","top","bottom","center"),x.current.classList.add(re.x,re.y),{direction:re,distance:{x:le.x,y:-le.y},rotate:ee,normalizedDistance:te,movementRatio:ue}},[N]),z=yl(()=>{S.current&&(S.current.style.transition="transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1)",C.current?.style.setProperty("--joy-ratio","0"),S.current.style.transform="translate3d(0px, 0px, 0px)")},[]),I=yl(()=>{const Q=Date.now()-M.current.time;if(!$.current||["none","end"].includes(M.current.type)||Q<s)return;const re=$.current;re.preventDefault(),re.stopPropagation();const{clientX:le,clientY:ee}=re,{distance:te,direction:ue,rotate:ve,normalizedDistance:we,movementRatio:ye}=V({clientX:le,clientY:ee});M.current={...M.current,type:"move",rotate:ve,distance:te,normalizedDistance:we,direction:ue,time:Date.now()};const Le={...M.current,event:re,targets:{joystick:x.current,stickArea:C.current,stick:S.current}};ye>=i&&(A.current=we,y?.(Le)),console.log("keepMoveEventInterval",m),m&&(window.clearInterval(P.current),P.current=window.setInterval(()=>{console.log("moveEventIntervalIdRef.current",P.current),console.log("moveStatusRef.current",M.current),M.current.type==="move"&&y?.(Le)},m))},[i,s,y,V,m]),D=yl(oe=>{window.clearInterval(P.current),!["none","end"].includes(M.current.type)&&(oe.target instanceof Element&&oe.target.releasePointerCapture?.(oe.pointerId),oe.preventDefault(),oe.stopPropagation(),M.current.type="end",setTimeout(()=>{M.current.type="none"},100),F(),z(),x.current.classList.remove("active"),window.clearInterval(P.current),$.current=null,_?.({type:"end",...M.current,direction:{x:"center",y:"center"},normalizedDistance:{x:0,y:0},rotate:{degree:0,radian:0},distance:{x:0,y:0},event:oe,targets:{joystick:x.current,stickArea:C.current,stick:S.current}}))},[_,F,z]),U=oe=>{if(oe.button===2||f||["start","move","end"].includes(M.current.type))return;R.current=`${L}-${oe.pointerId}`,oe.currentTarget.setPointerCapture(oe.pointerId),oe.stopPropagation(),oe.preventDefault();const{clientX:Q,clientY:re}=oe;M.current.type="start",M.current.startPosition={x:Q,y:re},x.current.classList.add("active"),B({clientX:Q,clientY:re}),w?.({...M.current,event:oe,targets:{joystick:x.current,stickArea:C.current,stick:S.current},distance:{x:0,y:0},normalizedDistance:{x:0,y:0},rotate:{radian:0,degree:0},startPosition:{x:Q,y:re},direction:{x:"center",y:"center"}})},Y=yl(oe=>{$.current=oe.nativeEvent,R.current===`${L}-${oe.pointerId}`&&(O.current&&cancelAnimationFrame(O.current),O.current=requestAnimationFrame(I))},[I,L]);return rx(()=>{const oe=Q=>{D(Q)};return window.addEventListener("pointerup",oe),()=>{window.removeEventListener("pointerup",oe)}},[L,D]),rx(()=>{const oe=P.current;return()=>{window.clearInterval(oe)}},[]),h("div",{className:Fr("joystick",t,{disabled:f}),style:{...g,"--joy-stick-size":`${n+v*2}px`,"--joy-stick-color":r,"--joy-stick-area-color":a,"--joy-arc-color":o},onContextMenu:oe=>oe.preventDefault(),children:ne("div",{ref:x,className:Fr("joystick-inner"),style:{padding:v},children:[h("div",{ref:C,className:Fr("stick-area"),style:{padding:v},onPointerDownCapture:U,onPointerUpCapture:D,onPointerMove:Y,children:ne("span",{className:Fr("stick-area-inner"),children:[h("span",{className:Fr("arc")}),e==="direction"&&ne("div",{className:Fr("direction-icons"),children:[h("span",{className:Fr("icon-top"),children:h(S$,{})}),h("span",{className:Fr("icon-bottom"),children:h(y$,{})}),h("span",{className:Fr("icon-left"),children:h(_$,{})}),h("span",{className:Fr("icon-right"),children:h(x$,{})}),h("span",{className:Fr("icon-curved-top")})]}),e==="curved"&&ne("div",{className:Fr("curved-icons"),children:[h("span",{className:Fr("icon-curved-top"),children:h(Wy,{})}),h("span",{className:Fr("icon-curved-bottom"),children:h(Wy,{})})]})]})}),h("div",{ref:S,className:Fr("stick")})]})})},tle="_border_b2cyl_50",nle={"white-button":"_white-button_b2cyl_40",border:tle},rle=rn(nle),dk=({className:t,outline:e,ripple:n,...r})=>h(Ah,{className:rle(t,"white-button",{border:e}),ripple:{color:"#9d9d9d",...n},...r}),{useMemo:rve}=await q("react"),{useState:ox,useEffect:Jg,useRef:vs,useCallback:o1}=await q("react"),ole=({className:t,initStatus:e=!0,hideErrorMessage:n,label:r,lebelPosition:o="top",loading:a,loadingMessage:i="Connecting...",disconnectedMessage:s=`Disconnected
235
+ 연결할 수 없습니다`,...l})=>{const[u,d]=ox(""),f=vs(null),m=vs(null),v=vs(""),g=vs([]),w=vs(null),y=vs({iceUfrag:"",icePwd:"",medias:[]}),_=vs([]),S=2e3,x=vs(e),[C,R]=ox(a??!1),P=me=>JSON.parse(`"${me}"`),O=me=>me!==null?me.split(", ").map(pe=>{const be=pe.match(/^<(.+?)>; rel="ice-server"(; username="(.*?)"; credential="(.*?)"; credential-type="password")?/i);if(!be)return{urls:[]};const Ue={urls:[be[1]]};return be[3]!==void 0&&(Ue.username=P(be[3]),Ue.credential=P(be[4]),Ue.credentialType="password"),Ue}):[],$=o1(me=>{fetch(me,{method:"DELETE"}).catch(()=>{})},[]),A=o1(()=>{f.current!==null&&(f.current.onicecandidate=null,f.current.oniceconnectionstatechange=null,f.current.ontrack=null,f.current.close(),f.current=null)},[]),M=me=>{const pe={iceUfrag:"",icePwd:"",medias:[]};for(const be of me.split(`\r
236
+ `))be.startsWith("m=")?pe.medias.push(be.slice(2)):pe.iceUfrag===""&&be.startsWith("a=ice-ufrag:")?pe.iceUfrag=be.slice(12):pe.icePwd===""&&be.startsWith("a=ice-pwd:")&&(pe.icePwd=be.slice(10));return pe},L=me=>{const pe=me.split(" ").slice(3);for(let be=96;be<=127;be++)if(!pe.includes(be.toString()))return be.toString();throw Error("unable to find a free payload type")},B=me=>{const pe=me.split(`\r
237
+ `);let be=L(pe[0]);return pe[0]+=` ${be}`,pe.splice(pe.length-1,0,`a=rtpmap:${be} PCMU/8000/2`),pe.splice(pe.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=L(pe[0]),pe[0]+=` ${be}`,pe.splice(pe.length-1,0,`a=rtpmap:${be} PCMA/8000/2`),pe.splice(pe.length-1,0,`a=rtcp-fb:${be} transport-cc`),pe.join(`\r
238
+ `)},F=me=>{const pe=me.split(`\r
239
+ `);let be=L(pe[0]);return pe[0]+=` ${be}`,pe.splice(pe.length-1,0,`a=rtpmap:${be} multiopus/48000/3`),pe.splice(pe.length-1,0,`a=fmtp:${be} channel_mapping=0,2,1;num_streams=2;coupled_streams=1`),pe.splice(pe.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=L(pe[0]),pe[0]+=` ${be}`,pe.splice(pe.length-1,0,`a=rtpmap:${be} multiopus/48000/4`),pe.splice(pe.length-1,0,`a=fmtp:${be} channel_mapping=0,1,2,3;num_streams=2;coupled_streams=2`),pe.splice(pe.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=L(pe[0]),pe[0]+=` ${be}`,pe.splice(pe.length-1,0,`a=rtpmap:${be} multiopus/48000/5`),pe.splice(pe.length-1,0,`a=fmtp:${be} channel_mapping=0,4,1,2,3;num_streams=3;coupled_streams=2`),pe.splice(pe.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=L(pe[0]),pe[0]+=` ${be}`,pe.splice(pe.length-1,0,`a=rtpmap:${be} multiopus/48000/6`),pe.splice(pe.length-1,0,`a=fmtp:${be} channel_mapping=0,4,1,2,3,5;num_streams=4;coupled_streams=2`),pe.splice(pe.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=L(pe[0]),pe[0]+=` ${be}`,pe.splice(pe.length-1,0,`a=rtpmap:${be} multiopus/48000/7`),pe.splice(pe.length-1,0,`a=fmtp:${be} channel_mapping=0,4,1,2,3,5,6;num_streams=4;coupled_streams=4`),pe.splice(pe.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=L(pe[0]),pe[0]+=` ${be}`,pe.splice(pe.length-1,0,`a=rtpmap:${be} multiopus/48000/8`),pe.splice(pe.length-1,0,`a=fmtp:${be} channel_mapping=0,6,1,4,5,2,3,7;num_streams=5;coupled_streams=4`),pe.splice(pe.length-1,0,`a=rtcp-fb:${be} transport-cc`),pe.join(`\r
240
+ `)},N=me=>{const pe=me.split(`\r
241
+ `);let be=L(pe[0]);return pe[0]+=` ${be}`,pe.splice(pe.length-1,0,`a=rtpmap:${be} L16/8000/2`),pe.splice(pe.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=L(pe[0]),pe[0]+=` ${be}`,pe.splice(pe.length-1,0,`a=rtpmap:${be} L16/16000/2`),pe.splice(pe.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=L(pe[0]),pe[0]+=` ${be}`,pe.splice(pe.length-1,0,`a=rtpmap:${be} L16/48000/2`),pe.splice(pe.length-1,0,`a=rtcp-fb:${be} transport-cc`),pe.join(`\r
242
+ `)},V=me=>{let pe="";const be=me.split(`\r
243
+ `);for(let Ue=0;Ue<be.length;Ue++)if(be[Ue].startsWith("a=rtpmap:")&&be[Ue].toLowerCase().includes("opus/")){pe=be[Ue].slice(9).split(" ")[0];break}if(pe==="")return me;for(let Ue=0;Ue<be.length;Ue++)be[Ue].startsWith("a=fmtp:"+pe+" ")&&(be[Ue].includes("stereo")||(be[Ue]+=";stereo=1"),be[Ue].includes("sprop-stereo")||(be[Ue]+=";sprop-stereo=1"));return be.join(`\r
244
+ `)},z=me=>{const pe=me.split("m=");for(let be=0;be<pe.length;be++)if(pe[be].startsWith("audio")){pe[be]=V(pe[be]),g.current.includes("pcma/8000/2")&&(pe[be]=B(pe[be])),g.current.includes("multiopus/48000/6")&&(pe[be]=F(pe[be])),g.current.includes("L16/48000/2")&&(pe[be]=N(pe[be]));break}return pe.join("m=")},I=(me,pe)=>{const be={};for(const qe of pe){const _e=qe.sdpMLineIndex;be[_e]===void 0&&(be[_e]=[]),be[_e].push(qe)}let Ue="a=ice-ufrag:"+me.iceUfrag+`\r
245
+ a=ice-pwd:`+me.icePwd+`\r
246
+ `,He=0;for(const qe of me.medias){if(be[He]!==void 0){Ue+="m="+qe+`\r
247
+ a=mid:`+He+`\r
248
+ `;for(const _e of be[He])Ue+="a="+_e.candidate+`\r
249
+ `}He++}return Ue},D=(me,pe)=>new Promise(be=>{const Ue=new RTCPeerConnection({iceServers:[]});Ue.addTransceiver("audio",{direction:"recvonly"}),Ue.createOffer().then(He=>{if(He.sdp==null){be(!1);return}if(He.sdp.includes(" "+me)){be(!1);return}const qe=He.sdp?.split("m=audio"),_e=qe[1].split(`\r
250
+ `);return _e[0]+=" 118",_e.splice(_e.length-1,0,"a=rtpmap:118 "+me),pe!==void 0&&_e.splice(_e.length-1,0,"a=fmtp:118 "+pe),qe[1]=_e.join(`\r
251
+ `),He.sdp=qe.join("m=audio"),Ue.setLocalDescription(He)}).then(()=>Ue.setRemoteDescription(new RTCSessionDescription({type:"answer",sdp:`v=0\r
252
+ o=- 6539324223450680508 0 IN IP4 0.0.0.0\r
253
+ s=-\r
254
+ t=0 0\r
255
+ a=fingerprint:sha-256 0D:9F:78:15:42:B5:4B:E6:E2:94:3E:5B:37:78:E1:4B:54:59:A3:36:3A:E5:05:EB:27:EE:8F:D2:2D:41:29:25\r
256
+ m=audio 9 UDP/TLS/RTP/SAVPF 118\r
257
+ c=IN IP4 0.0.0.0\r
258
+ a=ice-pwd:7c3bf4770007e7432ee4ea4d697db675\r
259
+ a=ice-ufrag:29e036dc\r
260
+ a=sendonly\r
261
+ a=rtcp-mux\r
262
+ a=rtpmap:118 `+me+`\r
263
+ `+(pe!==void 0?"a=fmtp:118 "+pe+`\r
264
+ `:"")}))).then(()=>{be(!0)}).catch(He=>{be(!1)}).finally(()=>{Ue.close()})}),U=me=>{if(w.current===null){if(d(s),R(a??!1),v.current){const pe=v.current;v.current="",$(pe)}A(),w.current=window.setTimeout(()=>{w.current=null,ve()},S),_.current=[],l.onError?.(me)}},Y=me=>{!x.current||v.current===""||fetch(v.current+window.location.search,{method:"PATCH",headers:{"Content-Type":"application/trickle-ice-sdpfrag","If-Match":"*"},body:I(y.current,me)}).then(pe=>{switch(pe.status){case 204:break;case 404:throw new Error("stream not found");default:throw new Error(`bad status code ${pe.status}`)}}).catch(pe=>{U(pe.toString())})},oe=me=>{!x.current||w.current!==null||me.candidate!==null&&(v.current===""?_.current.push(me.candidate):Y([me.candidate]))},Q=me=>{!x.current||w.current!==null||f.current==null||f.current.setRemoteDescription(new RTCSessionDescription({type:"answer",sdp:me})).then(()=>{_.current.length!==0&&(Y(_.current),_.current=[])}).catch(pe=>{U(pe.toString())})},re=me=>{fetch(new URL(l.url+"/whep")+window.location.search,{method:"POST",headers:{"Content-Type":"application/sdp"},body:me.sdp}).then(pe=>{const be=pe.headers.get("location"),Ue=be?new URL(be,l.url).toString():"";switch(pe.status){case 201:case 200:break;case 404:throw new Error("stream not found");case 400:return pe.json().then(He=>{throw new Error(He.error)});default:throw new Error(`bad status code ${pe.status}`)}if(!x.current||f.current==null){Ue&&$(Ue);return}return l.onSuccess?.(),Ue&&(v.current=Ue),pe.text().then(He=>Q(He))}).catch(pe=>{console.log(pe),U(pe.toString())})},le=()=>{!x.current||f.current==null||f.current.createOffer().then(me=>{me.sdp==null||f.current==null||(me.sdp=z(me.sdp),y.current=M(me.sdp),f.current.setLocalDescription(me).then(()=>{re(me)}).catch(pe=>{U(pe.toString())}))}).catch(me=>{U(me.toString())})},ee=()=>{!x.current||w.current!==null||f.current==null||f.current.iceConnectionState==="disconnected"&&U("peer connection closed")},te=me=>{x.current&&(d(""),R(!1),m.current&&(m.current.srcObject=me.streams[0]))},ue=()=>{x.current&&fetch(new URL(l.url+"/whep")+window.location.search,{method:"OPTIONS"}).then(me=>{if(!x.current)return;f.current||(f.current=new RTCPeerConnection({iceServers:O(me.headers.get("Link"))}));const pe="sendrecv";f.current.addTransceiver("video",{direction:pe}),f.current.addTransceiver("audio",{direction:pe}),f.current.onicecandidate=be=>oe(be),f.current.oniceconnectionstatechange=()=>ee(),f.current.ontrack=be=>te(be),le()}).catch(me=>{U(me.toString())})},ve=()=>{x.current&&(ue(),R(!0))},we=(me,pe)=>(me=me||"",["1","yes","true"].includes(me.toLowerCase())?!0:["0","no","false"].includes(me.toLowerCase())?!1:pe),ye=()=>{const me=new URLSearchParams(window.location.search);m.current&&(m.current.controls=we(me.get("controls"),!1),m.current.muted=we(me.get("muted"),!0),m.current.autoplay=we(me.get("autoplay"),!0),m.current.playsInline=we(me.get("playsinline"),!0))},Le=()=>{Promise.all([["pcma/8000/2"],["multiopus/48000/6","channel_mapping=0,4,1,2,3,5;num_streams=4;coupled_streams=2"],["L16/48000/2"]].map(me=>D(me[0],me[1]).then(pe=>pe?me[0]:!1))).then(me=>me.filter(pe=>pe!==!1)).then(me=>{g.current=me,ve()})},Oe=o1(()=>{v.current&&($(v.current),v.current=""),A(),_.current=[],ye(),Le()},[A,$,l.url]),Ne=o1(()=>{x.current=!1,v.current&&($(v.current),v.current=""),A(),m.current&&m.current.srcObject&&(m.current.srcObject.getTracks().forEach(pe=>pe.stop()),m.current.srcObject=null),R(!1),d(""),_.current=[]},[A,$]);return Jg(()=>()=>{x.current=!1,w.current!==null&&(window.clearTimeout(w.current),w.current=null),Ne()},[Ne]),Jg(()=>{x.current=e,e?Oe():Ne()},[Ne,Oe,e]),Jg(()=>{R(a??!1)},[a]),ne("div",{className:ae("cam-box","relative","flex","items-center","justify-center","bg-black/40",t),style:{width:l.width,height:l.height},children:[h("video",{ref:m,className:ae("video","w-full","h-full")}),C&&!u&&h(m6,{className:"absolute inset-0 z-2 h-full justify-center",type:"icon",icon:h(Hi,{className:"text-white",size:"3rem"}),message:i}),!!u&&!n&&h(m6,{className:"absolute inset-0 z-1 h-full justify-center",type:"icon",icon:h(m8,{className:"text-fg-subtlest size-5"}),message:u})]})};ole.displayName="WebRTCVideo";var jc={},e2,ax;function ale(){return ax||(ax=1,e2=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),e2}var t2={},ws={},ix;function rc(){if(ix)return ws;ix=1;let t;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return ws.getSymbolSize=function(r){if(!r)throw new Error('"version" cannot be null or undefined');if(r<1||r>40)throw new Error('"version" should be in range from 1 to 40');return r*4+17},ws.getSymbolTotalCodewords=function(r){return e[r]},ws.getBCHDigit=function(n){let r=0;for(;n!==0;)r++,n>>>=1;return r},ws.setToSJISFunction=function(r){if(typeof r!="function")throw new Error('"toSJISFunc" is not a valid function.');t=r},ws.isKanjiModeEnabled=function(){return typeof t<"u"},ws.toSJIS=function(r){return t(r)},ws}var n2={},sx;function S3(){return sx||(sx=1,(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+n)}}t.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},t.from=function(r,o){if(t.isValid(r))return r;try{return e(r)}catch{return o}}})(n2)),n2}var r2,lx;function ile(){if(lx)return r2;lx=1;function t(){this.buffer=[],this.length=0}return t.prototype={get:function(e){const n=Math.floor(e/8);return(this.buffer[n]>>>7-e%8&1)===1},put:function(e,n){for(let r=0;r<n;r++)this.putBit((e>>>n-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),e&&(this.buffer[n]|=128>>>this.length%8),this.length++}},r2=t,r2}var o2,cx;function sle(){if(cx)return o2;cx=1;function t(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}return t.prototype.set=function(e,n,r,o){const a=e*this.size+n;this.data[a]=r,o&&(this.reservedBit[a]=!0)},t.prototype.get=function(e,n){return this.data[e*this.size+n]},t.prototype.xor=function(e,n,r){this.data[e*this.size+n]^=r},t.prototype.isReserved=function(e,n){return this.reservedBit[e*this.size+n]},o2=t,o2}var a2={},ux;function lle(){return ux||(ux=1,(function(t){const e=rc().getSymbolSize;t.getRowColCoords=function(r){if(r===1)return[];const o=Math.floor(r/7)+2,a=e(r),i=a===145?26:Math.ceil((a-13)/(2*o-2))*2,s=[a-7];for(let l=1;l<o-1;l++)s[l]=s[l-1]-i;return s.push(6),s.reverse()},t.getPositions=function(r){const o=[],a=t.getRowColCoords(r),i=a.length;for(let s=0;s<i;s++)for(let l=0;l<i;l++)s===0&&l===0||s===0&&l===i-1||s===i-1&&l===0||o.push([a[s],a[l]]);return o}})(a2)),a2}var i2={},dx;function cle(){if(dx)return i2;dx=1;const t=rc().getSymbolSize,e=7;return i2.getPositions=function(r){const o=t(r);return[[0,0],[o-e,0],[0,o-e]]},i2}var s2={},fx;function ule(){return fx||(fx=1,(function(t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};t.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},t.from=function(o){return t.isValid(o)?parseInt(o,10):void 0},t.getPenaltyN1=function(o){const a=o.size;let i=0,s=0,l=0,u=null,d=null;for(let f=0;f<a;f++){s=l=0,u=d=null;for(let m=0;m<a;m++){let v=o.get(f,m);v===u?s++:(s>=5&&(i+=e.N1+(s-5)),u=v,s=1),v=o.get(m,f),v===d?l++:(l>=5&&(i+=e.N1+(l-5)),d=v,l=1)}s>=5&&(i+=e.N1+(s-5)),l>=5&&(i+=e.N1+(l-5))}return i},t.getPenaltyN2=function(o){const a=o.size;let i=0;for(let s=0;s<a-1;s++)for(let l=0;l<a-1;l++){const u=o.get(s,l)+o.get(s,l+1)+o.get(s+1,l)+o.get(s+1,l+1);(u===4||u===0)&&i++}return i*e.N2},t.getPenaltyN3=function(o){const a=o.size;let i=0,s=0,l=0;for(let u=0;u<a;u++){s=l=0;for(let d=0;d<a;d++)s=s<<1&2047|o.get(u,d),d>=10&&(s===1488||s===93)&&i++,l=l<<1&2047|o.get(d,u),d>=10&&(l===1488||l===93)&&i++}return i*e.N3},t.getPenaltyN4=function(o){let a=0;const i=o.data.length;for(let l=0;l<i;l++)a+=o.data[l];return Math.abs(Math.ceil(a*100/i/5)-10)*e.N4};function n(r,o,a){switch(r){case t.Patterns.PATTERN000:return(o+a)%2===0;case t.Patterns.PATTERN001:return o%2===0;case t.Patterns.PATTERN010:return a%3===0;case t.Patterns.PATTERN011:return(o+a)%3===0;case t.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(a/3))%2===0;case t.Patterns.PATTERN101:return o*a%2+o*a%3===0;case t.Patterns.PATTERN110:return(o*a%2+o*a%3)%2===0;case t.Patterns.PATTERN111:return(o*a%3+(o+a)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}t.applyMask=function(o,a){const i=a.size;for(let s=0;s<i;s++)for(let l=0;l<i;l++)a.isReserved(l,s)||a.xor(l,s,n(o,l,s))},t.getBestMask=function(o,a){const i=Object.keys(t.Patterns).length;let s=0,l=1/0;for(let u=0;u<i;u++){a(u),t.applyMask(u,o);const d=t.getPenaltyN1(o)+t.getPenaltyN2(o)+t.getPenaltyN3(o)+t.getPenaltyN4(o);t.applyMask(u,o),d<l&&(l=d,s=u)}return s}})(s2)),s2}var a1={},px;function fk(){if(px)return a1;px=1;const t=S3(),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return a1.getBlocksCount=function(o,a){switch(a){case t.L:return e[(o-1)*4+0];case t.M:return e[(o-1)*4+1];case t.Q:return e[(o-1)*4+2];case t.H:return e[(o-1)*4+3];default:return}},a1.getTotalCodewordsCount=function(o,a){switch(a){case t.L:return n[(o-1)*4+0];case t.M:return n[(o-1)*4+1];case t.Q:return n[(o-1)*4+2];case t.H:return n[(o-1)*4+3];default:return}},a1}var l2={},md={},hx;function dle(){if(hx)return md;hx=1;const t=new Uint8Array(512),e=new Uint8Array(256);return(function(){let r=1;for(let o=0;o<255;o++)t[o]=r,e[r]=o,r<<=1,r&256&&(r^=285);for(let o=255;o<512;o++)t[o]=t[o-255]})(),md.log=function(r){if(r<1)throw new Error("log("+r+")");return e[r]},md.exp=function(r){return t[r]},md.mul=function(r,o){return r===0||o===0?0:t[e[r]+e[o]]},md}var mx;function fle(){return mx||(mx=1,(function(t){const e=dle();t.mul=function(r,o){const a=new Uint8Array(r.length+o.length-1);for(let i=0;i<r.length;i++)for(let s=0;s<o.length;s++)a[i+s]^=e.mul(r[i],o[s]);return a},t.mod=function(r,o){let a=new Uint8Array(r);for(;a.length-o.length>=0;){const i=a[0];for(let l=0;l<o.length;l++)a[l]^=e.mul(o[l],i);let s=0;for(;s<a.length&&a[s]===0;)s++;a=a.slice(s)}return a},t.generateECPolynomial=function(r){let o=new Uint8Array([1]);for(let a=0;a<r;a++)o=t.mul(o,new Uint8Array([1,e.exp(a)]));return o}})(l2)),l2}var c2,gx;function ple(){if(gx)return c2;gx=1;const t=fle();function e(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return e.prototype.initialize=function(r){this.degree=r,this.genPoly=t.generateECPolynomial(this.degree)},e.prototype.encode=function(r){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(r.length+this.degree);o.set(r);const a=t.mod(o,this.genPoly),i=this.degree-a.length;if(i>0){const s=new Uint8Array(this.degree);return s.set(a,i),s}return a},c2=e,c2}var u2={},d2={},f2={},vx;function pk(){return vx||(vx=1,f2.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}),f2}var Wa={},wx;function hk(){if(wx)return Wa;wx=1;const t="[0-9]+",e="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const r="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
265
+ ]))+`;Wa.KANJI=new RegExp(n,"g"),Wa.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Wa.BYTE=new RegExp(r,"g"),Wa.NUMERIC=new RegExp(t,"g"),Wa.ALPHANUMERIC=new RegExp(e,"g");const o=new RegExp("^"+n+"$"),a=new RegExp("^"+t+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Wa.testKanji=function(l){return o.test(l)},Wa.testNumeric=function(l){return a.test(l)},Wa.testAlphanumeric=function(l){return i.test(l)},Wa}var bx;function oc(){return bx||(bx=1,(function(t){const e=pk(),n=hk();t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(a,i){if(!a.ccBits)throw new Error("Invalid mode: "+a);if(!e.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?a.ccBits[0]:i<27?a.ccBits[1]:a.ccBits[2]},t.getBestModeForData=function(a){return n.testNumeric(a)?t.NUMERIC:n.testAlphanumeric(a)?t.ALPHANUMERIC:n.testKanji(a)?t.KANJI:t.BYTE},t.toString=function(a){if(a&&a.id)return a.id;throw new Error("Invalid mode")},t.isValid=function(a){return a&&a.bit&&a.ccBits};function r(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+o)}}t.from=function(a,i){if(t.isValid(a))return a;try{return r(a)}catch{return i}}})(d2)),d2}var yx;function hle(){return yx||(yx=1,(function(t){const e=rc(),n=fk(),r=S3(),o=oc(),a=pk(),i=7973,s=e.getBCHDigit(i);function l(m,v,g){for(let w=1;w<=40;w++)if(v<=t.getCapacity(w,g,m))return w}function u(m,v){return o.getCharCountIndicator(m,v)+4}function d(m,v){let g=0;return m.forEach(function(w){const y=u(w.mode,v);g+=y+w.getBitsLength()}),g}function f(m,v){for(let g=1;g<=40;g++)if(d(m,g)<=t.getCapacity(g,v,o.MIXED))return g}t.from=function(v,g){return a.isValid(v)?parseInt(v,10):g},t.getCapacity=function(v,g,w){if(!a.isValid(v))throw new Error("Invalid QR Code version");typeof w>"u"&&(w=o.BYTE);const y=e.getSymbolTotalCodewords(v),_=n.getTotalCodewordsCount(v,g),S=(y-_)*8;if(w===o.MIXED)return S;const x=S-u(w,v);switch(w){case o.NUMERIC:return Math.floor(x/10*3);case o.ALPHANUMERIC:return Math.floor(x/11*2);case o.KANJI:return Math.floor(x/13);case o.BYTE:default:return Math.floor(x/8)}},t.getBestVersionForData=function(v,g){let w;const y=r.from(g,r.M);if(Array.isArray(v)){if(v.length>1)return f(v,y);if(v.length===0)return 1;w=v[0]}else w=v;return l(w.mode,w.getLength(),y)},t.getEncodedBits=function(v){if(!a.isValid(v)||v<7)throw new Error("Invalid QR Code version");let g=v<<12;for(;e.getBCHDigit(g)-s>=0;)g^=i<<e.getBCHDigit(g)-s;return v<<12|g}})(u2)),u2}var p2={},_x;function mle(){if(_x)return p2;_x=1;const t=rc(),e=1335,n=21522,r=t.getBCHDigit(e);return p2.getEncodedBits=function(a,i){const s=a.bit<<3|i;let l=s<<10;for(;t.getBCHDigit(l)-r>=0;)l^=e<<t.getBCHDigit(l)-r;return(s<<10|l)^n},p2}var h2={},m2,xx;function gle(){if(xx)return m2;xx=1;const t=oc();function e(n){this.mode=t.NUMERIC,this.data=n.toString()}return e.getBitsLength=function(r){return 10*Math.floor(r/3)+(r%3?r%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(r){let o,a,i;for(o=0;o+3<=this.data.length;o+=3)a=this.data.substr(o,3),i=parseInt(a,10),r.put(i,10);const s=this.data.length-o;s>0&&(a=this.data.substr(o),i=parseInt(a,10),r.put(i,s*3+1))},m2=e,m2}var g2,Sx;function vle(){if(Sx)return g2;Sx=1;const t=oc(),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(r){this.mode=t.ALPHANUMERIC,this.data=r}return n.getBitsLength=function(o){return 11*Math.floor(o/2)+6*(o%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(o){let a;for(a=0;a+2<=this.data.length;a+=2){let i=e.indexOf(this.data[a])*45;i+=e.indexOf(this.data[a+1]),o.put(i,11)}this.data.length%2&&o.put(e.indexOf(this.data[a]),6)},g2=n,g2}var v2,Cx;function wle(){if(Cx)return v2;Cx=1;const t=oc();function e(n){this.mode=t.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return e.getBitsLength=function(r){return r*8},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(n){for(let r=0,o=this.data.length;r<o;r++)n.put(this.data[r],8)},v2=e,v2}var w2,Ex;function ble(){if(Ex)return w2;Ex=1;const t=oc(),e=rc();function n(r){this.mode=t.KANJI,this.data=r}return n.getBitsLength=function(o){return o*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let o;for(o=0;o<this.data.length;o++){let a=e.toSJIS(this.data[o]);if(a>=33088&&a<=40956)a-=33088;else if(a>=57408&&a<=60351)a-=49472;else throw new Error("Invalid SJIS character: "+this.data[o]+`
266
+ Make sure your charset is UTF-8`);a=(a>>>8&255)*192+(a&255),r.put(a,13)}},w2=n,w2}var b2={exports:{}},Mx;function yle(){return Mx||(Mx=1,(function(t){var e={single_source_shortest_paths:function(n,r,o){var a={},i={};i[r]=0;var s=e.PriorityQueue.make();s.push(r,0);for(var l,u,d,f,m,v,g,w,y;!s.empty();){l=s.pop(),u=l.value,f=l.cost,m=n[u]||{};for(d in m)m.hasOwnProperty(d)&&(v=m[d],g=f+v,w=i[d],y=typeof i[d]>"u",(y||w>g)&&(i[d]=g,s.push(d,g),a[d]=u))}if(typeof o<"u"&&typeof i[o]>"u"){var _=["Could not find a path from ",r," to ",o,"."].join("");throw new Error(_)}return a},extract_shortest_path_from_predecessor_list:function(n,r){for(var o=[],a=r;a;)o.push(a),n[a],a=n[a];return o.reverse(),o},find_path:function(n,r,o){var a=e.single_source_shortest_paths(n,r,o);return e.extract_shortest_path_from_predecessor_list(a,o)},PriorityQueue:{make:function(n){var r=e.PriorityQueue,o={},a;n=n||{};for(a in r)r.hasOwnProperty(a)&&(o[a]=r[a]);return o.queue=[],o.sorter=n.sorter||r.default_sorter,o},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var o={value:n,cost:r};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t.exports=e})(b2)),b2.exports}var kx;function _le(){return kx||(kx=1,(function(t){const e=oc(),n=gle(),r=vle(),o=wle(),a=ble(),i=hk(),s=rc(),l=yle();function u(_){return unescape(encodeURIComponent(_)).length}function d(_,S,x){const C=[];let R;for(;(R=_.exec(x))!==null;)C.push({data:R[0],index:R.index,mode:S,length:R[0].length});return C}function f(_){const S=d(i.NUMERIC,e.NUMERIC,_),x=d(i.ALPHANUMERIC,e.ALPHANUMERIC,_);let C,R;return s.isKanjiModeEnabled()?(C=d(i.BYTE,e.BYTE,_),R=d(i.KANJI,e.KANJI,_)):(C=d(i.BYTE_KANJI,e.BYTE,_),R=[]),S.concat(x,C,R).sort(function(O,$){return O.index-$.index}).map(function(O){return{data:O.data,mode:O.mode,length:O.length}})}function m(_,S){switch(S){case e.NUMERIC:return n.getBitsLength(_);case e.ALPHANUMERIC:return r.getBitsLength(_);case e.KANJI:return a.getBitsLength(_);case e.BYTE:return o.getBitsLength(_)}}function v(_){return _.reduce(function(S,x){const C=S.length-1>=0?S[S.length-1]:null;return C&&C.mode===x.mode?(S[S.length-1].data+=x.data,S):(S.push(x),S)},[])}function g(_){const S=[];for(let x=0;x<_.length;x++){const C=_[x];switch(C.mode){case e.NUMERIC:S.push([C,{data:C.data,mode:e.ALPHANUMERIC,length:C.length},{data:C.data,mode:e.BYTE,length:C.length}]);break;case e.ALPHANUMERIC:S.push([C,{data:C.data,mode:e.BYTE,length:C.length}]);break;case e.KANJI:S.push([C,{data:C.data,mode:e.BYTE,length:u(C.data)}]);break;case e.BYTE:S.push([{data:C.data,mode:e.BYTE,length:u(C.data)}])}}return S}function w(_,S){const x={},C={start:{}};let R=["start"];for(let P=0;P<_.length;P++){const O=_[P],$=[];for(let A=0;A<O.length;A++){const M=O[A],L=""+P+A;$.push(L),x[L]={node:M,lastCount:0},C[L]={};for(let B=0;B<R.length;B++){const F=R[B];x[F]&&x[F].node.mode===M.mode?(C[F][L]=m(x[F].lastCount+M.length,M.mode)-m(x[F].lastCount,M.mode),x[F].lastCount+=M.length):(x[F]&&(x[F].lastCount=M.length),C[F][L]=m(M.length,M.mode)+4+e.getCharCountIndicator(M.mode,S))}}R=$}for(let P=0;P<R.length;P++)C[R[P]].end=0;return{map:C,table:x}}function y(_,S){let x;const C=e.getBestModeForData(_);if(x=e.from(S,C),x!==e.BYTE&&x.bit<C.bit)throw new Error('"'+_+'" cannot be encoded with mode '+e.toString(x)+`.
267
+ Suggested mode is: `+e.toString(C));switch(x===e.KANJI&&!s.isKanjiModeEnabled()&&(x=e.BYTE),x){case e.NUMERIC:return new n(_);case e.ALPHANUMERIC:return new r(_);case e.KANJI:return new a(_);case e.BYTE:return new o(_)}}t.fromArray=function(S){return S.reduce(function(x,C){return typeof C=="string"?x.push(y(C,null)):C.data&&x.push(y(C.data,C.mode)),x},[])},t.fromString=function(S,x){const C=f(S,s.isKanjiModeEnabled()),R=g(C),P=w(R,x),O=l.find_path(P.map,"start","end"),$=[];for(let A=1;A<O.length-1;A++)$.push(P.table[O[A]].node);return t.fromArray(v($))},t.rawSplit=function(S){return t.fromArray(f(S,s.isKanjiModeEnabled()))}})(h2)),h2}var Rx;function xle(){if(Rx)return t2;Rx=1;const t=rc(),e=S3(),n=ile(),r=sle(),o=lle(),a=cle(),i=ule(),s=fk(),l=ple(),u=hle(),d=mle(),f=oc(),m=_le();function v(P,O){const $=P.size,A=a.getPositions(O);for(let M=0;M<A.length;M++){const L=A[M][0],B=A[M][1];for(let F=-1;F<=7;F++)if(!(L+F<=-1||$<=L+F))for(let N=-1;N<=7;N++)B+N<=-1||$<=B+N||(F>=0&&F<=6&&(N===0||N===6)||N>=0&&N<=6&&(F===0||F===6)||F>=2&&F<=4&&N>=2&&N<=4?P.set(L+F,B+N,!0,!0):P.set(L+F,B+N,!1,!0))}}function g(P){const O=P.size;for(let $=8;$<O-8;$++){const A=$%2===0;P.set($,6,A,!0),P.set(6,$,A,!0)}}function w(P,O){const $=o.getPositions(O);for(let A=0;A<$.length;A++){const M=$[A][0],L=$[A][1];for(let B=-2;B<=2;B++)for(let F=-2;F<=2;F++)B===-2||B===2||F===-2||F===2||B===0&&F===0?P.set(M+B,L+F,!0,!0):P.set(M+B,L+F,!1,!0)}}function y(P,O){const $=P.size,A=u.getEncodedBits(O);let M,L,B;for(let F=0;F<18;F++)M=Math.floor(F/3),L=F%3+$-8-3,B=(A>>F&1)===1,P.set(M,L,B,!0),P.set(L,M,B,!0)}function _(P,O,$){const A=P.size,M=d.getEncodedBits(O,$);let L,B;for(L=0;L<15;L++)B=(M>>L&1)===1,L<6?P.set(L,8,B,!0):L<8?P.set(L+1,8,B,!0):P.set(A-15+L,8,B,!0),L<8?P.set(8,A-L-1,B,!0):L<9?P.set(8,15-L-1+1,B,!0):P.set(8,15-L-1,B,!0);P.set(A-8,8,1,!0)}function S(P,O){const $=P.size;let A=-1,M=$-1,L=7,B=0;for(let F=$-1;F>0;F-=2)for(F===6&&F--;;){for(let N=0;N<2;N++)if(!P.isReserved(M,F-N)){let V=!1;B<O.length&&(V=(O[B]>>>L&1)===1),P.set(M,F-N,V),L--,L===-1&&(B++,L=7)}if(M+=A,M<0||$<=M){M-=A,A=-A;break}}}function x(P,O,$){const A=new n;$.forEach(function(N){A.put(N.mode.bit,4),A.put(N.getLength(),f.getCharCountIndicator(N.mode,P)),N.write(A)});const M=t.getSymbolTotalCodewords(P),L=s.getTotalCodewordsCount(P,O),B=(M-L)*8;for(A.getLengthInBits()+4<=B&&A.put(0,4);A.getLengthInBits()%8!==0;)A.putBit(0);const F=(B-A.getLengthInBits())/8;for(let N=0;N<F;N++)A.put(N%2?17:236,8);return C(A,P,O)}function C(P,O,$){const A=t.getSymbolTotalCodewords(O),M=s.getTotalCodewordsCount(O,$),L=A-M,B=s.getBlocksCount(O,$),F=A%B,N=B-F,V=Math.floor(A/B),z=Math.floor(L/B),I=z+1,D=V-z,U=new l(D);let Y=0;const oe=new Array(B),Q=new Array(B);let re=0;const le=new Uint8Array(P.buffer);for(let we=0;we<B;we++){const ye=we<N?z:I;oe[we]=le.slice(Y,Y+ye),Q[we]=U.encode(oe[we]),Y+=ye,re=Math.max(re,ye)}const ee=new Uint8Array(A);let te=0,ue,ve;for(ue=0;ue<re;ue++)for(ve=0;ve<B;ve++)ue<oe[ve].length&&(ee[te++]=oe[ve][ue]);for(ue=0;ue<D;ue++)for(ve=0;ve<B;ve++)ee[te++]=Q[ve][ue];return ee}function R(P,O,$,A){let M;if(Array.isArray(P))M=m.fromArray(P);else if(typeof P=="string"){let V=O;if(!V){const z=m.rawSplit(P);V=u.getBestVersionForData(z,$)}M=m.fromString(P,V||40)}else throw new Error("Invalid data");const L=u.getBestVersionForData(M,$);if(!L)throw new Error("The amount of data is too big to be stored in a QR Code");if(!O)O=L;else if(O<L)throw new Error(`
268
+ The chosen QR Code version cannot contain this amount of data.
269
+ Minimum version required to store current data is: `+L+`.
270
+ `);const B=x(O,$,M),F=t.getSymbolSize(O),N=new r(F);return v(N,O),g(N),w(N,O),_(N,$,0),O>=7&&y(N,O),S(N,B),isNaN(A)&&(A=i.getBestMask(N,_.bind(null,N,$))),i.applyMask(A,N),_(N,$,A),{modules:N,version:O,errorCorrectionLevel:$,maskPattern:A,segments:M}}return t2.create=function(O,$){if(typeof O>"u"||O==="")throw new Error("No input text");let A=e.M,M,L;return typeof $<"u"&&(A=e.from($.errorCorrectionLevel,e.M),M=u.from($.version),L=i.from($.maskPattern),$.toSJISFunc&&t.setToSJISFunction($.toSJISFunc)),R(O,M,A,L)},t2}var y2={},_2={},Tx;function mk(){return Tx||(Tx=1,(function(t){function e(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(a){return[a,a]}))),r.length===6&&r.push("F","F");const o=parseInt(r.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+r.slice(0,6).join("")}}t.getOptions=function(r){r||(r={}),r.color||(r.color={});const o=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,a=r.width&&r.width>=21?r.width:void 0,i=r.scale||4;return{width:a,scale:a?4:i,margin:o,color:{dark:e(r.color.dark||"#000000ff"),light:e(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},t.getScale=function(r,o){return o.width&&o.width>=r+o.margin*2?o.width/(r+o.margin*2):o.scale},t.getImageWidth=function(r,o){const a=t.getScale(r,o);return Math.floor((r+o.margin*2)*a)},t.qrToImageData=function(r,o,a){const i=o.modules.size,s=o.modules.data,l=t.getScale(i,a),u=Math.floor((i+a.margin*2)*l),d=a.margin*l,f=[a.color.light,a.color.dark];for(let m=0;m<u;m++)for(let v=0;v<u;v++){let g=(m*u+v)*4,w=a.color.light;if(m>=d&&v>=d&&m<u-d&&v<u-d){const y=Math.floor((m-d)/l),_=Math.floor((v-d)/l);w=f[s[y*i+_]?1:0]}r[g++]=w.r,r[g++]=w.g,r[g++]=w.b,r[g]=w.a}}})(_2)),_2}var Nx;function Sle(){return Nx||(Nx=1,(function(t){const e=mk();function n(o,a,i){o.clearRect(0,0,a.width,a.height),a.style||(a.style={}),a.height=i,a.width=i,a.style.height=i+"px",a.style.width=i+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}t.render=function(a,i,s){let l=s,u=i;typeof l>"u"&&(!i||!i.getContext)&&(l=i,i=void 0),i||(u=r()),l=e.getOptions(l);const d=e.getImageWidth(a.modules.size,l),f=u.getContext("2d"),m=f.createImageData(d,d);return e.qrToImageData(m.data,a,l),n(f,u,d),f.putImageData(m,0,0),u},t.renderToDataURL=function(a,i,s){let l=s;typeof l>"u"&&(!i||!i.getContext)&&(l=i,i=void 0),l||(l={});const u=t.render(a,i,l),d=l.type||"image/png",f=l.rendererOpts||{};return u.toDataURL(d,f.quality)}})(y2)),y2}var x2={},Px;function Cle(){if(Px)return x2;Px=1;const t=mk();function e(o,a){const i=o.a/255,s=a+'="'+o.hex+'"';return i<1?s+" "+a+'-opacity="'+i.toFixed(2).slice(1)+'"':s}function n(o,a,i){let s=o+a;return typeof i<"u"&&(s+=" "+i),s}function r(o,a,i){let s="",l=0,u=!1,d=0;for(let f=0;f<o.length;f++){const m=Math.floor(f%a),v=Math.floor(f/a);!m&&!u&&(u=!0),o[f]?(d++,f>0&&m>0&&o[f-1]||(s+=u?n("M",m+i,.5+v+i):n("m",l,0),l=0,u=!1),m+1<a&&o[f+1]||(s+=n("h",d),d=0)):l++}return s}return x2.render=function(a,i,s){const l=t.getOptions(i),u=a.modules.size,d=a.modules.data,f=u+l.margin*2,m=l.color.light.a?"<path "+e(l.color.light,"fill")+' d="M0 0h'+f+"v"+f+'H0z"/>':"",v="<path "+e(l.color.dark,"stroke")+' d="'+r(d,u,l.margin)+'"/>',g='viewBox="0 0 '+f+" "+f+'"',y='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+g+' shape-rendering="crispEdges">'+m+v+`</svg>
271
+ `;return typeof s=="function"&&s(null,y),y},x2}var Ax;function Ele(){if(Ax)return jc;Ax=1;const t=ale(),e=xle(),n=Sle(),r=Cle();function o(a,i,s,l,u){const d=[].slice.call(arguments,1),f=d.length,m=typeof d[f-1]=="function";if(!m&&!t())throw new Error("Callback required as last argument");if(m){if(f<2)throw new Error("Too few arguments provided");f===2?(u=s,s=i,i=l=void 0):f===3&&(i.getContext&&typeof u>"u"?(u=l,l=void 0):(u=l,l=s,s=i,i=void 0))}else{if(f<1)throw new Error("Too few arguments provided");return f===1?(s=i,i=l=void 0):f===2&&!i.getContext&&(l=s,s=i,i=void 0),new Promise(function(v,g){try{const w=e.create(s,l);v(a(w,i,l))}catch(w){g(w)}})}try{const v=e.create(s,l);u(null,a(v,i,l))}catch(v){u(v)}}return jc.create=e.create,jc.toCanvas=o.bind(null,n.render),jc.toDataURL=o.bind(null,n.renderToDataURL),jc.toString=o.bind(null,function(a,i,s){return r.render(a,s)}),jc}Ele();const{useCallback:ove,useEffect:ave,useState:ive}=await q("react"),{useCallback:sve,useEffect:lve,useId:cve,useRef:uve,useState:dve}=await q("react"),{useCallback:fve,useEffect:pve,useId:hve,useRef:mve,useState:gve}=await q("react"),Mle="_selected_621ky_62",kle={"inbox-pagination":"_inbox-pagination_621ky_41","pagination-page":"_pagination-page_621ky_54",selected:Mle,"pagination-next":"_pagination-next_621ky_65","pagination-prev":"_pagination-prev_621ky_65","pagination-next-double":"_pagination-next-double_621ky_65","pagination-prev-double":"_pagination-prev-double_621ky_65"},{useMemo:gd}=await q("react"),Hc=rn(kle),vve=({className:t,currPage:e=1,listSize:n=20,pageSize:r=5,totalCount:o=0,handlePageChange:a})=>{const i=gd(()=>{const f=o/n;return f%1===0?f:Math.floor(f)+1},[n,o]),s=gd(()=>Array.from({length:o},(f,m)=>Array.from({length:r},(v,g)=>m*r+g+1)),[r,o]),l=gd(()=>(s.find(f=>f.includes(e))??[]).filter(f=>f<=i),[e,s,i]),u=gd(()=>{const f=l[0]??1;return Math.max(1,f-1)},[l]),d=gd(()=>{const f=l[l.length-1]??i;return Math.min(i,f+1)},[l,i]);return ne("ul",{className:Hc(t,"inbox-pagination"),children:[h("li",{children:h("button",{className:Hc("pagination-prev-double"),type:"button",disabled:e===1,onClick:()=>a(u),children:h(u$,{})})}),h("li",{children:h("button",{className:Hc("pagination-prev"),type:"button",disabled:e===1,onClick:()=>a(e-1),children:h(f$,{})})}),l.map(f=>h("li",{children:h("button",{className:Hc("pagination-page",e===f&&"selected"),type:"button",onClick:()=>a(f),children:f})},f)),h("li",{children:h("button",{className:Hc("pagination-next"),type:"button",disabled:!(e<i),onClick:()=>a(e+1),children:h(p$,{})})}),h("li",{children:h("button",{className:Hc("pagination-next-double"),type:"button",disabled:e===i,onClick:()=>a(d),children:h(d$,{})})})]})},{useEffect:wve,useRef:bve,useState:yve}=await q("react"),Rle="_inner_16agd_43",Tle="_left_16agd_50",Nle="_right_16agd_53",Ple="_disabled_16agd_87",Ale={"joystick-with-buttons":"_joystick-with-buttons_16agd_40",inner:Rle,left:Tle,right:Nle,"btn-group":"_btn-group_16agd_61","btn-group-item":"_btn-group-item_16agd_69",disabled:Ple,"joy-stick-container":"_joy-stick-container_16agd_95","joy-stick":"_joy-stick_16agd_95","hide-joystick":"_hide-joystick_16agd_110","transition-disabled":"_transition-disabled_16agd_115"},{useCallback:Ile,useEffect:Ix,useMemo:Ox,useRef:S2,useState:Lx}=await q("react"),Wc=rn(Ale),_ve=({className:t,joystickType:e,disableDiagonal:n,xOnly:r,yOnly:o,buttonsDirection:a,buttons:i,hideJoystick:s,onJoystickMove:l})=>{const u=S2(null),d=S2([]),f=S2({timeoutId:[],animationFrameId:[]}),{isMobile:m,isSmallTablet:v}=s3(),[g,w]=Lx(!s),[y,_]=Lx(!1),S=Ox(()=>{const $=i?.length??0;return $>=4?{oneObjectDeg:35,initDeg:a==="left"?-5:5}:$===3?{oneObjectDeg:40,initDeg:a==="left"?15:-15}:{oneObjectDeg:45,initDeg:a==="left"?25:-25}},[i?.length,a]),x=Ox(()=>m?80:v?100:110,[m,v]),C=$=>{_(!0),l?.({isMoving:!0,type:e,data:$})},R=$=>{l?.({isMoving:!0,type:e,data:$})},P=$=>{_(!1),l?.({isMoving:!1,type:e,data:$})},O=Ile(({oneObjectDeg:$,initDeg:A})=>{if(!u.current)return;const M=u.current.getBoundingClientRect(),L=M.width/2,B=M.height/2,F=M.width/2;s?(f.current.animationFrameId.forEach(N=>{cancelAnimationFrame(N)}),f.current.timeoutId.forEach(N=>{clearTimeout(N)}),d.current?.forEach((N,V)=>{if(!N)return;const z=N,I=z.offsetWidth,D=20;z&&(a==="left"?(z.style.left=`${I*V+D*(V+1)}px`,z.style.transform="translateY(-100%)"):(z.style.left=`calc(100% - ${I*V+D*(V+1)}px)`,z.style.transform="translateX(-100%) translateY(-100%)"),z.style.top=`calc(100% - ${D}px)`,z.style.transition="",z.style.opacity="1")})):d.current?.forEach((N,V)=>{const z=N;if(z){const I=(A-90)*(Math.PI/180),D=a==="left"?(A-90+V*$)*(Math.PI/180):(A-90-V*$)*(Math.PI/180);let U=I,Y=.1,oe=.06;const Q=.85,re=.02,le=L+Math.cos(I)*F,ee=B+Math.sin(I)*F;z.style.position="absolute",z.style.left=`${le-z.clientWidth/2}px`,z.style.top=`${ee-z.clientHeight/2}px`,z.style.opacity=`${Y}`,z.style.transform="scale(0.98)";const te=()=>{if(s)return;const ue=D-U;oe+=ue*re,oe*=Q,U+=oe,Y+=.03,Y=Math.min(Y,1);const ve=.98+(1-Math.abs(ue)/Math.PI)*.02,we=L+Math.cos(U)*F,ye=B+Math.sin(U)*F;z.style.left=`${we-z.clientWidth/2}px`,z.style.top=`${ye-z.clientHeight/2}px`,z.style.opacity=`${Y}`,z.style.transform=`scale(${ve})`,z.style.transition="none",Math.abs(ue)>.002||Math.abs(oe)>.002?f.current.animationFrameId[V]=requestAnimationFrame(te):(z.style.opacity="1",z.style.transform="scale(1)",z.style.transition="")};f.current.timeoutId[V]=window.setTimeout(()=>{f.current.animationFrameId[V]=requestAnimationFrame(te)},V*60)}})},[s,a]);return Ix(()=>{O(S)},[O,S,x]),Ix(()=>{setTimeout(()=>{w(!0)},200)},[]),h("div",{className:Wc(t,"joystick-with-buttons",{"hide-joystick":s,"transition-disabled":!g}),children:ne("div",{className:Wc("inner",a),children:[h("div",{ref:u,className:Wc("btn-group"),children:i?.map(($,A)=>h("div",{ref:M=>{d.current[A]=M},className:Wc("btn-group-item",{disabled:y}),onClick:M=>{M.stopPropagation()},children:$.element},A))}),h("div",{className:Wc("joy-stick-container"),style:{width:x,height:x},children:h(ele,{className:Wc("joy-stick"),type:e,size:x,disableDiagonal:n,xOnly:r,yOnly:o,paddingSize:30,keepMoveEventInterval:200,onStart:C,onMove:R,onEnd:P})})]})})},Ole=({className:t,containerId:e,open:n,onOpenChange:r,title:o,content:a,buttonText:i="확인",buttonClassName:s,snapshotCnt:l,resolve:u,onConfirm:d})=>{const f=()=>{u(!0),d?.()};return h(tc,{className:ae("w-fit","min-w-[25rem]","max-w-[95vw]",t),open:n,onOpenChange:r,type:"dialog",dialogContainer:e?document.getElementById(e):void 0,snapshotCnt:l,hideCloseButton:!0,enableDimClose:!1,header:o?{title:o}:void 0,footer:h(Ah,{className:ae("h-[2.5rem] text-[1rem] font-medium",s),onClick:f,children:i}),children:h("div",{className:"whitespace-pre-wrap",children:a})})},{useState:Lle}=await q("react"),$le=({className:t,open:e,onOpenChange:n,title:r,content:o,buttonText:a={yes:"확인",no:"취소"},buttonClassName:i,buttonWrapperClassName:s,snapshotCnt:l,containerId:u,onConfirm:d,onCancel:f,resolve:m})=>{const[v,g]=Lle(!1),w=async()=>{g(!0);try{await d?.(),m(!0)}finally{g(!1)}},y=()=>{f?.(),m(!1)};return h(tc,{className:ae("w-fit","min-w-[25rem]","max-w-[95vw]",t),open:e,onOpenChange:n,type:"dialog",snapshotCnt:l,dialogContainer:u?document.getElementById(u):void 0,hideCloseButton:!0,enableDimClose:!1,header:r?{title:r}:void 0,footer:ne(Yo,{className:ae("btn-wrapper",s),alignItems:"center",gap:8,children:[h(dk,{className:ae("h-[2.5rem] px-[1rem] text-[1rem] font-medium",i?.no),onClick:y,children:a.no}),h(Ah,{className:ae("h-[2.5rem] px-[1rem] text-[1rem] font-medium",i?.yes),autoFocus:!0,onClick:w,loading:v,children:a.yes})]}),children:h("div",{className:"text-default text-center whitespace-pre-wrap",children:o})})},{cloneElement:Dle,useState:Ble}=await q("react"),zle=({className:t,open:e,onOpenChange:n,title:r,content:o,placeholder:a,inputType:i="text",inputElement:s,autoFocus:l=!1,value:u,buttonText:d={yes:"확인",no:"취소"},buttonClassName:f,buttonWrapperClassName:m,containerId:v,snapshotCnt:g,resolve:w,close:y})=>{const[_,S]=Ble(u||"");return h(tc,{className:ae("w-fit","min-w-[25rem]","max-w-[95vw]",t),open:e,onOpenChange:n,type:"dialog",snapshotCnt:g,dialogContainer:v?document.getElementById(v):void 0,hideCloseButton:!0,enableDimClose:!1,header:r?{title:r}:void 0,footer:ne(Yo,{className:ae("btn-wrapper",m),alignItems:"center",gap:8,children:[h(dk,{className:ae("h-[2.5rem] text-[1rem] font-medium",f?.no),onClick:()=>y(),children:d.no}),h(Ah,{className:ae("h-[2.5rem] text-[1rem] font-medium",f?.yes),onClick:()=>w(_),children:d.yes})]}),children:ne(Ul,{gap:16,children:[h("div",{children:o}),s?Dle(s,{value:_,handleChange:S,tabIndex:l?0:-1,placeholder:a,type:i}):h(ek,{className:ae("w-full"),type:i,tabIndex:l?0:-1,placeholder:a,value:_,handleChange:S})]})})},{useMemo:xve}=await q("react"),Fle="_spin_tbvd8_59",Vle={"count-down":"_count-down_tbvd8_40","count-down-text":"_count-down-text_tbvd8_45","count-down-refresh-img":"_count-down-refresh-img_tbvd8_49",spin:Fle},{useRef:C2,useCallback:vd,useEffect:jle,useState:Hle,forwardRef:Wle,useImperativeHandle:qle}=await q("react"),E2=rn(Vle),Ule=Wle(({className:t,remainSeconds:e=10,initialPlay:n,loop:r,refreshIconClassName:o,textClassName:a,onStart:i,onComplete:s},l)=>{const u=C2(null),d=C2(null),f=C2(e),[m,v]=Hle(!1),g=vd(x=>{x<0||(f.current=x,d.current.textContent=x.toString())},[]),w=vd(()=>{g(e)},[e,g]),y=vd(()=>{u.current&&window.clearInterval(u.current)},[]),_=vd(()=>{u.current&&window.clearInterval(u.current),f.current===e&&i?.(),u.current=window.setInterval(()=>{g(f.current-1),f.current<=0&&(r?(v(!0),setTimeout(()=>{v(!1)},1e3),w()):y(),s?.())},1e3)},[r,e,i,s,w,y,g]),S=vd(()=>{v(!0),setTimeout(()=>{v(!1)},1e3),w(),_()},[w,_]);return jle(()=>(d.current.textContent=f.current.toString(),n&&_(),()=>{u.current&&window.clearInterval(u.current)}),[]),qle(l,()=>({restart:S,stop:y,start:_,reset:w})),h(Yo,{className:E2(t,"count-down"),justifyContent:"center",alignItems:"center",children:ne("button",{onClick:S,children:[h(jq,{className:E2("count-down-refresh-img",o,{spin:m})}),h("span",{ref:d,className:E2("count-down-text",a)})]})})});Ule.displayName="CountDown";const $x=5177,Yle=()=>{if(typeof window>"u")return"";const t=window.__RB_ASSETS_BASE_URL__;if(t)return t;const{protocol:e,hostname:n}=window.location;return e==="file:"||!n?`http://127.0.0.1:${$x}`:`${e}//${n}:${$x}`},C3=t=>{const e=t.startsWith("/")?t:`/${t}`;return`${Yle()}${e}`},Dx=t=>C3(`/imgs${t.startsWith("/")?t:`/${t}`}`),Sve=t=>C3(`/models${t}`),Cve=t=>C3(`/data/joint${t}`),{useEffect:Eve}=await q("react"),Gle="_readonly_1w1i8_46",Kle="_input_1w1i8_49",Xle={"side-number-input":"_side-number-input_1w1i8_40",readonly:Gle,"number-btn":"_number-btn_1w1i8_46",input:Kle},{forwardRef:Zle,useCallback:pa,useEffect:wd,useImperativeHandle:Qle,useMemo:Jle,useRef:qa,useState:Bx}=await q("react"),i1=rn(Xle,"rb-ui"),ece=t=>{const e=t?.target?.value;return kn.replace(e,/^0+[\d,]/gm,o=>kn.last(o)).replace(/[^\d.-]/g,"")},tce=Zle(({className:t="",inputClassName:e="",step:n=1,error:r,isDirect:o=!0,increaseStep:a,decreaseStep:i,maxLength:s,increaseElement:l="+",decreaseElement:u="-",detectDobleClick:d,rippleOption:f,notAllowedEmptyValue:m,inputDisabled:v,disableAutoAccel:g,disableLongPress:w,handleChange:y,onButtonPointerDown:_,onButtonPointerUp:S,handleEnter:x,...C},R)=>{const{value:P,readOnly:O,disabled:$,min:A,max:M="9999999999999",digit:L=18,onFocus:B,onBlur:F}=C,N=qa(null),V=qa(!1),z=qa(!1),I=qa({up:0,down:0}),D=qa(""),U=qa(null),Y=qa(null),oe=qa(0),Q=qa(0),re=qa(1e3),[le,ee]=Bx(P??""),[te,ue]=Bx(!1),ve=Jle(()=>$||new Ut(A??0).cmp(new Ut(M))>0,[$,M,A]),we=pa((_e,at,ht)=>at===0?_e:ht==="up"?new Ut(_e||0).add(new Ut(U.current?.increase??at??1)).toDP(L,Ut.ROUND_DOWN).toString():new Ut(_e||0).sub(new Ut(U.current?.decrease??at??1)).toDP(L,Ut.ROUND_DOWN).toString(),[L]),ye=pa(_e=>typeof _e>"u"||!_e||ve?"":_e.endsWith(".")?_e:typeof A<"u"&&new Ut(Number(_e)).lt(new Ut(A))?String(A):typeof M<"u"&&new Ut(Dl(_e||"")).gt(new Ut(M))?String(M):_e,[A,M,ve]),Le=pa(_e=>ve?"":_e.endsWith(".")?_e:ye(_e),[ve,ye]),Oe=pa(({type:_e,e:at})=>{if(!N.current||ve)return;const{value:ht,name:st}=N.current,Ct=ece({target:{value:ht}}),cn=L?new RegExp(`^-?[0-9]*[.]{0,1}[0-9]{0,${L}}$`,"gm"):/^-?\d{0,18}$/;Ct.match(cn)&&(typeof s<"u"&&(Ct||"").split(".")[0].replace(/[^0-9]/g,"").length>Number(s)||(N.current.value=Bi(Ct??"").join("."),D.current!==Ct&&(y?.(Ct,st,{type:_e}),at&&C.onChange?.(at),D.current=Ct),ee(Ct)))},[ve,L,s,y,C]),Ne=pa((_e,at)=>{N.current&&(ue(at),at?B?.(_e):(N.current.value=Le(N.current.value),m&&!_e.target.value&&(N.current.value=C.value),Oe({}),F?.(_e)))},[B,Le,m,C.value,Oe,F]),me=pa(_e=>{if(ve||O){V.current=!1,window.clearTimeout(oe.current);return}D.current=we(D.current??"0",Y.current,_e),D.current=ye(D.current??"0"),ee(String(D.current)),y?.(D.current,C.name,{type:_e}),_?.(_e),window.clearTimeout(Q.current),Q.current=window.setTimeout(()=>{V.current&&(me(_e),re.current>100&&!g&&(re.current-=re.current/5))},re.current)},[_,we,ye,ve,y,C.name,g,O]),pe=pa(_e=>{const{value:at="",name:ht}=_e.target;m&&!at&&(_e.target.value=C.value),x?.(at,ht),_e.target.blur()},[x,C.value,m]),be=pa(_e=>{_e.key==="Enter"&&!_e.nativeEvent.isComposing&&pe(_e),C.onKeyDown?.(_e)},[C,pe]),Ue=pa((_e,at)=>{if(!(Date.now()-I.current[_e]<500&&d)){if(ve||O){V.current=!1,window.clearTimeout(oe.current);return}I.current[_e]=Date.now(),me(_e),w||(oe.current=window.setTimeout(()=>{V.current=!0,me(_e)},re.current)),z.current=!0}},[d,ve,O,me,w]),He=pa((_e,at)=>{if(ve||O||!z.current){V.current=!1,window.clearTimeout(oe.current);return}V.current=!1,z.current=!1,window.clearTimeout(oe.current),_e&&S?.(_e,at),_e&&Oe({type:_e})},[ve,Oe,O,S]),qe=pa(()=>{V.current=!1,window.clearTimeout(oe.current),window.clearTimeout(Q.current)},[]);return wd(()=>{D.current=P??""},[P]),wd(()=>{typeof P<"u"&&ee(P)},[P]),wd(()=>{Y.current=n},[n]),wd(()=>{U.current={increase:a,decrease:i}},[a,i]),Qle(R,()=>N.current),wd(()=>{const _e=at=>{at.type==="contextmenu"&&V.current&&at.preventDefault()};return window.addEventListener("contextmenu",_e),window.addEventListener("pointerup",_e),window.addEventListener("pointercancel",_e),()=>{window.removeEventListener("contextmenu",_e),window.removeEventListener("pointerup",_e),window.removeEventListener("pointercancel",_e)}},[qe]),ne(Yo,{className:i1("side-number-input",{focus:te,readonly:O,disabled:$,error:r},t),alignItems:"center",justifyContent:"center",children:[h(Rr,{...f,disabled:ve||f?.disabled,children:h("button",{type:"button","data-type":"down",className:i1("number-btn","down"),disabled:ve||M===le,onPointerDown:_e=>{Ue("down",_e)},onPointerUp:_e=>{He("down",_e)},onPointerLeave:_e=>{_e.currentTarget.hasPointerCapture?.(_e.pointerId)||He(void 0,_e)},onPointerCancel:_e=>{He(void 0,_e)},onLostPointerCapture:_e=>{He(void 0,_e)},onContextMenu:_e=>{_e.preventDefault()},children:u})}),h("input",{...C,className:i1("input",{focus:te,readonly:O,disabled:$,error:r},e),ref:N,type:"text",value:Bi(le??"").join(".")??"",readOnly:!o,disabled:$||v,onChange:_e=>Oe({e:_e}),onFocus:_e=>Ne(_e,!0),onBlur:_e=>Ne(_e,!1),onKeyDown:be,onContextMenu:_e=>{_e.preventDefault()}}),h(Rr,{...f,disabled:ve||f?.disabled,children:h("button",{type:"button","data-type":"up",className:i1("number-btn","up"),disabled:ve||A===le,onPointerDown:_e=>{Ue("up",_e)},onPointerUp:_e=>{He("up",_e)},onPointerLeave:_e=>{_e.currentTarget.hasPointerCapture?.(_e.pointerId)||He(void 0,_e)},onPointerCancel:_e=>{He(void 0,_e)},onLostPointerCapture:_e=>{He(void 0,_e)},onContextMenu:_e=>{_e.preventDefault()},children:l})})]})});tce.displayName="SideNumberInput";const{useCallback:s1}=await q("react"),Mve=({alertComponent:t,confirmComponent:e,promptComponent:n,options:r}={})=>{const{modal:o,closeModal:a}=OE(),i=s1(async({modalId:d,componentName:f,...m})=>o({component:t??Ole,props:{...m,containerId:r?.containerId},options:{id:d,componentName:f??kn.uniqueId()}}),[o,t,r?.containerId]),s=s1(async({modalId:d,componentName:f,...m})=>o({component:e??$le,props:{...m,containerId:r?.containerId},options:{id:d,componentName:f??kn.uniqueId()}}),[o,e,r?.containerId]),l=s1(async({modalId:d,componentName:f,...m})=>o({component:n??zle,props:{...m,containerId:r?.containerId},options:{id:d,componentName:f??kn.uniqueId()}}),[o,n,r?.containerId]),u=s1(d=>{a(d)},[a]);return{alertDialog:i,confirmDialog:s,promptDialog:l,closeDialog:u}},{useCallback:l1}=await q("react"),kve=({alertComponent:t,confirmComponent:e,promptComponent:n}={})=>{const{modal:r,closeModal:o}=OE(),a=l1(async({modalId:u,componentName:d,...f})=>r({component:t??ife,props:f,options:{id:u,componentName:d??kn.uniqueId()}}),[r,t]),i=l1(async({modalId:u,componentName:d,...f})=>r({component:e??lfe,props:f,options:{id:u,componentName:d??kn.uniqueId()}}),[r,e]),s=l1(async({modalId:u,componentName:d,...f})=>r({component:n??hfe,props:f,options:{id:u,componentName:d??kn.uniqueId()}}),[r,n]),l=l1(u=>{o(u)},[o]);return{alertDialog:a,confirmDialog:i,promptDialog:s,closeDialog:l}},oi=Object.create(null);oi.open="0";oi.close="1";oi.ping="2";oi.pong="3";oi.message="4";oi.upgrade="5";oi.noop="6";const r0=Object.create(null);Object.keys(oi).forEach(t=>{r0[oi[t]]=t});const zv={type:"error",data:"parser error"},gk=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",vk=typeof ArrayBuffer=="function",wk=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,E3=({type:t,data:e},n,r)=>gk&&e instanceof Blob?n?r(e):zx(e,r):vk&&(e instanceof ArrayBuffer||wk(e))?n?r(e):zx(new Blob([e]),r):r(oi[t]+(e||"")),zx=(t,e)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];e("b"+(r||""))},n.readAsDataURL(t)};function Fx(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let M2;function nce(t,e){if(gk&&t.data instanceof Blob)return t.data.arrayBuffer().then(Fx).then(e);if(vk&&(t.data instanceof ArrayBuffer||wk(t.data)))return e(Fx(t.data));E3(t,!1,n=>{M2||(M2=new TextEncoder),e(M2.encode(n))})}const Vx="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",jd=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<Vx.length;t++)jd[Vx.charCodeAt(t)]=t;const rce=t=>{let e=t.length*.75,n=t.length,r,o=0,a,i,s,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const u=new ArrayBuffer(e),d=new Uint8Array(u);for(r=0;r<n;r+=4)a=jd[t.charCodeAt(r)],i=jd[t.charCodeAt(r+1)],s=jd[t.charCodeAt(r+2)],l=jd[t.charCodeAt(r+3)],d[o++]=a<<2|i>>4,d[o++]=(i&15)<<4|s>>2,d[o++]=(s&3)<<6|l&63;return u},oce=typeof ArrayBuffer=="function",M3=(t,e)=>{if(typeof t!="string")return{type:"message",data:bk(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:ace(t.substring(1),e)}:r0[n]?t.length>1?{type:r0[n],data:t.substring(1)}:{type:r0[n]}:zv},ace=(t,e)=>{if(oce){const n=rce(t);return bk(n,e)}else return{base64:!0,data:t}},bk=(t,e)=>{switch(e){case"blob":return t instanceof Blob?t:new Blob([t]);case"arraybuffer":default:return t instanceof ArrayBuffer?t:t.buffer}},yk="",ice=(t,e)=>{const n=t.length,r=new Array(n);let o=0;t.forEach((a,i)=>{E3(a,!1,s=>{r[i]=s,++o===n&&e(r.join(yk))})})},sce=(t,e)=>{const n=t.split(yk),r=[];for(let o=0;o<n.length;o++){const a=M3(n[o],e);if(r.push(a),a.type==="error")break}return r};function lce(){return new TransformStream({transform(t,e){nce(t,n=>{const r=n.length;let o;if(r<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,r);else if(r<65536){o=new Uint8Array(3);const a=new DataView(o.buffer);a.setUint8(0,126),a.setUint16(1,r)}else{o=new Uint8Array(9);const a=new DataView(o.buffer);a.setUint8(0,127),a.setBigUint64(1,BigInt(r))}t.data&&typeof t.data!="string"&&(o[0]|=128),e.enqueue(o),e.enqueue(n)})}})}let k2;function c1(t){return t.reduce((e,n)=>e+n.length,0)}function u1(t,e){if(t[0].length===e)return t.shift();const n=new Uint8Array(e);let r=0;for(let o=0;o<e;o++)n[o]=t[0][r++],r===t[0].length&&(t.shift(),r=0);return t.length&&r<t[0].length&&(t[0]=t[0].slice(r)),n}function cce(t,e){k2||(k2=new TextDecoder);const n=[];let r=0,o=-1,a=!1;return new TransformStream({transform(i,s){for(n.push(i);;){if(r===0){if(c1(n)<1)break;const l=u1(n,1);a=(l[0]&128)===128,o=l[0]&127,o<126?r=3:o===126?r=1:r=2}else if(r===1){if(c1(n)<2)break;const l=u1(n,2);o=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),r=3}else if(r===2){if(c1(n)<8)break;const l=u1(n,8),u=new DataView(l.buffer,l.byteOffset,l.length),d=u.getUint32(0);if(d>Math.pow(2,21)-1){s.enqueue(zv);break}o=d*Math.pow(2,32)+u.getUint32(4),r=3}else{if(c1(n)<o)break;const l=u1(n,o);s.enqueue(M3(a?l:k2.decode(l),e)),r=0}if(o===0||o>t){s.enqueue(zv);break}}}})}const _k=4;function Qn(t){if(t)return uce(t)}function uce(t){for(var e in Qn.prototype)t[e]=Qn.prototype[e];return t}Qn.prototype.on=Qn.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};Qn.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this};Qn.prototype.off=Qn.prototype.removeListener=Qn.prototype.removeAllListeners=Qn.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===e||r.fn===e){n.splice(o,1);break}return n.length===0&&delete this._callbacks["$"+t],this};Qn.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,o=n.length;r<o;++r)n[r].apply(this,e)}return this};Qn.prototype.emitReserved=Qn.prototype.emit;Qn.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};Qn.prototype.hasListeners=function(t){return!!this.listeners(t).length};const Bh=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0),Ho=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),dce="arraybuffer";function xk(t,...e){return e.reduce((n,r)=>(t.hasOwnProperty(r)&&(n[r]=t[r]),n),{})}const fce=Ho.setTimeout,pce=Ho.clearTimeout;function zh(t,e){e.useNativeTimers?(t.setTimeoutFn=fce.bind(Ho),t.clearTimeoutFn=pce.bind(Ho)):(t.setTimeoutFn=Ho.setTimeout.bind(Ho),t.clearTimeoutFn=Ho.clearTimeout.bind(Ho))}const hce=1.33;function mce(t){return typeof t=="string"?gce(t):Math.ceil((t.byteLength||t.size)*hce)}function gce(t){let e=0,n=0;for(let r=0,o=t.length;r<o;r++)e=t.charCodeAt(r),e<128?n+=1:e<2048?n+=2:e<55296||e>=57344?n+=3:(r++,n+=4);return n}function Sk(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function vce(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}function wce(t){let e={},n=t.split("&");for(let r=0,o=n.length;r<o;r++){let a=n[r].split("=");e[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}return e}class bce extends Error{constructor(e,n,r){super(e),this.description=n,this.context=r,this.type="TransportError"}}class k3 extends Qn{constructor(e){super(),this.writable=!1,zh(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,n,r){return super.emitReserved("error",new bce(e,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=M3(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,n={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const n=vce(e);return n.length?"?"+n:""}}class yce extends k3{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const n=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};sce(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,ice(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=Sk()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(e,n)}}let Ck=!1;try{Ck=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const _ce=Ck;function xce(){}class Sce extends yce{constructor(e){if(super(e),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||r!==e.port}}doWrite(e,n){const r=this.request({method:"POST",data:e});r.on("success",n),r.on("error",(o,a)=>{this.onError("xhr post error",o,a)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=e}}let lu=class o0 extends Qn{constructor(e,n,r){super(),this.createRequest=e,zh(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var e;const n=xk(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let o in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(o)&&r.setRequestHeader(o,this._opts.extraHeaders[o])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var o;r.readyState===3&&((o=this._opts.cookieJar)===null||o===void 0||o.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(o){this.setTimeoutFn(()=>{this._onError(o)},0);return}typeof document<"u"&&(this._index=o0.requestsCount++,o0.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=xce,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete o0.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}};lu.requestsCount=0;lu.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",jx);else if(typeof addEventListener=="function"){const t="onpagehide"in Ho?"pagehide":"unload";addEventListener(t,jx,!1)}}function jx(){for(let t in lu.requests)lu.requests.hasOwnProperty(t)&&lu.requests[t].abort()}const Cce=(function(){const t=Ek({xdomain:!1});return t&&t.responseType!==null})();class Ece extends Sce{constructor(e){super(e);const n=e&&e.forceBase64;this.supportsBinary=Cce&&!n}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new lu(Ek,this.uri(),e)}}function Ek(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||_ce))return new XMLHttpRequest}catch{}if(!e)try{return new Ho[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Mk=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Mce extends k3{get name(){return"websocket"}doOpen(){const e=this.uri(),n=this.opts.protocols,r=Mk?{}:xk(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,n,r)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const r=e[n],o=n===e.length-1;E3(r,this.supportsBinary,a=>{try{this.doWrite(r,a)}catch{}o&&Bh(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=Sk()),this.supportsBinary||(n.b64=1),this.createUri(e,n)}}const R2=Ho.WebSocket||Ho.MozWebSocket;class kce extends Mce{createSocket(e,n,r){return Mk?new R2(e,n,r):n?new R2(e,n):new R2(e)}doWrite(e,n){this.ws.send(n)}}class Rce extends k3{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const n=cce(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=e.readable.pipeThrough(n).getReader(),o=lce();o.readable.pipeTo(e.writable),this._writer=o.writable.getWriter();const a=()=>{r.read().then(({done:s,value:l})=>{s||(this.onPacket(l),a())}).catch(s=>{})};a();const i={type:"open"};this.query.sid&&(i.data=`{"sid":"${this.query.sid}"}`),this._writer.write(i).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const r=e[n],o=n===e.length-1;this._writer.write(r).then(()=>{o&&Bh(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const Tce={websocket:kce,webtransport:Rce,polling:Ece},Nce=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Pce=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Fv(t){if(t.length>8e3)throw"URI too long";const e=t,n=t.indexOf("["),r=t.indexOf("]");n!=-1&&r!=-1&&(t=t.substring(0,n)+t.substring(n,r).replace(/:/g,";")+t.substring(r,t.length));let o=Nce.exec(t||""),a={},i=14;for(;i--;)a[Pce[i]]=o[i]||"";return n!=-1&&r!=-1&&(a.source=e,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=Ace(a,a.path),a.queryKey=Ice(a,a.query),a}function Ace(t,e){const n=/\/{2,9}/g,r=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&r.splice(0,1),e.slice(-1)=="/"&&r.splice(r.length-1,1),r}function Ice(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,o,a){o&&(n[o]=a)}),n}const Vv=typeof addEventListener=="function"&&typeof removeEventListener=="function",a0=[];Vv&&addEventListener("offline",()=>{a0.forEach(t=>t())},!1);class $s extends Qn{constructor(e,n){if(super(),this.binaryType=dce,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(n=e,e=null),e){const r=Fv(e);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=Fv(n.host).host);zh(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const o=r.prototype.name;this.transports.push(o),this._transportsByName[o]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=wce(this.opts.query)),Vv&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},a0.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=_k,n.transport=e,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&$s.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(e);n.open(),this.setTransport(n)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",$s.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=e.data,this._onError(n);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const o=this.writeBuffer[r].data;if(o&&(n+=mce(o)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,Bh(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,n,r){return this._sendPacket("message",e,n,r),this}send(e,n,r){return this._sendPacket("message",e,n,r),this}_sendPacket(e,n,r,o){if(typeof n=="function"&&(o=n,n=void 0),typeof r=="function"&&(o=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const a={type:e,data:n,options:r};this.emitReserved("packetCreate",a),this.writeBuffer.push(a),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():e()}):this.upgrading?r():e()),this}_onError(e){if($s.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Vv&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=a0.indexOf(this._offlineEventListener);r!==-1&&a0.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this._prevBufferLen=0}}}$s.protocol=_k;class Oce extends $s{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let n=this.createTransport(e),r=!1;$s.priorWebsocketSuccess=!1;const o=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!r)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;$s.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(d(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=n.name,this.emitReserved("upgradeError",m)}}))};function a(){r||(r=!0,d(),n.close(),n=null)}const i=f=>{const m=new Error("probe error: "+f);m.transport=n.name,a(),this.emitReserved("upgradeError",m)};function s(){i("transport closed")}function l(){i("socket closed")}function u(f){n&&f.name!==n.name&&a()}const d=()=>{n.removeListener("open",o),n.removeListener("error",i),n.removeListener("close",s),this.off("close",l),this.off("upgrading",u)};n.once("open",o),n.once("error",i),n.once("close",s),this.once("close",l),this.once("upgrading",u),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const n=[];for(let r=0;r<e.length;r++)~this.transports.indexOf(e[r])&&n.push(e[r]);return n}}let Lce=class extends Oce{constructor(e,n={}){const r=typeof e=="object"?e:n;(!r.transports||r.transports&&typeof r.transports[0]=="string")&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(o=>Tce[o]).filter(o=>!!o)),super(e,r)}};function $ce(t,e="",n){let r=t;n=n||typeof location<"u"&&location,t==null&&(t=n.protocol+"//"+n.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=n.protocol+t:t=n.host+t),/^(https?|wss?):\/\//.test(t)||(typeof n<"u"?t=n.protocol+"//"+t:t="https://"+t),r=Fv(t)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const a=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+a+":"+r.port+e,r.href=r.protocol+"://"+a+(n&&n.port===r.port?"":":"+r.port),r}const Dce=typeof ArrayBuffer=="function",Bce=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,kk=Object.prototype.toString,zce=typeof Blob=="function"||typeof Blob<"u"&&kk.call(Blob)==="[object BlobConstructor]",Fce=typeof File=="function"||typeof File<"u"&&kk.call(File)==="[object FileConstructor]";function R3(t){return Dce&&(t instanceof ArrayBuffer||Bce(t))||zce&&t instanceof Blob||Fce&&t instanceof File}function i0(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,r=t.length;n<r;n++)if(i0(t[n]))return!0;return!1}if(R3(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return i0(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&i0(t[n]))return!0;return!1}function Vce(t){const e=[],n=t.data,r=t;return r.data=jv(n,e),r.attachments=e.length,{packet:r,buffers:e}}function jv(t,e){if(!t)return t;if(R3(t)){const n={_placeholder:!0,num:e.length};return e.push(t),n}else if(Array.isArray(t)){const n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=jv(t[r],e);return n}else if(typeof t=="object"&&!(t instanceof Date)){const n={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=jv(t[r],e));return n}return t}function jce(t,e){return t.data=Hv(t.data,e),delete t.attachments,t}function Hv(t,e){if(!t)return t;if(t&&t._placeholder===!0){if(typeof t.num=="number"&&t.num>=0&&t.num<e.length)return e[t.num];throw new Error("illegal attachments")}else if(Array.isArray(t))for(let n=0;n<t.length;n++)t[n]=Hv(t[n],e);else if(typeof t=="object")for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=Hv(t[n],e));return t}const Hce=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var nn;(function(t){t[t.CONNECT=0]="CONNECT",t[t.DISCONNECT=1]="DISCONNECT",t[t.EVENT=2]="EVENT",t[t.ACK=3]="ACK",t[t.CONNECT_ERROR=4]="CONNECT_ERROR",t[t.BINARY_EVENT=5]="BINARY_EVENT",t[t.BINARY_ACK=6]="BINARY_ACK"})(nn||(nn={}));class Wce{constructor(e){this.replacer=e}encode(e){return(e.type===nn.EVENT||e.type===nn.ACK)&&i0(e)?this.encodeAsBinary({type:e.type===nn.EVENT?nn.BINARY_EVENT:nn.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let n=""+e.type;return(e.type===nn.BINARY_EVENT||e.type===nn.BINARY_ACK)&&(n+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(n+=e.nsp+","),e.id!=null&&(n+=e.id),e.data!=null&&(n+=JSON.stringify(e.data,this.replacer)),n}encodeAsBinary(e){const n=Vce(e),r=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(r),o}}class T3 extends Qn{constructor(e){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof e=="function"?{reviver:e}:e)}add(e){let n;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(e);const r=n.type===nn.BINARY_EVENT;r||n.type===nn.BINARY_ACK?(n.type=r?nn.EVENT:nn.ACK,this.reconstructor=new qce(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(R3(e)||e.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(e),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let n=0;const r={type:Number(e.charAt(0))};if(nn[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===nn.BINARY_EVENT||r.type===nn.BINARY_ACK){const a=n+1;for(;e.charAt(++n)!=="-"&&n!=e.length;);const i=e.substring(a,n);if(i!=Number(i)||e.charAt(n)!=="-")throw new Error("Illegal attachments");const s=Number(i);if(!Uce(s)||s<0)throw new Error("Illegal attachments");if(s>this.opts.maxAttachments)throw new Error("too many attachments");r.attachments=s}if(e.charAt(n+1)==="/"){const a=n+1;for(;++n&&!(e.charAt(n)===","||n===e.length););r.nsp=e.substring(a,n)}else r.nsp="/";const o=e.charAt(n+1);if(o!==""&&Number(o)==o){const a=n+1;for(;++n;){const i=e.charAt(n);if(i==null||Number(i)!=i){--n;break}if(n===e.length)break}r.id=Number(e.substring(a,n+1))}if(e.charAt(++n)){const a=this.tryParse(e.substr(n));if(T3.isPayloadValid(r.type,a))r.data=a;else throw new Error("invalid payload")}return r}tryParse(e){try{return JSON.parse(e,this.opts.reviver)}catch{return!1}}static isPayloadValid(e,n){switch(e){case nn.CONNECT:return Hx(n);case nn.DISCONNECT:return n===void 0;case nn.CONNECT_ERROR:return typeof n=="string"||Hx(n);case nn.EVENT:case nn.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&Hce.indexOf(n[0])===-1);case nn.ACK:case nn.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class qce{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const n=jce(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Uce=Number.isInteger||function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t};function Hx(t){return Object.prototype.toString.call(t)==="[object Object]"}const Yce=Object.freeze(Object.defineProperty({__proto__:null,Decoder:T3,Encoder:Wce,get PacketType(){return nn}},Symbol.toStringTag,{value:"Module"}));function ma(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const Gce=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Rk extends Qn{constructor(e,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[ma(e,"open",this.onopen.bind(this)),ma(e,"packet",this.onpacket.bind(this)),ma(e,"error",this.onerror.bind(this)),ma(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...n){var r,o,a;if(Gce.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(n.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const i={type:nn.EVENT,data:n};if(i.options={},i.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const d=this.ids++,f=n.pop();this._registerAckCallback(d,f),i.id=d}const s=(o=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||o===void 0?void 0:o.writable,l=this.connected&&!(!((a=this.io.engine)===null||a===void 0)&&a._hasPingExpired());return this.flags.volatile&&!s||(l?(this.notifyOutgoingListeners(i),this.packet(i)):this.sendBuffer.push(i)),this.flags={},this}_registerAckCallback(e,n){var r;const o=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(o===void 0){this.acks[e]=n;return}const a=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let s=0;s<this.sendBuffer.length;s++)this.sendBuffer[s].id===e&&this.sendBuffer.splice(s,1);n.call(this,new Error("operation has timed out"))},o),i=(...s)=>{this.io.clearTimeoutFn(a),n.apply(this,s)};i.withError=!0,this.acks[e]=i}emitWithAck(e,...n){return new Promise((r,o)=>{const a=(i,s)=>i?o(i):r(s);a.withError=!0,n.push(a),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...a)=>(this._queue[0],o!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...a)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:nn.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(r=>String(r.id)===e)){const r=this.acks[e];delete this.acks[e],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case nn.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case nn.EVENT:case nn.BINARY_EVENT:this.onevent(e);break;case nn.ACK:case nn.BINARY_ACK:this.onack(e);break;case nn.DISCONNECT:this.ondisconnect();break;case nn.CONNECT_ERROR:this.destroy();const r=new Error(e.data.message);r.data=e.data.data,this.emitReserved("connect_error",r);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let r=!1;return function(...o){r||(r=!0,n.packet({type:nn.ACK,id:e,data:o}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(delete this.acks[e.id],n.withError&&e.data.unshift(null),n.apply(this,e.data))}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:nn.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(e===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(e===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,e.data)}}}function Nu(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Nu.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=(Math.floor(e*10)&1)==0?t-n:t+n}return Math.min(t,this.max)|0};Nu.prototype.reset=function(){this.attempts=0};Nu.prototype.setMin=function(t){this.ms=t};Nu.prototype.setMax=function(t){this.max=t};Nu.prototype.setJitter=function(t){this.jitter=t};class Wv extends Qn{constructor(e,n){var r;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,zh(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new Nu({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const o=n.parser||Yce;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Lce(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const o=ma(n,"open",function(){r.onopen(),e&&e()}),a=s=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",s),e?e(s):this.maybeReconnectOnOpen()},i=ma(n,"error",a);if(this._timeout!==!1){const s=this._timeout,l=this.setTimeoutFn(()=>{o(),a(new Error("timeout")),n.close()},s);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(o),this.subs.push(i),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(ma(e,"ping",this.onping.bind(this)),ma(e,"data",this.ondata.bind(this)),ma(e,"error",this.onerror.bind(this)),ma(e,"close",this.onclose.bind(this)),ma(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){Bh(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let r=this.nsps[e];return r?this._autoConnect&&!r.active&&r.connect():(r=new Rk(this,e,n),this.nsps[e]=r),r}_destroy(e){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let r=0;r<n.length;r++)this.engine.write(n[r],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,n){var r;this.cleanup(),(r=this.engine)===null||r===void 0||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const bd={};function s0(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=$ce(t,e.path||"/socket.io"),r=n.source,o=n.id,a=n.path,i=bd[o]&&a in bd[o].nsps,s=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return s?l=new Wv(r,e):(bd[o]||(bd[o]=new Wv(r,e)),l=bd[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(s0,{Manager:Wv,Socket:Rk,io:s0,connect:s0});var T2,Wx;function Kce(){if(Wx)return T2;Wx=1;var t=typeof Element<"u",e=typeof Map=="function",n=typeof Set=="function",r=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function o(a,i){if(a===i)return!0;if(a&&i&&typeof a=="object"&&typeof i=="object"){if(a.constructor!==i.constructor)return!1;var s,l,u;if(Array.isArray(a)){if(s=a.length,s!=i.length)return!1;for(l=s;l--!==0;)if(!o(a[l],i[l]))return!1;return!0}var d;if(e&&a instanceof Map&&i instanceof Map){if(a.size!==i.size)return!1;for(d=a.entries();!(l=d.next()).done;)if(!i.has(l.value[0]))return!1;for(d=a.entries();!(l=d.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(n&&a instanceof Set&&i instanceof Set){if(a.size!==i.size)return!1;for(d=a.entries();!(l=d.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(i)){if(s=a.length,s!=i.length)return!1;for(l=s;l--!==0;)if(a[l]!==i[l])return!1;return!0}if(a.constructor===RegExp)return a.source===i.source&&a.flags===i.flags;if(a.valueOf!==Object.prototype.valueOf&&typeof a.valueOf=="function"&&typeof i.valueOf=="function")return a.valueOf()===i.valueOf();if(a.toString!==Object.prototype.toString&&typeof a.toString=="function"&&typeof i.toString=="function")return a.toString()===i.toString();if(u=Object.keys(a),s=u.length,s!==Object.keys(i).length)return!1;for(l=s;l--!==0;)if(!Object.prototype.hasOwnProperty.call(i,u[l]))return!1;if(t&&a instanceof Element)return!1;for(l=s;l--!==0;)if(!((u[l]==="_owner"||u[l]==="__v"||u[l]==="__o")&&a.$$typeof)&&!o(a[u[l]],i[u[l]]))return!1;return!0}return a!==a&&i!==i}return T2=function(i,s){try{return o(i,s)}catch(l){if((l.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw l}},T2}var Xce=Kce();const Zce=Ea(Xce),{createContext:Qce,useCallback:ha,useContext:N3,useEffect:$l,useLayoutEffect:Jce,useMemo:eue,useRef:Di,useState:Rs}=await q("react"),l0={connected:null,realConnected:null,isInitialConnecting:!0,socketId:null,getSocketId:()=>null,setSocketUrl:()=>{},socketEventOn:()=>{},socketEventOff:()=>{},socketEventEmit:()=>{},setPrevResponse:()=>{},getPrevResponse:()=>null},Fh=Qce(l0),Tve=({url:t,socketOptions:e={},children:n,loadingElement:r})=>{const{transports:o=["websocket","polling"],reconnectionAttempts:a=1/0,reconnectionDelay:i=1e3,reconnectionDelayMax:s=5e3,timeout:l=2e4,...u}=e,d=Di(null),f=Di({}),m=Di({}),v=Di({}),[g,w]=Rs(t),[y,_]=Rs(l0.realConnected),[S,x]=Rs(l0.connected),[C,R]=Rs(l0.isInitialConnecting),[P,O]=Rs(null);$l(()=>{w(t)},[t]);const $=ha(D=>{w(D)},[]),A=ha((D,U)=>{Object.values(f.current[D]??{}).forEach(Y=>{Y(U)})},[]),M=ha((D,U)=>{d.current?.emit(D,U)},[]),L=ha(({topic:D,id:U,subscribePayload:Y},oe)=>{if(f.current[D]||(f.current[D]={}),!d.current?.hasListeners(D)){const Q={topic:D,...Y??{}};Y&&Object.keys(Y).length>0&&(v.current[D]=Y),M("subscribe",Q),d.current?.on(D,re=>{A(D,re)})}f.current[D][U]=oe},[M,A]),B=ha(({topic:D,id:U})=>{if(f.current[D]?.[U]&&(delete f.current[D][U],Object.keys(f.current[D]).length===0)){d.current?.off(D);const Y=v.current[D],oe=Y?{topic:D,...Y}:{topic:D};M("unsubscribe",oe),delete v.current[D]}},[M]),F=ha((D,U)=>m.current[D]?.[U],[]),N=ha((D,U)=>{m.current[D]={raw:U,parsed:m0(U)}},[]),V=ha(()=>d.current?.id??null,[]),z=ha(()=>{d.current&&(d.current.disconnect(),d.current=null),d.current=s0(g,{transports:o,reconnectionAttempts:a,reconnectionDelay:i,reconnectionDelayMax:s,timeout:l,...u}),Object.keys(f.current).forEach(D=>{Object.keys(f.current[D]??{}).length>0&&d.current?.on(D,U=>{A(D,U)})}),d.current.on("connect",()=>{console.log("Socket.io connected"),x(!0),_(!0),O(d.current?.id??null),A("connect","connected")}),d.current.on("disconnect",D=>{console.log("Socket.io disconnected",D),_(!1),A("disconnect","disconnected")}),d.current.io.on("reconnect",D=>{console.log("Socket.io reconnect",D),A("reconnect",D),Object.keys(f.current).forEach(U=>{if(Object.keys(f.current[U])?.length){const Y={topic:U,...v.current[U]??{}};M("subscribe",Y),d.current?.emit("subscribe",Y)}})}),d.current.io.on("reconnect_attempt",D=>{console.log("Socket.io reconnect_attempt",D),D>3&&x(!1),A("reconnect_attempt",D)}),d.current.io.on("reconnect_error",D=>{A("reconnect_error",D)}),d.current.io.on("reconnect_failed",()=>{console.error("Socket.io reconnect_failed"),x(!1),_(!1),A("reconnect_failed","reconnect_failed")}),d.current.on("error",D=>{console.error("Socket.io error: ",D),A("error",D)})},[A,a,i,s,JSON.stringify(u),JSON.stringify(o),g]),I=eue(()=>({connected:S,realConnected:y,isInitialConnecting:C,socketId:P,getSocketId:V,setSocketUrl:$,socketEventOn:L,socketEventOff:B,socketEventEmit:M,setPrevResponse:N,getPrevResponse:F}),[S,y,C,P,V,$,L,B,M,N,F]);return Jce(()=>{z()},[z]),$l(()=>{!S&&m.current&&Object.keys(m.current).forEach(D=>{M(D,void 0),N(D,void 0)})},[S,N,M]),$l(()=>{S&&R(!1)},[S]),h(Fh.Provider,{value:I,children:n})},Nve=()=>{const{connected:t,realConnected:e,socketEventEmit:n,setSocketUrl:r,socketId:o,getSocketId:a}=N3(Fh);return{connected:t,realConnected:e,socketEventEmit:n,setSocketUrl:r,socketId:o,getSocketId:a}},tue=t=>{const{socketEventOn:e,socketEventOff:n,setPrevResponse:r,getPrevResponse:o}=N3(Fh),a=Di({options:t.options,callback:t.callback}),[i]=Rs(kn.uniqueId()),{topic:s}=t;$l(()=>{a.current={options:t.options,callback:t.callback}},[t]),$l(()=>{if(!t.options?.disabled)return e({topic:s,id:i,subscribePayload:t.options?.subscribePayload},l=>{const{options:u,callback:d}=a.current;u?.prevData,r(s,l);const f=m0(l);d?.(f)}),()=>{n({topic:s,id:i})}},[o,r,n,e,s,i,t.options?.disabled,t.options?.subscribePayload])},Pve=(t,e={})=>{const{realConnected:n,isInitialConnecting:r,getPrevResponse:o,setPrevResponse:a}=N3(Fh),[i,s]=Rs(!o(t,"parsed")&&!!e.defaultValue),l=n?o(t,"parsed")??e.defaultValue:e.defaultValue,[u,d]=Rs(e.selector?e.selector(l):l),f=Di(u),m=Di(i),v=Di(e);f.current=u,m.current=i,v.current=e;const g=ha(S=>{e.disabled||(d(e.selector?e.selector(S):S),a(t,S),s(!1))},[a,t,e]),w=e.throttleMs??0,y=Di({timer:null,pending:null,hasPending:!1}),_=ha(S=>{const x=e.selector?e.selector(S):S;!e.disableDuplicateCheck&&Zce(x,f.current)&&!m.current||(d(x),x&&s(!1))},[e]);return $l(()=>{const S=y.current;return()=>{S.timer&&clearTimeout(S.timer)}},[]),tue({topic:t,callback:S=>{if(w<=0){_(S);return}const x=y.current;x.pending=S,x.hasPending=!0,!x.timer&&(x.timer=setTimeout(()=>{x.timer=null,x.hasPending&&(x.hasPending=!1,_(x.pending),x.pending=null)},w))},options:{...e,prevData:u,subscribePayload:e.subscribePayload}}),$l(()=>{if(!n){const S=v.current,x=S.defaultValue===void 0?void 0:S.selector?S.selector(S.defaultValue):S.defaultValue;d(x),a(t,void 0),s(S.defaultValue!==void 0)}},[n,a,t]),{data:u,changeData:g,loading:!u&&!r,isDefaultData:i}},{useRef:Ave}=await q("react"),{useMutation:Ive}=await q("@tanstack/react-query"),{useMutation:Ove}=await q("@tanstack/react-query"),{useMutation:Lve}=await q("@tanstack/react-query"),{useMutation:$ve}=await q("@tanstack/react-query"),{useMutation:Dve}=await q("@tanstack/react-query"),{useMutation:Bve}=await q("@tanstack/react-query"),{useMutation:zve}=await q("@tanstack/react-query"),{useMutation:Fve}=await q("@tanstack/react-query"),{useMutation:Vve}=await q("@tanstack/react-query"),{useCallback:jve}=await q("react"),{useCallback:Hve}=await q("react"),{useMutation:Wve}=await q("@tanstack/react-query"),{useMutation:qve,useQueryClient:Uve}=await q("@tanstack/react-query"),{useMutation:Yve,useQueryClient:Gve}=await q("@tanstack/react-query"),{useMutation:Kve,useQueryClient:Xve}=await q("@tanstack/react-query"),{useMutation:Zve}=await q("@tanstack/react-query"),{useMutation:Qve}=await q("@tanstack/react-query"),{useMutation:Jve}=await q("@tanstack/react-query"),{useMutation:ewe}=await q("@tanstack/react-query"),{useMutation:twe}=await q("@tanstack/react-query"),{useMutation:nwe}=await q("@tanstack/react-query"),{useMutation:rwe}=await q("@tanstack/react-query"),{useMutation:owe}=await q("@tanstack/react-query"),{useMutation:awe}=await q("@tanstack/react-query"),{useMutation:iwe}=await q("@tanstack/react-query"),{useMutation:swe}=await q("@tanstack/react-query"),{useMutation:lwe}=await q("@tanstack/react-query"),{useMutation:cwe}=await q("@tanstack/react-query"),{useMutation:uwe}=await q("@tanstack/react-query"),{useMutation:dwe}=await q("@tanstack/react-query"),{useMutation:fwe}=await q("@tanstack/react-query"),{useMutation:pwe}=await q("@tanstack/react-query"),{useMutation:hwe}=await q("@tanstack/react-query"),{useMutation:mwe}=await q("@tanstack/react-query"),{useMutation:gwe}=await q("@tanstack/react-query"),{useMutation:vwe}=await q("@tanstack/react-query"),{useMutation:wwe}=await q("@tanstack/react-query"),{useMutation:bwe}=await q("@tanstack/react-query"),{useMutation:ywe}=await q("@tanstack/react-query"),{useMutation:_we}=await q("@tanstack/react-query"),{useMutation:xwe}=await q("@tanstack/react-query"),{useMutation:Swe}=await q("@tanstack/react-query"),{useMutation:Cwe}=await q("@tanstack/react-query"),{useMutation:Ewe}=await q("@tanstack/react-query"),{useMutation:Mwe}=await q("@tanstack/react-query"),{useMutation:kwe}=await q("@tanstack/react-query"),{useMutation:Rwe}=await q("@tanstack/react-query"),{useMutation:Twe}=await q("@tanstack/react-query"),{useMutation:Nwe}=await q("@tanstack/react-query"),{useMutation:Pwe}=await q("@tanstack/react-query"),{useMutation:Awe}=await q("@tanstack/react-query"),{useMutation:Iwe}=await q("@tanstack/react-query"),{useMutation:Owe}=await q("@tanstack/react-query"),{useMutation:Lwe}=await q("@tanstack/react-query"),{useMutation:$we}=await q("@tanstack/react-query"),{useMutation:Dwe}=await q("@tanstack/react-query"),{useMutation:nue}=await q("@tanstack/react-query"),rue="/setUrl",Bwe=()=>nue({mutationFn:t=>Th.post(rue,t)}),{useMutation:zwe}=await q("@tanstack/react-query"),{useMutation:Fwe}=await q("@tanstack/react-query"),{useCallback:Vwe}=await q("react"),{useMutation:jwe}=await q("@tanstack/react-query"),{useCallback:Hwe}=await q("react"),{useMutation:Wwe}=await q("@tanstack/react-query"),{useCallback:qwe}=await q("react"),{useMutation:Uwe}=await q("@tanstack/react-query"),{useCallback:Ywe}=await q("react"),{useMutation:Gwe}=await q("@tanstack/react-query"),{useCallback:Kwe}=await q("react"),{useMutation:Xwe}=await q("@tanstack/react-query"),{useCallback:Zwe}=await q("react"),{useMutation:Qwe}=await q("@tanstack/react-query"),{useCallback:Jwe}=await q("react"),{useMutation:e3e}=await q("@tanstack/react-query"),{useMutation:t3e}=await q("@tanstack/react-query"),{useMutation:n3e}=await q("@tanstack/react-query"),{useMutation:r3e}=await q("@tanstack/react-query"),{useMutation:o3e}=await q("@tanstack/react-query"),{useMutation:a3e}=await q("@tanstack/react-query"),{useMutation:i3e}=await q("@tanstack/react-query"),{useMutation:s3e}=await q("@tanstack/react-query"),{useMutation:l3e}=await q("@tanstack/react-query"),{useCallback:c3e}=await q("react"),{useMutation:u3e}=await q("@tanstack/react-query"),{useCallback:d3e}=await q("react"),{useEffect:f3e,useRef:p3e,useState:h3e}=await q("react"),{useMutation:m3e}=await q("@tanstack/react-query"),{useEffect:g3e,useRef:v3e,useState:w3e}=await q("react"),{useMutation:b3e}=await q("@tanstack/react-query"),{useMutation:y3e}=await q("@tanstack/react-query"),{useMutation:_3e}=await q("@tanstack/react-query"),{useMutation:x3e}=await q("@tanstack/react-query"),{useEffect:S3e,useMemo:C3e,useState:E3e}=await q("react"),{useMemo:M3e}=await q("react"),oue={moveState:{autoMove:"stop",moveId:"",moveResult:"",dockMove:"",jogMove:"none",obs:"none",pathState:"none",step:0,multiId:"",multiState:""},pose:{x:0,y:0,rz:0},vel:{vx:0,vy:0,wz:0},curNode:{id:"",name:"",state:"",pose:{x:0,y:0,rz:0}},goalNode:{id:"",name:"",state:"",pose:{x:0,y:0,rz:0}}},aue=t=>({...t,pose:{x:String(t.pose.x),y:String(t.pose.y),rz:String(t.pose.rz)}});aue(oue);const{useCallback:k3e,useMemo:R3e}=await q("react"),{useMemo:T3e}=await q("react"),{useRef:N3e}=await q("react"),{useCallback:P3e,useEffect:A3e,useRef:I3e,useState:O3e}=await q("react"),{useCallback:L3e}=await q("react"),{useCallback:$3e}=await q("react"),{useEffect:qx,useState:iue}=await q("react"),sue=t=>{const[e,n]=iue("");return qx(()=>{},[e,t]),qx(()=>{let r="",o;const a=i=>{clearTimeout(o);const s=document.activeElement;if(!(s&&(s.tagName==="INPUT"||s.tagName==="TEXTAREA"||s.tagName==="SELECT"||s.contentEditable==="true"))){if(i.key==="Enter"){n(r.trim()),r="";return}/^[a-zA-Z0-9\-_]$/.test(i.key)&&(r+=i.key),o=setTimeout(()=>{n(r.trim()),r=""},100)}};return window.addEventListener("keydown",a),()=>window.removeEventListener("keydown",a)},[]),{barCodeValue:e}},{useMemo:D3e}=await q("react"),{useEffect:B3e,useRef:z3e,useCallback:F3e}=await q("react"),{useRef:lue,useState:cue}=await q("react"),V3e=({onFiles:t,accept:e,multiple:n=!0,onRejected:r})=>{const o=lue(null),[a,i]=cue(!1),s=v=>{const g=n?v:v.slice(0,1);if(g.length===0)return;if(!e||e.length===0){t(g);return}const w=e.map(S=>S.toLowerCase()),y=g.filter(S=>w.some(x=>S.name.toLowerCase().endsWith(x))),_=g.filter(S=>!y.includes(S));_.length>0&&r?.(_),y.length>0&&t(y)},l=v=>{v.preventDefault(),v.stopPropagation(),i(!0)},u=v=>{v.preventDefault(),v.stopPropagation(),i(!1)},d=v=>{v.preventDefault(),v.stopPropagation(),i(!1),s(Array.from(v.dataTransfer.files))},f=()=>o.current?.click(),m={ref:o,type:"file",multiple:n,accept:e?.join(","),style:{display:"none"},onChange:v=>{s(Array.from(v.target.files??[])),v.target.value=""}};return{isDragging:a,dropProps:{onDragOver:l,onDragLeave:u,onDrop:d},inputProps:m,open:f}},uue={"popover-area":"_popover-area_y74pu_40","btn-popover":"_btn-popover_y74pu_45","popover-element-wrap":"_popover-element-wrap_y74pu_59","popover-element":"_popover-element_y74pu_59"},{cloneElement:due,forwardRef:fue,useCallback:yd,useEffect:pue,useImperativeHandle:hue,useMemo:Ux,useRef:Yx,useState:Gx}=await q("react"),d1=rn(uue,"rb-ui"),Kx=[],P3=fue(({id:t,className:e="",popoverAreaClassName:n,popoverElementClassName:r,anchorId:o,detectDoubleClick:a,popoverElement:i,popoverStyle:s={top:0,left:0,zIndex:1},popoverAnimation:l={name:"pop-fade",duration:200},ripple:u,disabled:d=!1,excludeOutSideIds:f=Kx,whenWindowScrollClose:m,children:v,onClick:g,onClose:w},y)=>{const _=Yx(null),S=Yx(!1),[x,C]=Gx(!1),[R,P]=Gx(""),O=Ux(()=>x?R==="enter"||R==="leave"?{animationName:l.name,animationDuration:`${l.duration}ms`,animationTimingFunction:l.timingFunc||"ease",animationDirection:R==="leave"?"reverse":"normal",animationFillMode:R==="leave"?"forwards":"normal"}:{}:{},[l,x,R]),$=yd(N=>new Promise(V=>setTimeout(V,N)),[]),A=yd(async()=>{!o||R==="leave"||(P(""),await $(10),P("leave"),await $(l.duration),C(!1),w?.())},[o,R,l.duration,$,w]),M=yd(async()=>{o&&(C(!0),P("enter"),await $(l.duration),P(""))},[o,l.duration,$]),L=yd(()=>{x?A():M()},[x,A,M]),B=yd(async N=>{d||S.current&&a||(S.current=!0,setTimeout(()=>{S.current=!1},500),L(),g?.(N))},[a,d,L,g]),F=Ux(()=>{const N=typeof i?.type=="string"?void 0:{close:A};return h("div",{className:d1("popover-element-wrap",r),children:x&&h("div",{className:d1("popover-element",R),style:{...s,...O},children:due(i??h(Mr,{}),N)})})},[O,A,x,i,r,s,R]);return Nf(_,N=>{const V=[...f,o].filter(I=>!!I).concat(Kx).map(I=>document.querySelector(`#${I}`)).filter(I=>I),z=N.target;document.body.contains(z)&&(z.closest('[data-slot="select-drop-box"]')||V.some(I=>I?.contains(z))||x&&A())},{event:"mouseup"}),pue(()=>{const N=()=>{C(!1),P("")};return x&&m&&window.addEventListener("scroll",N),()=>{window.removeEventListener("scroll",N)}},[m,x]),hue(y,()=>({close:A,open:M})),ne("div",{ref:_,id:t,className:d1("popover-area",n),children:[h(Rr,{...u,disabled:d||u?.disabled,children:h("button",{className:d1("btn-popover",e,x&&"open",d&&"pointer-events-none cursor-not-allowed"),"data-pad-focus":"true",disabled:d,onClick:B,children:v})}),o?h(Gl,{id:o,children:F}):null]})});P3.displayName="PopoverButton";function Tk({className:t,onCancel:e,onConfirm:n,onReset:r,labels:o}){return ne(Yo,{className:ae("w-full p-4",t),justifyContent:"space-between",alignItems:"center",children:[h(Wr,{variant:"transparent",size:"sm",onClick:r,children:o?.reset??"Reset"}),ne(Yo,{inline:!0,alignItems:"center",gap:4,children:[h(Wr,{className:"light:bg-fill-subtlest",variant:"soft",size:"sm",onClick:e,children:o?.cancel??"Cancel"}),h(Wr,{variant:"brand",size:"sm",onClick:n,children:o?.confirm??"Confirm"})]})]})}const mue=he(["inline-flex items-center overflow-hidden","bg-fill-control-surface outline outline-1 outline-offset-[-1px]","transition-colors"].join(" "),{variants:{size:{xs2:"px-2_5 h-8 rounded-md",sm:"px-2_5 h-9 rounded-md",md:"h-10 rounded-md px-3",lg:"h-12 rounded-lg px-3"},variant:{default:"outline-border-default"},focus:{true:"outline-border-input-focused",false:""},error:{true:"outline-border-danger-stronger",false:""},readOnly:{true:"bg-fill-control-surface-disabled outline-border-disabled",false:""},disabled:{true:"bg-fill-control-surface-disabled outline-border-disabled hover:bg-fill-control-surface-disabled text-fg-disabled pointer-events-none cursor-not-allowed",false:""}},compoundVariants:[{variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,className:"[&:hover]:bg-fill-control-surface-hovered [&:hover]:outline-border-default"},{focus:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-input-focused"},{error:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-danger-stronger"},{readOnly:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"},{disabled:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"}],defaultVariants:{size:"md",variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1}}),gue=he("flex-1 truncate text-left",{variants:{size:{xs2:"typo-compact-xs2-normal pr-1",sm:"typo-compact-sm-normal pr-1",md:"typo-compact-sm2-normal pr-1_5",lg:"typo-compact-sm2-normal pr-2"},placeholder:{true:"text-fg-subtler font-normal",false:"text-fg-default font-medium"},disabled:{true:"text-fg-disabled",false:""}},defaultVariants:{size:"md",placeholder:!0,disabled:!1}}),vue=he("inline-flex shrink-0 items-center justify-center",{variants:{size:{xs2:"size-4",sm:"size-4",md:"size-5",lg:"size-5"},disabled:{true:"text-fg-disabled",false:"text-fg-default"}},defaultVariants:{size:"md",disabled:!1}}),wue=he(["absolute left-0 z-[999999] max-w-0","bg-overlay outline-border-subtle rounded-md outline outline-1 outline-offset-[-1px]","shadow-down-xs","overflow-x-hidden"].join(" "),{variants:{mode:{default:"no-scrollbar max-h-60 overflow-y-auto p-1",empty:"p-1_5 h-48 max-h-56",loading:"p-1_5 h-48 max-h-56"}},defaultVariants:{mode:"default"}}),bue=he("text-center",{variants:{size:{xs2:"typo-compact-xs2-normal",sm:"typo-compact-sm-normal",md:"typo-compact-sm2-normal",lg:"typo-compact-sm2-normal"}},defaultVariants:{size:"md"}}),yue=he("inline-flex h-9 w-full items-center overflow-hidden rounded-sm px-3",{variants:{selected:{true:"",false:""},disabled:{true:"",false:""},hovered:{true:"bg-fill-transparent-hovered",false:"bg-fill-transparent"}},compoundVariants:[{selected:!1,disabled:!1,hovered:!1,className:"text-fg-subtler font-normal"},{selected:!1,disabled:!1,hovered:!0,className:"text-fg-default font-normal"},{selected:!0,disabled:!1,className:"text-fg-default font-semibold"},{selected:!1,disabled:!0,className:"text-fg-disabled font-normal"},{selected:!0,disabled:!0,className:"text-fg-disabled font-semibold"}],defaultVariants:{selected:!1,disabled:!1,hovered:!1}}),_ue=he("line-clamp-1 flex-1 pr-4 text-left",{variants:{size:{xs2:"typo-compact-xs2-normal",sm:"typo-compact-xs2-normal",md:"typo-compact-xs2-normal",lg:"typo-compact-xs2-normal"}},defaultVariants:{size:"md"}}),{useCallback:xue,useMemo:Sue,useState:Cue}=await q("react"),qv=({className:t="",size:e="md",text:n,value:r,label:o,children:a,description:i,selectedValue:s="",searchText:l="",enableGamepadFocus:u,disabled:d,handleChange:f})=>{const m=s===r,[v,g]=Cue(!1),w=Sue(()=>l?kn.lowerCase(n).includes(kn.lowerCase(l)):!1,[n,l]),y=xue(_=>{_.button===2||d||f?.({label:o??a,value:r})},[a,d,f,r,o]);return h("div",{"data-slot":"select-option",className:ae(yue({selected:m,disabled:!!d,hovered:!d&&(w||v)}),i&&"h-auto min-h-9 overflow-visible py-2",t,{active:m}),role:"button","data-pad-focus":u&&!d?"true":"false",tabIndex:-1,onClick:y,onMouseEnter:()=>{d||g(!0)},onMouseLeave:()=>g(!1),children:ne("div",{"data-slot":"select-option-content",className:"flex min-w-0 flex-1 items-center gap-2",children:[ne("div",{"data-slot":"select-option-text",className:ae("min-w-0 flex-1",_ue({size:e}),i&&"line-clamp-none"),children:[a,i&&h("div",{"data-slot":"select-option-description",className:"typo-compact-xs-normal text-fg-subtle",children:i})]}),m&&h(Hs,{"aria-hidden":!0,"data-slot":"select-option-check",className:ae("size-4 shrink-0",d?"text-fg-disabled":"text-fg-default")})]})})};qv.displayName="Option";const Nk=he("",{variants:{size:{xs2:"typo-compact-xs-normal",sm:"typo-compact-xs2-normal",md:"typo-compact-sm2-normal",lg:"typo-compact-sm2-normal",xl:"typo-compact-lg-normal"}},defaultVariants:{size:"md"}}),A3=({className:t,nullText:e="no data",children:n,style:r,size:o})=>ne("div",{"data-slot":"no-data",className:ae("text-fg-subtle flex flex-col items-center justify-center gap-1",t,Nk({size:o})),style:r,children:[h("span",{"data-slot":"no-data-icon",className:"inline-flex items-center justify-center",children:n}),h("div",{"data-slot":"no-data-text",children:e})]}),{useEffect:Eue,useRef:Mue,useMemo:kue,Children:Rue}=await q("react"),Tue=({className:t,children:e,size:n,noDataMsg:r=h(A3,{className:ae(Nk({size:n}),"flex h-full w-full items-center justify-center")}),...o})=>{const a=Mue(null),i=kue(()=>Rue.map(e,s=>s).length===0,[e]);return Eue(()=>{setTimeout(()=>{const s=document.querySelector('[data-slot="dialog-content"]');if(s&&o.open){const l=s.querySelector(".active");typeof s.scrollTo=="function"&&s.scrollTo(0,l?.offsetTop??0)}},50)},[o.open]),h(tc,{"data-slot":"select-modal-drop-box",className:ae("bg-overlay shadow-down-xs border-subtle max-h-[calc(var(--vh,1vh)*50)] w-min max-w-[90vw] min-w-80 overflow-y-auto p-1 outline-hidden",t),...o,children:h("div",{ref:a,"data-slot":"select-modal-drop-box-list",className:ae(i?"flex min-h-60 items-stretch":""),children:i?r:e})})},{Children:Nue,forwardRef:Pue,useCallback:N2,useEffect:_l,useImperativeHandle:Aue,useMemo:Xx,useRef:Zx}=await q("react"),Iue=4,Pk=Pue((t,e)=>{const{className:n,theme:r,size:o,children:a,label:i,inputEl:s,parentEl:l,maxHeight:u=200,search:d,searchText:f="",searchPlaceholder:m,noDataMsg:v=h(A3,{className:ae(bue({size:o}),"flex h-full w-full items-center justify-center")}),direction:g="bottom",showCloseBtn:w,whenScrollCloseDropBox:y,setOpen:_,handleSearchTextChange:S,handleKeyPress:x}=t,C=Zx(null),R=Zx(null),{isMobile:P}=s3(),O=g==="top"?"top-start":"bottom-start",{refs:$,floatingStyles:A,update:M}=u7({placement:O,strategy:"fixed",whileElementsMounted:l7,middleware:[d7(Iue),p7({fallbackPlacements:g==="top"?["bottom-start"]:["top-start"]}),f7({padding:8}),h7({apply({availableHeight:I,rects:D,elements:U}){const Y=Math.min(u,Math.max(120,I));Object.assign(U.floating.style,{minWidth:`${D.reference.width}px`,maxHeight:`${Y}px`})}})]}),L=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",L+"px");const B=Xx(()=>Nue.map(a,I=>I).length===0,[a]),F=Xx(()=>P?i||w:!1,[P,i,w]),N=N2(I=>{const{value:D}=I.target;S(D)},[S]),V=N2(()=>{S("")},[S]),z=N2(()=>{s&&s.blur(),_(!1)},[s,_]);return _l(()=>{const I=R.current;if(I){const D=I.querySelector(".active");if(D&&typeof I.scrollTo=="function"){const U=D.getBoundingClientRect().top-I.getBoundingClientRect().top+I.scrollTop;I.scrollTo(0,U)}}},[l]),_l(()=>{if(R){const I=R.current,D=I.querySelector(".match");D&&([...I.children].map(U=>U.classList.remove("match")),D.classList.add("match"),I.scrollTo(0,D.offsetTop))}},[f,R]),_l(()=>{const I=()=>{window.innerWidth<800||(_(!1),s&&s.blur())};return window.removeEventListener("resize",I),window.addEventListener("resize",I),y&&(window.removeEventListener("scroll",I),window.addEventListener("scroll",I)),()=>{window.removeEventListener("scroll",I),window.removeEventListener("resize",I)}},[s,_,y]),_l(()=>(P&&D8(),()=>{P&&B8()}),[P]),Aue(e,()=>C.current),_l(()=>{$.setReference(l)},[l,$]),_l(()=>{const D=(Y=>{const oe=[];let Q=Y?.parentElement??null;for(;Q;){const re=window.getComputedStyle(Q),le=re.overflowY,ee=re.overflowX;(/(auto|scroll|overlay)/.test(le)||/(auto|scroll|overlay)/.test(ee))&&oe.push(Q),Q=Q.parentElement}return oe.push(window),oe})(l),U=()=>{M()};return D.forEach(Y=>Y.addEventListener("scroll",U,{passive:!0})),window.addEventListener("resize",U,{passive:!0}),()=>{D.forEach(Y=>Y.removeEventListener("scroll",U)),window.removeEventListener("resize",U)}},[l,M]),_l(()=>{let I=0;const D=()=>{M(),I=window.requestAnimationFrame(D)};return I=window.requestAnimationFrame(D),()=>{window.cancelAnimationFrame(I)}},[M]),ne("div",{ref:I=>{C.current=I,$.setFloating(I)},"data-slot":"select-drop-box","data-pad-scope":"dropdown-box","data-theme":r,role:"button",tabIndex:-1,className:ae(wue({mode:B?"empty":"default"}),"!fixed !top-0 !left-0 flex flex-col",n),style:A,onKeyDown:x,children:[F&&ne("div",{"data-slot":"select-drop-box-header",className:"border-subtle flex items-center gap-2 border-b px-2 py-2",children:[i&&h("label",{"data-slot":"select-drop-box-label",className:"text-fg-default flex-1 text-sm font-medium",children:i}),w&&h("button",{type:"button","data-slot":"select-drop-box-close",className:"text-fg-subtle ml-auto px-2 text-sm",onClick:z,children:h(df,{})})]}),d&&h("div",{"data-slot":"select-drop-box-search",className:"border-subtle border-b p-1",children:h(sw,{type:"text",size:o,className:"w-full",placeholder:m,value:f,prefixIcon:h(Z0,{className:"text-fg-subtle size-4"}),onChange:N,onKeyDown:x,handleReset:V})}),h("div",{ref:R,"data-slot":"select-drop-box-list",className:ae("min-h-0 overflow-y-auto",B?"flex flex-1 items-stretch":""),children:B?v:a})]})});Pk.displayName="SelectDropBox";const{Children:Oue,cloneElement:Lue,useCallback:qc,useEffect:f1,useMemo:p1,useRef:h1,useState:xl,forwardRef:$ue,useImperativeHandle:Due}=await q("react"),Uv=$ue((t,e)=>{const{className:n="",size:r="md",children:o,name:a,value:i,error:s,search:l,mobileLabel:u,placeholder:d,disabled:f,readOnly:m,dropBoxClassName:v,maxDropBoxHeight:g=200,modalBoxClassName:w,selectArrow:y=h(K0,{}),keepDropDown:_,searchPlaceholder:S="Search",showCloseBtn:x,whenScrollCloseDropBox:C,enableModal:R=!xo.isDesktop,enableGamepadFocus:P=!0,noDataMsg:O,onClick:$,handleChange:A,...M}=t,L=h1(null),B=h1(null),F=h1(null),N=h1(Date.now()),[V,z]=xl(i),[I,D]=xl(""),[U,Y]=xl(""),[oe,Q]=xl(!1),[re,le]=xl(!1),[ee,te]=xl(null),[ue,ve]=xl(null),we=p1(()=>{const qe=({value:ht})=>{f||(z(ht),A?.(ht,a),L.current.value=String(ht),M.onChange?.({target:L.current}),_||Q(!1))},_e=ht=>(ht??[]).flatMap(st=>{if(!st?.props)return[];if(st.type?.displayName==="Option"){let Ct;return st.props.text||(typeof st.props.label=="string"?Ct=st.props.label:typeof st.props.children=="string"?Ct=st.props.children:Ct=st.props.value.toString()),Lue(st,{...st.props,size:r,text:Ct.toLowerCase(),selectedValue:V,searchText:I,handleChange:qe,enableGamepadFocus:P})}return Array.isArray(st.props.children)?_e(st.props.children):[]}),at=Oue.map(o,ht=>ht);return _e(at)},[o,f,A,a,M,_,r,V,I,P]),ye=p1(()=>we.filter(qe=>qe.props.text.toLowerCase().includes(U.toLowerCase())),[we,U]),Le=p1(()=>we.find(qe=>{const _e=qe.props.value;return _e===V||_e===i}),[we,V,i]),Oe=p1(()=>{if(!Le){const at=we[0]?.props;return{text:d??at?.label??at?.children??"",isPlaceholder:!!d}}const{label:qe,children:_e}=Le.props;return{text:qe??_e??"",isPlaceholder:!1}},[Le,we,d]),Ne=qc(()=>{const qe=Date.now();if(qe-N.current<300){N.current=qe;return}if($)$();else{if(f||m)return;const at=B.current?.closest("[data-theme]")?.getAttribute("data-theme");te(at),Q(ht=>!ht),N.current=qe}},[f,m,$]),me=qc(qe=>{D(qe),Y(qe)},[]),pe=qc(()=>{if(!oe){Q(!0);return}const qe=we.find(_e=>_e.props.text.includes(I.toLowerCase()));if(qe){const _e=qe.props;z(_e.value),A?.(_e.value,a),L.current.value=String(_e.value||""),M.onChange?.({target:L.current}),Q(!1),L.current.blur()}},[A,M,a,oe,we,I]),be=qc(qe=>{let _e;const at=we.findIndex(st=>{const Ct=st.props;return I?Ct.text===I:Ct.value===V});qe==="down"?_e=at+1>=we.length?we[0]:we[at+1]:_e=at<=0?we[we.length-1]:we[at-1];const ht=_e.props.text;D(ht)},[we,V,I]),Ue=qc(qe=>{qe.key==="Enter"&&!qe.nativeEvent.isComposing?pe():qe.key==="ArrowDown"?(be("down"),qe.preventDefault()):qe.key==="ArrowUp"&&(be("up"),qe.preventDefault())},[pe,be]),He=qc((qe,_e)=>{le(_e),_e?M.onFocus?.(qe):M.onBlur?.(qe)},[M]);return Nf(B,qe=>{!("button"in qe&&qe.button===2)&&!F.current?.contains(qe.target)&&Q(!1)},{offTouchEvent:!0}),f1(()=>{if(we.length&&!d&&!Le){const _e=we[0].props.value;z(L.current?.value??_e)}},[d,Le,we]),f1(()=>{typeof i<"u"&&z(i)},[i]),f1(()=>{oe||(D(""),Y(""))},[oe]),f1(()=>{if(!oe){ve(null);return}const qe=B.current?.closest('[data-slot="dialog-content"]');ve(qe instanceof HTMLElement?qe:null)},[oe]),Due(e,()=>(L.current.handleClickSelectBox=Ne,{...L.current,get value(){return L.current.value},set value(qe){z(_e=>typeof _e=="string"&&_e===qe||typeof _e=="number"&&_e===Number(qe)||typeof _e=="boolean"&&String(_e)===String(qe)?_e:qe),L.current.value=qe}})),ne(Mr,{children:[h("div",{ref:B,"data-slot":"select-box",className:ae(mue({size:r,variant:"default",focus:re,error:s,disabled:f,readOnly:m}),n),onClick:Ne,children:ne("label",{"data-slot":"select-box-control",className:"relative flex w-full min-w-0 items-center",children:[h("div",{"data-slot":"select-box-value",className:gue({size:r,placeholder:Oe.isPlaceholder,disabled:f}),children:h("span",{children:Oe.text})}),h("input",{...M,ref:L,type:"text",value:V??L.current?.value??"",name:a,readOnly:!0,className:"sr-only","data-pad-focus":P?"true":"false",onFocus:qe=>He(qe,!0),onBlur:qe=>He(qe,!1),onKeyDown:Ue}),h("span",{"data-slot":"select-box-icon",className:ae(vue({size:r,disabled:f}),"transition-transform duration-200",oe&&"rotate-180"),children:y})]})}),R&&h(Tue,{className:w,type:"dialog",open:oe,size:r,hideCloseButton:!0,onOpenChange:Q,noDataMsg:O,children:ye}),!R&&oe&&h(Gl,{container:ue,children:h(Pk,{ref:F,className:v,size:r,label:u,inputEl:L.current,parentEl:B.current,theme:ee,maxHeight:g,setOpen:Q,search:l,searchText:I,searchPlaceholder:S,showCloseBtn:x,whenScrollCloseDropBox:C,noDataMsg:O,handleSearchTextChange:me,handleKeyPress:Ue,children:ye})})]})});Uv.displayName="RBSelectBox";const Bue=he("inline-flex w-full items-start gap-2",{defaultVariants:{controlPlacement:"start",size:"default",tone:"default",type:"default"},compoundVariants:[{className:"outline-border-danger-stronger",tone:"invalid",type:"box"}],variants:{controlPlacement:{end:"justify-between",start:"justify-start"},size:{default:"",sm:"gap-1.5"},tone:{default:"",disabled:"",invalid:""},type:{box:"bg-raised outline-border-subtle p-2_5 rounded-md outline outline-1 outline-offset-[-1px]",default:""}}}),zue=he("focus-visible:ring-border-stronger data-[state=checked]:bg-fill-brand data-[state=unchecked]:bg-fill-subtler relative inline-flex shrink-0 items-center rounded-full border border-transparent outline-hidden transition-colors focus-visible:ring-2 disabled:pointer-events-none",{variants:{size:{default:"h-5 w-9",sm:"h-4 w-7"},tone:{default:"",disabled:"data-[state=checked]:bg-fill-subtler data-[state=unchecked]:bg-fill-subtler",invalid:"border-danger-stronger"}},defaultVariants:{size:"default",tone:"default"}}),Fue=he(["absolute top-1/2 left-0 -translate-y-1/2","data-[state=unchecked]:translate-x-0.5","pointer-events-none rounded-full transition-transform"].join(" "),{variants:{size:{default:"size-4 data-[state=checked]:translate-x-4",sm:"size-3 data-[state=checked]:translate-x-3"},tone:{default:"data-[state=checked]:bg-fg-static-white bg-white",disabled:"bg-fg-disabled data-[state=checked]:!bg-fg-disabled",invalid:""}},defaultVariants:{size:"default",tone:"default"}}),Vue=he("gap-0_5 inline-flex min-w-0 flex-1 flex-col"),jue=he("text-fg-default",{defaultVariants:{size:"default",tone:"default"},variants:{size:{default:"typo-compact-sm-medium",sm:"typo-compact-xs-semibold"},tone:{default:"",disabled:"text-fg-disabled",invalid:"text-fg-danger"}}}),Hue=he("text-fg-default",{defaultVariants:{size:"default",tone:"default"},variants:{size:{default:"typo-compact-sm-normal",sm:"typo-compact-xs-normal"},tone:{default:"",disabled:"text-fg-disabled",invalid:""}}});function Wue({className:t,disabled:e=!1,invalid:n=!1,size:r="default",...o}){const a=e?"disabled":n?"invalid":"default";return h(LX,{"data-slot":"switch","data-size":r,"data-tone":a,"data-pad-focus":"true",disabled:e,className:ae(zue({tone:a,size:r}),t),...o,children:h($X,{"data-slot":"switch-thumb",className:Fue({size:r,tone:a})})})}const que=Array.from({length:24},(t,e)=>String(e).padStart(2,"0")),Uue=Array.from({length:60},(t,e)=>String(e).padStart(2,"0")),Qx=t=>({hour:String(t?.getHours()??0).padStart(2,"0"),minute:String(t?.getMinutes()??0).padStart(2,"0")});function Ak({pickerType:t="range",selectedDate:e,onChange:n,labels:r}){const o=t==="range"?"min-w-[84px]":"min-w-[76px]",a=(s,l)=>{const u=e.from??e.to??new Date;let d=new Date(e.from??u),f=t==="range"?new Date(e.to??u):void 0;e.from||d.setHours(0,0,0,0),f&&!e.to&&f.setHours(0,0,0,0),(s==="from"?d:f)?.setHours(Number(l.hour),Number(l.minute),0,0),f&&d.toDateString()===f.toDateString()&&d>f&&(s==="from"?f=new Date(d):d=new Date(f)),n({...e,from:d,to:f})},i=[{label:r?.from??(t==="range"?"From":"Time"),time:Qx(e.from),onChange:s=>a("from",s)},...t==="range"?[{label:r?.to??"To",time:Qx(e.to),onChange:s=>a("to",s)}]:[]];return h("div",{"data-slot":"footer-time",className:"border-subtle flex w-full flex-col items-start border-t",children:ne("div",{"data-slot":"footer-time-content",className:ae("w-full px-4 py-3",t==="range"?"inline-flex items-center justify-between gap-4":"flex flex-wrap items-start gap-2"),children:[ne("label",{"data-slot":"footer-time-set-time",className:"inline-flex shrink-0 items-center gap-2",children:[h(Wue,{checked:e.timeEnabled,onCheckedChange:s=>n({...e,timeEnabled:s})}),h("span",{className:"typo-compact-sm-medium text-fg-default whitespace-nowrap",children:r?.setTime??"Set Time"})]}),h("div",{"data-slot":"footer-time-time-rows",className:ae("flex w-full items-center",t==="range"?"justify-end gap-4":"flex-col gap-1"),children:i.map(({label:s,time:l,onChange:u})=>ne("div",{"data-slot":"footer-time-row",className:ae("inline-flex items-center",t==="range"?"shrink-0 gap-2":"w-full justify-between"),children:[h("div",{className:"typo-compact-sm-medium text-fg-subtler text-center whitespace-nowrap",children:s}),ne("div",{className:"inline-flex items-center gap-2",children:[h(Uv,{"data-slot":"footer-time-hour-select",className:ae("w-fit",o),size:"sm",value:l.hour,disabled:!e.timeEnabled,readOnly:!e.timeEnabled,placeholder:l.hour,handleChange:d=>u({...l,hour:String(d??"00")}),children:que.map(d=>h(qv,{value:d,children:d},d))}),h(Uv,{"data-slot":"footer-time-minute-select",className:ae("w-fit",o),size:"sm",value:l.minute,disabled:!e.timeEnabled,readOnly:!e.timeEnabled,placeholder:l.minute,handleChange:d=>u({...l,minute:String(d??"00")}),children:Uue.map(d=>h(qv,{value:d,children:d},d))})]})]},s))})]})})}function Ik({label:t,onClick:e}){return h(Wr,{className:"light:bg-fill-subtlest",size:"xs",variant:"soft",onClick:e,children:t})}const Ok=he(["gap-1_5 inline-flex min-w-72 items-center overflow-hidden","outline outline-1 outline-offset-[-1px]","transition-colors"].join(" "),{variants:{size:{xs2:"h-8 rounded-md px-2",sm:"h-9 rounded-md px-2",md:"px-2_5 h-10 rounded-md",lg:"px-2_5 h-12 rounded-lg"},variant:{default:"bg-fill-control-surface outline-border-default"},focus:{true:"outline-border-input-focused",false:""},error:{true:"outline-border-danger-stronger",false:""},readOnly:{true:"bg-fill-control-surface-disabled outline-border-disabled",false:""},disabled:{true:"bg-fill-control-surface-disabled outline-border-disabled pointer-events-none cursor-not-allowed",false:""},interactive:{true:"cursor-pointer",false:"cursor-default"}},compoundVariants:[{variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,className:"[&:hover]:bg-fill-control-surface-hovered [&:hover]:outline-border-default"},{focus:!0,className:"[&:hover]:bg-fill-control-surface-hovered [&:hover]:outline-border-input-focused"},{error:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-danger-stronger"},{readOnly:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"},{disabled:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"}],defaultVariants:{size:"md",variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,interactive:!0}}),Lk=he("inline-flex shrink-0 items-center justify-center [&_svg]:block [&_svg]:shrink-0 [&_svg]:leading-none",{variants:{size:{xs2:"size-4",sm:"size-4",md:"size-5",lg:"size-5"},disabled:{true:"text-fg-disabled",false:"text-fg-subtlest"}},defaultVariants:{size:"md",disabled:!1}}),$k=he("inline-flex min-w-0 flex-1 items-center gap-1 overflow-hidden whitespace-nowrap"),c0=he("truncate",{variants:{size:{xs2:"typo-compact-xs2-normal",sm:"typo-compact-xs2-medium",md:"typo-compact-sm2-medium",lg:"typo-compact-sm2-medium"},tone:{default:"text-fg-default",placeholder:"text-fg-subtler font-normal"},disabled:{true:"text-fg-disabled",false:""}},compoundVariants:[{tone:"placeholder",disabled:!0,className:"text-fg-disabled"}],defaultVariants:{size:"md",tone:"default",disabled:!1}}),Yue=he("",{variants:{size:{xs2:"typo-compact-xs2-normal",sm:"typo-compact-xs2-normal",md:"typo-compact-sm2-medium",lg:"typo-compact-sm2-medium"},disabled:{true:"text-fg-disabled",false:"text-fg-subtler"}},defaultVariants:{size:"md",disabled:!1}}),Dk=he(["bg-overlay relative z-[1]","shadow-up-lg inline-flex flex-col overflow-visible","outline-border-subtle rounded-md outline outline-1 outline-offset-[-2px]"].join(" "),{variants:{pickerType:{basic:"max-w-72",range:"min-w-140"}},defaultVariants:{pickerType:"basic"}}),Gue=he("py-1_5 inline-flex w-full items-start justify-between"),Kue=he("inline-flex flex-1 flex-col items-start justify-start p-3"),Xue=he("typo-compact-sm-medium inline-flex size-5 items-center justify-center text-center",{variants:{weekend:{true:"text-fg-danger",false:"text-fg-default"}},defaultVariants:{weekend:!1}}),Sl=he(["typo-compact-sm-medium relative flex h-9 flex-1 items-center justify-center px-2 text-center","transition-colors"].join(" "),{variants:{state:{default:"bg-fill-transparent text-fg-default hover:bg-fill-transparent-hovered rounded-md",disabled:"bg-fill-transparent text-fg-disabled pointer-events-none !cursor-default rounded-md",single:"bg-fill-brand text-fg-default hover:!bg-fill-brand-hovered rounded-md font-semibold",rangeStart:"bg-fill-brand hover:!bg-fill-brand-hovered rounded-none! rounded-l-md! font-medium text-white",rangeMiddle:"bg-fill-subtlest text-fg-default rounded-none!",rangeEnd:"bg-fill-brand hover:!bg-fill-brand-hovered rounded-none! rounded-r-md! font-medium text-white"}},defaultVariants:{state:"default"}}),{useRef:Zue}=await q("react");function Que(t){const e=Zue(null),n=wC(t.date,t.displayMonth,e);if(n.isHidden)return h("div",{role:"gridcell"});if(!n.isButton)return h("div",{...n.divProps});const r=n.activeModifiers.outside,o=n.buttonProps["aria-selected"]===!0||n.buttonProps["aria-selected"]==="true"||n.activeModifiers.selected||n.activeModifiers.range_start||n.activeModifiers.range_end||n.activeModifiers.range_middle,a=r||n.activeModifiers.range_start||n.activeModifiers.range_end||n.activeModifiers.range_middle,i=n.buttonProps.className?.replace(a?/\bday_selected\b/g:/$^/,"").replace(r||o?/\bday_range_start\b|\bday_range_end\b|\bday_range_middle\b|\bday_today\b/g:/$^/,"").replace(/\s+/g," ").trim();return h(nf,{ref:e,...n.buttonProps,className:i,"aria-selected":r?void 0:n.buttonProps["aria-selected"],disabled:n.buttonProps.disabled||r})}function Bk({className:t,classNames:e,showOutsideDays:n=!0,...r}){return h(NX,{showOutsideDays:n,className:ae("cursor-default p-0",t),classNames:{months:ae(Gue(),r.mode==="range"?"gap-0":"justify-center"),month:Kue(),caption:"bg-fill-transparent relative inline-flex h-8 w-full items-center justify-center px-8",caption_label:"typo-compact-sm-semibold text-fg-default pointer-events-none",nav:"flex items-center gap-1",nav_button:ae(u8({variant:"transparent",size:"xs"}),"absolute top-1/2 size-5 -translate-y-1/2 p-0"),nav_button_previous:"left-0",nav_button_next:"right-0",table:"w-full border-collapse",head_row:"inline-flex h-10 w-full items-center justify-center",head_cell:ae("flex h-9 flex-1 items-center justify-center overflow-hidden px-2",Xue(),"[&:first-child]:text-fg-danger [&:last-child]:text-fg-danger"),row:"inline-flex h-10 w-full items-center justify-center",cell:ae("relative flex h-9 flex-1 items-center justify-center overflow-hidden p-0 text-center focus-within:relative focus-within:z-20",r.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md! [&:has(>.day-range-start)]:rounded-l-md! first:[&:has([aria-selected])]:rounded-l-md! last:[&:has([aria-selected])]:rounded-r-md!":"[&:has([aria-selected])]:rounded-md!"),day:ae(Sl({state:"default"}),"h-9 w-full flex-none px-0"),day_range_start:ae(Sl({state:"rangeStart"}),"h-9 w-full flex-none px-0 text-white!"),day_range_end:ae(Sl({state:"rangeEnd"}),"h-9 w-full flex-none px-0 text-white!"),day_selected:ae(Sl({state:"single"}),"h-9 w-full flex-none px-0"),day_today:"[&:not([aria-selected=true])]:!bg-fill-default [&:not([aria-selected=true])]:hover:!bg-fill-default [&:not([aria-selected=true])]:rounded-full! [&:not([aria-selected=true])]:!text-fg-inverse",day_outside:ae(Sl({state:"disabled"}),"!bg-fill-transparent hover:!bg-fill-transparent aria-selected:text-fg-disabled"),day_disabled:ae(Sl({state:"disabled"}),"h-9 w-full flex-none px-0"),day_range_middle:ae(Sl({state:"rangeMiddle"}),"h-9 w-full flex-none rounded-none! px-0 hover:text-white!"),day_hidden:"invisible",...e},components:{Day:Que,IconLeft:({className:o,...a})=>h(X0,{className:ae("size-4",o),...a}),IconRight:({className:o,...a})=>h(Su,{className:ae("size-4",o),...a})},...r})}const{useCallback:_d,useEffect:Jx,useId:Jue,useRef:ede,useState:xd}=await q("react"),tde=[{key:"today",label:"Today"},{key:"month-ago",label:"1 month ago"},{key:"year-ago",label:"1 year ago"}],nde=()=>({hour:"00",minute:"00"}),Yv=t=>t?{hour:String(t.getHours()).padStart(2,"0"),minute:String(t.getMinutes()).padStart(2,"0")}:nde(),e6=t=>!!(t&&(t.getHours()!==0||t.getMinutes()!==0)),t6=(t,e)=>{const n=new Date(t);return n.setHours(Number(e.hour),Number(e.minute),0,0),n},n6=t=>Array.isArray(t)?t[0]:t,r6=(t,e,n)=>{if(!t)return e;const r=V8(t.getTime());if(!n)return r;const o=Yv(t);return`${r} ${o.hour}:${o.minute}`},j3e=({className:t,showType:e="popover",value:n,name:r,disabled:o,readOnly:a,size:i="md",variant:s="default",error:l=!1,showPresets:u=!0,showFooter:d=!0,placeholder:f,handleChange:m})=>{const v=ede(null),g=Jue().replace(/:/g,""),[w,y]=xd(!1),[_,S]=xd(!1),[x,C]=xd(()=>{const I=n6(n);return{from:I,to:void 0,timeEnabled:e6(I)}}),[R,P]=xd(x),[O,$]=xd(x.from??new Date),A=typeof f=="string"?f:"Select date",M=()=>{o||y(!0)},L=I=>{I.key==="Enter"&&(v.current?.open(),y(!0))},B=_d(()=>{y(!1),v.current?.close()},[]),F=_d(()=>{if(R.from){const I=new Date(R.from);R.timeEnabled?I.setSeconds(0,0):I.setHours(0,0,0,0),C(R),m?.(I,void 0,r??"")}B()},[m,B,r,R]),N=_d(()=>{const I={from:void 0,to:void 0,timeEnabled:!1};C(I),P(I),m?.(void 0,void 0,r??"")},[m,r]),V=_d(I=>{const D=new Date,U=new Date(D);switch(I){case"today":break;case"month-ago":U.setMonth(D.getMonth()-1);break;case"year-ago":U.setFullYear(D.getFullYear()-1);break}P(Y=>({...Y,from:t6(U,Yv(Y.from))})),$(U)},[]),z=_d(()=>ne(Ul,{className:ae(Dk({pickerType:"basic"})),children:[u&&h("div",{"data-slot":"date-input-presets",className:"border-subtle inline-flex w-full flex-wrap items-start justify-center gap-1 border-b px-3 py-4",children:tde.map(I=>h(Ik,{label:I.label,onClick:()=>V(I.key)},I.key))}),h(Bk,{"data-slot":"date-input-calendar",month:O,selected:R.from,mode:"single",numberOfMonths:1,onMonthChange:$,onSelect:I=>{P(D=>({...D,from:I?t6(I,Yv(D.from)):void 0})),I&&$(I)}}),d&&h(Ak,{"data-slot":"date-input-footer-time",pickerType:"basic",selectedDate:R,onChange:P}),h(Tk,{"data-slot":"date-input-footer-button",onReset:N,onCancel:B,onConfirm:F})]}),[F,B,V,N,R,O,d,u]);return Jx(()=>{const I=n6(n),D={from:I,to:void 0,timeEnabled:e6(I)};C(D),P(D),$(I??new Date)},[n]),Jx(()=>{w||(P(x),$(x.from??new Date))},[w,x]),ne(Mr,{children:[ne(P3,{ref:v,disabled:o,anchorId:e==="popover"&&!o?`date-input-popover-${g}`:void 0,className:ae("inline-block"),ripple:{disabled:!0},popoverStyle:{top:"10px",left:"0"},popoverElement:h(z,{}),onClose:()=>y(!1),onClick:M,children:[ne("div",{"data-slot":"date-input",className:ae(Ok({size:i,variant:s,focus:_||w,error:l,readOnly:a,disabled:o,interactive:!o&&!a}),t),children:[h("span",{"data-slot":"date-input-icon","aria-hidden":!0,className:Lk({size:i,disabled:o}),children:h(rw,{})}),h("span",{"data-slot":"date-input-content",className:$k(),children:h("input",{"data-slot":"date-input-input",type:"text",readOnly:!0,disabled:o,value:r6(x.from,"",x.timeEnabled),placeholder:r6(void 0,A,!1),onFocus:()=>S(!0),onBlur:()=>S(!1),onKeyDown:L,className:ae("w-full min-w-0",c0({size:i,tone:x.from?"default":"placeholder",disabled:o}))})})]}),e==="popover"&&h("div",{id:`date-input-popover-${g}`})]}),e==="modal"&&h(tc,{className:ae("w-auto border-none p-0"),open:w,hideCloseButton:!0,onOpenChange:y,children:h(z,{})})]})},o6=[{key:"last-24-hours",label:"Last 24 hours"},{key:"last-3-days",label:"Last 3 days"},{key:"last-week",label:"Last week"},{key:"last-month",label:"Last month"},{key:"last-3-month",label:"Last 3 month"}],rde=(t,e=new Date)=>{const n=new Date(e),r=new Date(e);switch(t){case"last-24-hours":n.setDate(e.getDate()-1);break;case"last-3-days":n.setDate(e.getDate()-3);break;case"last-week":n.setDate(e.getDate()-7);break;case"last-month":n.setMonth(e.getMonth()-1);break;case"last-3-month":n.setMonth(e.getMonth()-3);break}return{from:n,to:r}},{useCallback:Sd,useEffect:a6,useId:ode,useRef:ade,useState:m1}=await q("react"),ide=(t,e,n)=>{const r=[];return t&&r.push({before:t}),e&&r.push({after:e}),Array.isArray(n)?r.push(...n):n!==void 0&&r.push(n),r},Gv=()=>({hour:"00",minute:"00"}),Rl=t=>t?{hour:String(t.getHours()).padStart(2,"0"),minute:String(t.getMinutes()).padStart(2,"0")}:Gv(),g1=t=>!!(t&&(t.getHours()!==0||t.getMinutes()!==0)),bs=(t,e)=>{const n=new Date(t);return n.setHours(Number(e.hour),Number(e.minute),0,0),n},sde=(t,e)=>!t||!e?!1:t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate(),i6=(t,e,n)=>{if(!t)return e;const r=V8(t.getTime());if(!n)return r;const o=Rl(t);return`${r} ${o.hour}:${o.minute}`},H3e=({className:t,calendarPanelClassName:e,showType:n="popover",value:r,name:o,min:a,max:i,maxDays:s,placeholder:l,disabled:u,disabledDates:d,readOnly:f,size:m="md",variant:v="default",error:g=!1,showPresets:w=!0,showFooter:y=!0,handleChange:_,presets:S})=>{const x=ade(null),C=ode().replace(/:/g,""),[R,P]=m1(!1),[O]=m1(!1),[$,A]=m1({from:r?.[0],to:r?.[1],timeEnabled:g1(r?.[0])||g1(r?.[1])}),[M,L]=m1($),B=!!($?.from||$?.to),F=typeof l=="string"?l:l?.start||l?.end||"Select date",N=()=>{u||P(!0)},V=Sd(()=>{P(!1),x.current?.close()},[]),z=Sd(()=>{if(M.from){const Y=M.to??M.from,oe=bs(M.from,Rl(M.from)),Q=bs(Y,Rl(Y)),re=M.timeEnabled?oe:bs(oe,Gv()),le=M.timeEnabled?Q:bs(Q,Gv());A({from:oe,to:Q,timeEnabled:M.timeEnabled}),_?.(re,le,o??"")}V()},[_,V,o,M]),I=Sd(()=>{const Y={from:void 0,to:void 0,timeEnabled:!1};A(Y),L(Y),_?.(void 0,void 0,o??"")},[_,o]),D=Sd(Y=>{const{from:oe,to:Q}=rde(Y);L(re=>({...re,from:bs(oe,Rl(re.from)),to:bs(Q,Rl(re.to))}))},[]),U=Sd(()=>ne(Ul,{className:ae(Dk({pickerType:"range"}),e),children:[w&&h("div",{"data-slot":"data-input-presets",className:"border-subtle inline-flex w-full flex-wrap items-start justify-center gap-1 border-b px-3 py-4",children:(S?o6.filter(Y=>S.includes(Y.key)):o6).map(Y=>h(Ik,{label:Y.label,onClick:()=>D(Y.key)},Y.key))}),h(Bk,{"data-slot":"data-input-calendar",selected:M,mode:"range",numberOfMonths:2,max:s,disabled:ide(a,i,d),initialFocus:!0,defaultMonth:M?.from,onSelect:Y=>{L(oe=>{const Q=Y?.from?bs(Y.from,Rl(oe.from)):void 0;let re=Y?.to;!re&&oe.timeEnabled&&oe.to&&(re=Y?.from);let le=re?bs(re,Rl(oe.to)):void 0;return Q&&le&&sde(Q,le)&&Q>le&&(le=new Date(Q)),{...oe,from:Q,to:le}})}}),y&&h(Ak,{"data-slot":"date-input-footer-time",pickerType:"range",selectedDate:M,onChange:L}),h(Tk,{"data-slot":"date-input-footer-button",onReset:I,onCancel:V,onConfirm:z})]}),[e,D,V,z,I,d,i,s,a,S,M,y,w]);return a6(()=>{const Y={from:r?.[0],to:r?.[1]},oe={...Y,timeEnabled:g1(Y.from)||g1(Y.to)};A(oe),L(oe)},[r]),a6(()=>{R||L($)},[R,$]),ne(Mr,{children:[ne(P3,{ref:x,disabled:u,anchorId:n==="popover"&&!u?`date-input-popover-${C}`:void 0,className:"inline-block",ripple:{disabled:!0},popoverStyle:{top:"10px",left:"0"},popoverElement:h(U,{}),onClose:()=>P(!1),onClick:N,children:[ne("div",{"data-slot":"date-input",className:ae(Ok({size:m,variant:v,focus:O||R,error:g,readOnly:f,disabled:u,interactive:!u&&!f}),t),children:[h("span",{"data-slot":"date-input-icon","aria-hidden":!0,className:Lk({size:m,disabled:u}),children:h(rw,{})}),h("span",{"data-slot":"date-input-content",className:$k(),children:B?ne(Mr,{children:[h("span",{"data-slot":"date-input-value",className:c0({size:m,tone:$?.from?"default":"placeholder",disabled:u}),children:i6($?.from,F,$.timeEnabled)}),h("span",{"data-slot":"date-input-separator",className:Yue({size:m,disabled:u}),children:"~"}),h("span",{"data-slot":"date-input-value",className:c0({size:m,tone:$?.to?"default":"placeholder",disabled:u}),children:i6($?.to,F,$.timeEnabled)})]}):h("span",{"data-slot":"date-input-value",className:c0({size:m,tone:"placeholder",disabled:u}),children:F})})]}),n==="popover"&&h("div",{id:`date-input-popover-${C}`})]}),n==="modal"&&h(tc,{className:ae("w-auto max-w-fit border-none p-0"),open:R,hideCloseButton:!0,onOpenChange:P,children:h(U,{})})]})},lde=he("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-dim fixed inset-0 z-50"),cde=he("bg-overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 shadow-down-md fixed top-1/2 left-1/2 z-50 inline-flex max-w-[95vw] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-lg outline-hidden transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{size:{sm:"max-h-[25rem] min-h-40 w-[22.5rem]",md:"max-h-[35rem] w-[30rem]",lg:"max-h-[35rem] w-[34.375rem]"}},defaultVariants:{size:"lg"}}),ude=he("gap-0_5 relative flex flex-col items-start self-stretch px-4 pt-4 pr-16 pb-2"),dde=he("flex items-center justify-end gap-4 self-stretch p-4"),fde=he("text-fg-default typo-title-01-bold"),pde=he("text-fg-subtle typo-compact-sm-normal"),hde=he("text-fg-subtle hover:bg-fill-transparent-hovered hover:text-fg-default focus-visible:outline-border-stronger absolute top-3 right-3 inline-flex size-7 items-center justify-center rounded-[3px] outline-hidden transition-colors focus-visible:outline focus-visible:outline-1"),{forwardRef:Vh,useEffect:mde,useId:gde,useRef:vde}=await q("react"),q0=new Map,wde=300;function bde(t,e){q0.set(t,e)}function s6(t){q0.delete(t)}function yde(){const t=Array.from(q0.values());if(q0.clear(),t.length===0){Ns.resetModal();return}t.forEach(e=>e()),setTimeout(()=>{const e=document.querySelectorAll('[data-slot="dialog-content"][data-state="closed"]'),n=Array.from(e).flatMap(r=>r.getAnimations().map(o=>o.finished));if(n.length===0){Ns.resetModal();return}Promise.allSettled(n).then(()=>{Ns.resetModal()})},wde)}function _de({...t}){const e=gde(),n=vde(t.onOpenChange);return n.current=t.onOpenChange,mde(()=>(t.open?bde(e,()=>n.current?.(!1)):s6(e),()=>s6(e)),[e,t.open]),h(bf,{"data-slot":"dialog",...t})}function W3e({...t}){return h(Vw,{"data-slot":"dialog-trigger",...t})}function xde({...t}){return h(yf,{"data-slot":"dialog-portal",...t})}function q3e({...t}){return h(Zl,{"data-slot":"dialog-close",...t})}const zk=Vh(({closeAllLabel:t},e)=>Ns.modalList.length<=1?null:h("button",{ref:e,type:"button","aria-label":"dialog-all-close",className:"text-fg-default typo-compact-sm-semibold border-fg-subtler bg-fg-inverse pointer-events-auto fixed top-4 right-4 z-50 h-8 w-20 cursor-pointer rounded-md border p-1",onClick:yde,children:h("span",{children:t})}));zk.displayName="RBDialogCloseAll";const Fk=Vh(({className:t,...e},n)=>h(_f,{ref:n,"data-slot":"dialog-overlay",className:ae(lde(),t),...e}));Fk.displayName="RBDialogOverlay";function Sde({className:t,children:e,container:n,showCloseButton:r=!0,size:o="lg",closeAllLabel:a,...i}){const s=n??(typeof document<"u"?document.querySelector(".modal-container")??void 0:void 0);return ne(xde,{container:s,children:[h(Fk,{onContextMenu:l=>l.preventDefault()}),h(zk,{closeAllLabel:a}),ne(xf,{"data-slot":"dialog-content","data-size":o,className:ae(cde({size:o}),t),...i,children:[e,r&&ne(Zl,{"data-slot":"dialog-close",className:hde(),tabIndex:-1,children:[h(df,{className:"size-4"}),h("span",{className:"sr-only",children:"Close"})]})]})]})}function Cde({className:t,...e}){return h("div",{"data-slot":"dialog-header",className:ae(ude(),t),...e})}function Ede({className:t,...e}){return h("div",{"data-slot":"dialog-footer",className:ae(dde(),t),...e})}const u0=Vh(({className:t,...e},n)=>h(Sf,{ref:n,"data-slot":"dialog-title",className:ae(fde(),t),...e}));u0.displayName="RBDialogTitle";const d0=Vh(({className:t,...e},n)=>h(Cf,{ref:n,"data-slot":"dialog-description",className:ae(pde(),t),...e}));d0.displayName="RBDialogDescription";const Mde=he("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-dim fixed inset-0 z-50"),kde=he("bg-raised border-subtle data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex h-auto flex-col overflow-hidden transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{defaultVariants:{side:"bottom"},variants:{side:{top:"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 w-full rounded-b-xl border-b",bottom:"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 w-full rounded-t-xl border-t",left:"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 max-w-96 rounded-r-xl border-r",right:"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 max-w-96 rounded-l-xl border-l"}}}),Rde=he("bg-fg-default h-1 w-28 rounded-full"),Tde=he("flex items-center justify-center self-stretch pt-4"),Nde=he("gap-0_5 flex flex-col p-4"),Pde=he("mt-auto flex flex-col items-stretch gap-2 self-stretch p-4"),Ade=he("text-fg-default typo-title-01-medium"),Ide=he("text-fg-subtle typo-compact-sm-normal"),Ode=he("flex flex-col gap-3 self-stretch overflow-hidden px-4 pt-4"),Lde=he("text-fg-default hover:text-fg-default-hovered focus-visible:outline-border-stronger absolute top-4 right-4 inline-flex size-4 items-center justify-center rounded-xs outline-hidden transition-colors focus-visible:outline focus-visible:outline-1");function $de({side:t,...e}){return h(qr.Root,{"data-slot":"drawer",...e,direction:t??e.direction})}function U3e({...t}){return h(qr.Trigger,{"data-slot":"drawer-trigger",...t})}function Y3e({...t}){return h(qr.Close,{"data-slot":"drawer-close",...t})}function Dde({...t}){return h(qr.Portal,{"data-slot":"drawer-portal",...t})}function Bde({className:t,...e}){return h(qr.Overlay,{"data-slot":"drawer-overlay",className:ae(Mde(),t),...e})}function zde({className:t,children:e,side:n="bottom",showHandle:r,showCloseButton:o=!1,...a}){const i=r??n==="bottom";return ne(Dde,{children:[h(Bde,{}),ne(qr.Content,{"data-slot":"drawer-content","data-position":n,className:ae(kde({side:n}),t),...a,children:[n==="bottom"&&i&&h("div",{className:Tde(),children:h("div",{className:Rde()})}),e,o&&ne(qr.Close,{className:Lde(),children:[h(df,{}),h("span",{className:"sr-only",children:"Close"})]})]})]})}function Fde({className:t,...e}){return h("div",{"data-slot":"drawer-header",className:ae(Nde(),t),...e})}function G3e({className:t,...e}){return h("div",{"data-slot":"drawer-body",className:ae(Ode(),t),...e})}function Vde({className:t,...e}){return h("div",{"data-slot":"drawer-footer",className:ae(Pde(),t),...e})}function jde({className:t,...e}){return h(qr.Title,{"data-slot":"drawer-title",className:ae(Ade(),t),...e})}function Hde({className:t,...e}){return h(qr.Description,{"data-slot":"drawer-description",className:ae(Ide(),t),...e})}const Wde=he("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-dim fixed inset-0 z-50"),qde=he("bg-raised outline-border-subtle data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 p-4 outline outline-1 outline-offset-[-1px] transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{defaultVariants:{side:"right"},variants:{side:{bottom:"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom shadow-up-lg inset-x-0 bottom-0 h-[520px] max-h-[80vh]",left:"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full max-w-[90vw] shadow-[0px_4px_6px_-4px_rgba(0,0,0,0.10)] shadow-lg",right:"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right shadow-up-lg inset-y-0 right-0 h-full max-w-[90vw]",top:"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-[520px] max-h-[80vh] shadow-[0px_4px_6px_-4px_rgba(0,0,0,0.10)] shadow-lg"}}}),Ude=he("gap-0_5 flex flex-col"),Yde=he("mt-auto flex flex-col items-stretch gap-2 overflow-hidden"),Gde=he("text-fg-default typo-title-01-medium"),Kde=he("text-fg-subtle typo-compact-sm-normal"),Xde=he("text-fg-default hover:text-fg-default-hovered focus-visible:outline-border-stronger absolute top-4 right-4 inline-flex size-4 items-center justify-center rounded-xs outline-hidden transition-colors focus-visible:outline focus-visible:outline-1");function Zde({...t}){return h(bf,{"data-slot":"sheet",...t})}function K3e({...t}){return h(Vw,{"data-slot":"sheet-trigger",...t})}function X3e({...t}){return h(Zl,{"data-slot":"sheet-close",...t})}function Qde({...t}){return h(yf,{"data-slot":"sheet-portal",...t})}function Jde({className:t,...e}){return h(_f,{"data-slot":"sheet-overlay",className:ae(Wde(),t),...e})}function efe({className:t,children:e,side:n="right",showCloseButton:r=!0,...o}){return ne(Qde,{children:[h(Jde,{}),ne(xf,{"data-slot":"sheet-content","data-position":n,className:ae(qde({side:n}),t),...o,children:[e,r&&ne(Zl,{className:Xde(),children:[h(df,{}),h("span",{className:"sr-only",children:"Close"})]})]})]})}function tfe({className:t,...e}){return h("div",{"data-slot":"sheet-header",className:ae(Ude(),t),...e})}function nfe({className:t,...e}){return h("div",{"data-slot":"sheet-footer",className:ae(Yde(),t),...e})}function rfe({className:t,...e}){return h(Sf,{"data-slot":"sheet-title",className:ae(Gde(),t),...e})}function ofe({className:t,...e}){return h(Cf,{"data-slot":"sheet-description",className:ae(Kde(),t),...e})}const afe=({className:t,type:e,open:n,onOpenChange:r,header:o,footer:a,children:i,hideCloseButton:s,handleInteractOutside:l})=>{const u=e.split("-")[0];return h(Zde,{open:n,onOpenChange:r,children:ne(efe,{className:ae(t,{"[&>button:last-child]:hidden":s}),side:u,onInteractOutside:l,children:[!!o&&ne(tfe,{children:[!!o.title&&h(rfe,{children:o.title}),!!o.description&&h(ofe,{children:o.description})]}),i,!!a&&h(nfe,{children:a})]})})},jh=({className:t,open:e,type:n="dialog",dialogContainer:r,children:o,enableDimClose:a=!0,header:i,hideCloseButton:s,footer:l,gamePadType:u="modal",onOpenChange:d,disableAutoFocus:f=!1,closeAllButtonLabel:m="Close All"})=>{const v=g=>{a||g.preventDefault()};return n==="drawer"?h($de,{open:e,onOpenChange:d,children:ne(zde,{className:ae(t),onInteractOutside:v,children:[!!i&&ne(Fde,{children:[!!i.title&&h(jde,{children:i.title}),!!i.description&&h(Hde,{children:i.description})]}),o,!!l&&h(Vde,{children:l})]})}):n==="dialog"?h(_de,{open:e,onOpenChange:d,children:ne(Sde,{...f&&{onOpenAutoFocus:g=>g.preventDefault()},className:ae(t),container:r,"data-pad-scope":u,showCloseButton:!s,closeAllLabel:m,onInteractOutside:v,children:[i?ne(Cde,{children:[i.title?h(u0,{children:i.title}):h(Il,{children:h(u0,{})}),i.description?h(d0,{children:i.description}):h(Il,{children:h(d0,{})})]}):ne(Il,{children:[h(u0,{}),h(d0,{})]}),o,!!l&&h(Ede,{children:l})]})}):h(afe,{className:t,type:n,header:i,footer:l,open:e,enableDimClose:a,hideCloseButton:s,onOpenChange:d,handleInteractOutside:v,children:o})},ife=({className:t,containerId:e,open:n,onOpenChange:r,title:o,content:a,contentClassName:i,buttonText:s="확인",snapshotCnt:l,resolve:u,onConfirm:d})=>{const f=()=>{u(!0),d?.()};return h(jh,{"data-slot":"alert-modal",className:ae("w-fit","min-w-[25rem]","max-w-[95vw]",t),open:n,onOpenChange:r,type:"dialog",dialogContainer:e?document.getElementById(e):void 0,snapshotCnt:l,hideCloseButton:!0,enableDimClose:!1,gamePadType:"dialog",header:o?{title:o}:void 0,footer:h(Wr,{variant:"brand",onClick:f,children:s}),children:h("div",{"data-slot":"alert-modal-content",className:ae("text-body-xs2-normal text-fg-default px-4 py-3 whitespace-pre-wrap",i),children:a})})},{useState:sfe}=await q("react"),lfe=({className:t,open:e,onOpenChange:n,title:r,description:o,content:a,contentClassName:i,buttonText:s={yes:"Confirm",no:"Cancel"},buttonClassName:l,buttonWrapperClassName:u,snapshotCnt:d,containerId:f,onConfirm:m,onCancel:v,resolve:g})=>{const[w,y]=sfe(!1),_=async()=>{y(!0);try{await m?.(),g(!0)}finally{y(!1)}},S=()=>{v?.(),g(!1)};return h(jh,{"data-slot":"confirm-modal",className:ae("w-fit","min-w-[25rem]","max-w-[95vw]",t),open:e,onOpenChange:n,type:"dialog",snapshotCnt:d,dialogContainer:f?document.getElementById(f):void 0,hideCloseButton:!0,enableDimClose:!1,gamePadType:"dialog",header:r||o?{title:r,description:o}:void 0,footer:ne(Yo,{"data-slot":"confirm-modal-button-wrapper",className:ae("btn-wrapper",u),alignItems:"center",gap:8,children:[h(Wr,{variant:"outlined",className:ae(l?.no),disabled:w,onClick:S,children:s.no}),h(Wr,{variant:"brand",className:ae(l?.yes),autoFocus:!0,loading:w,onClick:_,children:s.yes})]}),children:h("div",{"data-slot":"confirm-modal-content",className:ae("text-body-xs2-normal text-fg-default px-4 py-3 whitespace-pre-wrap",i),children:a})})},cfe={default:"text-fg-subtle",error:"text-fg-danger",success:"text-fg-success"};function ufe({className:t,helperText:e,helperTone:n="default"}){return e?h("div",{"data-slot":"text-helper",className:ae("pt-1_5 w-full",t),children:h("div",{"data-slot":"text-helper-message",className:ae("typo-compact-xs-normal",cfe[n]),children:e})}):null}function dfe({className:t,label:e,description:n,required:r=!1,children:o}){return!e&&!n&&!o?null:ne("div",{"data-slot":"text-label",className:ae("gap-0_5 flex w-full flex-col",t),children:[e&&ne("div",{"data-slot":"text-label-heading",className:"gap-0_5 typo-compact-xs-semibold inline-flex items-start",children:[h("span",{"data-slot":"text-label-text",className:"text-fg-default",children:e}),r&&h("span",{"data-slot":"text-label-required",className:"text-fg-information",children:"*"})]}),n&&h("div",{"data-slot":"text-label-description",className:"text-fg-subtle typo-compact-xs-normal",children:n}),o&&h("div",{className:"pt-1","data-slot":"text-label-children",children:o})]})}function ffe({className:t="",labelClassName:e="",helperClassName:n="",label:r,description:o,required:a=!1,helperText:i,helperTone:s="default",children:l}){return h("div",{"data-slot":"text-field",className:ae("w-full",t),children:ne(dfe,{className:e,label:r,description:o,required:a,children:[h("div",{"data-slot":"text-field-control",children:l}),h(ufe,{className:n,helperText:i,helperTone:s})]})})}const{cloneElement:pfe,useState:l6}=await q("react"),hfe=({className:t,open:e,onOpenChange:n,title:r,content:o,contentClassName:a,placeholder:i,inputType:s="text",inputElement:l,label:u,description:d,required:f=!1,helperText:m,helperTone:v="default",autoFocus:g=!1,value:w,buttonText:y={yes:"Confirm",no:"Cancel"},buttonClassName:_,buttonWrapperClassName:S,containerId:x,snapshotCnt:C,resolve:R,close:P})=>{const[O,$]=l6(w||""),[A,M]=l6(!1),L=s==="password"&&A?"text":s;return h(jh,{"data-slot":"prompt-modal",className:ae("w-fit","min-w-[25rem]","max-w-[95vw]",t),open:e,onOpenChange:n,type:"dialog",snapshotCnt:C,dialogContainer:x?document.getElementById(x):void 0,hideCloseButton:!0,enableDimClose:!1,gamePadType:"dialog",header:r?{title:r}:void 0,footer:ne(Yo,{"data-slot":"prompt-modal-button-wrapper",className:ae("btn-wrapper",S),alignItems:"center",gap:8,children:[h(Wr,{variant:"outlined",className:ae(_?.no),onClick:()=>R(null),children:y.no}),h(Wr,{variant:"brand",className:ae(_?.yes),onClick:()=>R(O),children:y.yes})]}),children:ne(Ul,{children:[o&&h("div",{"data-slot":"prompt-modal-content",className:ae("text-body-xs2-normal text-fg-default px-4 py-3 whitespace-pre-wrap",a),children:o}),l?h("div",{"data-slot":"prompt-modal-input",className:"w-full px-4 py-2",children:pfe(l,{value:O,handleChange:$,tabIndex:g?0:-1,placeholder:i,type:s})}):h("div",{"data-slot":"prompt-modal-input",className:"w-full px-4 py-2",children:h(ffe,{label:u,description:d,required:f,helperText:m,helperTone:v,children:ne("div",{className:"relative w-full",children:[h(sw,{className:ae("w-full",s==="password"&&"pr-10"),type:L,tabIndex:g?0:-1,placeholder:i,value:O,handleChange:$,handleEnter:()=>R(O)}),s==="password"&&h("button",{type:"button",className:"text-fg-subtle hover:text-fg-default absolute top-1/2 right-4 -translate-y-1/2",onClick:()=>M(B=>!B),children:A?h(k8,{className:"size-4"}):h(R8,{className:"size-4"})})]})})})]})})},mfe=he("gap-2_5 inline-flex items-center justify-center pt-4"),P2=he("gap-0_5 flex items-center justify-start"),v1=he("py-0_5 inline-flex size-6 shrink-0 items-center justify-center rounded-sm transition-colors duration-200 ease-out",{variants:{disabled:{true:"bg-fill-transparent text-fg-disabled pointer-events-none",false:"bg-fill-transparent text-fg-default hover:bg-fill-transparent-hovered"}},defaultVariants:{disabled:!1}}),w1=he("inline-flex size-3.5 items-center justify-center"),gfe=he("inline-flex size-6 shrink-0 flex-col items-center justify-center rounded-md transition-colors duration-200 ease-out",{variants:{selected:{true:"text-fg-default outline-border-default outline outline-1 outline-offset-[-1px]",false:"text-fg-subtler hover:bg-fill-subtler-hovered"}},defaultVariants:{selected:!1}}),vfe=he("inline-flex h-5 w-7 items-center justify-center text-center text-xs leading-4 font-semibold"),{useMemo:Cd}=await q("react"),Z3e=({className:t,currPage:e=1,listSize:n=20,pageSize:r=5,totalCount:o=0,handlePageChange:a})=>{const i=Cd(()=>{const f=o/n;return f%1===0?f:Math.floor(f)+1},[n,o]),s=Cd(()=>{const f=Math.ceil(i/r);return Array.from({length:f},(m,v)=>Array.from({length:r},(g,w)=>v*r+w+1))},[r,i]),l=Cd(()=>{const f=(s.find(m=>m.includes(e))??[]).filter(m=>m<=i);return f.length===0?[1]:f},[e,s,i]),u=Cd(()=>{const f=l[0]??1;return Math.max(1,f-1)},[l]),d=Cd(()=>{const f=l[l.length-1]??i;return Math.min(i,f+1)},[l,i]);return ne("div",{"data-slot":"pagination",className:ae(mfe(),t),children:[ne("div",{"data-slot":"pagination-prev-group",className:P2(),children:[h("button",{"data-slot":"pagination-prev-double",className:v1({disabled:e===1}),type:"button",disabled:e===1,onClick:()=>a(u),children:h("span",{"data-slot":"pagination-nav-icon",className:w1(),children:h(_8,{})})}),h("button",{"data-slot":"pagination-prev",className:v1({disabled:e===1}),type:"button",disabled:e===1,onClick:()=>a(e-1),children:h("span",{"data-slot":"pagination-nav-icon",className:w1(),children:h(X0,{})})})]}),h("div",{"data-slot":"pagination-pages",className:P2(),children:l.map(f=>h("button",{"data-slot":"pagination-page",className:gfe({selected:e===f}),type:"button",onClick:()=>a(f),children:h("span",{"data-slot":"pagination-page-text",className:vfe(),children:f})},f))}),ne("div",{"data-slot":"pagination-next-group",className:P2(),children:[h("button",{"data-slot":"pagination-next",className:v1({disabled:!(e<i)}),type:"button",disabled:!(e<i),onClick:()=>a(e+1),children:h("span",{"data-slot":"pagination-nav-icon",className:w1(),children:h(Su,{})})}),h("button",{"data-slot":"pagination-next-double",className:v1({disabled:e===i||i===0}),type:"button",disabled:e===i||i===0,onClick:()=>a(d),children:h("span",{"data-slot":"pagination-nav-icon",className:w1(),children:h(x8,{})})})]})]})},wfe=he(["inline-flex w-48 items-center gap-1 overflow-hidden","bg-fill-control-surface outline outline-1 outline-offset-[-1px]","transition-colors"].join(" "),{variants:{size:{xs2:"h-8 rounded-md px-0.5",sm:"h-9 rounded-md px-0.5",md:"h-10 rounded-md px-0.5",lg:"h-12 rounded-lg px-1"},variant:{default:"outline-border-default",success:"outline-border-success-stronger"},focus:{true:"outline-border-input-focused",false:""},error:{true:"outline-border-danger-stronger",false:""},readOnly:{true:"bg-fill-control-surface-disabled outline-border-disabled",false:""},disabled:{true:"bg-fill-control-surface-disabled outline-border-disabled pointer-events-none cursor-not-allowed",false:""},inputDisabled:{true:"bg-fill-control-surface-disabled outline-border-disabled",false:""}},compoundVariants:[{variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,inputDisabled:!1,className:"[&:hover]:bg-fill-control-surface-hovered [&:hover]:outline-border-default"},{variant:"success",focus:!1,error:!1,readOnly:!1,disabled:!1,inputDisabled:!1,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-success-stronger"},{focus:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-input-focused"},{error:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-danger-stronger"},{readOnly:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"},{disabled:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"},{inputDisabled:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"}],defaultVariants:{size:"md",variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,inputDisabled:!1}}),c6=he("bg-fill-transparent touch-action-none inline-flex shrink-0 items-center justify-center rounded-sm transition-[background-color] [&_*]:pointer-events-none",{variants:{size:{xs2:"size-7",sm:"size-8",md:"size-9",lg:"size-10"},disabledLike:{true:"cursor-not-allowed",false:"cursor-pointer"},pressed:{true:"scale-90",false:""}},defaultVariants:{size:"md",disabledLike:!1,pressed:!1}}),u6=he("",{variants:{size:{xs2:"size-3.5",sm:"size-3.5",md:"size-4",lg:"size-4"},disabledLike:{true:"text-fg-disabled",false:"text-fg-default"},pressed:{true:"scale-90",false:""}},compoundVariants:[{disabledLike:!1,pressed:!0,className:"transform transition-transform"}],defaultVariants:{size:"md",disabledLike:!1,pressed:!1}}),bfe=he(["w-full border-none bg-transparent text-center ring-0 outline-none","placeholder:text-fg-subtler appearance-none [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none"].join(" "),{variants:{size:{xs2:"typo-compact-xs2-semibold",sm:"typo-compact-sm-normal",md:"typo-compact-sm2-normal",lg:"typo-compact-sm2-normal"},variant:{default:"text-fg-default",success:"text-fg-default"},focus:{true:"placeholder:text-fg-subtler",false:""},error:{true:"placeholder:text-fg-subtler",false:""},readOnly:{true:"placeholder:text-fg-default",false:""},disabled:{true:"text-fg-disabled placeholder:text-fg-disabled",false:""},inputDisabled:{true:"text-fg-disabled placeholder:text-fg-disabled",false:""}},defaultVariants:{size:"md",variant:"default"}}),{forwardRef:yfe,useCallback:eo,useEffect:Uc,useImperativeHandle:_fe,useMemo:xfe,useRef:Ua,useState:A2}=await q("react"),Sfe=t=>{const e=t?.target?.value;return kn.replace(e,/^0+[\d,]/gm,o=>kn.last(o)).replace(/[^\d.-]/g,"")},Cfe=yfe(({className:t="",type:e,size:n,variant:r,step:o=1,error:a,isDirect:i=!0,increaseStep:s,decreaseStep:l,maxLength:u,increaseElement:d,decreaseElement:f,detectDobleClick:m,useSetButton:v,notAllowedEmptyValue:g,inputDisabled:w,disableAutoAccel:y,disableLongPress:_,fixedDigit:S,initialLongPressDelay:x=300,enableArrowKeys:C,enableWheel:R,handleChange:P,onButtonPointerDown:O,onButtonPointerUp:$,handleEnter:A,...M},L)=>{const{value:B,readOnly:F,disabled:N,min:V,max:z="9999999999999",digit:I=18,onFocus:D,onBlur:U}=M,Y=Ua(null),oe=Ua(!1),Q=Ua(!1),re=Ua({up:0,down:0}),le=Ua(""),ee=Ua(null),te=Ua(null),ue=Ua(0),ve=Ua(0),we=Ua(x),[ye,Le]=A2(B??""),[Oe,Ne]=A2(!1),[me,pe]=A2(null),be=xfe(()=>N||new Ut(V??0).cmp(new Ut(z))>0,[N,z,V]),Ue=eo((Ce,Ye,wt)=>{if(Ye===0)return Ce;const un=wt==="up"?new Ut(Ce||0).add(new Ut(ee.current?.increase??Ye??1)).toDP(I,Ut.ROUND_DOWN):new Ut(Ce||0).sub(new Ut(ee.current?.decrease??Ye??1)).toDP(I,Ut.ROUND_DOWN);return S!==void 0?un.toFixed(S):un.toString()},[I,S]),He=eo(Ce=>typeof Ce>"u"||!Ce||be?"":Ce.endsWith(".")?Ce:typeof V<"u"&&new Ut(Number(Ce)).lt(new Ut(V))?String(V):typeof z<"u"&&new Ut(Dl(Ce||"")).gt(new Ut(z))?String(z):Ce,[V,z,be]),qe=eo(Ce=>be?"":Ce.endsWith(".")?Ce:He(Ce),[be,He]),_e=eo(Ce=>{const Ye=Y.current;Ye&&(Ye.value=Bi(Ce??"").join("."),delete Ye.dataset.tempNumberKeypadValue,Ye.dispatchEvent(new Event("input",{bubbles:!0})))},[]),at=eo(({type:Ce,e:Ye})=>{if(!Y.current||be)return;const{value:wt,name:un}=Y.current,on=Sfe({target:{value:wt}}),Lt=I?new RegExp(`^-?[0-9]*[.]{0,1}[0-9]{0,${I}}$`,"gm"):/^-?\d{0,18}$/;on.match(Lt)&&(typeof u<"u"&&(on||"").split(".")[0].replace(/[^0-9]/g,"").length>Number(u)||(Y.current.value=Bi(on??"").join("."),le.current!==on&&(P?.(on,un,{type:Ce}),Ye&&M.onChange?.(Ye),le.current=on),Le(on)))},[be,I,u,P,M]),ht=eo((Ce,Ye)=>{Y.current&&(Ne(Ye),Ye?D?.(Ce):(Y.current.value=qe(Y.current.value),g&&!Ce.target.value&&(Y.current.value=M.value),at({}),U?.(Ce)))},[D,qe,g,M.value,at,U]),st=eo(Ce=>{if(be||F){oe.current=!1,window.clearTimeout(ue.current);return}le.current=Ue(le.current??"0",te.current,Ce),le.current=He(le.current??"0"),Le(String(le.current)),_e(le.current),P?.(le.current,M.name,{type:Ce}),window.clearTimeout(ve.current),ve.current=window.setTimeout(()=>{oe.current&&(st(Ce),we.current>50&&!y&&(we.current-=we.current/6))},we.current)},[Ue,He,be,P,M.name,y,F,_e]),Ct=eo(Ce=>{const{value:Ye="",name:wt}=Ce.target;g&&!Ye&&(Ce.target.value=M.value),A?.(Ye,wt),Ce.target.blur()},[A,M.value,g]),cn=eo(Ce=>{if(Ce.key==="Enter"&&!Ce.nativeEvent.isComposing)Ct(Ce);else if(C&&(Ce.key==="ArrowUp"||Ce.key==="ArrowDown")&&(Ce.preventDefault(),!be&&!F)){const Ye=Ce.key==="ArrowUp"?"up":"down";le.current=Ue(le.current??"0",te.current,Ye),le.current=He(le.current??"0"),Le(String(le.current)),_e(le.current),P?.(le.current,M.name,{type:Ye})}M.onKeyDown?.(Ce)},[M,Ct,C,be,F,Ue,He,P,_e]);Uc(()=>{const Ce=Y.current;if(!Ce||!R)return;const Ye=wt=>{if(be||F)return;wt.preventDefault();const un=wt.deltaY<0?"up":"down";le.current=Ue(le.current??"0",te.current,un),le.current=He(le.current??"0"),Le(String(le.current)),_e(le.current),P?.(le.current,M.name,{type:un})};return Ce.addEventListener("wheel",Ye,{passive:!1}),()=>Ce.removeEventListener("wheel",Ye)},[R,be,F,Ue,He,P,M.name,_e]);const Sn=eo((Ce,Ye)=>{if(!(Date.now()-re.current[Ce]<500&&m)){if(be||F){oe.current=!1,window.clearTimeout(ue.current);return}re.current[Ce]=Date.now(),pe(Ce),st(Ce),O?.(Ce,Ye),_||(ue.current=window.setTimeout(()=>{oe.current=!0,st(Ce)},we.current)),Q.current=!0}},[m,be,F,st,_,O]),Jn=eo(Ce=>{Ce&&Ce.currentTarget.hasPointerCapture?.(Ce.pointerId)&&Ce.currentTarget.releasePointerCapture?.(Ce.pointerId)},[]);eo((Ce,Ye=20)=>{const wt=Ce.currentTarget.getBoundingClientRect();return Ce.clientX<wt.left-Ye||Ce.clientX>wt.right+Ye||Ce.clientY<wt.top-Ye||Ce.clientY>wt.bottom+Ye},[]);const Gt=eo((Ce,Ye)=>{if(be||F||!Q.current){oe.current=!1,window.clearTimeout(ue.current),Q.current&&Ce&&$?.(Ce,Ye);return}oe.current=!1,Q.current=!1,pe(null),window.clearTimeout(ue.current),we.current=x,Ce&&$?.(Ce,Ye),Ce&&at({type:Ce})},[be,at,F,$,x]),Tn=eo(()=>{oe.current=!1,pe(null),window.clearTimeout(ue.current),window.clearTimeout(ve.current),we.current=x},[x]);Uc(()=>{le.current=B??""},[B]),Uc(()=>{typeof B<"u"&&Le(B)},[B]),Uc(()=>{te.current=o},[o]),Uc(()=>{ee.current={increase:s,decrease:l}},[s,l]),_fe(L,()=>Y.current),Uc(()=>{const Ce=Ye=>{Ye.type==="contextmenu"&&(oe.current||Q.current)&&Ye.preventDefault()};return window.addEventListener("contextmenu",Ce),window.addEventListener("pointerup",Ce),window.addEventListener("pointercancel",Ce),()=>{window.removeEventListener("contextmenu",Ce),window.removeEventListener("pointerup",Ce),window.removeEventListener("pointercancel",Ce)}},[Tn]);const Hn=f??h(T8,{"aria-hidden":!0,className:u6({size:n,disabledLike:be||V===ye,pressed:me==="down"})}),Tt=d??h(N8,{"aria-hidden":!0,className:u6({size:n,disabledLike:be||z===ye,pressed:me==="up"})});return ne(Yo,{"data-slot":"side-number-input",className:ae(wfe({size:n,variant:r,focus:Oe,readOnly:F,disabled:N,error:a,inputDisabled:w}),t),alignItems:"center",justifyContent:"space-between",onContextMenu:Ce=>{Ce.target instanceof HTMLInputElement||Ce.preventDefault()},children:[h("button",{type:"button","data-slot":"side-number-input-decrease","data-type":"down",className:c6({size:n,disabledLike:be||z===ye,pressed:me==="down"}),disabled:be||z===ye,onPointerDown:Ce=>{Ce.preventDefault(),Ce.currentTarget.setPointerCapture?.(Ce.pointerId),Sn("down",Ce)},onPointerMove:Ce=>{Q.current&&Ce.currentTarget.hasPointerCapture?.(Ce.pointerId)},onPointerUp:Ce=>{Gt("down",Ce),Jn(Ce)},onPointerCancel:Ce=>{Gt("down",Ce),Jn(Ce)},onLostPointerCapture:Ce=>{Gt("down",Ce)},onContextMenu:Ce=>{Ce.preventDefault()},children:Hn}),h("input",{...M,type:"text",inputMode:e==="nx-number"?"none":void 0,"data-slot":"side-number-input-field",className:bfe({size:n,variant:r,focus:Oe,readOnly:F,disabled:N,error:a,inputDisabled:w}),ref:Y,value:Bi(ye??"").join(".")??"",readOnly:!i,disabled:N||w,onChange:Ce=>at({e:Ce}),onFocus:Ce=>ht(Ce,!0),onBlur:Ce=>ht(Ce,!1),onKeyDown:cn,onContextMenu:Ce=>{Ce.preventDefault()}}),h("button",{type:"button","data-slot":"side-number-input-increase","data-type":"up",className:c6({size:n,disabledLike:be||V===ye,pressed:me==="up"}),disabled:be||V===ye,onPointerDown:Ce=>{Ce.preventDefault(),Ce.currentTarget.setPointerCapture?.(Ce.pointerId),Sn("up",Ce)},onPointerMove:Ce=>{Q.current&&Ce.currentTarget.hasPointerCapture?.(Ce.pointerId)},onPointerUp:Ce=>{Gt("up",Ce),Jn(Ce)},onPointerCancel:Ce=>{Gt("up",Ce),Jn(Ce)},onLostPointerCapture:Ce=>{Gt("up",Ce)},onContextMenu:Ce=>{Ce.preventDefault()},children:Tt}),e==="nx-number"&&h(aw,{inputRef:Y,maxLength:Number(u),useSet:v,onSet:A})]})});Cfe.displayName="SideNumberInput";const Efe=he("group inline-flex items-center select-none",{variants:{size:{sm:"gap-1",md:"gap-1_5"},checked:{true:"",false:""},disabled:{true:"pointer-events-none cursor-not-allowed",false:"cursor-pointer"},readOnly:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",checked:!1,disabled:!1,readOnly:!1}}),Mfe=he("relative inline-flex shrink-0 items-center justify-center rounded-full border transition-[background-color,border-color] duration-200 ease-out",{variants:{size:{sm:"size-4",md:"size-5"},checked:{true:"",false:""},disabled:{true:"",false:""}},compoundVariants:[{checked:!1,disabled:!1,className:"border-subtle bg-fill-control-surface"},{checked:!0,disabled:!1,className:"bg-fill-brand border-transparent"},{checked:!1,disabled:!0,className:"bg-fill-disabled border-disabled"},{checked:!0,disabled:!0,className:"bg-fill-disabled border-none"}],defaultVariants:{size:"sm",checked:!1,disabled:!1}}),kfe=he("rounded-full transition-[opacity,transform,background-color] duration-200 ease-out",{variants:{size:{sm:"size-1.5",md:"size-2"},checked:{true:"",false:""},disabled:{true:"",false:""}},compoundVariants:[{checked:!0,disabled:!1,className:"bg-fg-static-white scale-100 opacity-100"},{checked:!1,disabled:!1,className:"bg-fg-static-white scale-0 opacity-0"},{checked:!0,disabled:!0,className:"bg-fg-disabled scale-100"},{checked:!1,disabled:!0,className:"bg-fg-disabled scale-0 opacity-0"}],defaultVariants:{size:"sm",checked:!1,disabled:!1}}),Rfe=he("",{variants:{size:{sm:"typo-compact-xs2-normal",md:"typo-compact-sm2-normal"},disabled:{true:"text-fg-disabled",false:"text-fg-default"}},defaultVariants:{size:"sm",disabled:!1}}),Tfe=he(["relative inline-flex","[&_[data-slot='radio-check']]:hidden","[&_[data-slot='radio-text']]:inline-flex","[&_[data-slot='radio-text']]:items-center","[&_[data-slot='radio-text']]:justify-center","[&_[data-slot='radio-text']]:gap-1","[&_[data-slot='radio-text']]:cursor-pointer","[&_[data-slot='radio-text']]:rounded-md","[&_[data-slot='radio-text']]:bg-fill-transparent","[&_[data-slot='radio-text']]:text-fg-default","[&_[data-slot='radio-text']]:outline","[&_[data-slot='radio-text']]:outline-1","[&_[data-slot='radio-text']]:outline-offset-[-1px]","[&_[data-slot='radio-text']]:outline-border-default","[&_[data-slot='radio-text']]:transition-colors","[&_[data-slot='radio-text']]:hover:bg-fill-transparent-hovered","[&_.peer:checked~[data-slot='radio-text']]:bg-fill-subtler","[&_.peer:checked~[data-slot='radio-text']]:text-fg-default","[&_.peer:checked~[data-slot='radio-text']]:outline-transparent","[&_.peer:checked~[data-slot='radio-text']]:hover:bg-fill-subtler-hovered","[&_.peer:disabled~[data-slot='radio-text']]:bg-fill-transparent","[&_.peer:disabled~[data-slot='radio-text']]:cursor-not-allowed","[&_.peer:disabled~[data-slot='radio-text']]:text-fg-disabled","[&_.peer:disabled~[data-slot='radio-text']]:outline-border-disabled","[&_.peer:disabled~[data-slot='radio-text']]:hover:bg-fill-transparent","[&_.peer:checked:disabled~[data-slot='radio-text']]:bg-fill-disabled","[&_.peer:checked:disabled~[data-slot='radio-text']]:text-fg-disabled","[&_.peer:checked:disabled~[data-slot='radio-text']]:outline-transparent","[&_.peer[readonly]~[data-slot='radio-text']]:bg-fill-transparent","[&_.peer[readonly]~[data-slot='radio-text']]:cursor-not-allowed","[&_.peer[readonly]~[data-slot='radio-text']]:text-fg-default","[&_.peer[readonly]~[data-slot='radio-text']]:outline-border-subtler","[&_.peer[readonly]~[data-slot='radio-text']]:hover:bg-fill-transparent","[&_.peer:checked[readonly]~[data-slot='radio-text']]:bg-fill-disabled","[&_.peer:checked[readonly]~[data-slot='radio-text']]:text-fg-default","[&_.peer:checked[readonly]~[data-slot='radio-text']]:outline-transparent"].join(" "),{variants:{size:{sm:["[&_[data-slot='radio-text']]:min-h-7","[&_[data-slot='radio-text']]:px-2","[&_[data-slot='radio-text']]:typo-compact-xs-semibold"].join(" "),md:["[&_[data-slot='radio-text']]:min-h-8","[&_[data-slot='radio-text']]:px-3","[&_[data-slot='radio-text']]:typo-compact-xs-semibold"].join(" ")},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",disabled:!1}}),{forwardRef:Nfe,useCallback:Pfe,useImperativeHandle:Afe,useMemo:Ife,useRef:Ofe}=await q("react"),Vk=Nfe(({className:t="",children:e,size:n,disabled:r,readOnly:o,checkValue:a,value:i,handleChange:s,...l},u)=>{const d=Ofe(null),f=Ife(()=>{if(!(typeof i>"u"))return i===a},[i,a]),m=Pfe(v=>{const{name:g,value:w}=v.target;(typeof a=="number"?Number(w)===a:w===a)&&s?.(a,g),l.onChange?.(v)},[s,l,a]);return Afe(u,()=>d.current),ne("label",{"data-slot":"radio-root",className:ae(Efe({size:n,checked:f,disabled:r,readOnly:o}),t),children:[h("input",{ref:d,...l,type:"radio",value:a,checked:f,readOnly:o,disabled:r,onChange:m,className:"peer sr-only"}),h("span",{"data-slot":"radio-check",className:Mfe({size:n,checked:f,disabled:r}),children:h("i",{"data-slot":"radio-icon",className:kfe({size:n,checked:f,disabled:r})})}),e&&h("span",{"data-slot":"radio-text",className:Rfe({size:n,disabled:r}),children:e})]})});Vk.displayName="RBRadioBox";const{forwardRef:Lfe}=await q("react"),$fe=Lfe(({className:t="",children:e,rippleOption:n={disabled:!0},size:r="sm",disabled:o,...a},i)=>h(Rr,{...n,children:h(Vk,{ref:i,size:r,disabled:o,className:ae(Tfe({size:r,disabled:o}),t),...a,children:e})}));$fe.displayName="RBRadioButton";const jk=he("block",{variants:{swipeContent:{true:"swipe-content",false:""}},defaultVariants:{swipeContent:!1}}),Hk=he("relative isolate",{variants:{hasScrollMask:{true:"overflow-hidden",false:""}},defaultVariants:{hasScrollMask:!1}}),Wk=he("relative overflow-x-auto overflow-y-visible whitespace-nowrap [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"),Dfe=he("border-subtle inline-flex items-end border-b",{variants:{size:{sm:"gap-3",md:"gap-3_5",lg:"gap-4"}},defaultVariants:{size:"md"}}),Bfe=he("px-0_5 relative -mb-px inline-flex shrink-0 items-center justify-center border-b text-center transition-colors",{variants:{size:{sm:"typo-compact-sm-semibold h-8",md:"typo-compact-sm2-semibold h-10",lg:"typo-compact-lg-semibold h-12"},selected:{true:"",false:"border-transparent"},disabled:{true:"pointer-events-none cursor-not-allowed",false:"cursor-pointer"},slider:{true:"",false:""}},compoundVariants:[{selected:!0,disabled:!1,slider:!1,className:"text-fg-default z-[1] border-transparent"},{selected:!1,disabled:!1,className:"text-fg-subtler"},{selected:!0,disabled:!0,slider:!1,className:"text-fg-disabled z-[1] border-transparent"},{selected:!1,disabled:!0,className:"text-fg-disabled"},{selected:!0,disabled:!1,slider:!0,className:"text-fg-default z-[1] border-transparent"},{selected:!0,disabled:!0,slider:!0,className:"text-fg-disabled z-[1] border-transparent"}],defaultVariants:{size:"md",selected:!1,disabled:!1,slider:!1}}),zfe=he("bg-fill-default pointer-events-none absolute bottom-[-1px] left-0 z-[1] h-[1px] transition-[transform,width] duration-200",{variants:{visible:{true:"",false:"opacity-0"}},defaultVariants:{visible:!0}}),f0=he("max-w-full",{variants:{hasContent:{true:"pt-2",false:""},swipeContent:{true:"[&_.swiper-wrapper]:!transition-property-[transform]",false:""}},defaultVariants:{hasContent:!0,swipeContent:!1}}),cu=he("",{variants:{active:{true:"block",false:"hidden"},disabled:{true:"",false:""},swipeContent:{true:"block",false:""}},defaultVariants:{active:!1,disabled:!1,swipeContent:!1}}),Q3e=he("inline-flex items-center overflow-x-auto whitespace-nowrap [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",{variants:{size:{sm:"gap-1",md:"gap-1_5",lg:"gap-1_5"}},defaultVariants:{size:"md"}}),Ffe=he("inline-flex shrink-0 items-center justify-center rounded-full transition-colors",{variants:{size:{sm:"px-2_5 typo-compact-sm-semibold h-7",md:"typo-compact-sm2-semibold h-8 px-3",lg:"typo-compact-lg-semibold h-10 px-4"},selected:{true:"",false:"bg-fill-transparent outline-border-subtle outline outline-1 outline-offset-[-1px]"},disabled:{true:"cursor-not-allowed",false:"cursor-pointer"}},compoundVariants:[{selected:!0,disabled:!1,className:"bg-fill-default text-fg-inverse"},{selected:!1,disabled:!1,className:"text-fg-subtler"},{selected:!0,disabled:!0,className:"bg-fill-disabled text-fg-disabled"},{selected:!1,disabled:!0,className:"text-fg-disabled outline-border-disabled"}],defaultVariants:{size:"md",selected:!1,disabled:!1}}),Vfe=he("items-center border-b-0",{variants:{size:{sm:"gap-1",md:"gap-1_5",lg:"gap-1_5"}},defaultVariants:{size:"md"}}),jfe=he("items-center border-b-0",{variants:{size:{xs:"gap-1",xs2:"gap-1"}},defaultVariants:{size:"xs2"}}),Hfe=he("relative inline-flex shrink-0 items-center justify-center rounded-md transition-colors",{variants:{size:{xs:"typo-compact-xs-semibold h-7 px-2",xs2:"typo-compact-xs-semibold h-8 px-3"},selected:{true:"outline outline-1 outline-offset-[-1px] outline-transparent",false:"bg-fill-transparent outline-border-default outline outline-1 outline-offset-[-1px]"},disabled:{true:"cursor-not-allowed",false:"cursor-pointer"}},compoundVariants:[{selected:!0,disabled:!1,className:"bg-fill-subtler text-fg-default"},{selected:!1,disabled:!1,className:"text-fg-default"},{selected:!0,disabled:!0,className:"bg-fill-disabled text-fg-disabled"},{selected:!1,disabled:!0,className:"text-fg-disabled outline-border-disabled"}],defaultVariants:{size:"xs2",selected:!1,disabled:!1}}),{forwardRef:Wfe}=await q("react"),qk=Wfe(({className:t="",size:e="md",slider:n=!1,useDefaultStyle:r=!0,selected:o=!1,disabled:a=!1,role:i,children:s,onClick:l,"aria-selected":u},d)=>h("button",{ref:d,type:"button",disabled:a,role:i,"aria-selected":u,className:ae(r&&Bfe({size:e,selected:o,disabled:a,slider:n}),t),onClick:l,children:h("span",{className:"text-center",children:s})}));qk.displayName="RBTabItem";const{useCallback:I2,useEffect:Ed,useMemo:b1,useRef:Md,useState:qfe}=await q("react"),Ufe=Oh,Yfe=Ih,Gfe=({className:t="",size:e,tabItems:n,activeKey:r,name:o,slider:a,swipeContent:i,disabled:s,rippleOption:l={disabled:!0},tabNavScrollRef:u,destroyInactiveTabPanel:d=!0,tabBtnClassName:f,style:m,onClick:v,handleChange:g})=>{const w=Md(null),y=Md(null),_=Md([]),S=Md(null),x=Md(!1),C=b1(()=>n?.filter(F=>!F?.isHide)??[],[n]),[R,P]=qfe(r??C[0]?.key),O=b1(()=>{const F=C.findIndex(N=>N.key===R);return F===-1?0:F},[R,C]),$=b1(()=>{if(!C.length)return null;if(i){const F=()=>{const{swipeDirection:N}=S.current,{key:V,disabled:z}=C[S.current.activeIndex],{key:I}=C[S.current.activeIndex-1]??C[0],{key:D}=C[S.current.activeIndex+1]??C[S.current.activeIndex];z?(P(N==="next"?D:I),g?.(N==="next"?D:I,o)):(P(V),g?.(V,o))};return h(Yfe,{className:ae(f0({swipeContent:!0})),autoHeight:!0,threshold:1,slidesPerView:1,enabled:!s,onSwiper:N=>{S.current=N},onSlideChange:F,children:C.map(N=>h(Ufe,{className:ae(cu({disabled:s||N.disabled})),style:{visibility:N.disabled?"hidden":"visible"},children:N.children},N.key))})}else return d?h("div",{className:ae(f0()),children:h("div",{className:ae(cu({active:!0,disabled:s||C[O]?.disabled})),children:C[O]?.children})},`contents-${C[O]?.key}`):h("div",{className:ae(f0()),children:C.map((F,N)=>h("div",{className:ae(cu({active:O===N,disabled:s||F.disabled})),children:F.children},`contents-${F.key}`))})},[O,d,s,g,o,i,C]),A=I2(()=>{const F=u?.current??y.current,N=_.current.find(V=>V&&V.classList.contains("active"))??_.current[0];if(N){const{offsetLeft:V,clientWidth:z}=N,I=V-F.offsetWidth/2+z/2;F.scrollTo({top:0,left:I,behavior:"smooth"})}},[u]),M=I2(()=>{const F=w.current;if(!a||!F)return;const N=_.current.find(V=>V&&V.classList.contains("active"))??_.current[0];if(N){const{offsetLeft:V,clientWidth:z}=N;F.style.transform=`translateX(${V}px)`,F.style.width=`${z}px`,x.current?F.style.transition="":(F.style.transition="none",x.current=!0)}else F.style.transform="translateX(0px)",F.style.width="0px"},[a]),L=I2((F,N)=>{typeof r>"u"&&P(F),g?.(F,o),v?.(F,N)},[r,o,g,v]),B=b1(()=>{if(!(typeof window>"u"))return new ResizeObserver(()=>{M()})},[M]);return Ed(()=>{typeof r<"u"&&r!==R&&P(r)},[r,R]),Ed(()=>{M(),A(),S.current&&S.current.slideTo(O,250)},[O,M,A]),Ed(()=>{const F=()=>{M(),A()};return window.addEventListener("resize",F),()=>{window.removeEventListener("resize",F)}},[M,A]),Ed(()=>{i&&S.current&&(s?S.current.disable():S.current.enable())},[s,i]),Ed(()=>{if(B){const F=_.current;return F.forEach(N=>{N&&B.observe(N)}),()=>{F.forEach(N=>{N&&B.unobserve(N)})}}},[B]),ne("div",{"data-slot":"tab-wrapper",className:ae(jk({swipeContent:!!i}),t),style:m,children:[h("div",{"data-slot":"tab-nav",className:ae(Hk()),children:h("div",{"data-slot":"tab-nav-viewport",ref:y,className:ae(Wk()),children:ne("div",{"data-slot":"tab-nav-list",className:ae("relative flex w-full",Dfe({size:e})),children:[C.map((F,N)=>h(Rr,{...l,disabled:l.disabled||F.disabled||s,children:h(qk,{ref:V=>{V&&(_.current[N]=V)},"data-slot":"tab-nav-item",className:ae(R===F.key&&"active",f),slider:!!a,selected:R===F.key,disabled:!!(s||F.disabled),role:"tab","aria-selected":R===F.key,onClick:V=>L(F.key,V),children:F.label})},F.key)),h("span",{ref:w,"data-slot":"tab-slider",className:ae(zfe({visible:!!a})),style:{width:0}})]})})}),h("div",{"data-slot":"tab-content",children:$})]})};Gfe.displayName="RBTab";const{forwardRef:Kfe}=await q("react"),Uk=Kfe(({className:t="",size:e="md",selected:n=!1,disabled:r=!1,role:o,children:a,onClick:i,"aria-selected":s},l)=>h("button",{ref:l,type:"button",disabled:r,role:o,"aria-selected":s,className:ae(Ffe({size:e,selected:n,disabled:r}),t),onClick:i,children:a}));Uk.displayName="RBChipItem";const{useCallback:O2,useEffect:kd,useMemo:Rd,useRef:Td,useState:Xfe}=await q("react"),Zfe=Oh,Qfe=Ih,Jfe=({className:t="",size:e,tabItems:n,activeKey:r,name:o,slider:a,swipeContent:i,disabled:s,rippleOption:l={disabled:!0},tabNavScrollRef:u,destroyInactiveTabPanel:d=!0,tabBtnClassName:f,style:m,onClick:v,handleChange:g})=>{const w=Td(null),y=Td(null),_=Td([]),S=Td(null),x=Td(!1),C=Rd(()=>n?.filter(N=>!N?.isHide)??[],[n]),[R,P]=Xfe(r??C[0]?.key),O=Rd(()=>{const N=C.findIndex(V=>V.key===R);return N===-1?0:N},[R,C]),$=Rd(()=>C[O]?.children!=null,[O,C]),A=Rd(()=>C.length?i?h(Qfe,{autoHeight:!0,threshold:1,slidesPerView:1,enabled:!s,onSwiper:V=>{S.current=V},onSlideChange:()=>{const{swipeDirection:V}=S.current,{key:z,disabled:I}=C[S.current.activeIndex],{key:D}=C[S.current.activeIndex-1]??C[0],{key:U}=C[S.current.activeIndex+1]??C[S.current.activeIndex];I?(P(V==="next"?U:D),g?.(V==="next"?U:D,o)):(P(z),g?.(z,o))},children:C.map(V=>h(Zfe,{className:ae(cu({active:!0,swipeContent:!0,disabled:s||V.disabled})),style:{visibility:V.disabled?"hidden":"visible"},children:V.children},V.key))}):d?h("div",{children:h("div",{className:ae(cu(),{active:!0,disabled:s||C[O]?.disabled}),children:C[O]?.children})},`contents-${C[O]?.key}`):h("div",{children:C.map((N,V)=>h("div",{className:ae(cu(),{active:O===V,disabled:s||N.disabled}),children:N.children},`contents-${N.key}`))}):null,[O,d,s,g,o,i,C]),M=O2(()=>{const N=u?.current??y.current,V=_.current.find(z=>z&&z.classList.contains("active"))??_.current[0];if(V){const{offsetLeft:z,clientWidth:I}=V,D=z-N.offsetWidth/2+I/2;N.scrollTo({top:0,left:D,behavior:"smooth"})}},[u]),L=O2(()=>{const N=w.current;if(!a||!N)return;const V=_.current.find(z=>z&&z.classList.contains("active"))??_.current[0];if(V){const{offsetLeft:z,clientWidth:I}=V;N.style.transform=`translateX(${z}px)`,N.style.width=`${I}px`,x.current?N.style.transition="":(N.style.transition="none",x.current=!0)}else N.style.transform="translateX(0px)",N.style.width="0px"},[a]),B=O2((N,V)=>{typeof r>"u"&&P(N),g?.(N,o),v?.(N,V)},[r,o,g,v]),F=Rd(()=>{if(!(typeof window>"u"))return new ResizeObserver(()=>{L()})},[L]);return kd(()=>{typeof r<"u"&&r!==R&&P(r)},[r,R]),kd(()=>{L(),M(),S.current&&S.current.slideTo(O,250)},[O,L,M]),kd(()=>{const N=()=>{L(),M()};return window.addEventListener("resize",N),()=>{window.removeEventListener("resize",N)}},[L,M]),kd(()=>{i&&S.current&&(s?S.current.disable():S.current.enable())},[s,i]),kd(()=>{if(F){const N=_.current;return N.forEach(V=>{V&&F.observe(V)}),()=>{N.forEach(V=>{V&&F.unobserve(V)})}}},[F]),ne("div",{"data-slot":"chip-tab-wrapper",className:ae(jk({swipeContent:!!i}),t),style:m,children:[h("div",{"data-slot":"chip-tab-nav",className:ae(Hk()),children:h("div",{"data-slot":"chip-tab-nav-viewport",ref:y,className:ae(Wk()),children:h("div",{"data-slot":"chip-tab-nav-list",className:ae("relative flex",Vfe({size:e})),children:C.map((N,V)=>h(Rr,{...l,disabled:l.disabled||N.disabled||s,children:h(Uk,{ref:z=>{z&&(_.current[V]=z)},"data-slot":"chip-tab-nav-item",className:ae(R===N.key&&"active",f),size:e,selected:R===N.key,disabled:!!(s||N.disabled),role:"tab","aria-selected":R===N.key,onClick:z=>B(N.key,z),children:N.label})},N.key))})})}),h("div",{"data-slot":"chip-tab-content",className:ae(f0({hasContent:$})),children:A})]})};Jfe.displayName="RBTab";const{forwardRef:epe}=await q("react"),Yk=epe(({className:t="",size:e="xs2",selected:n=!1,disabled:r=!1,role:o,children:a,onClick:i,"aria-selected":s,...l},u)=>h("button",{ref:u,type:"button",disabled:r,role:o,"aria-selected":s,"data-pad-focus":"true",className:ae(Hfe({size:e,selected:n,disabled:r}),t),onClick:i,...l,children:a}));Yk.displayName="RBChipsBoxItem";const{useCallback:y1,useEffect:_1,useMemo:L2,useRef:$2,useState:Yc}=await q("react"),tpe=({className:t="",size:e="xs2",tabItems:n,activeKey:r,name:o,disabled:a=!1,destroyInactiveTabPanel:i=!0,rippleOption:s={disabled:!0},tabBtnClassName:l="",style:u,enableOverflowExpand:d=!0,showBottomBorder:f=!0,rightIconButtonProps:m,leftSlot:v,handleChange:g,onClick:w})=>{const[y,_]=Yc(!1),[S,x]=Yc(!1),[C,R]=Yc(0),P=$2(null),O=$2([]),$=$2(null),A=L2(()=>n?.filter(te=>!te?.isHide)??[],[n]),[M,L]=Yc(r??A[0]?.key),[B,F]=Yc(!1),[N,V]=Yc(!1),z=y1(()=>{const te=P.current;if(!te){x(!1),R(0);return}const ue=te.scrollWidth>te.clientWidth+1;x(ue),R(ue?te.clientWidth/2:0)},[]),I=L2(()=>{const te=A.findIndex(ue=>ue.key===M);return te===-1?0:te},[M,A]),D=y1(()=>{if(z(),y){F(!1),V(!1);return}const te=P.current;if(!te)return;if(!(te.scrollWidth>te.clientWidth+1)){F(!1),V(!1);return}const ve=Math.max(0,te.scrollWidth-te.clientWidth);F(te.scrollLeft>1),V(te.scrollLeft<ve-1)},[z,y]),U=y1(()=>{if(y)return;const te=P.current,ue=O.current.find(Le=>Le&&Le.classList.contains("active"))??O.current[0];if(!te||!ue)return;const{offsetLeft:ve,clientWidth:we}=ue,ye=ve-te.offsetWidth/2+we/2;te.scrollTo({top:0,left:ye,behavior:"smooth"})},[y]),Y=y1((te,ue)=>{typeof r>"u"&&L(te),g?.(te,o),w?.(te,ue)},[r,g,o,w]),oe=te=>{_(ue=>!ue),m?.onClick?.(te)};_1(()=>{typeof r<"u"&&r!==M&&L(r)},[r,M]),_1(()=>{U(),D()},[I,y,U,D]),_1(()=>{z();const te=P.current;if(!te)return;const ue=new ResizeObserver(()=>{z(),D(),U()});ue.observe(te);const ve=()=>{z(),D(),U()};return window.addEventListener("resize",ve),()=>{ue.disconnect(),window.removeEventListener("resize",ve)}},[z,D,U,A]),_1(()=>{const te=P.current;if(!te||y)return;const ue=()=>{$.current!==null&&window.clearTimeout($.current),D(),$.current=window.setTimeout(()=>{D()},140)};return D(),te.addEventListener("scroll",ue,{passive:!0}),()=>{te.removeEventListener("scroll",ue),$.current!==null&&window.clearTimeout($.current)}},[y,D]);const Q=y?h(ow,{}):h(K0,{}),re=e==="xs2"?"h-11":"h-10",le=d&&(y||S),ee=L2(()=>A.length?i?h("div",{children:h("div",{className:ae("block",(a||A[I]?.disabled)&&"pointer-events-none opacity-50"),children:A[I]?.children})},`contents-${A[I]?.key}`):h("div",{children:A.map((te,ue)=>h("div",{className:ae(I===ue?"block":"hidden"),children:te.children},`contents-${te.key}`))}):null,[I,i,a,A]);return ne("div",{className:ae("block",t),style:u,children:[ne("div",{className:ae("relative isolate",f&&"border-subtler border-b"),children:[v&&h("div",{className:"absolute top-0 bottom-0 left-0 z-[4] flex items-center pl-1",children:v}),h("div",{ref:P,className:ae("relative p-1.5 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",y?"overflow-x-visible overflow-y-visible pr-0":"overflow-x-auto overflow-y-hidden pr-10 whitespace-nowrap",v&&"pl-9"),children:ne("div",{className:ae(jfe({size:e}),"relative flex",y?"w-full flex-wrap content-start gap-y-1":"w-max min-w-full flex-nowrap"),children:[A.map((te,ue)=>h(Rr,{...s,disabled:s.disabled||te.disabled||a,children:h(Yk,{ref:ve=>{O.current[ue]=ve},className:ae(M===te.key&&"active",l),size:e,selected:M===te.key,disabled:!!(a||te.disabled),role:"tab","aria-selected":M===te.key,onClick:ve=>Y(te.key,ve),children:te.label})},te.key)),h("div",{"aria-hidden":"true",className:y?"hidden":"inline-block",style:{width:`${C}px`,flexShrink:0}})]})}),!y&&ne(Mr,{children:[h("div",{"aria-hidden":"true",className:ae("to-bg-default pointer-events-none absolute top-0 bottom-px -left-px z-[2] w-11 shrink-0 bg-gradient-to-l from-transparent to-[30%] transition-opacity duration-150",B?"opacity-100":"opacity-0")}),h("div",{"aria-hidden":"true",className:ae("from-bg-default pointer-events-none absolute top-0 -right-px bottom-px z-[3] w-11 shrink-0 bg-gradient-to-l from-[30%] to-transparent transition-opacity duration-150",N?"opacity-100":"opacity-0")})]}),le?ne("div",{className:ae("pointer-events-none absolute top-0 right-0 z-[5] w-9",re,"from-bg-default bg-gradient-to-l from-[80%] to-transparent"),children:[y?null:h("div",{className:"bg-default absolute top-0 right-0 bottom-0 w-px"}),h("div",{className:ae("pointer-events-auto flex items-center justify-center",re),children:h(d8,{size:"3xs",variant:"circle",icon:Q,...m,onClick:oe})})]}):null]}),ee]})};tpe.displayName="RBChipsBoxTab";const Gk=({className:t,borderClassName:e,pathClassName:n,size:r,style:o})=>ne("svg",{className:ae("spinner","animate-spinner-rotate relative z-2 stroke-[5px]",t),viewBox:"0 0 50 50",width:r,height:r,stroke:"currentColor",style:o,children:[h("circle",{className:ae("stroke-linecap-round stroke-width-inherit stroke-inherit opacity-30",e),cx:"25",cy:"25",r:"20",fill:"none"}),h("circle",{className:ae("animate-spinner-path-dash infinite stroke-linecap-round stroke-width-inherit stroke-inherit ease-in-out",n),cx:"25",cy:"25",r:"20",fill:"none"})]}),npe=he(["overflow-x-auto overflow-y-hidden min-[1280px]:overflow-hidden","[&::-webkit-scrollbar]:h-0 [&::-webkit-scrollbar]:w-0","[&_table]:w-full [&_table]:min-w-full [&_table]:border-collapse","[&_th]:relative [&_th]:h-9 [&_th]:border-b [&_th]:border-b-[var(--color-border-subtler)]","[&_th]:bg-fill-transparent [&_th]:px-2 [&_th]:py-0","[&_th]:text-fg-default [&_th]:text-left [&_th]:align-middle","[&_td]:relative [&_td]:min-h-7 [&_td]:border-b [&_td]:border-b-[var(--color-border-subtler)]","[&_td]:bg-fill-transparent [&_td]:py-1_5 [&_td]:px-2","[&_td]:typo-body-xs-normal [&_td]:text-fg-subtle [&_td]:align-middle","[&_tbody_tr]:relative [&_tbody_tr]:transition-all [&_tbody_tr]:duration-200","[&_[data-slot='ico-check']]:mr-0 [&_label]:p-0"].join(" "),{variants:{noData:{true:"overflow-hidden",false:""},loading:{true:"",false:""},stickyThead:{true:["[&_table]:border-separate [&_table]:border-spacing-0","[&_thead_tr]:sticky [&_thead_tr]:top-0 [&_thead_tr]:z-10","[&_th]:sticky [&_th]:top-0 [&_th]:z-10","[&_th]:bg-inherit [&_th]:bg-clip-padding","[&_th]:shadow-[inset_0_-1px_0_0_var(--color-border-subtler)]"].join(" "),false:""}},defaultVariants:{noData:!1,loading:!1,stickyThead:!1}}),rpe=he("transition-colors duration-150",{variants:{sortable:{true:"hover:bg-fill-transparent-hovered cursor-pointer select-none",false:""},align:{left:"",center:"",right:""}},defaultVariants:{sortable:!1,align:"left"}}),ope=he("typo-compact-xs-semibold text-fg-default gap-0_5 inline-flex h-full w-full items-center bg-transparent",{variants:{align:{left:"justify-start text-left",center:"justify-center text-center",right:"justify-end text-right"}},defaultVariants:{align:"left"}}),ape=he("text-fg-default inline-flex size-4 items-center justify-center bg-transparent [&>svg]:size-full"),ipe=he("flex min-h-36 w-full items-center justify-center"),spe=he("!border-b-0 !border-none !p-0"),lpe=he("!table-row"),cpe=he("min-h-60 w-full max-w-[calc(100vw-2.5rem)] border-b-0"),upe=he("",{variants:{expend:{true:"hover:bg-fill-transparent-hovered cursor-pointer",false:""},align:{left:"text-left",center:"text-center",right:"text-right"}},defaultVariants:{expend:!1,align:"left"}}),dpe=he("[&_.table-checkbox]:w-2.5"),fpe=he(""),ppe=he("!overflow-hidden !border-none !p-0"),hpe=he("!m-0 overflow-hidden !p-0 transition-[max-height] duration-200"),mpe=he("border-subtler py-2_5 border-b px-3"),{useCallback:gpe,useState:vpe}=await q("react"),Kk=({className:t="",children:e,align:n="left",fieldId:r,size:o="",colSpan:a,rowSpan:i,expend:s,expendOpen:l,handleExpendToggle:u,onClick:d})=>{const[f,m]=vpe(l),v=gpe(g=>{if(d?.(g),!!s)try{m(w=>!w)}catch(w){console.error(w)}finally{setTimeout(()=>{u?.(!f)},10)}},[s,f,d,u]);return h("td",{"data-slot":"table-cell",className:ae(upe({expend:s,align:n}),r,s&&l&&"expend-open",t),colSpan:a,rowSpan:i,style:{width:o},onClick:v,children:h(Bf,{children:e})})};Kk.displayName="RBTdColumn";const{Children:Kv,Fragment:wpe,isValidElement:Xk,useMemo:D2,useState:d6}=await q("react"),Xv=t=>{let e=[];return Kv.forEach(t,n=>{if(Xk(n)){const r=n;r.type===wpe?e=[...e,...Xv(r.props.children)]:typeof n.type=="function"&&(n.type.name==="RBTdColumn"||n.type.displayName==="RBTdColumn")?e.push(n):e=[...e,...Xv(r.props.children)]}}),e},J3e=({className:t="",list:e,children:n,loadingElement:r=h(Gk,{className:"text-fg-default size-7",borderClassName:"text-fg-subtler opacity-100"}),errorFallback:o,noDataMsg:a,hideThead:i,stickyThead:s=!1,theadTopRows:l,sortUpElement:u=h(A8,{}),sortDownElement:d=h(I8,{}),sortNormalElement:f=h(b8,{}),loading:m})=>{const[v,g]=d6(!1),[w,y]=d6(null),_=D2(()=>{const R=(e||[]).length>0?e?.[0]:{};return Xv(n({item:R,index:0}))},[n,e]),S=D2(()=>{const R=_?.map(P=>{const O=P;return{className:O.props?.className??"",align:O.props?.align??"left",label:O.props?.label,fieldId:O.props?.fieldId,enableSorting:typeof O.props?.sortValue<"u"||!!O.props?.handleClickSort,handleClickSort:O.props?.handleClickSort,thColSpan:O.props?.thColSpan,thRowSpan:O.props?.thRowSpan,rowSpan:O.props?.rowSpan,colSpan:O.props?.colSpan,size:O.props?.size,order:O.props?.order??""}});return R?R.filter(P=>typeof P.label<"u").map(P=>w?.fieldId?{...P,order:w?.fieldId===P.fieldId?w?.order:""}:P):[]},[_,w]),x=D2(()=>{const{fieldId:R,order:P}=w??{};if(!P)return e;const $=e.map((A,M)=>Kv.map(n({item:A,index:M}),L=>{if(Xk(L)){const B=L;return B.type===Kk?L:Kv.toArray(B.props.children)}return[]})).reduce((A,M)=>{const L=M.find(B=>B.props.fieldId===R);return A.push(L.props?.sortValue??0),A},[]);return kn.orderBy(e.map((A,M)=>({...A,sortValue:$[M]})),["sortValue"],[P])},[e,w,n]),C=async R=>{let P="desc";const{order:O,index:$,fieldId:A,enableSorting:M,handleClickSort:L}=R;if(!M||v)return;O==="desc"?P="asc":O==="asc"&&(P="");const B={index:$,order:P,fieldId:A};if(y(B),L)try{g(!0),await L(B)}finally{g(!1)}};return h(Bf,{fallback:o,children:h("div",{"data-slot":"table-root",className:ae(npe({noData:!!e&&e.length===0,loading:!e||v||m,stickyThead:s}),t),children:ne("table",{"data-slot":"table",children:[!i&&ne("thead",{"data-slot":"table-head",children:[l,h("tr",{"data-slot":"table-head-row",children:S.map((R,P)=>h("th",{"data-slot":"table-head-cell",className:ae(rpe({sortable:R.enableSorting,align:R.align}),R.fieldId,R.className),rowSpan:R.thRowSpan??R.rowSpan,colSpan:R.thColSpan??R.colSpan,style:{width:R.size},onClick:()=>C({...R,index:P}),children:ne("div",{"data-slot":"table-head-cell-content",className:ope({align:R.align}),children:[R.label,!!R.enableSorting&&ne("span",{"data-slot":"table-head-cell-sort-icon",className:ape(),children:[R.order!=="desc"&&R.order!=="asc"&&f,R.order==="desc"&&d,R.order==="asc"&&u]})]})},`th-${R.fieldId??P}`))})]}),ne("tbody",{"data-slot":"table-body",children:[(!e||v||m)&&h("tr",{"data-slot":"table-loading-row",children:h("td",{"data-slot":"table-loading-cell",className:spe(),colSpan:S.length,children:h("div",{"data-slot":"table-loading-content",className:ipe(),children:r})})}),!!e&&!m&&!v&&(e.length>0?x.map((R,P)=>n({item:R,index:P})):h("tr",{"data-slot":"table-empty-row",className:lpe(),children:h("td",{"data-slot":"table-empty-cell",colSpan:S.length,children:typeof a=="object"?a:h(A3,{"data-slot":"table-empty-content",className:cpe(),nullText:a})})}))]})]})})})},{useCallback:f6,useEffect:p6,useMemo:h6,useRef:bpe,useState:ype}=await q("react"),_pe=({className:t="",children:e,expendOpen:n=!1,handleExpendChange:r,beforeExpendOpen:o,onClick:a})=>{const i=bpe(null),[s,l]=ype(n),u=f6(v=>{if(i.current){const g=typeof v=="boolean"?v:!s,w=i.current.firstChild;w&&(w.style.maxHeight=g?`${w.scrollHeight}px`:"0px")}},[i,s]),d=f6(async()=>{try{o&&!s&&(await o(),await ok(10))}catch(v){console.error(v)}finally{l(!s),r?.(!s)}},[s,r,o]),f=h6(()=>{const v=w=>w.flatMap(y=>y?.props?y.type?.displayName==="RBTdColumn"?{...y,props:{...y.props,handleExpendToggle:d,expendOpen:s}}:Array.isArray(y.props.children)?v(y.props.children):[]:[]),g=Array.isArray(e)?e:[e];return v(g)},[e,s,d]),m=h6(()=>{const v=w=>w.flatMap(y=>{if(y?.props){if(y.type?.displayName==="RBTdExpend")return y;if(Array.isArray(y.props.children))return v(y.props.children)}}),g=Array.isArray(e)?e:[e];return v(g).filter(w=>w)[0]},[e]);return p6(()=>{u(s)},[s,u]),p6(()=>{typeof n<"u"&&l(n)},[n]),ne(Mr,{children:[h("tr",{"data-slot":"table-row",className:ae(dpe(),t),onClick:a,children:f}),!!m&&h("tr",{"data-slot":"table-expand-row",className:fpe(),children:h("td",{"data-slot":"table-expand-cell",ref:i,className:ppe(),colSpan:f.length,children:m})})]})};_pe.displayName="RBTableRow";const xpe=({className:t="",children:e,style:n})=>h("div",{"data-slot":"table-expand-content",className:hpe(),children:h("div",{"data-slot":"table-expand-content-inner",className:ae(mpe(),t),style:n,children:e})});xpe.displayName="RBTdExpend";const Spe=he("inline-flex items-center justify-center rounded-full",{variants:{type:{number:"typo-compact-2xs-semibold size-4 min-w-4 gap-1 overflow-hidden px-1",capsule:"typo-compact-2xs-semibold gap-1_5 px-1_5 py-0_5",soft:"typo-compact-2xs-semibold gap-1_5 px-1_5 py-0_5",transparent:"typo-compact-2xs-semibold gap-0_5 rounded-none p-0"}},defaultVariants:{type:"number"}}),Cpe=he("",{variants:{variant:{solid:"bg-fill-default text-fg-inverse hover:bg-fill-default-hovered",soft:"bg-fill-subtler text-fg-default hover:bg-fill-subtler-hovered",outlined:"bg-fill-transparent text-fg-default outline-border-default hover:bg-fill-transparent-hovered outline outline-1 outline-offset-[-1px]",ghost:"bg-fill-transparent text-fg-default hover:bg-fill-transparent-hovered"}},defaultVariants:{variant:"solid"}}),Epe=he("",{variants:{color:{red:"bg-fill-danger text-fg-inverse",orange:"bg-fg-warning text-fg-inverse",green:"bg-fill-success text-fg-inverse",blue:"bg-fill-information text-fg-inverse",purple:"bg-fill-debug text-fg-inverse",gray:"bg-fill-subtle text-fg-inverse","gray-subtle":"bg-fill-subtler text-fg-inverse"}},defaultVariants:{color:"red"}}),Mpe=he("",{variants:{color:{red:"bg-fill-danger-subtlest text-fg-danger",orange:"bg-fill-caution-subtlest text-fg-caution",green:"bg-fill-success-subtlest text-fg-success",blue:"bg-fill-information-subtlest text-fg-information",purple:"bg-fill-debug-subtlest text-fg-debug",gray:"bg-fill-disabled text-fg-subtle","gray-subtle":"bg-fill-subtlest text-fg-subtler"}},defaultVariants:{color:"red"}}),kpe=he("",{variants:{color:{red:"text-fg-danger bg-transparent",orange:"text-fg-warning bg-transparent",green:"text-fg-success bg-transparent",blue:"text-fg-information bg-transparent",purple:"text-fg-debug bg-transparent",gray:"text-fg-subtle bg-transparent","gray-subtle":"text-fg-subtler bg-transparent"}},defaultVariants:{color:"red"}});function ebe({className:t,type:e="number",numberVariant:n="solid",color:r="red",leadingIcon:o,children:a}){return h("span",{"data-slot":"badge",className:ae(Spe({type:e}),{[Cpe({variant:n})]:e==="number",[Epe({color:r})]:e==="capsule",[Mpe({color:r})]:e==="soft",[kpe({color:r})]:e==="transparent"},t),children:e==="transparent"?ne(Mr,{children:[o,h("span",{"data-slot":"badge-content",className:"relative top-px inline-flex items-center",children:a})]}):a})}const Rpe=he("inline-flex w-full flex-col items-start gap-7 overflow-hidden"),Tpe=he("flex h-48 w-full flex-col items-center justify-center gap-3 overflow-hidden px-9 py-5"),Npe=he("text-fg-subtle typo-body-xs2-normal w-full max-w-[600px] text-center"),Ppe=he("text-fg-subtler inline-flex size-6 items-center justify-center [&_svg]:size-full");function m6({className:t,type:e="button",message:n="엠프티뷰의 안내 메세지를 입력해주세요.",description:r,buttonLabel:o="버튼 라벨",onButtonClick:a,icon:i}){const s=e==="button";return h("div",{"data-slot":"empty-view",className:ae(Rpe(),t),children:ne("div",{"data-slot":"empty-view-section",className:Tpe(),children:[!s&&h("i",{"data-slot":"empty-view-icon","aria-hidden":!0,className:Ppe(),children:i??h(Z0,{})}),ne("div",{children:[h("p",{"data-slot":"empty-view-message",className:Npe(),children:n}),r&&h("p",{"data-slot":"empty-view-description",className:"text-fg-subtler typo-body-xs2-normal w-full max-w-150 text-center",children:r})]}),s&&h(Wr,{"data-slot":"empty-view-button",size:"sm",variant:"soft",onClick:a,children:o})]})})}const Ape=he("relative z-[1] w-full",{variants:{disabled:{true:"[&_[data-slot=multi-range-range]]:bg-fill-default [&_[data-slot=text-input]]:bg-fill-control-surface-disabled [&_[data-slot=text-input]]:text-fg-disabled [&_[data-slot=text-input]]:outline-border-disabled [&_[data-slot=multi-range-text-field]]:text-fg-disabled [&_input[type='range']::-moz-range-thumb]:border-default [&_input[type='range']::-moz-range-thumb]:bg-default [&_input[type='range']::-webkit-slider-thumb]:border-default [&_input[type='range']::-webkit-slider-thumb]:bg-default opacity-30 [&_[data-slot=multi-range-slider]]:pointer-events-none [&_[data-slot=multi-range-slider]]:cursor-not-allowed [&_input[type='range']::-moz-range-thumb]:cursor-not-allowed [&_input[type='range']::-webkit-slider-thumb]:cursor-not-allowed",false:""}},defaultVariants:{disabled:!1}}),Ipe=he("relative inline-flex w-full items-center justify-center"),Ope=he("h-[var(--mri-slider-height)] w-[calc(100%_-_var(--mri-thumb-size))]"),g6=he("pointer-events-none absolute top-1/2 left-0 z-[3] h-[var(--mri-slider-height)] w-full -translate-y-1/2 appearance-none bg-transparent opacity-100"),Lpe=he("relative z-[2] h-[var(--mri-slider-height)]"),$pe=he("absolute inset-0 z-[1] rounded-full bg-[var(--mri-track-color,var(--color-fill-subtler))]"),Dpe=he("absolute top-0 bottom-0 z-[2] rounded-full bg-[var(--mri-range-color,var(--color-fill-brand))]"),Bpe=he("flex w-full items-start justify-between pt-1"),v6=he("",{variants:{align:{left:"",right:"ml-auto text-right"}},defaultVariants:{align:"left"}}),w6=he("typo-compact-xs2-normal text-fg-default bg-fill-control-surface outline-border-default inline-block h-8 w-auto shrink-0 rounded-md px-2.5 text-center outline outline-1 outline-offset-[-1px] transition-colors"),b6="[&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:h-[var(--mri-thumb-size)] [&::-webkit-slider-thumb]:w-[var(--mri-thumb-size)] [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border [&::-webkit-slider-thumb]:border-[var(--mri-thumb-border-color,var(--color-fg-default))] [&::-webkit-slider-thumb]:bg-[var(--mri-thumb-color,var(--color-fg-default))] [&::-webkit-slider-thumb]:cursor-pointer [&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:h-[var(--mri-thumb-size)] [&::-moz-range-thumb]:w-[var(--mri-thumb-size)] [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border [&::-moz-range-thumb]:border-[var(--mri-thumb-border-color,var(--color-fg-default))] [&::-moz-range-thumb]:bg-[var(--mri-thumb-color,var(--color-fg-wte))] [&::-moz-range-thumb]:cursor-pointer",{forwardRef:zpe,useCallback:x1,useEffect:y6,useImperativeHandle:Fpe,useMemo:B2,useRef:Nd,useState:Vpe}=await q("react"),jpe=zpe((t,e)=>{const{className:n="",value:r,name:o,min:a,max:i,step:s=1,thumbSize:l=12,sliderHeight:u=4,thumbBorderColor:d,thumbColor:f,trackColor:m,rangeColor:v,showTextInput:g=!0,disabled:w=!1,handleChange:y,onChange:_}=t,S=Nd([a,i]),x=Nd(null),C=Nd(null),R=Nd(null),P=Nd(null),[O,$]=Vpe([a,i]),A=B2(()=>O.map(I=>(I-a)/(i-a)*100),[O,a,i]),M=w||a===i,L=B2(()=>Wo(O[0]),[O]),B=B2(()=>Wo(O[1]),[O]),F=x1(()=>{!R.current||!P.current||(R.current.value=L,P.current.value=B)},[L,B]),N=x1(I=>{I.key==="Enter"&&!I.nativeEvent.isComposing&&(R.current.blur(),P.current.blur())},[]),V=x1((I,D,U=!1)=>{if(g&&(!R.current||!P.current))return;const{value:Y}=D.target;if(I==="left"){let oe=Math.min(Dl(Y),O[1]-s);oe=oe>a?oe:a,$([oe,O[1]]),U&&y?.([oe,O[1]],o),R.current.value=Wo(oe)}else{let oe=Math.max(Dl(Y),O[0]+s);oe=oe<=i?oe:i,$([O[0],oe]),U&&y?.([O[0],oe],o),P.current.value=Wo(oe)}_?.(D),F()},[_,g,F,y,o,O,s,a,i]),z=x1(()=>{O.some((I,D)=>I!==S.current[D])&&(S.current=[...O],y?.(O,o))},[O,o,y]);return y6(()=>{F()},[F]),y6(()=>{typeof r<"u"&&($(r),S.current=[...r])},[r]),Fpe(e,()=>({focus:x.current.focus})),ne("div",{"data-slot":"multi-range-input",className:ae(Ape({disabled:M}),n),style:{"--mri-thumb-size":`${l}px`,"--mri-slider-height":`${u}px`,"--mri-thumb-border-color":d,"--mri-thumb-color":f,"--mri-track-color":m,"--mri-range-color":v},children:[h("div",{className:Ipe(),style:{height:"var(--mri-thumb-size)"},children:ne("div",{className:Ope(),children:[h("input",{ref:x,type:"range",value:O[0],min:a,max:i,step:s,disabled:M,className:ae(g6(),b6),onChange:I=>V("left",I),onMouseUp:z,onMouseLeave:z,onTouchEnd:z}),h("input",{ref:C,type:"range",value:O[1],min:a,max:i,step:s,disabled:M,className:ae(g6(),b6),onChange:I=>V("right",I),onMouseUp:z,onMouseLeave:z,onTouchEnd:z}),ne("div",{"data-slot":"multi-range-slider",className:Lpe(),children:[h("div",{"data-slot":"multi-range-track",className:$pe()}),h("div",{"data-slot":"multi-range-range",className:Dpe(),style:{left:`${A[0]}%`,right:`${100-A[1]}%`}})]})]})}),g&&ne("div",{"data-slot":"multi-range-text-wrap",className:Bpe(),children:[h("div",{className:v6({align:"left"}),children:h("input",{"data-slot":"multi-range-text-field",ref:R,type:"text",inputMode:"numeric",defaultValue:O[0],size:Math.max(L.length,1),disabled:M,className:w6(),onBlur:I=>V("left",I,!0),onKeyDown:N})}),h("div",{className:v6({align:"right"}),children:h("input",{"data-slot":"multi-range-text-field",ref:P,type:"text",inputMode:"numeric",defaultValue:O[1],size:Math.max(B.length,1),disabled:M,className:w6(),onBlur:I=>V("right",I,!0),onKeyDown:N})})]})]})});jpe.displayName="MultiRangeInput";const Hpe=he("relative touch-none rounded-full",{variants:{disabled:{false:"",true:"cursor-not-allowed [&>*]:pointer-events-none [&>*]:opacity-40"}},defaultVariants:{disabled:!1}}),Wpe=he(["relative flex h-full cursor-grab items-center justify-center","will-change-[transform,opacity]","transition-opacity duration-150 ease-in-out"],{variants:{active:{false:"",true:"cursor-grabbing opacity-100"}},defaultVariants:{active:!1}}),qpe=he(["absolute top-0 left-0 z-[1] h-full w-full","will-change-transform [backface-visibility:hidden]"]),Upe=he("shadow-down-sm relative block h-full rounded-full bg-[var(--joy-stick-area-color,var(--color-fill-inverse))] opacity-40 transition-opacity duration-100",{variants:{active:{false:"",true:"opacity-100"}},defaultVariants:{active:!1}}),Ype=he(["relative z-[2] h-10 w-10 rounded-full","border-disabled shadow-down-xs border","pointer-events-none touch-none","will-change-transform [backface-visibility:hidden]","transition-[scale,box-shadow] duration-200 ease-out"],{variants:{active:{false:"",true:"shadow-down-sm scale-110"}},defaultVariants:{active:!1}}),Gpe=he(["pointer-events-none absolute inset-0 rounded-full","[--joy-sweep:calc(30deg_+_var(--joy-ratio,0)_*_45deg)]","opacity-[var(--joy-ratio,0)] transition-opacity duration-100","bg-[conic-gradient(from_calc(var(--joy-angle,0deg)_-_var(--joy-sweep)_/_2),transparent_0deg,var(--joy-arc-color)_calc(var(--joy-sweep)_*_0.3),var(--joy-arc-color)_calc(var(--joy-sweep)_*_0.7),transparent_var(--joy-sweep))]","[mask:radial-gradient(closest-side,transparent_calc(100%_-_3px_-_var(--joy-ratio,0)_*_1px),#000_calc(100%_-_2px_-_var(--joy-ratio,0)_*_1px))]"]),Kpe=he("pointer-events-none absolute top-0 left-0 z-[2] h-full w-full touch-none"),S1=he(["absolute z-[1] inline-flex items-center justify-center","size-3.5 text-center","transition-[opacity,color] duration-150 ease-out","[&_svg]:inline-block [&_svg]:size-3.5 [&_svg]:align-middle"],{variants:{position:{top:"top-2 left-1/2 -translate-x-1/2",bottom:"bottom-2 left-1/2 -translate-x-1/2",left:"top-1/2 left-2 -translate-y-1/2",right:"top-1/2 right-2 -translate-y-1/2"},highlighted:{false:"text-fg-default opacity-70",true:"text-[var(--joy-arc-color)] opacity-100"}},defaultVariants:{highlighted:!1}}),Xpe=he("pointer-events-none absolute top-0 left-0 z-[2] h-full w-full touch-none"),_6=he(["absolute z-[1] inline-flex size-5 items-center justify-center","text-center transition-[opacity,color] duration-150 ease-out","[&_svg]:inline-block [&_svg]:size-5","[&_svg_path]:stroke-opacity-100"],{variants:{position:{top:"top-[5px] left-1/2 -translate-x-1/2",bottom:"bottom-[5px] left-1/2 -translate-x-1/2 [&_svg]:rotate-x-180 [&_svg]:rotate-y-180"},highlighted:{false:"text-fg-default opacity-40",true:"text-[var(--joy-arc-color)] opacity-100"}},defaultVariants:{highlighted:!1}}),{useRef:Pi,useCallback:Cl,useId:Zpe,useEffect:x6,useState:S6}=await q("react"),tbe=({className:t,type:e="direction",size:n=100,stickColor:r="radial-gradient(circle, #727272 0%, #3B3B3B 100%)",arcColor:o="var(--color-scale-zinc-100)",stickAreaColor:a="var(--color-fill-inverse)",throttleThreshold:i=.05,throttleDuration:s,xOnly:l=!1,yOnly:u=!1,disableDiagonal:d=!1,disabled:f=!1,keepMoveEventInterval:m,paddingSize:v=10,style:g,onStart:w,onMove:y,onEnd:_})=>{const S=Pi(null),x=Pi(null),C=Pi(null),R=Pi(null),P=Pi(null),O=Pi(null),$=Pi(null),A=Pi({x:0,y:0}),M=Pi({type:"none",startPosition:{x:0,y:0},normalizedDistance:{x:0,y:0},rotate:{radian:0,degree:0},distance:{x:0,y:0},direction:{x:"center",y:"center"},time:Date.now()}),L=Zpe().replace(/:/g,""),[B,F]=S6(!1),[N,V]=S6({x:"center",y:"center"}),z=({clientX:ee,clientY:te})=>{if(!x.current)return;const{width:ue,top:ve,left:we}=x.current.getBoundingClientRect(),ye=ue/2,Le=ee-we-ye,Oe=te-ve-ye;x.current.style.transform=`translate3d(${Le}px, ${Oe}px, 0px)`,S.current.style.transition=""},I=Cl(()=>{x.current&&(x.current.style.transform="translate3d(0px, 0px, 0px)",x.current.classList.remove("left","right","top","bottom","center"))},[]),D=Cl(({clientX:ee,clientY:te})=>{if(!S.current||!C.current)return;const ve=C.current.offsetWidth/2,we={x:ee-M.current.startPosition.x,y:te-M.current.startPosition.y};d?Math.abs(we.x)>Math.abs(we.y)?we.y=0:Math.abs(we.x)<Math.abs(we.y)?we.x=0:(we.x=0,we.y=0):l?we.y=0:u&&(we.x=0);const ye=Math.hypot(we.x,we.y);if(ye>ve){const Ue=ve/ye;we.x*=Ue,we.y*=Ue}const Le={x:Math.abs(we.x)>3?we.x>0?"right":"left":"center",y:Math.abs(we.y)>3?we.y>0?"bottom":"top":"center"},Oe=Math.atan2(we.x,-we.y);let Ne=Oe*180/Math.PI;Ne<0&&(Ne+=360);const me={radian:Oe,degree:Ne},pe={x:we.x/ve,y:-we.y/ve},be=Math.hypot(pe.x-A.current.x,pe.y-A.current.y);return{direction:Le,distance:we,normalizedDistance:pe,movementRatio:be,rotate:me}},[d,l,u]),U=Cl(({clientX:ee,clientY:te})=>{if(!S.current||!C.current)return;const{direction:ue,distance:ve,rotate:we,normalizedDistance:ye,movementRatio:Le}=D({clientX:ee,clientY:te});S.current.style.transform=`translate3d(${ve.x}px, ${ve.y}px, 0px)`,C.current.style.setProperty("--joy-angle",`${we.degree}deg`);const Oe=Math.hypot(ye.x,ye.y);return C.current.style.setProperty("--joy-ratio",`${Oe}`),x.current.classList.remove("left","right","top","bottom","center"),x.current.classList.add(ue.x,ue.y),V(ue),{direction:ue,distance:{x:ve.x,y:-ve.y},rotate:we,normalizedDistance:ye,movementRatio:Le}},[D]),Y=Cl(()=>{S.current&&(S.current.style.transition="transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1)",C.current?.style.setProperty("--joy-ratio","0"),S.current.style.transform="translate3d(0px, 0px, 0px)")},[]),oe=Cl(()=>{const te=Date.now()-M.current.time;if(!$.current||["none","end"].includes(M.current.type)||te<s)return;const ue=$.current;ue.preventDefault(),ue.stopPropagation();const{clientX:ve,clientY:we}=ue,{distance:ye,direction:Le,rotate:Oe,normalizedDistance:Ne,movementRatio:me}=U({clientX:ve,clientY:we});M.current={...M.current,type:"move",rotate:Oe,distance:ye,normalizedDistance:Ne,direction:Le,time:Date.now()};const pe={...M.current,event:ue,targets:{joystick:x.current,stickArea:C.current,stick:S.current}};me>=i&&(A.current=Ne,y?.(pe)),m&&(window.clearInterval(P.current),P.current=window.setInterval(()=>{M.current.type==="move"&&y?.(pe)},m))},[i,s,y,U,m]),Q=Cl(ee=>{window.clearInterval(P.current),!["none","end"].includes(M.current.type)&&(ee.target instanceof Element&&ee.target.releasePointerCapture?.(ee.pointerId),ee.preventDefault(),ee.stopPropagation(),M.current.type="end",setTimeout(()=>{M.current.type="none"},100),I(),Y(),F(!1),V({x:"center",y:"center"}),x.current.classList.remove("active"),window.clearInterval(P.current),$.current=null,_?.({type:"end",...M.current,direction:{x:"center",y:"center"},normalizedDistance:{x:0,y:0},rotate:{degree:0,radian:0},distance:{x:0,y:0},event:ee,targets:{joystick:x.current,stickArea:C.current,stick:S.current}}))},[_,I,Y]),re=ee=>{if(ee.button===2||f||["start","move","end"].includes(M.current.type))return;R.current=`${L}-${ee.pointerId}`,ee.currentTarget.setPointerCapture(ee.pointerId),ee.stopPropagation(),ee.preventDefault();const{clientX:te,clientY:ue}=ee;M.current.type="start",M.current.startPosition={x:te,y:ue},F(!0),V({x:"center",y:"center"}),x.current.classList.add("active"),z({clientX:te,clientY:ue}),w?.({...M.current,event:ee,targets:{joystick:x.current,stickArea:C.current,stick:S.current},distance:{x:0,y:0},normalizedDistance:{x:0,y:0},rotate:{radian:0,degree:0},startPosition:{x:te,y:ue},direction:{x:"center",y:"center"}})},le=Cl(ee=>{$.current=ee.nativeEvent,R.current===`${L}-${ee.pointerId}`&&(O.current&&cancelAnimationFrame(O.current),O.current=requestAnimationFrame(oe))},[oe,L]);return x6(()=>{const ee=te=>{Q(te)};return window.addEventListener("pointerup",ee),()=>{window.removeEventListener("pointerup",ee)}},[L,Q]),x6(()=>{const ee=P.current;return()=>{window.clearInterval(ee)}},[]),h("div",{"data-slot":"joy-stick",className:ae(Hpe({disabled:f}),t),style:{...g,width:`${n+v*2}px`,height:`${n+v*2}px`,"--joy-stick-color":r,"--joy-stick-area-color":a,"--joy-arc-color":o},onContextMenu:ee=>ee.preventDefault(),children:ne("div",{"data-slot":"joy-stick-inner",ref:x,className:Wpe({active:B}),style:{padding:v},children:[h("div",{"data-slot":"joy-stick-stick-area",ref:C,className:qpe(),style:{padding:v},onPointerDownCapture:re,onPointerUpCapture:Q,onPointerMove:le,children:ne("span",{"data-slot":"joy-stick-stick-area-inner",className:Upe({active:B}),style:{"--joy-stick-area-color":a},children:[h("span",{"data-slot":"joy-stick-arc",className:Gpe()}),e==="direction"&&ne("div",{className:Kpe(),children:[h("span",{className:S1({position:"top",highlighted:B&&N.y==="top"}),children:h(y8,{})}),h("span",{className:S1({position:"bottom",highlighted:B&&N.y==="bottom"}),children:h(g8,{})}),h("span",{className:S1({position:"left",highlighted:B&&N.x==="left"}),children:h(v8,{})}),h("span",{className:S1({position:"right",highlighted:B&&N.x==="right"}),children:h(w8,{})})]}),e==="curved"&&ne("div",{className:Xpe(),children:[h("span",{className:_6({position:"top",highlighted:B&&N.y==="top"}),children:h(G2,{})}),h("span",{className:_6({position:"bottom",highlighted:B&&N.y==="bottom"}),children:h(G2,{})})]})]})}),h("div",{"data-slot":"joy-stick-stick",ref:S,className:Ype({active:B}),style:{background:"var(--joy-stick-color)"}})]})})},Qpe=he("pointer-events-none"),Jpe=he("absolute z-[9] w-full rounded-md"),e1e=he("pointer-events-none absolute z-[99] overflow-hidden",{variants:{hidden:{false:"",true:"hidden"}},defaultVariants:{hidden:!1}}),t1e=he("block"),n1e=he(["block size-2.5","fill-bg-tooltip"]),r1e=he("absolute z-[9999]"),o1e=he("relative"),a1e=he(["inline-flex items-center justify-center overflow-hidden","bg-tooltip max-w-60 rounded-md px-3 py-2"]),i1e=he(["text-fg-inverse flex-1","typo-body-xs2-normal","break-words whitespace-normal"]),{useCallback:ys,useEffect:z2,useMemo:C6,useRef:Gc,useState:F2}=await q("react"),s1e=t=>new Promise(e=>setTimeout(e,t)),nbe=({className:t="",anchorId:e,width:n=200,space:r=0,place:o="bottom",events:a=["hover"],arrowPosition:i=0,hideArrow:s,tooltipPosition:l,tooltipColor:u,tooltipTextColor:d,tooltipBoxShadow:f,tooltipBorderRadius:m,open:v,whenWindowScrollClose:g,children:w})=>{const y=Gc(null),_=Gc(null),S=Gc(null),x=Gc(null),C=Gc(0),R=Gc(!1),[P,O]=F2(!1),[$,A]=F2(o),[M,L]=F2(!!v),B=C6(()=>{const Q=[...a],re=Q.findIndex(le=>le==="hover");return re!==-1&&!xo.isMobile&&Q.splice(re,0,"mouseover","mouseout"),Q},[a]),F=ys(()=>{if(_.current)return _.current;const Q=document.querySelector(`#${e}`);Q&&(_.current=Q)},[e]),N=ys((Q,re)=>{if(!_.current)return;const{scrollY:le,innerHeight:ee}=window,te=le,ue=le+ee,{top:ve}=_.current.getBoundingClientRect();return te>Q&&ve>0?Q+ve:ue<Q+re?ue-re-10:Q},[]),V=ys((Q,re)=>{const{scrollX:le,innerWidth:ee}=window,te=le,ue=le+ee;return te>Q?te+r:ue<Q+re?ue-re-r:Q},[r]),z=ys(Q=>{const{targetTop:re,targetLeft:le,targetWidth:ee,targetHeight:te,tooltipHeight:ue,arrowWidth:ve,arrowHeight:we}=Q;return scrollY+re-ue-we-r<scrollY&&o==="top"?"bottom":scrollY+re+te+we+r>scrollY+innerHeight&&o==="bottom"?"top":le-ve-r<100&&o==="left"?"right":innerWidth-(scrollX+le+ee+ve+r+10)<100&&o==="right"?"left":le+scrollX<scrollX?"right":o},[o,r]),I=ys(()=>{if(!y.current||!_.current)return{targetTop:0,targetLeft:0,targetWidth:0,targetHeight:0,arrowWidth:0,arrowHeight:0,tooltipWidth:0,tooltipHeight:0,scrollX:0,scrollY:0,innerWidth:0,innerHeight:0};const{top:Q,left:re,height:le,width:ee}=_.current.getBoundingClientRect(),{offsetHeight:te,offsetWidth:ue}=y.current,{clientWidth:ve=0,clientHeight:we=0}=S.current??{},{scrollX:ye,scrollY:Le,innerWidth:Oe,innerHeight:Ne}=window,{position:me,top:pe,left:be}=document.body.style,Ue=me==="fixed"?Number(pe.replace("px",""))*-1:0,He=me==="fixed"?Number(be.replace("px",""))*-1:0;return{targetTop:Q,targetLeft:re,targetWidth:ee,targetHeight:le,arrowWidth:ve,arrowHeight:we,tooltipWidth:ue,tooltipHeight:te,scrollX:He||ye,scrollY:Ue||Le,innerWidth:Oe,innerHeight:Ne}},[]),D=ys(async()=>{if(!_.current||!y.current)return;const{targetTop:Q,targetLeft:re,targetWidth:le,targetHeight:ee,arrowWidth:te,arrowHeight:ue,tooltipWidth:ve,tooltipHeight:we,scrollX:ye,scrollY:Le,innerWidth:Oe,innerHeight:Ne}=I(),{top:me=0,left:pe=0}=l??{},be=i||0,Ue=s?Math.max(r,8):r,He=z({targetTop:Q,targetLeft:re,targetWidth:le,targetHeight:ee,arrowWidth:te,arrowHeight:ue,tooltipWidth:ve,tooltipHeight:we,scrollX:ye,scrollY:Le,innerWidth:Oe,innerHeight:Ne});A(He);let qe="",_e="",at="";switch(He){case"top":qe+=`
272
+ top: ${me+Le+Q-we-ue-Ue}px;
273
+ left: ${V(pe+ye+re+le/2-ve/2,ve)}px;
274
+ `,_e+=`
275
+ top: ${me+Le+Q-ue-Ue-1}px;
276
+ left: ${be+ye+re+le/2-te/2}px;
277
+ `;break;case"left":qe+=`
278
+ top: ${N(me+Le+Q-(we-ee)/2,we)}px;
279
+ left: ${V(pe+ye+re-ve-ue-Ue,ve)}px;
280
+ max-width: ${re-te-Ue}px;
281
+ `,_e+=`
282
+ top: ${be+Le+Q+ee/2-te/2}px;
283
+ left: ${pe+ye+re-te-Ue}px;
284
+ `;break;case"right":qe+=`
285
+ top: ${N(me+Le+Q-(we-ee)/2,we)}px;
286
+ left: ${pe+ye+re+le+te+Ue}px;
287
+ max-width: ${Oe-(ye+re+le+te+Ue+10)}px;
288
+ `,_e+=`
289
+ top: ${be+Le+Q+ee/2-ue/2}px;
290
+ left: ${pe+ye+re+le+Ue}px;
291
+ `;break;case"bottom":default:qe+=`
292
+ top: ${me+Le+Q+ee+ue+Ue}px;
293
+ left: ${V(pe+ye+re+le/2-ve/2,ve)}px;
294
+ `,_e+=`
295
+ transform: rotate(0deg);
296
+ top: ${me+Le+Q+ee+Ue}px;
297
+ left: ${be+ye+re+le/2-te/2}px;
298
+ `;break}if(at+=`
299
+ ${qe}
300
+ width: ${ve}px;
301
+ height: ${we}px;
302
+ `,y.current.setAttribute("style",qe),x.current.setAttribute("style",at),S.current&&S.current.setAttribute("style",_e),C.current===2)return C.current=0,L(!0);await s1e(20),C.current+=1,D()},[i,s,r,l,z,V,N,I]),U=C6(()=>kn.debounce(Q=>{Q.type!=="click"&&R.current||(Q.type==="click"&&(Q.preventDefault(),R.current=!0),Q.type==="mouseout"?L(!1):C.current===0&&D(),Q.preventDefault())},100),[D]),Y=ys(()=>{!_.current||typeof v=="boolean"||B.forEach(Q=>{_.current.addEventListener(Q,U)})},[v,B,U]),oe=ys(()=>{_.current&&B.forEach(Q=>{_.current.removeEventListener(Q,U)})},[B,U]);return Nf(y,Q=>{if(typeof v=="boolean")return;const re=_.current;re&&!re.contains(Q.target)&&(R.current=!1,L(!1))}),z2(()=>(F(),Y(),()=>{oe()}),[D,F,Y,oe]),z2(()=>{const Q=kn.throttle(()=>{L(!1)},30);return window.removeEventListener("resize",Q),window.addEventListener("resize",Q),g&&(window.removeEventListener("scroll",Q),window.addEventListener("scroll",Q)),()=>{window.removeEventListener("resize",Q),window.removeEventListener("scroll",Q)}},[g,D]),z2(()=>{v!==void 0&&(v&&P&&D(),L(v))},[P,v,D]),h(Gl,{id:"tooltip",children:ne(l1e,{"data-slot":"tooltip","data-open":M,"data-place":$,ref:()=>{P||O(!0)},className:ae(Qpe(),t),style:{visibility:M?"visible":"hidden","--tooltip-color":u,"--tooltip-text-color":d,"--tooltip-box-shadow":f,"--tooltip-border-radius":m},children:[h("div",{"data-slot":"tooltip-shadow",ref:x,className:Jpe()}),h("div",{"data-slot":"tooltip-arrow",ref:S,className:e1e({hidden:!!s}),children:h("span",{"data-slot":"tooltip-arrow-inner",className:t1e(),children:h(h8,{"data-slot":"tooltip-arrow-icon",className:n1e()})})}),h("div",{"data-slot":"tooltip-text",ref:y,className:r1e(),children:h("div",{"data-slot":"tooltip-bubble-wrap",className:o1e(),children:h("div",{"data-slot":"tooltip-bubble",className:ae(a1e()),style:{width:n},children:h("div",{"data-slot":"tooltip-content",className:ae(i1e()),children:w})})})})]})})},l1e=G6("div",{target:"e5jrt0s0"})({name:"cdbitv",styles:'pointer-events:none;&[data-open="true"]{pointer-events:auto;}&[data-open="false"] [data-slot="tooltip-arrow"],&[data-open="false"] [data-slot="tooltip-text"]{top:0!important;left:0!important;}&[data-open="true"] [data-slot="tooltip-arrow"],&[data-open="true"] [data-slot="tooltip-text"]{animation:tooltip-pop-fade 0.15s;}&[data-place="top"] [data-slot="tooltip-arrow"],&[data-place="top"] [data-slot="tooltip-text"]{transform-origin:bottom;}&[data-place="top"] [data-slot="tooltip-arrow-icon"]{transform:rotate(180deg) translateY(20%);}&[data-place="bottom"] [data-slot="tooltip-arrow"],&[data-place="bottom"] [data-slot="tooltip-text"]{transform-origin:top;}&[data-place="bottom"] [data-slot="tooltip-arrow-icon"]{transform:rotate(0deg) translateY(20%);}&[data-place="left"] [data-slot="tooltip-arrow"],&[data-place="left"] [data-slot="tooltip-text"]{transform-origin:right;}&[data-place="left"] [data-slot="tooltip-arrow-icon"]{transform:rotate(90deg) translateY(20%);}&[data-place="right"] [data-slot="tooltip-arrow"],&[data-place="right"] [data-slot="tooltip-text"]{transform-origin:left;}&[data-place="right"] [data-slot="tooltip-arrow-icon"]{transform:rotate(270deg) translateY(20%);}&[class*="tooltip-all-hash"] li{width:max-content;}&[class*="tooltip-all-hash"] li+li{margin-top:8px;}&[class*="tooltip-address"] [data-slot="tooltip-bubble"]{width:max-content;max-width:none;font-size:12px!important;}@keyframes tooltip-pop-fade{0%{opacity:0;transform:scale(0.97);}60%{opacity:1;transform:scale(1.03);}100%{opacity:1;transform:scale(1);}}'}),c1e=he("bg-card outline-border-subtle dark:shadow-down-sm inline-flex max-w-96 flex-col items-start justify-start overflow-hidden rounded-xl outline outline-1 outline-offset-[-1px]",{variants:{size:{md:"w-96",sm:"w-96"}},defaultVariants:{size:"md"}}),u1e=he("@container/card-header grid w-full auto-rows-min grid-rows-[auto_auto] items-start has-data-[slot=card-action]:grid-cols-[1fr_auto]",{variants:{size:{md:"gap-2 p-4",sm:"gap-2 p-4"}},defaultVariants:{size:"md"}}),d1e=he("flex w-full min-w-0 flex-1 flex-col",{variants:{size:{md:"gap-0_5",sm:"gap-0_5"}},defaultVariants:{size:"md"}}),f1e=he("text-fg-default",{variants:{size:{md:"typo-title-02-medium",sm:"typo-title-01-medium"}},defaultVariants:{size:"md"}}),p1e=he("text-fg-subtle typo-body-sm-normal"),h1e=he("col-start-2 row-span-2 row-start-1 self-start justify-self-end"),m1e=he("w-full shrink-0"),g1e=he("w-full",{variants:{size:{md:"px-4 pb-4",sm:"px-3 pb-3"}},defaultVariants:{size:"md"}}),v1e=he("w-full",{variants:{size:{md:"border-subtle bg-card flex flex-col items-start gap-2 border-t p-4",sm:"border-subtle bg-card flex flex-col items-start gap-2 border-t p-3"}},defaultVariants:{size:"md"}}),Zk=await q("react"),Qk=Zk.createContext("md"),Ff=()=>Zk.useContext(Qk);function rbe({className:t,size:e,...n}){const r=e??"md";return h(Qk.Provider,{value:r,children:h("div",{"data-slot":"card",className:ae(c1e({size:r}),t),...n})})}function obe({className:t,size:e,...n}){const r=Ff();return h("div",{"data-slot":"card-header",className:ae(u1e({size:e??r}),t),...n})}function abe({className:t,size:e,...n}){const r=Ff();return h("div",{"data-slot":"card-header-text",className:ae(d1e({size:e??r}),t),...n})}function ibe({className:t,size:e,...n}){const r=Ff();return h("div",{"data-slot":"card-title",className:ae(f1e({size:e??r}),t),...n})}function sbe({className:t,...e}){return h("div",{"data-slot":"card-description",className:ae(p1e(),t),...e})}function lbe({className:t,...e}){return h("div",{"data-slot":"card-action",className:ae(h1e(),t),...e})}function cbe({className:t,...e}){return h("div",{"data-slot":"card-preview-slot",className:ae(m1e(),t),...e})}function ube({className:t,size:e,...n}){const r=Ff();return h("div",{"data-slot":"card-content",className:ae(g1e({size:e??r}),t),...n})}function dbe({className:t,size:e,...n}){const r=Ff();return h("div",{"data-slot":"card-footer",className:ae(v1e({size:e??r}),t),...n})}const w1e=he("bg-overlay text-fg-default border-subtle shadow-down-md z-50 min-w-40 rounded-lg border p-1"),b1e=he("bg-overlay text-fg-default border-subtle shadow-down-md z-50 min-w-40 rounded-lg border p-1"),y1e=he("typo-compact-sm-normal group gap-1_5 px-1_5 data-[disabled]:text-fg-disabled relative flex h-7 max-h-7 cursor-default items-center overflow-hidden rounded-md py-1 outline-hidden select-none data-[disabled]:pointer-events-none",{defaultVariants:{variant:"default"},variants:{variant:{default:"text-fg-default focus:bg-fill-subtlest dark:focus:bg-fill-subtler focus:text-fg-default hover:bg-fill-subtlest dark:hover:bg-fill-subtler data-[highlighted]:bg-fill-subtlest dark:data-[highlighted]:bg-fill-subtler data-[highlighted]:text-fg-default",destructive:"text-fg-danger focus:bg-fill-danger-subtler focus:text-fg-danger hover:bg-fill-danger-subtler data-[highlighted]:bg-fill-danger-subtler data-[highlighted]:text-fg-danger data-[disabled]:text-fg-disabled"}}}),Jk=he("typo-compact-sm-normal group text-fg-default focus:bg-fill-subtlest dark:focus:bg-fill-subtler focus:text-fg-default hover:bg-fill-subtlest dark:hover:bg-fill-subtler data-[highlighted]:bg-fill-subtlest dark:data-[highlighted]:bg-fill-subtler data-[highlighted]:text-fg-default gap-1_5 px-1_5 data-[disabled]:text-fg-disabled relative flex h-7 max-h-7 cursor-default items-center overflow-hidden rounded-md py-1 pr-7 outline-hidden select-none data-[disabled]:pointer-events-none"),_1e=he("typo-compact-xs-medium text-fg-subtle px-1_5 py-1",{variants:{inset:{true:"pl-7"}}}),x1e=he("bg-border-default -mx-1 my-1 h-px"),S1e=he("typo-compact-xs-normal text-fg-subtle group-data-[variant=destructive]:text-fg-danger group-data-[disabled]:text-fg-disabled ml-auto tracking-normal"),C1e=he("typo-compact-sm-normal text-fg-default focus:bg-fill-subtlest dark:focus:bg-fill-subtler hover:bg-fill-subtlest dark:hover:bg-fill-subtler data-[state=open]:bg-fill-subtlest dark:data-[state=open]:bg-fill-subtler data-[disabled]:text-fg-subtle px-1_5 relative flex cursor-default items-center gap-2 rounded-md py-1 outline-hidden select-none data-[disabled]:pointer-events-none",{variants:{inset:{true:"pl-7"}}}),eR=he("right-1_5 pointer-events-none absolute inline-flex size-4 items-center justify-center"),{forwardRef:Xs}=await q("react");function fbe({...t}){return h(nZ,{"data-slot":"dropdown-menu",...t})}function E1e({...t}){return h(oZ,{"data-slot":"dropdown-menu-portal",...t})}function pbe({...t}){return h(rZ,{"data-slot":"dropdown-menu-trigger",...t})}function hbe({...t}){return h(iZ,{"data-slot":"dropdown-menu-group",...t})}const mbe=pZ,gbe=uZ,vbe=Xs(function({className:e,inset:n,children:r,...o},a){return ne(hZ,{ref:a,"data-slot":"dropdown-menu-sub-trigger",className:ae(C1e({inset:n}),e),...o,children:[r,h(Su,{className:"size-4 shrink-0"})]})}),wbe=Xs(function({className:e,...n},r){return h(mZ,{ref:r,"data-slot":"dropdown-menu-sub-content",className:ae(b1e(),e),...n})}),bbe=Xs(function({className:e,sideOffset:n=8,align:r="start",...o},a){return h(E1e,{children:h(aZ,{ref:a,align:r,sideOffset:n,"data-slot":"dropdown-menu-content",className:ae(w1e(),e),...o})})}),ybe=Xs(function({className:e,inset:n,variant:r="default",...o},a){return h(lZ,{ref:a,"data-slot":"dropdown-menu-item","data-variant":r,className:ae(y1e({variant:r}),n&&"pl-7",e),...o})}),_be=Xs(function({className:e,children:n,...r},o){return ne(cZ,{ref:o,"data-slot":"dropdown-menu-checkbox-item",className:ae(Jk(),e),...r,children:[h("span",{className:eR(),children:h(jC,{children:h(Hs,{className:"size-3.5"})})}),n]})}),xbe=Xs(function({className:e,children:n,...r},o){return ne(dZ,{ref:o,"data-slot":"dropdown-menu-radio-item",className:ae(Jk(),e),...r,children:[h("span",{className:eR(),children:h(jC,{children:h(Hs,{className:"size-3.5"})})}),n]})}),Sbe=Xs(function({className:e,inset:n,...r},o){return h(sZ,{ref:o,"data-slot":"dropdown-menu-label",className:ae(_1e({inset:n}),e),...r})}),Cbe=Xs(function({className:e,...n},r){return h(fZ,{ref:r,"data-slot":"dropdown-menu-separator",className:ae(x1e(),e),...n})});function Ebe({className:t,...e}){return h("span",{"data-slot":"dropdown-menu-shortcut",className:ae(S1e(),t),...e})}const M1e=he("bg-fill-subtlest inline-flex items-center gap-1 rounded-lg p-1 outline outline-1 outline-offset-[-1px]"),k1e=he("typo-compact-sm-medium text-fg-default data-[state=open]:bg-fill-subtler focus:bg-fill-subtler hover:bg-fill-subtler inline-flex h-6 cursor-default items-center justify-center rounded-md px-1.5 py-0.5 outline-hidden select-none"),R1e=he("bg-overlay text-fg-default border-subtle shadow-down-md z-50 min-w-48 rounded-lg border-1 p-1"),T1e=he("bg-overlay text-fg-default border-subtle shadow-down-md z-50 min-w-48 rounded-lg border-1 p-1"),N1e=he("typo-compact-sm-normal group data-[disabled]:text-fg-disabled gap-1_5 px-1_5 relative flex cursor-default items-center overflow-hidden rounded-md py-1 outline-hidden select-none data-[disabled]:pointer-events-none",{defaultVariants:{inset:!1,variant:"default"},variants:{inset:{true:"pl-7"},variant:{default:"text-fg-default focus:bg-fill-subtler focus:text-fg-default hover:bg-fill-subtler data-[highlighted]:bg-fill-subtler data-[highlighted]:text-fg-default",destructive:"text-fg-danger focus:bg-fill-danger-subtler focus:text-fg-danger hover:bg-fill-danger-subtler data-[highlighted]:bg-fill-danger-subtler data-[highlighted]:text-fg-danger"}}}),tR=he("typo-compact-sm-normal group data-[disabled]:text-fg-disabled text-fg-default focus:bg-fill-subtler focus:text-fg-default hover:bg-fill-subtler data-[highlighted]:bg-fill-subtler data-[highlighted]:text-fg-default gap-1_5 pr-1_5 relative flex cursor-default items-center overflow-hidden rounded-md py-1 pl-7 outline-hidden select-none data-[disabled]:pointer-events-none"),P1e=he("typo-compact-xs-medium text-fg-subtle/60 px-1.5 py-1",{variants:{inset:{true:"pl-7"}}}),A1e=he("bg-border-default -mx-1 my-1 h-px"),I1e=he("typo-compact-xs-normal text-fg-subtle/60 group-data-[variant=destructive]:text-fg-danger group-data-[disabled]:text-fg-disabled ml-auto tracking-normal"),O1e=he("typo-compact-sm-normal text-fg-default data-[state=open]:bg-fill-subtler focus:bg-fill-subtler hover:bg-fill-subtler data-[disabled]:text-fg-disabled relative flex cursor-default items-center gap-2 rounded-md px-1.5 py-1 outline-hidden select-none data-[disabled]:pointer-events-none",{variants:{inset:{true:"pl-7"}}}),nR=he("pointer-events-none absolute left-1.5 inline-flex size-4 items-center justify-center"),{forwardRef:qi}=await q("react");function Mbe({className:t,...e}){return h(gq,{"data-slot":"menubar",className:ae(M1e(),t),...e})}const kbe=vq,Rbe=yq,Tbe=Y9,Nbe=Cq,Pbe=kq,Abe=qi(function({className:e,...n},r){return h(wq,{ref:r,"data-slot":"menubar-trigger",className:ae(k1e(),e),...n})}),Ibe=qi(function({className:e,align:n="start",sideOffset:r=8,...o},a){return h(Y9,{children:h(bq,{ref:a,"data-slot":"menubar-content",align:n,sideOffset:r,className:ae(R1e(),e),...o})})}),Obe=qi(function({className:e,inset:n=!1,variant:r="default",...o},a){return h(xq,{ref:a,"data-slot":"menubar-item","data-variant":r,className:ae(N1e({inset:n,variant:r}),e),...o})}),Lbe=qi(function({className:e,children:n,...r},o){return ne(Sq,{ref:o,"data-slot":"menubar-checkbox-item",className:ae(tR(),e),...r,children:[h("span",{className:nR(),children:h(G9,{children:h(Hs,{className:"size-3.5"})})}),n]})}),$be=qi(function({className:e,children:n,...r},o){return ne(Eq,{ref:o,"data-slot":"menubar-radio-item",className:ae(tR(),e),...r,children:[h("span",{className:nR(),children:h(G9,{children:h(Hs,{className:"size-3.5"})})}),n]})}),Dbe=qi(function({className:e,inset:n,...r},o){return h(_q,{ref:o,"data-slot":"menubar-label",className:ae(P1e({inset:n}),e),...r})}),Bbe=qi(function({className:e,...n},r){return h(Mq,{ref:r,"data-slot":"menubar-separator",className:ae(A1e(),e),...n})}),zbe=qi(function({className:e,inset:n,children:r,...o},a){return ne(Rq,{ref:a,"data-slot":"menubar-sub-trigger",className:ae(O1e({inset:n}),e),...o,children:[r,h(Su,{className:"size-4 shrink-0"})]})}),Fbe=qi(function({className:e,...n},r){return h(Tq,{ref:r,"data-slot":"menubar-sub-content",className:ae(T1e(),e),...n})});function Vbe({className:t,...e}){return h("span",{"data-slot":"menubar-shortcut",className:ae(I1e(),t),...e})}const L1e=he("relative flex w-full touch-none items-center rounded-full py-1 select-none data-[disabled]:opacity-30"),$1e=he("bg-fill-subtler/20 relative h-1 w-full grow overflow-hidden rounded-full"),D1e=he("absolute h-full",{defaultVariants:{disabled:!1},variants:{disabled:{false:"bg-fill-brand",true:"bg-fill-default"}}}),B1e=he("bg-fg-static-white border-default focus-visible:ring-border-stronger block size-3 shrink-0 rounded-full border outline-hidden transition-[box-shadow] focus-visible:ring-2"),{useMemo:z1e}=await q("react");function jbe({className:t,defaultValue:e,value:n,min:r=0,max:o=100,disabled:a=!1,trackClassName:i,rangeClassName:s,thumbClassName:l,...u}){const d=z1e(()=>n!==void 0?Array.isArray(n)?n:[n]:e!==void 0?Array.isArray(e)?e:[e]:[r],[n,e,r]);return ne(SU,{"data-slot":"slider",defaultValue:e,value:n,min:r,max:o,disabled:a,className:ae(L1e(),t),...u,children:[h(CU,{"data-slot":"slider-track",className:ae($1e(),i),children:h(EU,{"data-slot":"slider-range",className:ae(D1e({disabled:a}),s)})}),Array.from({length:d.length},(f,m)=>h(MU,{"data-slot":"slider-thumb",className:ae(B1e(),l)},m))]})}const{cloneElement:F1e,isValidElement:E6,useId:V1e}=await q("react");function Hbe({children:t,className:e,controlPlacement:n="start",description:r,descriptionClassName:o,invalid:a=!1,label:i,labelClassName:s,size:l="default",type:u="default"}){const d=V1e(),f=E6(t)?t.props:void 0,v=f?.id??d,g=!!f?.disabled,w=a||!!f?.invalid,y=f?.size??l,_=g?"disabled":w?"invalid":"default",S=E6(t)?F1e(t,{id:v,invalid:w,size:y}):t,x=!!(i||r);return ne("label",{htmlFor:v,"data-slot":"switch-field","data-control-placement":n,"data-type":u,"data-size":y,"data-state":_,className:ae(Bue({controlPlacement:n,size:y,tone:_,type:u}),e),children:[n==="start"&&S,x&&ne("span",{"data-slot":"switch-text-wrap",className:Vue(),children:[i&&h("span",{className:ae(jue({tone:_,size:y}),s),children:i}),r&&h("span",{className:ae(Hue({tone:_,size:y}),o),children:r})]}),n==="end"&&S]})}const j1e=he("inline-flex w-fit",{variants:{orientation:{horizontal:"items-center justify-start",vertical:"flex-col items-start justify-center"},separated:{true:"gap-1",false:"gap-0"},stretched:{true:"w-full",false:""}},defaultVariants:{orientation:"horizontal",separated:!1,stretched:!1}}),H1e=he(["text-fg-default","py-2_5","flex h-8 min-w-8 items-center justify-center gap-1 px-2","select-none","disabled:text-fg-disabled disabled:pointer-events-none","focus-visible:border-border-stronger","data-[state=off]:bg-fill-transparent","data-[state=on]:bg-fill-subtler","border-default border"].join(" ")),W1e=he("",{variants:{orientation:{horizontal:"",vertical:""},separated:{true:"rounded-md",false:"rounded-none"},stretched:{true:"flex-1",false:""}},compoundVariants:[{orientation:"horizontal",separated:!1,className:"border-t border-r border-b first:rounded-tl-md first:rounded-bl-md first:border-l last:rounded-tr-md last:rounded-br-md"},{orientation:"vertical",separated:!1,className:"border-r border-b border-l first:rounded-tl-md first:rounded-tr-md first:border-t last:rounded-br-md last:rounded-bl-md"}],defaultVariants:{orientation:"horizontal",separated:!1,stretched:!1}}),{createContext:q1e,useContext:U1e}=await q("react"),rR=q1e({orientation:"horizontal",separated:!1,stretched:!1});function Y1e(){return U1e(rR)}function Wbe({className:t,children:e,orientation:n="horizontal",separated:r=!1,stretched:o=!1,...a}){return h(rR.Provider,{value:{orientation:n,separated:r,stretched:o},children:h(kZ,{"data-slot":"rb-toggle-group","data-orientation":n,className:ae(j1e({orientation:n,separated:r,stretched:o}),t),orientation:n,...a,children:e})})}function qbe({className:t,children:e,icon:n,...r}){const{orientation:o,separated:a,stretched:i}=Y1e();return ne(RZ,{"data-slot":"rb-toggle-group-item",className:ae(H1e(),W1e({orientation:o,separated:a,stretched:i}),t),...r,children:[n,e]})}const G1e=he("flex flex-col gap-2 data-[orientation=vertical]:flex-row data-[orientation=vertical]:items-start"),K1e=he("inline-flex w-fit justify-start",{variants:{orientation:{horizontal:"items-center",vertical:"flex-col items-start"},size:{xs:"",sm:""},variant:{default:"",line:"bg-transparent p-0"}},compoundVariants:[{orientation:"horizontal",variant:"default",size:"sm",className:"bg-fill-subtlest gap-0_5 p-0_5 rounded-md"},{orientation:"horizontal",variant:"default",size:"xs",className:"bg-fill-subtlest gap-1 rounded-md p-1"},{orientation:"vertical",variant:"default",size:"sm",className:"bg-fill-subtlest gap-0_5 p-0_5 rounded-md"},{orientation:"vertical",variant:"default",size:"xs",className:"bg-fill-subtlest gap-1 rounded-md p-1"},{orientation:"horizontal",variant:"line",className:"gap-1"},{orientation:"vertical",variant:"line",className:"gap-1"}],defaultVariants:{orientation:"horizontal",size:"sm",variant:"default"}}),X1e=he("focus-visible:outline-border-stronger inline-flex shrink-0 items-center justify-center text-center font-medium outline-hidden transition-colors focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-0 disabled:pointer-events-none disabled:cursor-not-allowed",{variants:{size:{xs:"",sm:""},variant:{default:"rounded-lg",line:"rounded-none border-b-2 border-transparent"},disabled:{true:"",false:""}},compoundVariants:[{variant:"default",size:"sm",className:"typo-compact-xs2-medium px-1_5 gap-1 rounded-sm py-1"},{variant:"default",size:"xs",className:"typo-compact-xs2-medium gap-0_5 px-1_5 py-0_5 rounded-sm"},{variant:"line",size:"sm",className:"typo-compact-xs2-medium gap-1_5 p-1_5 rounded-none"},{variant:"line",size:"xs",className:"typo-compact-xs2-medium px-1_5 gap-1 rounded-none py-1"},{variant:"default",disabled:!1,className:"data-[state=active]:bg-fill-subtler data-[state=active]:text-fg-default text-fg-subtle"},{variant:"default",disabled:!1,className:"data-[state=inactive]:bg-fill-transparent"},{variant:"line",disabled:!1,className:"data-[state=active]:border-border-stronger data-[state=active]:text-fg-default text-fg-subtle"},{variant:"default",disabled:!0,className:"data-[state=active]:bg-fill-disabled data-[state=active]:text-fg-disabled text-fg-disabled"},{variant:"line",disabled:!0,className:"data-[state=active]:border-default data-[state=active]:text-fg-disabled text-fg-disabled"}],defaultVariants:{size:"sm",variant:"default",disabled:!1}}),Z1e=he("min-w-0 flex-1 outline-hidden focus-visible:outline-none"),{createContext:Q1e,useContext:J1e}=await q("react"),oR=Q1e({orientation:"horizontal",size:"sm",variant:"default"});function aR(){return J1e(oR)}function Ube({className:t,orientation:e="horizontal",size:n="sm",variant:r="default",...o}){return h(oR.Provider,{value:{orientation:e,size:n,variant:r},children:h(wZ,{"data-slot":"rb-tabs","data-orientation":e,className:ae(G1e(),t),orientation:e,...o})})}function Ybe({className:t,...e}){const{orientation:n,size:r,variant:o}=aR();return h(bZ,{"data-slot":"rb-tabs-list",className:ae(K1e({orientation:n,size:r,variant:o}),t),...e})}function Gbe({className:t,disabled:e,children:n,icon:r,badge:o,...a}){const{size:i,variant:s}=aR();return ne(yZ,{"data-slot":"rb-tabs-trigger",disabled:e,className:ae(X1e({size:i,variant:s,disabled:e}),t),...a,children:[r,n,o]})}function Kbe({className:t,...e}){return h(_Z,{"data-slot":"rb-tabs-content",className:ae(Z1e(),t),...e})}const e0e=he("flex h-full w-full data-[panel-group-direction=vertical]:flex-col"),t0e=he("bg-default relative overflow-hidden"),n0e=he("relative flex shrink-0 touch-none items-center justify-center transition-colors select-none focus-visible:outline-hidden",{variants:{focused:{false:"",true:""},direction:{horizontal:"self-stretch px-1 py-0",vertical:"w-full px-0 py-1"}},defaultVariants:{focused:!1,direction:"horizontal"}}),r0e=he("pointer-events-none flex items-center justify-center",{variants:{focused:{false:"",true:""},direction:{horizontal:"h-full w-1",vertical:"h-1 w-full"}},compoundVariants:[{focused:!0,direction:"horizontal",className:"outline-border-stronger overflow-hidden outline outline-1"},{focused:!0,direction:"vertical",className:"outline-border-stronger overflow-hidden outline outline-1"}],defaultVariants:{focused:!1,direction:"horizontal"}}),o0e=he("pointer-events-none",{variants:{direction:{horizontal:"outline-border-default h-full w-0 outline outline-1 outline-offset-[-0_5px]",vertical:"outline-border-default h-0 w-full outline outline-1 outline-offset-[-0_5px]"}},defaultVariants:{direction:"horizontal"}}),a0e=he("bg-fg-static-white-subtle pointer-events-none absolute rounded-full transition-colors",{variants:{direction:{horizontal:"top-1/2 left-1/2 h-6 w-1 -translate-x-1/2 -translate-y-1/2",vertical:"top-1/2 left-1/2 h-1 w-6 -translate-x-1/2 -translate-y-1/2"}},defaultVariants:{direction:"horizontal"}}),{createContext:i0e,useCallback:C1,useContext:s0e,useEffect:l0e,useRef:M6,useState:k6}=await q("react"),iR=i0e("horizontal");function Xbe({className:t,direction:e,...n}){return h(iR.Provider,{value:e,children:h(RE,{"data-slot":"rb-resizable",className:ae(e0e(),t),direction:e,...n})})}function Zbe({className:t,unstyled:e=!1,...n}){return h(uE,{"data-slot":"rb-resizable-panel",className:ae(!e&&t0e(),t),...n})}function Qbe({className:t,hideThumb:e=!1,onPointerDownCapture:n,onPointerUpCapture:r,onPointerCancelCapture:o,...a}){const i=s0e(iR),[s,l]=k6(!1),[u,d]=k6(!1),f=M6(!1),m=M6(null),v=s||u;l0e(()=>()=>{m.current?.(),m.current=null},[]);const g=C1(()=>{const w=document.body,y={touchAction:w.style.touchAction??""};return w.style.touchAction="none",()=>{w.style.touchAction=y.touchAction}},[]);return C1(w=>{f.current=!1,d(!1),l(!0),m.current?.(),m.current=g(),w.preventDefault(),w.stopPropagation(),n?.(w)},[g,n]),C1(w=>{l(!1),m.current?.(),m.current=null,r?.(w)},[r]),C1(w=>{l(!1),m.current?.(),m.current=null,o?.(w)},[o]),ne(TE,{"data-slot":"rb-resizable-handle","data-state":s?"Active":"Default","data-type":i==="horizontal"?"Vertical":"Horizontal",className:ae(n0e({focused:v,direction:i}),t),onPointerDownCapture:w=>{m.current?.(),m.current=g(),w.preventDefault(),w.stopPropagation()},onPointerUpCapture:()=>{m.current?.(),m.current=null},onPointerCancelCapture:()=>{m.current?.(),m.current=null},...a,children:[h("div",{"data-slot":"rb-resizable-handle-track",className:r0e({focused:v,direction:i}),children:h("div",{className:o0e({direction:i})})}),!e&&h("div",{"data-slot":"rb-resizable-handle-thumb",className:a0e({direction:i})})]})}const c0e=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#00C951",d:"M16 4c6.627 0 12 5.373 12 12s-5.373 12-12 12S4 22.627 4 16 9.373 4 16 4m6.933 7.605a.93.93 0 0 0-1.312-.002l-7.448 7.449-3.707-3.708a.929.929 0 0 0-1.313 1.312l4.365 4.364a.927.927 0 0 0 1.311 0l8.105-8.104a.93.93 0 0 0-.001-1.312"}),h("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.855",d:"m9.81 16 4.363 4.364 8.104-8.104"})]}),Jbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{stroke:"#FF8383",strokeLinecap:"round",strokeWidth:"2",d:"M28 13.8H4M28 17.2H4"}),h("path",{stroke:"#FF8383",strokeLinecap:"round",strokeWidth:"1.8",d:"M13.9 23v-5"}),h("path",{fill:"#FF8383",d:"M13 13c0 .828-.88 1-1.94 1S9 13.828 9 13s.94-2 2-2 2 1.172 2 2M15.9 18c0-.828-.88-1-1.94-1s-2.06.172-2.06 1 .94 2 2 2 2-1.172 2-2M24.9 18c0-.828-.88-1-1.94-1s-2.06.172-2.06 1 .94 2 2 2 2-1.172 2-2"}),h("path",{stroke:"#FF8383",strokeLinecap:"round",strokeWidth:"1.8",d:"M22.9 23v-5M11 13V8"}),h("rect",{width:"5.8",height:"5.8",x:"8",y:"2",fill:"#FF8383",rx:".8"}),h("rect",{width:"5.8",height:"5.8",x:"20",y:"23",fill:"#FF8383",rx:".8"}),h("rect",{width:"5.8",height:"5.8",x:"11",y:"23",fill:"#FF8383",rx:".8"})]}),eye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#E73770",d:"M19.871 2.5c-.222-.222-.703-.152-.926.07L17 4.5c-.223.222-.223.778 0 1l1.945 1.69c.223.223.704.223.926 0a.63.63 0 0 0 0-.853l-.926-.737H25.5v4.79c0 .315.436.61.75.61s.75-.295.75-.61V5.473c0-.664-.538-1.202-1.203-1.202h-6.852l.926-.986a.545.545 0 0 0 0-.785M21.422 9.3a.88.88 0 0 1 .621.258l4.758 4.757a.88.88 0 0 1 .257.62v10.62c0 .727-.59 1.318-1.318 1.318H14.318c-.727 0-1.318-.59-1.318-1.318V24.2h2.58c-.055.468.116.952.512 1.305.685.61 1.78.595 2.448-.034l1.705-1.609q.198-.142.353-.332l.296-.278c.608-.573.649-1.458.133-2.072a1.5 1.5 0 0 0-.367-.377l-2.463-1.761c-.7-.5-1.72-.375-2.277.28a1.44 1.44 0 0 0-.35.878H13v-9.582c0-.728.59-1.318 1.318-1.318z"}),h("path",{fill:"#E73770",d:"M12.422 3a.88.88 0 0 1 .621.257l4.678 4.677h-4.889c-.728 0-1.318.59-1.318 1.317v11.321H9.8V16.8A1.8 1.8 0 0 0 8 15h-.4a1.8 1.8 0 0 0-1.8 1.8v3.772h-.483c-.727 0-1.317-.59-1.317-1.317V4.317C4 3.59 4.59 3 5.317 3z"}),h("path",{fill:"#E73770",d:"M17 24.828c.24.23.76.23 1 0l2-2.12c.271-.23.271-.803 0-1.032l-2-1.745c-.24-.23-.76-.23-1 0a.63.63 0 0 0 0 .882l.915.76H8.623v-4.969c0-.324-.472-.604-.812-.604S7 16.28 7 16.604v5.1c0 .684.582 1.24 1.3 1.24h9.615L17 23.948c-.24.23-.24.65 0 .88"})]}),tye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M4.667 20.8a1.2 1.2 0 0 1 1.2 1.2v4.133H10a1.201 1.201 0 0 1 0 2.4H4.667a1.2 1.2 0 0 1-1.2-1.2V22a1.2 1.2 0 0 1 1.2-1.2M27.333 20.8a1.2 1.2 0 0 1 1.2 1.2v5.333a1.2 1.2 0 0 1-1.2 1.2H22a1.2 1.2 0 0 1 0-2.4h4.133V22c0-.663.538-1.2 1.2-1.2M10 3.467a1.2 1.2 0 0 1 0 2.4H5.867V10a1.2 1.2 0 0 1-2.4 0V4.667a1.2 1.2 0 0 1 1.2-1.2zM27.333 3.467a1.2 1.2 0 0 1 1.2 1.2V10a1.2 1.2 0 0 1-2.4 0V5.867H22a1.2 1.2 0 0 1 0-2.4z"}),h("path",{fill:"#5C9CFF",fillRule:"evenodd",d:"M15.915 9c-4.652 0-8.64 2.62-10.716 6.389a1.52 1.52 0 0 0 0 1.501c2.075 3.768 6.064 6.389 10.716 6.389s8.64-2.62 10.716-6.389a1.52 1.52 0 0 0 0-1.501C24.556 11.62 20.567 9 15.915 9m0 10.967a3.82 3.82 0 0 0 3.827-3.828 3.82 3.82 0 0 0-3.827-3.827 3.82 3.82 0 0 0-3.827 3.827 3.82 3.82 0 0 0 3.827 3.828",clipRule:"evenodd"})]}),nye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"m10.722 28.667-7.389-7.39V10.723l7.39-7.389h10.555l7.389 7.39v10.555l-7.39 7.389z"}),h("path",{fill:"#5C9CFF",d:"M16 20a2 2 0 1 1 0 4 2 2 0 0 1 0-4M17.333 8c.184 0 .334.149.334.333v10c0 .184-.15.334-.334.334h-2.666a.334.334 0 0 1-.334-.334v-10c0-.184.15-.333.334-.333z"})]}),rye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M24.5 6.8c.802 0 1.296.574 1.532.918.27.396.492.911.686 1.477.393 1.149.767 2.808 1.13 4.936a1.2 1.2 0 0 1-2.364.405c-.34-1.98-.67-3.436-.984-4.402-.313.966-.645 2.422-.984 4.402-.364 2.128-.738 3.787-1.131 4.936-.194.566-.416 1.08-.687 1.476-.235.344-.729.918-1.532.918s-1.297-.574-1.532-.918c-.27-.396-.493-.91-.686-1.476-.393-1.149-.767-2.808-1.131-4.936-.34-1.98-.67-3.436-.984-4.402-.313.966-.645 2.422-.984 4.402-.364 2.128-.738 3.787-1.131 4.936-.194.566-.416 1.08-.687 1.476-.235.344-.729.918-1.532.918-.802 0-1.296-.574-1.531-.918-.27-.396-.494-.91-.687-1.476-.393-1.149-.767-2.808-1.131-4.936a1.201 1.201 0 0 1 2.366-.405c.339 1.98.67 3.435.984 4.401.313-.966.645-2.421.984-4.401.364-2.128.738-3.787 1.13-4.936.194-.566.416-1.081.687-1.477.236-.344.73-.918 1.532-.918.803 0 1.296.574 1.531.918.271.396.494.911.688 1.477.393 1.149.767 2.808 1.13 4.936.34 1.98.67 3.436.984 4.402.314-.966.645-2.421.984-4.402.364-2.128.738-3.787 1.13-4.936.194-.566.417-1.081.688-1.477.235-.344.73-.918 1.531-.918"}),h("path",{fill:"#fff",d:"M25.333 22.138c0-.297.36-.445.57-.235l2.96 2.959c.26.26.26.683 0 .943l-2.96 2.959a.333.333 0 0 1-.57-.235v-1.995H4a1.2 1.2 0 0 1 0-2.4h21.333z"}),h("path",{fill:"#fff",fillRule:"evenodd",d:"M11.27 10H9.13l-.451-1.484H6.16L5.708 10h-2.14l2.505-7.542h2.693zM6.618 7.02h1.607l-.77-2.536H7.39z",clipRule:"evenodd"})]}),oye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M7.5 20.8c1.813 0 3.292 1.363 4.503 3.208 1.123 1.71 1.977 2.126 2.497 2.126.521 0 1.375-.416 2.497-2.126a1.2 1.2 0 0 1 2.006 1.317c-1.21 1.845-2.69 3.208-4.503 3.208-1.812 0-3.292-1.363-4.503-3.208C8.875 23.615 8.021 23.2 7.5 23.2s-1.374.415-2.497 2.125a1.2 1.2 0 1 1-2.006-1.317C4.208 22.163 5.687 20.8 7.5 20.8M25.529 10.472c.26-.26.682-.26.942 0l2.96 2.959c.21.21.061.569-.235.569H27.2v4h1.995c.296 0 .445.36.235.57l-2.96 2.958a.666.666 0 0 1-.942 0l-2.96-2.959a.334.334 0 0 1 .236-.569H24.8v-4h-1.995a.334.334 0 0 1-.236-.57z"}),h("path",{fill:"#5C9CFF",d:"M14.667 8.867a1.8 1.8 0 0 1 1.8 1.8v8a1.8 1.8 0 0 1-3.6 0v-8a1.8 1.8 0 0 1 1.8-1.8"}),h("path",{fill:"#fff",d:"M10.667 4.333V12c0 .736.597 1.333 1.333 1.333h5.333c.737 0 1.334-.597 1.334-1.333V4.333A.333.333 0 0 0 18.333 4H11a.333.333 0 0 0-.333.333"})]}),aye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M16.612 13.814a.134.134 0 0 1-.013.174l-3.838 3.836a.133.133 0 0 0-.012.175l3.341 4.454a.133.133 0 0 1-.107.214H4.667a2 2 0 0 1-2-2v-9.334a2 2 0 0 1 2-2h8.25c.21 0 .407.099.533.267z"}),h("path",{fill:"#5C9CFF",d:"m15.39 18.188 3.16 4.212a.67.67 0 0 0 .533.267h8.25a2 2 0 0 0 2-2v-9.334a2 2 0 0 0-2-2H16.017a.133.133 0 0 0-.107.214L19.25 14a.133.133 0 0 1-.011.174l-3.837 3.838a.133.133 0 0 0-.012.174M8.485 3.818a1.2 1.2 0 0 1 1.697 0l1.333 1.333A1.2 1.2 0 0 1 9.818 6.85L8.485 5.516a1.2 1.2 0 0 1 0-1.698M21.818 3.818a1.2 1.2 0 0 1 1.697 1.698l-1.333 1.333a1.2 1.2 0 0 1-1.697-1.698zM16 2.133a1.2 1.2 0 0 1 1.2 1.2V6a1.2 1.2 0 0 1-2.4 0V3.333a1.2 1.2 0 0 1 1.2-1.2M16 24.8a1.2 1.2 0 0 1 1.2 1.2v2.666a1.2 1.2 0 0 1-2.4 0V26A1.2 1.2 0 0 1 16 24.8M9.818 25.152a1.2 1.2 0 0 1 1.697 1.697l-1.333 1.333a1.2 1.2 0 0 1-1.697-1.697zM20.485 25.152a1.2 1.2 0 0 1 1.697 0l1.333 1.333a1.2 1.2 0 0 1-1.697 1.697l-1.333-1.333a1.2 1.2 0 0 1 0-1.697"})]}),iye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:"2",d:"M28 13.8H4"}),h("path",{stroke:"#5C9CFF",strokeLinecap:"round",strokeWidth:"2",d:"M28 17.2H4"}),h("path",{stroke:"#5C9CFF",strokeLinecap:"round",strokeWidth:"1.8",d:"M13.9 23v-5"}),h("path",{fill:"#fff",d:"M13 13c0 .828-.88 1-1.94 1S9 13.828 9 13s.94-2 2-2 2 1.172 2 2"}),h("path",{fill:"#5C9CFF",d:"M15.9 18c0-.828-.88-1-1.94-1s-2.06.172-2.06 1 .94 2 2 2 2-1.172 2-2M24.9 18c0-.828-.88-1-1.94-1s-2.06.172-2.06 1 .94 2 2 2 2-1.172 2-2"}),h("path",{stroke:"#5C9CFF",strokeLinecap:"round",strokeWidth:"1.8",d:"M22.9 23v-5"}),h("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:"1.8",d:"M11 13V8"}),h("rect",{width:"5.8",height:"5.8",x:"8",y:"2",fill:"#5C9CFF",rx:".8"}),h("rect",{width:"5.8",height:"5.8",x:"20",y:"23",fill:"#fff",rx:".8"}),h("rect",{width:"5.8",height:"5.8",x:"11",y:"23",fill:"#fff",rx:".8"})]}),sye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M19.871 2.5c-.222-.222-.703-.152-.926.07L17 4.5c-.223.222-.223.778 0 1l1.945 1.69c.223.223.704.223.926 0a.63.63 0 0 0 0-.853l-.926-.737H25.5v4.79c0 .315.436.61.75.61s.75-.295.75-.61V5.473c0-.664-.538-1.202-1.203-1.202h-6.852l.926-.986a.545.545 0 0 0 0-.785"}),h("path",{fill:"#fff",d:"M21.422 9.3a.88.88 0 0 1 .621.258l4.758 4.757a.88.88 0 0 1 .257.62v10.62c0 .727-.59 1.318-1.318 1.318H14.318c-.727 0-1.318-.59-1.318-1.318V24.2h2.58c-.055.468.116.952.512 1.305.685.61 1.78.595 2.448-.034l1.705-1.609q.198-.142.353-.332l.296-.278c.608-.573.649-1.458.133-2.072a1.5 1.5 0 0 0-.367-.377l-2.463-1.761c-.7-.5-1.72-.375-2.277.28a1.44 1.44 0 0 0-.35.878H13v-9.582c0-.728.59-1.318 1.318-1.318z"}),h("path",{fill:"#5C9CFF",d:"M12.422 3a.88.88 0 0 1 .621.257l4.678 4.677h-4.889c-.728 0-1.318.59-1.318 1.317v11.321H9.8V16.8A1.8 1.8 0 0 0 8 15h-.4a1.8 1.8 0 0 0-1.8 1.8v3.772h-.483c-.727 0-1.317-.59-1.317-1.317V4.317C4 3.59 4.59 3 5.317 3z"}),h("path",{fill:"#fff",d:"M17 24.828c.24.23.76.23 1 0l2-2.12c.271-.23.271-.803 0-1.032l-2-1.745c-.24-.23-.76-.23-1 0a.63.63 0 0 0 0 .882l.915.76H8.623v-4.969c0-.324-.472-.604-.812-.604S7 16.28 7 16.604v5.1c0 .684.582 1.24 1.3 1.24h9.615L17 23.948c-.24.23-.24.65 0 .88"})]}),lye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M6.716 21.39a1.2 1.2 0 0 1 1.679.25 9.5 9.5 0 0 0 1.966 1.965 1.2 1.2 0 1 1-1.431 1.926 12 12 0 0 1-2.461-2.46 1.2 1.2 0 0 1 .247-1.68M4.133 16q.001-.886.127-1.74a1.2 1.2 0 0 1 2.374.35q-.1.68-.1 1.39t.1 1.39a1.2 1.2 0 0 1-2.374.35A12 12 0 0 1 4.133 16M8.93 6.469a1.2 1.2 0 1 1 1.431 1.926 9.5 9.5 0 0 0-1.966 1.966A1.2 1.2 0 1 1 6.469 8.93a12 12 0 0 1 2.46-2.461m12.46.247a1.2 1.2 0 0 1 1.68-.247 12 12 0 0 1 2.461 2.46 1.2 1.2 0 1 1-1.926 1.431 9.5 9.5 0 0 0-1.966-1.965 1.2 1.2 0 0 1-.248-1.679M16 4.133q.887.001 1.74.127a1.2 1.2 0 0 1-.35 2.374 9.6 9.6 0 0 0-1.39-.1q-.71 0-1.39.1a1.2 1.2 0 0 1-.35-2.374q.854-.126 1.74-.127"}),h("path",{fill:"#5C9CFF",d:"M25.91 13.07a1.2 1.2 0 0 1 1.606.082l4 4a1.2 1.2 0 0 1-1.698 1.697l-1.983-1.984c-.443 6.15-5.572 11.001-11.835 11.001a1.2 1.2 0 1 1 0-2.399c4.91 0 8.945-3.738 9.419-8.522l-1.903 1.904a1.2 1.2 0 0 1-1.698-1.698l4-4z"})]}),cye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M9 19a1.667 1.667 0 1 1 0 3.334A1.667 1.667 0 0 1 9 19M23 19a1.667 1.667 0 1 1 0 3.334A1.667 1.667 0 0 1 23 19"}),h("path",{fill:"#fff",fillRule:"evenodd",d:"M23.333 14.8a5.868 5.868 0 0 1 0 11.733H8.667a5.867 5.867 0 1 1 0-11.733zM8.667 17.2a3.467 3.467 0 0 0 0 6.934h14.666a3.467 3.467 0 0 0 0-6.934z",clipRule:"evenodd"}),h("path",{fill:"#5C9CFF",fillRule:"evenodd",d:"M14 11.333c0 .737-.597 1.334-1.333 1.334h-6a1.333 1.333 0 0 1-1.334-1.334V6.667c0-.737.597-1.334 1.334-1.334h6c.736 0 1.333.597 1.333 1.334z",clipRule:"evenodd"}),h("path",{fill:"#5C9CFF",d:"M22 4.133a1.2 1.2 0 0 1 1.2 1.2v1.32l2.751 1.65c.482.29.698.876.52 1.41l-.666 2a1.201 1.201 0 0 1-2.277-.76l.362-1.087L22 8.732l-1.89 1.134.362 1.087a1.2 1.2 0 0 1-2.276.76l-.668-2c-.178-.534.04-1.12.522-1.41l2.75-1.65v-1.32a1.2 1.2 0 0 1 1.2-1.2"})]}),uye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M18 7.133a1.2 1.2 0 0 1 1.2 1.2v10.8h1.933v-10.8a1.2 1.2 0 0 1 1.2-1.2h4.333a1.2 1.2 0 0 1 1.2 1.2v6a1.2 1.2 0 0 1-2.4 0v-4.8h-1.933v10.8a1.2 1.2 0 0 1-1.2 1.2H18a1.2 1.2 0 0 1-1.2-1.2v-10.8h-1.934v10.8a1.2 1.2 0 0 1-1.2 1.2H9.333a1.2 1.2 0 0 1-1.2-1.2v-6a1.2 1.2 0 0 1 2.4 0v4.8h1.934v-10.8a1.2 1.2 0 0 1 1.199-1.2z"}),h("path",{fill:"#fff",d:"M25.333 22.138c0-.297.36-.445.57-.235l2.96 2.959c.26.26.26.683 0 .943l-2.96 2.959a.333.333 0 0 1-.57-.235v-1.995H4a1.2 1.2 0 0 1 0-2.4h21.333z"}),h("path",{fill:"#fff",fillRule:"evenodd",d:"M6.683 2.458q1.161 0 2.01.453.854.454 1.307 1.303.459.85.458 2.015 0 1.167-.458 2.016-.453.849-1.302 1.302-.843.453-1.99.453H3.844V2.458zm-.86 5.855h.813q.608 0 1.005-.199.4-.197.609-.656.208-.458.208-1.229 0-.78-.208-1.24a1.26 1.26 0 0 0-.62-.65q-.411-.193-1.041-.193h-.766z",clipRule:"evenodd"})]}),dye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M14 19.357c0 .355.288.643.643.643h2.714a.643.643 0 0 0 .643-.643v-.714a.643.643 0 0 0-.643-.643h-2.714a.643.643 0 0 0-.643.643zm0-4c0 .355.288.643.643.643h2.714a.643.643 0 0 0 .643-.643v-.714a.643.643 0 0 0-.643-.643h-2.714a.643.643 0 0 0-.643.643zM16 25a5.93 5.93 0 0 1-3.013-.8A5.84 5.84 0 0 1 10.8 22H8.643A.643.643 0 0 1 8 21.357v-.714c0-.355.288-.643.643-.643H10.1a8 8 0 0 1-.088-1A40 40 0 0 1 10 18H8.643A.643.643 0 0 1 8 17.357v-.714c0-.355.288-.643.643-.643H10q0-.5.012-1t.088-1H8.643A.643.643 0 0 1 8 13.357v-.714c0-.355.288-.643.643-.643H10.8a8 8 0 0 1 .787-1.075 4.9 4.9 0 0 1 1.013-.875l-1.16-1.196a.643.643 0 0 1 .007-.902l.498-.498a.643.643 0 0 1 .91 0L14.55 9.15a4.63 4.63 0 0 1 2.85 0l1.745-1.706a.643.643 0 0 1 .904.005l.496.496a.643.643 0 0 1 0 .91L19.35 10.05A5.8 5.8 0 0 1 21.2 12h2.157c.355 0 .643.288.643.643v.714a.643.643 0 0 1-.643.643H21.9q.075.5.087 1 .013.5.013 1h1.357c.355 0 .643.288.643.643v.714a.643.643 0 0 1-.643.643H22q0 .5-.013 1a8 8 0 0 1-.087 1h1.457c.355 0 .643.288.643.643v.714a.643.643 0 0 1-.643.643H21.2a5.84 5.84 0 0 1-2.188 2.2Q17.625 25 16 25"}),h("path",{fill:"#5C9CFF",d:"M4.667 20.8a1.2 1.2 0 0 1 1.2 1.2v4.133H10a1.201 1.201 0 0 1 0 2.4H4.667a1.2 1.2 0 0 1-1.2-1.2V22a1.2 1.2 0 0 1 1.2-1.2M27.333 20.8a1.2 1.2 0 0 1 1.2 1.2v5.333a1.2 1.2 0 0 1-1.2 1.2H22a1.2 1.2 0 0 1 0-2.4h4.133V22c0-.663.538-1.2 1.2-1.2M10 3.467a1.2 1.2 0 0 1 0 2.4H5.867V10a1.2 1.2 0 0 1-2.4 0V4.667a1.2 1.2 0 0 1 1.2-1.2zM27.333 3.467a1.2 1.2 0 0 1 1.2 1.2V10a1.2 1.2 0 0 1-2.4 0V5.867H22a1.2 1.2 0 0 1 0-2.4z"})]}),fye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M8.667 7.333c0-.368.298-.666.666-.666h13.334c.368 0 .666.298.666.666v21.334a.667.667 0 0 1-.666.666H9.333a.667.667 0 0 1-.666-.666zM12 2c0-.368.299-.667.667-.667h6.666c.369 0 .667.299.667.667v2a.667.667 0 0 1-.667.667h-6.666A.667.667 0 0 1 12 4z"}),h("path",{fill:"#fff",d:"M14.025 19.507h-2.388a.306.306 0 0 1-.249-.482l5.96-8.415c.183-.259.59-.102.552.213l-.663 5.475a.122.122 0 0 0 .121.137h2.898c.26 0 .401.303.235.502l-6.475 7.732c-.197.235-.579.066-.537-.238l.667-4.785a.122.122 0 0 0-.121-.139"})]}),pye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M11.172 5.333a2 2 0 0 1 1.414.586l3.023 3.024c.25.25.59.39.943.39H8l-2.666 3.333H2.667V7.333a2 2 0 0 1 2-2z"}),h("path",{fill:"#fff",d:"M2.667 10.667c0-.737.597-1.334 1.333-1.334h23.333a2 2 0 0 1 2 2V24a2 2 0 0 1-2 2H4.667a2 2 0 0 1-2-2z"})]}),hye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M16 2.133a1.2 1.2 0 0 1 1.2 1.2V6.8h1.467l.136.008c.313.035.602.193.801.442l2.666 3.333c.351.438.35 1.062 0 1.5l-2.666 3.333a1.201 1.201 0 0 1-1.875-1.499l2.067-2.584-1.706-2.134h-4.18l-1.706 2.134 2.066 2.584a1.2 1.2 0 0 1-1.874 1.499L9.73 12.083a1.2 1.2 0 0 1 0-1.5l2.667-3.333c.228-.285.573-.45.938-.45H14.8V3.333A1.2 1.2 0 0 1 16 2.133"}),h("path",{fill:"#fff",d:"M15.745 23.696a.333.333 0 0 0 .51 0l3.904-4.648a.333.333 0 0 0-.255-.548h-7.808a.333.333 0 0 0-.255.548zM9.099 4.058H5.823v1.369h2.953v1.6H5.823V10h-1.98V2.458H9.1zM16.933 29.2h-1.866c-.66 0-1.2-.541-1.2-1.2 0-.66.54-1.2 1.2-1.2h1.866c.66 0 1.2.54 1.2 1.2s-.54 1.2-1.2 1.2M11.733 25.987c.53.397.648 1.153.255 1.678-.412.536-1.165.643-1.68.242l-.003-.002a5.3 5.3 0 0 1-.715-.623l-.776-.777a1.195 1.195 0 0 1 0-1.691 1.195 1.195 0 0 1 1.691 0l.774.773c.136.137.287.275.454.4M21.695 27.905a1.24 1.24 0 0 1-.722.242c-.327 0-.642-.13-.868-.37l-.09-.11-.003-.002-.067-.1a1.195 1.195 0 0 1 .32-1.577v-.001h.002a3 3 0 0 0 .455-.4l.772-.773a1.196 1.196 0 1 1 1.692 1.691l-.773.774a8 8 0 0 1-.718.625M7.027 24.013c0 .653-.574 1.186-1.24 1.186-1.001 0-2.987.334-2.987-1.2 0-.66.54-1.199 1.2-1.199h1.88c.65 0 1.147.544 1.147 1.213M29.2 24.013c0 .653-.574 1.186-1.24 1.186h-1.787c-.66 0-1.2-.54-1.2-1.2s.54-1.199 1.2-1.199h1.88c.651 0 1.147.544 1.147 1.213"})]}),mye=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"#fff",d:"M4.485 4.485a1.2 1.2 0 0 1 1.697 0L25.467 23.77V16a1.2 1.2 0 0 1 2.4 0v10.667a1.2 1.2 0 0 1-1.2 1.2H16a1.2 1.2 0 1 1 0-2.4h7.77L4.485 6.182a1.2 1.2 0 0 1 0-1.697"})}),gye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#FAFAFA",d:"M29 7.001v15a1 1 0 0 1-.345.75c-1.91 1.654-3.736 2.25-5.478 2.25-2.363 0-4.57-1.092-6.625-2.106-3.318-1.644-6.203-3.067-9.552-.422V28a1 1 0 1 1-2 0v-21a1 1 0 0 1 .346-.75C9.5 2 13.885 4.351 17.445 6.111c3.43 1.698 6.404 3.165 9.9.14a1 1 0 0 1 1.655.75"}),h("path",{fill:"#5C9CFF",d:"M5 7c0-.238 0-.5.5-1 .5-.502 1.499-1.108 1.499-1.108s-.001-.02-.001.077v23.34a.99.99 0 0 1-.994.99.99.99 0 0 1-.995-.99z"})]}),vye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M16 8.201a2.8 2.8 0 1 0 0-5.6 2.8 2.8 0 0 0 0 5.6"}),h("path",{fill:"#5C9CFF",d:"M12 4.133a1.2 1.2 0 0 1 1.2 1.2v5.333a1.2 1.2 0 0 1-1.2 1.2h-1.467V16a1.2 1.2 0 0 1-2.4 0v-5.334a1.2 1.2 0 0 1 1.2-1.2H10.8V5.334a1.2 1.2 0 0 1 1.2-1.2M20 4.133a1.2 1.2 0 0 1 1.2 1.2v4.134h1.467a1.2 1.2 0 0 1 1.2 1.199V16a1.2 1.2 0 1 1-2.4 0v-4.134H20a1.2 1.2 0 0 1-1.2-1.2V5.333a1.2 1.2 0 0 1 1.2-1.2"}),h("path",{fill:"#fff",d:"M24 26.667c0 .736-.597 1.333-1.333 1.333H9.333A1.333 1.333 0 0 1 8 26.667v-.745c0-1.148.734-2.167 1.823-2.53l.912-.304a1.85 1.85 0 0 0 0-3.51l-.912-.303A2.67 2.67 0 0 1 8 16.745v-2.078h16v2.078a2.67 2.67 0 0 1-1.823 2.53l-.912.303a1.85 1.85 0 0 0 0 3.51l.912.304A2.67 2.67 0 0 1 24 25.922z"})]}),wye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M4.667 26V13.036a2 2 0 0 1 .846-1.634l9.718-6.86a1.33 1.33 0 0 1 1.538 0l9.718 6.86a2 2 0 0 1 .846 1.634V26a2 2 0 0 1-2 2H6.667a2 2 0 0 1-2-2"}),h("path",{fill:"#5C9CFF",d:"M12 20c0-.736.597-1.333 1.333-1.333h5.334c.736 0 1.333.597 1.333 1.333v8h-8z"})]}),bye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M22.535 27.29a1.2 1.2 0 0 1 .696 2.297c-.602.182-1.24.28-1.898.28a6.5 6.5 0 0 1-1.896-.28 1.2 1.2 0 0 1 .696-2.297 4.138 4.138 0 0 0 2.401 0M16 22.133a1.2 1.2 0 0 1 1.2 1.2c0 .42.063.823.177 1.201a1.2 1.2 0 0 1-2.297.696 6.5 6.5 0 0 1-.28-1.897 1.2 1.2 0 0 1 1.2-1.2M26.667 22.133a1.2 1.2 0 0 1 1.2 1.2c0 .658-.098 1.295-.28 1.897a1.2 1.2 0 0 1-2.297-.696c.115-.378.177-.781.177-1.2a1.2 1.2 0 0 1 1.2-1.2M4.413 6.77a1.2 1.2 0 1 1 2.297.696c-.114.378-.176.781-.176 1.2a1.2 1.2 0 0 1-2.4 0c0-.657.097-1.295.28-1.896M15.424 5.969a1.2 1.2 0 0 1 1.496.8c.183.602.28 1.24.28 1.897a1.2 1.2 0 1 1-2.4 0c0-.419-.062-.822-.177-1.2a1.2 1.2 0 0 1 .801-1.497M10.666 2.133c.658 0 1.296.098 1.898.28a1.2 1.2 0 0 1-.696 2.297 4.1 4.1 0 0 0-1.202-.177c-.419 0-.821.063-1.2.177a1.2 1.2 0 0 1-.696-2.297 6.5 6.5 0 0 1 1.896-.28"}),h("path",{fill:"#fff",fillRule:"evenodd",d:"M6.666 12.6a3.4 3.4 0 1 1 0 6.8 3.4 3.4 0 0 1 0-6.8m0 2.133a1.267 1.267 0 1 0 .002 2.534 1.267 1.267 0 0 0-.002-2.534",clipRule:"evenodd"}),h("path",{fill:"#fff",d:"M17.152 13.152a1.2 1.2 0 0 1 1.697 1.697L17.698 16l1.151 1.152a1.2 1.2 0 0 1-1.697 1.697L16 17.698l-1.151 1.15a1.2 1.2 0 0 1-1.697-1.696L14.303 16l-1.151-1.151a1.2 1.2 0 0 1 1.697-1.697L16 14.303zM27.15 13.819a1.2 1.2 0 0 1 1.698 1.697l-3.333 3.333a1.2 1.2 0 0 1-1.697 0l-2-2a1.201 1.201 0 0 1 1.697-1.697l1.151 1.151z"})]}),yye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",fillRule:"evenodd",d:"M18.667 8.667c.736 0 1.277.594 1.333 1.333.137 1.813.337 4.388.482 6.26l6.27 1.844a2.67 2.67 0 0 1 1.915 2.558v6.672A2.667 2.667 0 0 1 26 30h-6.096a2.67 2.67 0 0 1-2.035-.944l-5.511-6.511a1.725 1.725 0 0 1 2.087-2.656l2.888 1.445V10c0-.737.598-1.333 1.334-1.333",clipRule:"evenodd"}),h("path",{fill:"#5C9CFF",d:"M26 2.8a2.534 2.534 0 0 1 2.533 2.533v8a1.2 1.2 0 1 1-2.4 0v-8A.134.134 0 0 0 26 5.2H6a.133.133 0 0 0-.133.133v16c0 .074.06.134.133.134h2.667a1.2 1.2 0 0 1 0 2.4H6a2.533 2.533 0 0 1-2.533-2.534v-16A2.534 2.534 0 0 1 6 2.8z"})]}),_ye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M12.9 6.213c2.642-1.02 5.877-.362 8.696 1.386 2.322 1.44 4.47 3.677 5.957 6.575l.617-2.466a1.2 1.2 0 0 1 2.328.582l-1.334 5.333a1.2 1.2 0 0 1-1.455.874l-5.333-1.334a1.2 1.2 0 0 1 .582-2.328l2.559.64c-1.292-2.612-3.182-4.594-5.186-5.837-2.428-1.505-4.86-1.846-6.565-1.186h-.004c-4.029 1.54-7.156 7.57-4.624 15.167a1.2 1.2 0 0 1-2.277.76c-2.8-8.4.444-16.023 6.04-18.166"}),h("path",{fill:"#fff",d:"M8 28a4 4 0 1 0 0-8 4 4 0 0 0 0 8M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8"})]}),xye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"16",cy:"16",r:"4.667",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M18.8 5.333a1.2 1.2 0 0 1 1.2-1.2h6.667a1.2 1.2 0 0 1 1.2 1.2V12a1.2 1.2 0 1 1-2.4 0V8.23l-3.285 3.285a1.2 1.2 0 0 1-1.697-1.697l3.285-3.285H20a1.2 1.2 0 0 1-1.2-1.2M4.134 20a1.2 1.2 0 1 1 2.4 0v3.77l3.284-3.285a1.2 1.2 0 0 1 1.697 1.697l-3.284 3.284H12a1.2 1.2 0 0 1 0 2.4H5.332a1.2 1.2 0 0 1-1.199-1.2z"})]}),Sye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M15.999 12.665c.696-.248 1.408.128 1.71.805a48 48 0 0 0 2.379 4.642l5.743.403a2.666 2.666 0 0 1 2.456 2.308l.672 5.034a2.667 2.667 0 0 1-2.453 3.012l-5.375.384a2.67 2.67 0 0 1-1.974-.677l-5.143-4.63a1.398 1.398 0 0 1 1.164-2.416L18 22l-.85-2.391-.015-.036-1.949-5.202A1.336 1.336 0 0 1 16 12.665"}),h("path",{fill:"#5C9CFF",d:"M26 2.8a2.534 2.534 0 0 1 2.533 2.533v9.334a1.2 1.2 0 0 1-2.4 0V5.333A.134.134 0 0 0 26 5.2H6a.133.133 0 0 0-.133.133v16c0 .074.06.134.133.134h4a1.2 1.2 0 0 1 0 2.4H6a2.533 2.533 0 0 1-2.533-2.534v-16A2.534 2.534 0 0 1 6 2.8z"}),h("path",{fill:"#fff",d:"M13.962 8.652c1.98-.88 4.605-.744 6.35 1.25a1.2 1.2 0 1 1-1.805 1.58c-.9-1.027-2.32-1.193-3.57-.636-1.25.556-2.026 1.692-1.827 3a1.2 1.2 0 0 1-2.373.362c-.401-2.63 1.243-4.674 3.225-5.556"})]}),Cye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("ellipse",{cx:"15.5",cy:"26",fill:"#5C9CFF",rx:"9.5",ry:"3"}),h("path",{fill:"#fff",d:"M15.5 2a9.55 9.55 0 0 1 6.715 2.765A9.4 9.4 0 0 1 25 11.429c0 8.068-8.637 14.16-9.005 14.416a.87.87 0 0 1-.99 0C14.637 25.59 6 19.497 6 11.429a9.4 9.4 0 0 1 2.785-6.664A9.55 9.55 0 0 1 15.5 2m0 5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9"})]}),Eye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M14.667 11.333c.736 0 1.333.597 1.333 1.334V16h3.333a1.333 1.333 0 0 1 0 2.667H16V22a1.333 1.333 0 0 1-2.667 0v-3.333H10A1.333 1.333 0 0 1 10 16h3.333v-3.333c0-.737.597-1.333 1.334-1.334"}),h("path",{fill:"#5C9CFF",d:"M9.655 20.648q.17.017.344.018h1.334V22l.004.172q.005.087.014.174l-5.169 5.17a1.2 1.2 0 0 1-1.697-1.698zM26.667 4.134a1.2 1.2 0 0 1 1.2 1.199V16a1.2 1.2 0 1 1-2.4 0V8.23l-5.788 5.788a3 3 0 0 0-.346-.018H18v-1.334l-.003-.172a3 3 0 0 0-.015-.173l5.789-5.788H16a1.2 1.2 0 0 1 0-2.4z"})]}),Mye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M29.333 24.446a.8.8 0 0 1-.58.77l-6.243 1.783a.4.4 0 0 1-.51-.385V9.081a.8.8 0 0 1 .58-.769l6.243-1.784a.4.4 0 0 1 .51.385zM10 23.683a.8.8 0 0 1-.58.77l-6.243 1.784a.4.4 0 0 1-.51-.385V8.32a.8.8 0 0 1 .58-.769L9.49 5.766a.4.4 0 0 1 .51.384z"}),h("path",{fill:"#fff",d:"M18.891 8.495a.8.8 0 0 1 .442.716v17.524a.4.4 0 0 1-.579.358L13.11 24.27a.8.8 0 0 1-.442-.715V6.03a.4.4 0 0 1 .579-.358z"})]}),kye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M3.836 29.06a.34.34 0 0 1-.503-.3V7.334a2 2 0 0 1 2-2h21.334a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-15.32c-.447 0-.886.112-1.277.326z"}),h("path",{fill:"#5C9CFF",d:"M16.134 18.934a1.2 1.2 0 0 1 0 2.4H9.2a1.2 1.2 0 0 1 0-2.4zM22.8 14.267a1.2 1.2 0 0 1 0 2.4H9.2a1.2 1.2 0 0 1 0-2.4zM22.8 9.6a1.2 1.2 0 0 1 0 2.4H9.2a1.2 1.2 0 0 1 0-2.4z"})]}),Rye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M12.598 10.106A5.3 5.3 0 0 0 16 11.333a5.3 5.3 0 0 0 3.401-1.227 5.3 5.3 0 0 0 .64 3.56 5.3 5.3 0 0 0 2.762 2.332 5.3 5.3 0 0 0-2.762 2.334 5.3 5.3 0 0 0-.64 3.559A5.3 5.3 0 0 0 16 20.665c-1.293 0-2.479.46-3.402 1.226a5.3 5.3 0 0 0-.639-3.559 5.3 5.3 0 0 0-2.763-2.334 5.3 5.3 0 0 0 2.763-2.332c.647-1.12.84-2.378.639-3.56"}),h("path",{fill:"#fff",d:"M19.334 5.999a3.333 3.333 0 1 1-6.667 0 3.333 3.333 0 0 1 6.667 0M26.327 13.886a3.333 3.333 0 1 1-3.333-5.774 3.333 3.333 0 0 1 3.333 5.774M22.994 23.886a3.333 3.333 0 1 1 3.333-5.774 3.333 3.333 0 0 1-3.333 5.774M12.667 25.999a3.333 3.333 0 1 1 6.666 0 3.333 3.333 0 0 1-6.666 0M5.673 18.112a3.333 3.333 0 1 1 3.334 5.774 3.333 3.333 0 0 1-3.334-5.774M9.007 8.112a3.333 3.333 0 1 1-3.334 5.774 3.333 3.333 0 0 1 3.334-5.774"})]}),Tye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M16 4.133a1.2 1.2 0 0 1 1.2 1.2v9.015l8.573-2.786a1.2 1.2 0 0 1 .742 2.282L17.94 16.63l5.3 7.295a1.2 1.2 0 1 1-1.94 1.41l-5.3-7.294-5.3 7.294a1.2 1.2 0 0 1-1.94-1.41l5.298-7.295-8.573-2.786a1.2 1.2 0 0 1 .742-2.282l8.573 2.786V5.333a1.2 1.2 0 0 1 1.2-1.2"}),h("circle",{cx:"16",cy:"4",r:"2.667",fill:"#fff"}),h("circle",{cx:"4.587",cy:"12.292",r:"2.667",fill:"#fff",transform:"rotate(-72 4.587 12.292)"}),h("circle",{cx:"8.946",cy:"25.708",r:"2.667",fill:"#fff",transform:"rotate(-144 8.946 25.708)"}),h("circle",{cx:"23.053",cy:"25.708",r:"2.667",fill:"#fff",transform:"rotate(144 23.053 25.708)"}),h("circle",{cx:"27.413",cy:"12.292",r:"2.667",fill:"#fff",transform:"rotate(72 27.413 12.292)"}),h("circle",{cx:"16",cy:"16",r:"3.333",fill:"#fff"})]}),Nye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"7.333",cy:"25.333",r:"3.333",fill:"#5C9CFF"}),h("circle",{cx:"25.999",cy:"18.667",r:"3.333",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M21.164 9.627a1.2 1.2 0 0 1 1.3 1.09l.329 3.758.004.122a1.2 1.2 0 0 1-1.095 1.178l-3.757.328a1.2 1.2 0 0 1-.21-2.391l.87-.076-.956-.802a1.201 1.201 0 0 1 1.543-1.84l.957.804-.076-.871a1.2 1.2 0 0 1 1.09-1.3M13.528 7.81a1.2 1.2 0 0 1 1.692-.148l1.134.952a1.2 1.2 0 0 1-1.543 1.839L13.677 9.5a1.2 1.2 0 0 1-.149-1.692M7.26 17.723a1.2 1.2 0 1 1 2.364.417l-.257 1.46a1.2 1.2 0 0 1-2.364-.418zM9.22 9.15a1.2 1.2 0 0 1 1.568.36l2.162 3.09a1.2 1.2 0 1 1-1.966 1.375l-.5-.715-.217 1.233a1.2 1.2 0 0 1-2.364-.417l.218-1.235-.717.503a1.201 1.201 0 0 1-1.377-1.966l3.09-2.164z"}),h("circle",{cx:"10.667",cy:"5.333",r:"2.333",fill:"#5C9CFF"})]}),Pye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M10.533 7.533a2.333 2.333 0 1 0 0-4.666 2.333 2.333 0 0 0 0 4.666M7.2 28.533a3.333 3.333 0 1 0 0-6.666 3.333 3.333 0 0 0 0 6.666"}),h("path",{fill:"#fff",d:"M21.026 9.506h-.003a1.19 1.19 0 0 0-1.091 1.294l.072.825-1.59-1.344-.157-.122-.15-.117a1.204 1.204 0 0 0-1.68.239 1.204 1.204 0 0 0 .24 1.68l.007.005.007.007.161.136.005.004L18.24 13.3l.242.207-.884.079h-.002a1.19 1.19 0 0 0-1.09 1.293c.06.624.588 1.093 1.2 1.093h.26l3.595-.318.002-.001c.322-.024.61-.179.814-.42.202-.237.3-.561.276-.875l-.333-3.76v-.003a1.19 1.19 0 0 0-1.294-1.09m-6.942.287a1.205 1.205 0 0 0-1.453-.877h.001a6.56 6.56 0 0 0-3.765 2.522 1.21 1.21 0 0 0 .276 1.68l.004.004c.186.143.417.212.643.221l.011-.008h.052c.372 0 .733-.169.973-.494a4.1 4.1 0 0 1 2.382-1.596l.117-.035c.528-.189.859-.73.782-1.296zM9.242 19.454a1.22 1.22 0 0 1-1.175.998h-.013a.5.5 0 0 1-.178-.017l-.013-.005-.012-.003a1.2 1.2 0 0 1-.973-1.392l.467-2.625a1.2 1.2 0 1 1 2.364.419z"}),h("path",{fill:"#5C9CFF",d:"M25.867 21.867a3.333 3.333 0 1 0 0-6.667 3.333 3.333 0 0 0 0 6.667"})]}),Aye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"7.333",cy:"25.333",r:"3.333",fill:"#5C9CFF"}),h("circle",{cx:"25.999",cy:"18.667",r:"3.333",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M13.528 7.81a1.2 1.2 0 0 1 1.692-.148l4.93 4.136-.077-.871a1.2 1.2 0 0 1 2.39-.21l.33 3.758.004.122a1.2 1.2 0 0 1-1.095 1.178l-3.757.328a1.2 1.2 0 0 1-.21-2.391l.87-.076L13.676 9.5a1.2 1.2 0 0 1-.149-1.692M9.22 9.15a1.2 1.2 0 0 1 1.568.36l2.162 3.089a1.2 1.2 0 1 1-1.966 1.376l-.5-.715L9.366 19.6a1.2 1.2 0 0 1-2.364-.417l1.118-6.34-.717.502a1.201 1.201 0 0 1-1.377-1.966l3.089-2.164z"}),h("circle",{cx:"10.667",cy:"5.333",r:"2.333",fill:"#5C9CFF"})]}),Iye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"10.667",cy:"5.333",r:"2.333",fill:"#5C9CFF"}),h("circle",{cx:"7.333",cy:"25.333",r:"3.333",fill:"#5C9CFF"}),h("circle",{cx:"25.999",cy:"18.667",r:"3.333",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M7.87 14.27c.878-4.965 6.812-7.107 10.659-3.846l1.62 1.372-.077-.87a1.2 1.2 0 0 1 2.392-.208l.328 3.757.005.123a1.2 1.2 0 0 1-1.096 1.177l-3.756.329a1.2 1.2 0 0 1-.21-2.392l.87-.076-1.628-1.382c-2.434-2.063-6.189-.707-6.743 2.434L9.366 19.6a1.2 1.2 0 0 1-2.363-.417z"})]}),Oye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M10.533 7.533a2.333 2.333 0 1 0 0-4.666 2.333 2.333 0 0 0 0 4.666M7.2 28.533a3.333 3.333 0 1 0 0-6.666 3.333 3.333 0 0 0 0 6.666"}),h("path",{fill:"#fff",d:"M21.026 9.506h-.003a1.19 1.19 0 0 0-1.091 1.294l.072.825-1.59-1.344-.157-.122-.15-.117a1.204 1.204 0 0 0-1.68.239 1.204 1.204 0 0 0 .24 1.68l.007.005.007.007.161.136.005.004L18.24 13.3l.242.207-.884.079h-.002a1.19 1.19 0 0 0-1.09 1.293c.06.624.587 1.093 1.2 1.093h.26l3.595-.318.002-.001c.322-.024.61-.179.814-.42.202-.237.3-.561.276-.875l-.333-3.76v-.003a1.19 1.19 0 0 0-1.294-1.09m-6.942.287a1.205 1.205 0 0 0-1.453-.877h.001a6.56 6.56 0 0 0-3.765 2.522 1.21 1.21 0 0 0 .276 1.68l.004.004c.186.143.417.212.643.221l.011-.008h.052c.372 0 .733-.169.973-.494a4.1 4.1 0 0 1 2.382-1.596l.116-.035c.529-.189.86-.73.783-1.296zM9.242 19.454a1.22 1.22 0 0 1-1.175.998h-.013a.5.5 0 0 1-.178-.017l-.013-.005-.012-.003a1.2 1.2 0 0 1-.973-1.392l.467-2.625a1.2 1.2 0 1 1 2.364.419z"}),h("path",{fill:"#5C9CFF",d:"M25.867 21.867a3.333 3.333 0 1 0 0-6.667 3.333 3.333 0 0 0 0 6.667"})]}),Lye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M2.667 8h26.667v13.333H2.667z"}),h("path",{fill:"#5C9CFF",d:"M8.982 21.333H6.41l5.153-13.334h2.572zM14.742 21.333h-2.574l5.154-13.334h2.572zM20.5 21.333H17.93l5.153-13.334h2.572zM3.867 4.667a1.2 1.2 0 0 1 1.2 1.2v20.266a1.2 1.2 0 0 1-2.4 0V5.868c0-.663.537-1.201 1.2-1.201M28.133 4.667a1.2 1.2 0 0 1 1.2 1.2v20.266a1.2 1.2 0 0 1-2.4 0V5.867a1.2 1.2 0 0 1 1.2-1.2"})]}),$ye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("rect",{width:"10.667",height:"10.667",x:"4",y:"4",fill:"#5C9CFF",rx:"1.333"}),h("rect",{width:"10.667",height:"10.667",x:"17.333",y:"4",fill:"#fff",rx:"1.333"}),h("rect",{width:"10.667",height:"10.667",x:"4",y:"17.333",fill:"#fff",rx:"1.333"}),h("rect",{width:"10.667",height:"10.667",x:"17.333",y:"17.333",fill:"#fff",rx:"1.333"})]}),Dye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M12.349 25.289a.13.13 0 0 0-.126-.09H4.666a1.2 1.2 0 1 1 0-2.4h7.574a.13.13 0 0 0 .125-.086 3.9 3.9 0 0 1 .684-1.175l.053-.047a.2.2 0 0 1 .047-.02.2.2 0 0 1 .113.008c.097.03.202.103.3.182.305.237.623.462.937.684.172.129.318.218.421.355l.004.005c.06.073.07.15.051.239a1 1 0 0 1-.14.3c-.144.228-.232.49-.232.78 0 .77.627 1.393 1.397 1.393s1.396-.624 1.397-1.393c0-.29-.087-.552-.23-.78a1 1 0 0 1-.141-.301.26.26 0 0 1 .05-.238l.004-.005c.104-.138.25-.226.421-.355.314-.223.632-.447.937-.684a1 1 0 0 1 .3-.182.2.2 0 0 1 .114-.009c.029.007.063.025.1.068l.107.132c.243.312.438.664.576 1.043.02.052.07.086.125.086h2.266c.04 0 .079-.018.104-.05l2.267-2.832a1.2 1.2 0 0 1 1.227-.414l2.667.667a1.2 1.2 0 0 1-.582 2.327l-1.836-.458a.13.13 0 0 0-.136.046l-1.466 1.832a.134.134 0 0 0 0 .167l1.466 1.833c.032.04.086.058.136.046l1.836-.46a1.199 1.199 0 1 1 .582 2.327l-2.667.667a1.2 1.2 0 0 1-1.227-.414l-2.268-2.834a.13.13 0 0 0-.104-.05h-2.248a.13.13 0 0 0-.107.053l-.02.037A3.87 3.87 0 0 1 16 27.866a3.87 3.87 0 0 1-3.651-2.577"}),h("path",{fill:"#fff",d:"M16 2a7.11 7.11 0 0 0-5.074 2.15A7.42 7.42 0 0 0 8.82 9.333c0 6.275 6.526 11.015 6.805 11.213a.64.64 0 0 0 .749 0c.278-.198 6.805-4.937 6.805-11.213a7.42 7.42 0 0 0-2.106-5.183A7.11 7.11 0 0 0 16 2m0 4.667c.516 0 1.021.156 1.45.45.43.292.764.709.962 1.196a2.7 2.7 0 0 1 .149 1.54c-.101.518-.35.993-.715 1.366s-.83.627-1.337.73a2.56 2.56 0 0 1-1.508-.152 2.62 2.62 0 0 1-1.172-.982 2.71 2.71 0 0 1 .325-3.367c.49-.5 1.154-.781 1.846-.781"})]}),Bye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M23.67 20.846a1.202 1.202 0 0 1 .66 2.309l-3.961 1.13 6.628 1.895a1.2 1.2 0 0 1-.66 2.308L16 25.534 5.663 28.488a1.2 1.2 0 0 1-.659-2.308l6.627-1.894-3.96-1.131a1.201 1.201 0 0 1 .66-2.309L16 23.038z"}),h("path",{fill:"#fff",d:"M16 2a7.11 7.11 0 0 0-5.074 2.15A7.42 7.42 0 0 0 8.82 9.333c0 6.275 6.527 11.015 6.805 11.213a.64.64 0 0 0 .75 0c.278-.198 6.804-4.937 6.804-11.213a7.42 7.42 0 0 0-2.105-5.183A7.11 7.11 0 0 0 16 2m0 4.667c.516 0 1.021.156 1.45.45.43.292.764.709.962 1.196a2.7 2.7 0 0 1 .149 1.54c-.101.518-.35.993-.715 1.366s-.83.627-1.337.73a2.56 2.56 0 0 1-1.508-.152 2.62 2.62 0 0 1-1.172-.982 2.71 2.71 0 0 1 .325-3.367c.49-.5 1.153-.781 1.846-.781"})]}),zye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M14.667 9.333a5.334 5.334 0 1 1-.002 10.668 5.334 5.334 0 0 1 .002-10.668m0 2.667a2.667 2.667 0 1 0 0 5.334 2.667 2.667 0 0 0 0-5.334"}),h("path",{fill:"#5C9CFF",d:"M26.667 14.8a1.2 1.2 0 0 1 1.2 1.2v10.668a1.2 1.2 0 0 1-1.2 1.199H16a1.2 1.2 0 0 1 0-2.4h7.77l-4.838-4.838a7.4 7.4 0 0 0 1.697-1.697l4.838 4.838V16a1.2 1.2 0 0 1 1.2-1.2M4.485 4.485a1.2 1.2 0 0 1 1.697 0l4.219 4.219A7.4 7.4 0 0 0 8.704 10.4l-4.22-4.219a1.2 1.2 0 0 1 0-1.697"})]}),Fye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"24",cy:"24",r:"2.8",stroke:"#fff",strokeWidth:"2.4"}),h("circle",{cx:"8",cy:"8",r:"4",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M18 14.8a1.2 1.2 0 0 1 0 2.4H8a2.8 2.8 0 1 0 0 5.6h8.667a1.2 1.2 0 0 1 0 2.4H8a5.2 5.2 0 0 1 0-10.4z"}),h("path",{fill:"#5C9CFF",d:"M24.617 14.73a1.2 1.2 0 0 1 .531 2.34q-.56.13-1.156.13h-1.333a1.2 1.2 0 0 1 0-2.4h1.333q.325-.001.625-.07M27.627 9.94a1.2 1.2 0 0 1 1.435.903 5.2 5.2 0 0 1 0 2.314 1.2 1.2 0 0 1-2.34-.532 2.8 2.8 0 0 0 0-1.25 1.2 1.2 0 0 1 .905-1.435M23.992 6.8q.595.001 1.156.13a1.2 1.2 0 0 1-.531 2.34q-.301-.069-.625-.07h-1.333a1.2 1.2 0 0 1 0-2.4zM17.992 6.8a1.2 1.2 0 1 1 0 2.4h-2.667a1.2 1.2 0 0 1 0-2.4z"})]}),Vye=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:ne("g",{transform:"rotate(180 16 16)",children:[h("circle",{cx:"24",cy:"24",r:"2.8",stroke:"#fff",strokeWidth:"2.4"}),h("circle",{cx:"8",cy:"8",r:"4",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M18 14.8a1.2 1.2 0 0 1 0 2.4H8a2.8 2.8 0 1 0 0 5.6h8.667a1.2 1.2 0 0 1 0 2.4H8a5.2 5.2 0 0 1 0-10.4z"}),h("path",{fill:"#5C9CFF",d:"M24.617 14.73a1.2 1.2 0 0 1 .531 2.34q-.56.13-1.156.13h-1.333a1.2 1.2 0 0 1 0-2.4h1.333q.325-.001.625-.07M27.627 9.94a1.2 1.2 0 0 1 1.435.903 5.2 5.2 0 0 1 0 2.314 1.2 1.2 0 0 1-2.34-.532 2.8 2.8 0 0 0 0-1.25 1.2 1.2 0 0 1 .905-1.435M23.992 6.8q.595.001 1.156.13a1.2 1.2 0 0 1-.531 2.34q-.301-.069-.625-.07h-1.333a1.2 1.2 0 0 1 0-2.4zM17.992 6.8a1.2 1.2 0 1 1 0 2.4h-2.667a1.2 1.2 0 0 1 0-2.4z"})]})}),jye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M2.033 10.586a3.333 3.333 0 0 1 3.282-3.92h21.37a3.333 3.333 0 0 1 3.282 3.92l-2.34 13.099a2 2 0 0 1-1.968 1.648H6.34a2 2 0 0 1-1.969-1.648z"}),h("circle",{cx:"8.667",cy:"12.667",r:"2.333",fill:"#fff"}),h("path",{fill:"#fff",d:"M14.333 19.333a2.333 2.333 0 1 1-4.666 0 2.333 2.333 0 0 1 4.666 0"}),h("circle",{cx:"20",cy:"19.333",r:"2.333",fill:"#fff"}),h("circle",{cx:"23.333",cy:"12.667",r:"2.333",fill:"#fff"}),h("circle",{cx:"16",cy:"12.667",r:"2.333",fill:"#fff"})]}),Hye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M20.484 3.152a1.2 1.2 0 0 1 1.698 0l4 4a1.2 1.2 0 0 1 0 1.697l-4 4a1.2 1.2 0 0 1-1.698-1.697L22.435 9.2H8a.133.133 0 0 0-.133.133v5.334a1.2 1.2 0 0 1-2.4 0V9.333A2.534 2.534 0 0 1 8 6.8h14.436l-1.952-1.951a1.2 1.2 0 0 1 0-1.698"}),h("path",{fill:"#5C9CFF",d:"M25.333 16.133a1.2 1.2 0 0 1 1.2 1.2v5.333c0 1.4-1.134 2.533-2.533 2.533H9.564l1.952 1.952a1.2 1.2 0 0 1-1.698 1.698l-4-4a1.2 1.2 0 0 1 0-1.698l4-4a1.2 1.2 0 0 1 1.698 1.698l-1.951 1.95H24c.074 0 .134-.06.134-.133v-5.333a1.2 1.2 0 0 1 1.2-1.2"})]}),Wye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M25.467 16A9.467 9.467 0 0 0 16 6.533c-5.15 0-9.335 4.111-9.461 9.23l1.28-1.278a1.2 1.2 0 0 1 1.697 1.697l-3.334 3.333a1.2 1.2 0 0 1-1.698 0l-3.333-3.333a1.2 1.2 0 0 1 1.698-1.697l1.287 1.287C4.257 9.323 9.522 4.133 16 4.133c6.554 0 11.866 5.313 11.866 11.867S22.554 27.866 16 27.866c-2.855 0-5.477-1.009-7.524-2.689a1.2 1.2 0 0 1 1.523-1.855A9.467 9.467 0 0 0 25.467 16"}),h("path",{fill:"#fff",d:"M21.667 15.423a.667.667 0 0 1 0 1.154l-8 4.62a.667.667 0 0 1-1-.578V11.38a.667.667 0 0 1 1-.577z"})]}),qye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M3.9 16a.9.9 0 0 1 .9.9V20h3.1a.9.9 0 0 1 0 1.8h-4a.9.9 0 0 1-.9-.9v-4a.9.9 0 0 1 .9-.9M20.9 16a.9.9 0 0 1 .9.9v4a.9.9 0 0 1-.9.9h-4a.9.9 0 0 1 0-1.8H20v-3.1a.9.9 0 0 1 .9-.9M7.9 3a.9.9 0 0 1 0 1.8H4.8v3.1a.9.9 0 0 1-1.8 0v-4a.9.9 0 0 1 .9-.9zM20.9 3a.9.9 0 0 1 .9.9v4a.9.9 0 0 1-1.8 0V4.8h-3.1a.9.9 0 0 1 0-1.8z"}),h("path",{fill:"#fff",fillRule:"evenodd",d:"M12.415 7c-3.16 0-5.87 1.78-7.28 4.34-.18.32-.18.7 0 1.02 1.41 2.56 4.12 4.34 7.28 4.34s5.87-1.78 7.28-4.34c.18-.32.18-.7 0-1.02-1.41-2.56-4.12-4.34-7.28-4.34m0 7.45c1.44 0 2.6-1.16 2.6-2.6s-1.16-2.6-2.6-2.6-2.6 1.16-2.6 2.6 1.16 2.6 2.6 2.6",clipRule:"evenodd"})]}),Uye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M18.114 2.667c.354 0 .693.14.943.39l7.219 7.22c.25.25.39.588.39.942v16.115a2 2 0 0 1-2 2H7.333a2 2 0 0 1-2-2V4.667a2 2 0 0 1 2-2z"}),h("path",{fill:"#5C9CFF",d:"M16.196 12.287a1.2 1.2 0 0 1 2.276.76l-2.666 8a1.201 1.201 0 0 1-2.277-.76zM10.486 13.151a1.201 1.201 0 0 1 1.697 1.697l-1.819 1.818 1.819 1.818a1.201 1.201 0 0 1-1.697 1.697l-2.667-2.666a1.2 1.2 0 0 1 0-1.697zM19.818 13.151a1.2 1.2 0 0 1 1.697 0l2.667 2.667a1.2 1.2 0 0 1 0 1.697l-2.667 2.666a1.2 1.2 0 0 1-1.697-1.697l1.818-1.818-1.818-1.818a1.2 1.2 0 0 1 0-1.697"})]}),Yye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M25.447 17.46a.55.55 0 0 1-.188-.475c.063-.645.063-1.314 0-1.958a.55.55 0 0 1 .189-.476l2.579-2.185c.493-.414.613-1.12.293-1.68l-1.56-2.694c-.32-.56-1-.8-1.6-.587l-3.177 1.141a.55.55 0 0 1-.51-.078 9.5 9.5 0 0 0-1.7-.987.55.55 0 0 1-.318-.401l-.602-3.315a1.33 1.33 0 0 0-1.306-1.093H14.44c-.64 0-1.2.467-1.307 1.093l-.6 3.31a.55.55 0 0 1-.325.405 9 9 0 0 0-1.694.988.55.55 0 0 1-.51.078l-3.177-1.14a1.326 1.326 0 0 0-1.6.586l-1.574 2.693c-.32.56-.2 1.267.294 1.68l2.578 2.186a.55.55 0 0 1 .189.476 10 10 0 0 0 0 1.957.55.55 0 0 1-.189.476l-2.578 2.185a1.33 1.33 0 0 0-.294 1.68l1.56 2.694c.32.56 1 .8 1.6.587l3.177-1.141a.55.55 0 0 1 .511.078 9.5 9.5 0 0 0 1.7.987.55.55 0 0 1 .317.4l.602 3.316c.12.64.667 1.093 1.307 1.093h3.106c.64 0 1.2-.467 1.307-1.093l.6-3.31a.55.55 0 0 1 .325-.405 9 9 0 0 0 1.694-.988.55.55 0 0 1 .51-.078l3.178 1.14a1.326 1.326 0 0 0 1.6-.586l1.56-2.693c.32-.56.2-1.267-.294-1.68z"}),h("path",{fill:"#5C9CFF",d:"M16 21.334a5.333 5.333 0 1 0 0-10.667 5.333 5.333 0 0 0 0 10.667"})]}),Gye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M16.645 29.816c-.42.134-.87.134-1.29 0-2.928-.934-6.15-3.24-8.022-5.816-2.01-2.767-2.666-5.956-2.666-9.333V7.374a1 1 0 0 1 .667-.943l9.779-3.451a2.67 2.67 0 0 1 1.775 0l9.778 3.451a1 1 0 0 1 .667.943v7.293c0 3.377-.655 6.566-2.666 9.333-1.873 2.576-5.094 4.882-8.022 5.816"}),h("rect",{width:"12.667",height:"3.519",x:"9.667",y:"14.241",fill:"#fff",rx:".253"}),h("rect",{width:"3.519",height:"12.667",x:"14.241",y:"9.667",fill:"#fff",rx:".253"})]}),Kye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M5.334 3.333c0-.368.298-.666.666-.666h14.667c.368 0 .667.298.667.666v6a.667.667 0 0 1-.667.667H6a.667.667 0 0 1-.666-.667z"}),h("rect",{width:"16",height:"7.333",x:"5.334",y:"21.987",fill:"#5C9CFF",rx:".667"}),h("rect",{width:"16",height:"7.333",x:"12",y:"12.333",fill:"#5C9CFF",rx:".667"}),h("path",{fill:"#fff",d:"M12.667 5.166a1.07 1.07 0 0 1 1.5.167l8 10c.321.402.31.977-.027 1.365l-8.098 9.343 1.73 1.73a.133.133 0 0 1-.093.228H11a.334.334 0 0 1-.333-.333v-4.678c0-.12.144-.18.228-.095l1.634 1.635 7.415-8.556L12.5 6.666a1.07 1.07 0 0 1 .167-1.5"})]}),Xye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M23.151 4.485a1.2 1.2 0 0 1 1.697 0l4 4a1.2 1.2 0 0 1 0 1.697l-4 4a1.2 1.2 0 0 1-1.697-1.697l1.951-1.951H20a4.133 4.133 0 0 0-4.133 4.132v2.668a6.534 6.534 0 0 1-6.533 6.533H4.667a1.2 1.2 0 0 1 0-2.4h4.667a4.134 4.134 0 0 0 4.133-4.133v-2.668A6.534 6.534 0 0 1 20 8.133h5.102l-1.95-1.95a1.2 1.2 0 0 1 0-1.698"}),h("path",{fill:"#5C9CFF",d:"M9.334 8.133a6.534 6.534 0 0 1 6.533 6.533v2.667A4.133 4.133 0 0 0 20 21.467h5.103l-1.952-1.952a1.2 1.2 0 0 1 1.697-1.697l4 4a1.2 1.2 0 0 1 0 1.697l-4 4a1.2 1.2 0 0 1-1.697-1.697l1.951-1.952H20a6.533 6.533 0 0 1-6.533-6.533v-2.667a4.133 4.133 0 0 0-4.133-4.133H4.667a1.2 1.2 0 0 1 0-2.4z"})]}),Zye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M4.91 10.403a1.2 1.2 0 0 1 1.605.082l3.334 3.333a1.201 1.201 0 0 1-1.697 1.697l-1.428-1.428a9.473 9.473 0 0 0 14.791 9.607 1.2 1.2 0 0 1 1.396 1.953 11.87 11.87 0 0 1-11.317 1.365C6.461 24.96 3.547 19.713 4.227 14.47l-1.045 1.046a1.2 1.2 0 0 1-1.697-1.697l3.333-3.333z"}),h("path",{fill:"#fff",d:"M9.102 6.349a11.87 11.87 0 0 1 10.95-1.505l.366.14h.001c5.13 2.052 8.043 7.29 7.37 12.53l1.03-1.03a1.2 1.2 0 0 1 1.697 1.698l-3.334 3.333a1.2 1.2 0 0 1-1.697 0l-3.333-3.333a1.2 1.2 0 0 1 1.697-1.697l1.435 1.435A9.472 9.472 0 0 0 10.498 8.3 1.2 1.2 0 0 1 9.102 6.35"})]}),Qye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M16 4.133c6.554 0 11.866 5.313 11.866 11.867a1.2 1.2 0 0 1-2.4 0 9.467 9.467 0 1 0-3.822 7.598h-1.933a1.2 1.2 0 0 1 0-2.4h4.715a1.2 1.2 0 0 1 1.2 1.2v4.714a1.201 1.201 0 0 1-2.4 0v-1.699A11.82 11.82 0 0 1 16 27.866C9.447 27.866 4.133 22.554 4.133 16S9.446 4.133 16 4.133"}),h("path",{fill:"#fff",d:"m12.567 21.8 4.033-4.067q.333.134.675.2.342.067.725.067 1.667 0 2.833-1.167Q22 15.667 22 14q0-.6-.167-1.142a4.4 4.4 0 0 0-.225-.582c-.11-.233-.416-.268-.598-.086l-2.077 2.077-1.2-1.2 2.077-2.077c.182-.182.147-.488-.086-.598a4.4 4.4 0 0 0-.582-.225A3.9 3.9 0 0 0 18 10q-1.667 0-2.833 1.167Q14 12.333 14 14q0 .383.067.725.066.342.2.675L10.2 19.433a.66.66 0 0 0-.2.484q0 .284.2.483l1.4 1.4q.2.2.483.2.284 0 .484-.2"})]}),Jye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M12 8.133A3.867 3.867 0 0 1 15.867 12v8c0 .81.656 1.467 1.466 1.467h6.437l-1.952-1.952a1.2 1.2 0 0 1 1.697-1.697l4 4a1.2 1.2 0 0 1 0 1.697l-4 4a1.2 1.2 0 0 1-1.697-1.697l1.95-1.952h-6.435A3.866 3.866 0 0 1 13.467 20v-8c0-.81-.657-1.466-1.467-1.467H7.333a1.2 1.2 0 0 1 0-2.4z"}),h("path",{fill:"#fff",d:"M21.818 4.485a1.2 1.2 0 0 1 1.697 0l4 4a1.2 1.2 0 0 1 0 1.697l-4 4a1.2 1.2 0 0 1-1.697-1.697l1.95-1.951H7.334a1.2 1.2 0 0 1 0-2.4H23.77l-1.951-1.952a1.2 1.2 0 0 1 0-1.697"}),h("circle",{cx:"6.667",cy:"9.333",r:"3.333",fill:"#fff"})]}),e_e=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M20.533 3.333h-9.066a.8.8 0 0 0-.8.8v3.2h10.666v-3.2a.8.8 0 0 0-.8-.8"}),h("path",{fill:"#5C9CFF",d:"M22.634 14.536q.033.13.113.238l2.385 3.18a4.13 4.13 0 0 0-3.08 2.215l-4.706-4.28a2 2 0 0 0-2.692 0l-4.708 4.28a4.13 4.13 0 0 0-3.079-2.216l2.386-3.179a.7.7 0 0 0 .113-.238l1.301-5.203h10.666z"}),h("path",{fill:"#fff",d:"M25.119 28h-2.064a.333.333 0 0 1-.33-.384l.91-5.912a2.115 2.115 0 1 1 4.016 1.197l-2.229 4.904a.33.33 0 0 1-.303.195M7.096 28h1.849c.204 0 .36-.182.33-.384l-.91-5.912a2.115 2.115 0 1 0-4.016 1.197l2.14 4.708c.108.238.346.39.607.39"})]}),t_e=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("rect",{width:"18.667",height:"18.667",x:"10",y:"10.667",fill:"#fff",rx:"2"}),h("path",{fill:"#5C9CFF",d:"M24.667 14.133a1.2 1.2 0 0 1 1.2 1.2v10q-.001.11-.02.214a1.19 1.19 0 0 1-.917.956l-.034.007-.016.003a1 1 0 0 1-.213.02h-10a1.2 1.2 0 0 1 0-2.4h7.103l-7.286-7.285a1.2 1.2 0 0 1 1.698-1.697l7.285 7.285v-7.102a1.2 1.2 0 0 1 1.2-1.2M3.333 17.466V13.2a1.2 1.2 0 0 1 2.401 0v4.266a1.2 1.2 0 0 1-2.4 0m0-9.333V6.667a3.2 3.2 0 0 1 3.2-3.2h3.334a1.2 1.2 0 0 1 0 2.4H6.534a.8.8 0 0 0-.8.8v1.466a1.2 1.2 0 0 1-2.4 0m15.466 0V6.667a.8.8 0 0 0-.799-.8h-3.333a1.2 1.2 0 0 1 0-2.4H18a3.2 3.2 0 0 1 3.2 3.2v1.466a1.2 1.2 0 0 1-2.4 0M3.333 22.534v.932a3.2 3.2 0 0 0 3.2 3.2h1.8c.184 0 .334-.149.334-.333V24.6a.333.333 0 0 0-.334-.333h-1.8a.8.8 0 0 1-.799-.8v-.932a1.2 1.2 0 0 0-2.4 0"})]}),n_e=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"16",cy:"8",r:"5.333",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M25.165 15.186c.521-.521 1.365-.521 1.886 0l3.3 3.3c.52.52.52 1.364 0 1.885l-9.062 9.061a1.33 1.33 0 0 1-.885.39l-4.176.181a.667.667 0 0 1-.695-.695l.182-4.176c.014-.334.153-.65.389-.885z"}),h("path",{fill:"#5C9CFF",d:"M16 16c1.687 0 3.32.226 4.875.646l-6.185 6.187a3.33 3.33 0 0 0-.973 2.212L13.587 28H7.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C4 26.48 4 25.92 4 24.8v-.455c0-1.41 0-2.115.28-2.945.2-.589.757-1.515 1.185-1.966.602-.635 1.01-.85 1.827-1.282A18.6 18.6 0 0 1 16 16"})]}),r_e=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M7.64 13.56h.102l2.302-3.935h3.233L9.58 15.753l3.817 6.127h-3.318l-2.336-3.96h-.101l-2.344 3.96H2.012l3.8-6.127-3.714-6.128h3.257zM23.941 17.972q.01-1.093.186-1.76.185-.676.528-1.084.342-.408.926-.76.723-.454 1.075-.88.362-.427.362-.973 0-.398-.186-.704a1.2 1.2 0 0 0-.51-.473 1.6 1.6 0 0 0-.731-.167q-.399 0-.75.186a1.4 1.4 0 0 0-.557.519q-.214.342-.231.806h-2.938q.029-1.316.621-2.206a3.66 3.66 0 0 1 1.603-1.325q1-.435 2.27-.435 1.362 0 2.4.426 1.048.426 1.63 1.251.585.815.585 1.974 0 1.11-.538 1.89-.528.769-1.529 1.362-.528.315-.843.63a2.1 2.1 0 0 0-.472.723q-.168.407-.176 1v.26H23.94zm1.427 4.531a1.707 1.707 0 0 1-1.455-.843 1.67 1.67 0 0 1-.222-.843q0-.435.223-.815.222-.39.611-.612.39-.222.843-.222.445 0 .825.222t.611.612q.241.38.241.815 0 .454-.24.843a1.8 1.8 0 0 1-.612.612 1.56 1.56 0 0 1-.825.231"}),h("path",{fill:"#5C9CFF",d:"M13.887 13.024c0-.074.06-.133.133-.133h5.747c.074 0 .133.06.133.133v1.436c0 .074-.06.134-.133.134H14.02a.133.133 0 0 1-.133-.134zm0 3.539c0-.074.06-.133.133-.133h5.747c.074 0 .133.06.133.133v1.429c0 .073-.06.133-.133.133H14.02a.133.133 0 0 1-.133-.133z"})]}),o_e=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"16",cy:"16",r:"12.667",fill:"#fff"}),h("path",{fill:"#5C9CFF",d:"M16 5.8c0-.185.15-.334.334-.329 5.663.177 10.2 4.823 10.2 10.529 0 2.789-1.085 5.324-2.854 7.209a.325.325 0 0 1-.468.003l-6.821-6.822c-.25-.25-.391-.589-.391-.942z"})]}),a_e=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M15.667 13.467c.804 0 1.312.564 1.567.928.287.41.524.948.732 1.543.422 1.205.824 2.95 1.216 5.189.386 2.205.762 3.794 1.117 4.81l.034.091.035-.09c.355-1.017.731-2.606 1.117-4.811a1.2 1.2 0 0 1 2.364.413c-.392 2.24-.794 3.985-1.216 5.19-.208.595-.446 1.131-.733 1.541-.255.365-.763.929-1.567.93-.803-.001-1.311-.565-1.566-.93-.287-.41-.524-.946-.732-1.54-.422-1.206-.824-2.952-1.216-5.191-.386-2.204-.762-3.793-1.117-4.81l-.035-.091q-.016.045-.034.091c-.355 1.017-.731 2.606-1.117 4.81-.392 2.24-.795 3.985-1.217 5.19-.208.595-.445 1.131-.732 1.541-.255.365-.763.929-1.567.93-.803 0-1.311-.565-1.566-.93-.287-.41-.524-.946-.732-1.54-.422-1.206-.825-2.952-1.217-5.191-.386-2.204-.762-3.793-1.117-4.81l-.035-.091q-.016.045-.034.091c-.355 1.017-.731 2.606-1.117 4.81a1.2 1.2 0 0 1-2.363-.413c.392-2.24.794-3.984 1.216-5.19.208-.594.445-1.131.732-1.541.255-.365.762-.93 1.566-.93.804.001 1.312.565 1.567.93.287.41.525.947.733 1.541.422 1.206.824 2.95 1.216 5.19.386 2.204.761 3.794 1.117 4.81l.034.091.035-.09c.355-1.017.731-2.606 1.117-4.811.392-2.24.794-3.984 1.216-5.19.208-.595.446-1.131.733-1.541.255-.365.762-.93 1.566-.93"}),h("path",{fill:"#5C9CFF",d:"M25.333 9.467a1.2 1.2 0 0 1 1.2 1.2v6.667a1.2 1.2 0 0 1-2.4 0v-6.667a1.2 1.2 0 0 1 1.2-1.2"}),h("path",{fill:"#fff",d:"M22.667 4.333c0-.184.149-.333.333-.333h4.667c.184 0 .333.15.333.333v8.334a.667.667 0 0 1-.667.666h-4a.667.667 0 0 1-.666-.666z"})]}),i_e=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M4 20a8 8 0 0 1 8 8H4z"}),h("path",{fill:"#5C9CFF",d:"M4 14.8A1.2 1.2 0 0 1 5.2 16v10.8h11.467a1.2 1.2 0 0 1 0 2.4H4A1.2 1.2 0 0 1 2.8 28V16A1.2 1.2 0 0 1 4 14.8M19.724 12.579a1.2 1.2 0 0 1 0 1.697l-6.6 6.6a1.2 1.2 0 0 1-1.697-1.698l6.6-6.6a1.2 1.2 0 0 1 1.697 0"}),h("path",{fill:"#fff",d:"M24.06 4.471c.261-.26.683-.26.944 0L27.832 7.3c.26.26.26.682 0 .943l-9.428 9.428a.667.667 0 0 1-.943 0l-2.828-2.829a.667.667 0 0 1 0-.943z"}),h("path",{fill:"#fff",fillRule:"evenodd",d:"M6.683 2.458q1.161 0 2.01.453.854.454 1.307 1.303.459.85.458 2.015 0 1.167-.458 2.016-.453.849-1.302 1.302-.843.453-1.99.453H3.844V2.458zm-.86 5.855h.813q.608 0 1.005-.199.4-.197.609-.656.208-.458.208-1.229 0-.78-.208-1.24a1.26 1.26 0 0 0-.62-.65q-.411-.193-1.041-.193h-.766z",clipRule:"evenodd"})]});class u0e{_toastList={"top-center":[],"top-left":[],"top-right":[],"bottom-center":[],"bottom-left":[],"bottom-right":[]};_defaultOptions;observeFunction=null;set toastList(e){const n={...e};this._toastList=n,this.observeFunction?.(n)}get toastList(){return this._toastList}setDefaultOptions(e){this._defaultOptions={...this._defaultOptions,...e}}checkDuplicateToast(e,n){return(n?[...this.toastList[e.position]]:[tJ(this.toastList[e.position])]).filter(o=>!!o).some(o=>o.title===e.title&&o.content===e.content&&o.strContent===e.strContent&&o.variant===e.variant&&o.type===e.type)}deleteToast(e,n){const r=this.toastList[n].find(a=>a.id===e),o=this.toastList[n].filter(a=>a.id!==e);this.toastList={...this.toastList,[n]:o},r?.onClose?.(e)}resetToastList(){this.toastList={"top-center":[],"top-left":[],"top-right":[],"bottom-center":[],"bottom-left":[],"bottom-right":[]}}openToast({toastId:e,type:n,title:r,content:o,strContent:a,position:i,icon:s,actionLabel:l,handleActionClick:u,closeOnActionClick:d,variant:f,duration:m,duplicateAllCheck:v,allowDuplicate:g,onClose:w}){const y=i??this._defaultOptions?.position,_=m??this._defaultOptions?.duration,S={id:e||IE(),title:r,content:o,strContent:a,icon:s,actionLabel:l,handleActionClick:u,closeOnActionClick:d,variant:f,type:n,position:y,duration:_,onClose:w};!g&&this.checkDuplicateToast(S,v)||(this.toastList={...this.toastList,[y]:[...this.toastList[y],S]})}observe({observeFunction:e}){this.observeFunction=e}unobserve(){this.observeFunction=null}}const Hd=new u0e,{createElement:s_e,useCallback:l_e,useEffect:c_e,useRef:u_e,useState:d_e}=await q("react"),Ai=["top-center","top-left","top-right","bottom-center","bottom-left","bottom-right"],d0e={default:"default",copy:"default",danger:"white",warning:"inverse",caution:"inverse",success:"inverse"},f0e=he(["flex w-[20.625rem] overflow-hidden rounded-md px-4 py-3","dark:shadow-up-lg","outline outline-1 outline-offset-[-1px]","touch-auto transition-transform duration-100 ease-in-out","backdrop-blur-md"].join(" "),{variants:{type:{basic:"",alert:""},variant:{default:"",copy:"",danger:"",warning:"",caution:"",success:""},hasAction:{true:"min-w-40",false:""},stacked:{true:"flex-col items-end gap-2",false:"items-center gap-3"},active:{true:"scale-[0.98] shadow-none",false:""}},compoundVariants:[{type:"alert",variant:"default",className:"bg-overlay outline-border-default text-fg-default"},{type:"alert",variant:"copy",className:"bg-overlay outline-border-default text-fg-default"},{type:"alert",variant:"danger",className:"bg-fill-danger text-white outline-transparent"},{type:"alert",variant:"warning",className:"bg-fill-warning text-fg-inverse outline-transparent"},{type:"alert",variant:"caution",className:"bg-fill-caution text-fg-inverse outline-transparent"},{type:"alert",variant:"success",className:"bg-fill-success text-fg-inverse outline-transparent"},{type:"basic",variant:"default",className:"bg-fill-subtler outline-border-subtle text-fg-default"},{type:"basic",variant:"copy",className:"bg-fill-subtler outline-border-subtle text-fg-default"},{type:"basic",variant:"danger",className:"bg-fill-danger-subtle outline-border-subtle text-fg-default"},{type:"basic",variant:"warning",className:"bg-fill-warning-subtle outline-border-subtle text-fg-default"},{type:"basic",variant:"caution",className:"bg-fill-caution-subtle outline-border-subtle text-fg-default"},{type:"basic",variant:"success",className:"bg-fill-success-subtle outline-border-subtle text-fg-default"}],defaultVariants:{type:"alert",variant:"default",hasAction:!1,stacked:!1,active:!1}}),R6=he("inline-flex min-h-5 items-start gap-2"),p0e=he("mt-px inline-flex h-6 w-5 shrink-0 items-center justify-center self-start [&_svg]:size-5",{variants:{type:{basic:"",alert:""},tone:{default:"text-fg-default",inverse:"text-fg-inverse",white:"text-white"},variant:{default:"",copy:"",danger:"",warning:"",caution:"",success:""}},compoundVariants:[{type:"basic",variant:"default",className:"text-fg-default"},{type:"basic",variant:"copy",className:"text-fg-default"},{type:"basic",variant:"danger",className:"text-fg-danger"},{type:"basic",variant:"warning",className:"text-fg-warning"},{type:"basic",variant:"caution",className:"text-fg-caution"},{type:"basic",variant:"success",className:"text-fg-success"}],defaultVariants:{type:"alert",tone:"default",variant:"default"}}),h0e=he("typo-body-sm2-medium min-h-5 max-w-[calc(20.625rem-4.5rem)] min-w-0 text-left"),m0e=he("typo-body-sm2-medium"),g0e=(t,e)=>t==="basic"?"default":d0e[e],v0e=(t,e)=>({size:t==="basic"?"2xs":"xs",variant:t==="basic"||e==="default"||e==="danger"?"solid":"inverse"}),w0e=he("fixed z-[9999] w-[20.625rem]",{variants:{position:{"top-center":"top-5 left-1/2 -translate-x-1/2","top-left":"top-5 left-5","top-right":"top-5 right-5","bottom-center":"bottom-5 left-1/2 -translate-x-1/2","bottom-left":"bottom-5 left-5","bottom-right":"right-5 bottom-5"},expanded:{true:"overflow-x-hidden overflow-y-auto [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",false:""}},defaultVariants:{position:"bottom-right",expanded:!1}}),b0e=he("relative touch-none transition-[translate,opacity,top,left,right,bottom] duration-200 ease-in-out",{variants:{open:{true:"opacity-100",false:"opacity-0"},hidden:{true:"hidden",false:""},stacked:{true:"duration-[0]",false:""},motion:{"top-open":"translate-y-0","top-close":"translate-y-[-100%]","bottom-open":"translate-y-0","bottom-close":"translate-y-[100%]","left-open":"translate-x-0","left-close":"translate-x-[-100%]","right-open":"translate-x-0","right-close":"translate-x-[100%]"}},defaultVariants:{open:!1,hidden:!1,stacked:!1}}),y0e=(t,e)=>t.startsWith("top")?e?"top-open":"top-close":t.startsWith("bottom")?e?"bottom-open":"bottom-close":e?"top-open":"top-close",{createElement:_0e,memo:x0e,useCallback:El,useEffect:E1,useLayoutEffect:S0e,useRef:Kc,useState:M1}=await q("react"),C0e=({className:t,component:e,toastOrder:n,toastCount:r,animationDuration:o,isWrapperMouseOver:a,isStackExpanded:i,isWrapperExpandedForLayout:s,isWrapperScrollable:l,requestStackExpand:u,onStackMouseEnter:d,onStackMouseLeave:f,...m})=>{const v=Kc(m.duration),g=Kc(null),w=Kc(null),y=Kc(null),_=Kc(a),S=Kc(!1),[x,C]=M1(!0),[R,P]=M1(0),[O,$]=M1(!0),[A,M]=M1(1),L=m.position??"bottom-right",B=L.startsWith("bottom"),F=L.endsWith("center"),N=L.endsWith("right"),V=r-n,z=r>=3,I=i||z&&a,D=s&&l?20:0,U=B&&s,Y=D+R,oe=s?20:0,Q=F?{left:"50%",right:"auto"}:N?{right:oe,left:"auto"}:{left:oe,right:"auto"},re=`${B?"bottom":"top"} center`,le=El(async Ne=>{window.clearTimeout(y.current??void 0),window.clearInterval(g.current),y.current=null,g.current=null,C(!1),(typeof Ne!="boolean"||!Ne)&&await new Promise(me=>setTimeout(me,o)),Hd.deleteToast(m.id,L)},[o,L,m.id]),ee=El(()=>{y.current&&(window.clearTimeout(y.current),y.current=null),g.current&&(window.clearInterval(g.current),g.current=null)},[]),te=El(()=>{_.current||(v.current-=100,v.current<=0&&le())},[le]),ue=()=>{g.current||_.current||(g.current=window.setInterval(te,100))},ve=El(()=>{d(L)},[d,L]),we=El(Ne=>{f(L,Ne)},[f,L]),ye=El(()=>{u(L)},[u,L]),Le=El(()=>{if(!(g.current||y.current)&&!_.current){if(S.current){g.current=window.setInterval(te,100);return}y.current=window.setTimeout(()=>{y.current=null,S.current=!0,!(_.current||g.current)&&(g.current=window.setInterval(te,100))},o)}},[o,te]);E1(()=>{Le()},[Le]),E1(()=>{_.current=I},[I]),E1(()=>{if(I){ee();return}x&&Le()},[ee,Le,I,x]),E1(()=>()=>{y.current!==null&&(window.clearTimeout(y.current),y.current=null),g.current!==null&&(window.clearInterval(g.current),g.current=null)},[]),S0e(()=>{const Ne=w.current,me=Ne?.parentElement;if(!Ne||!me)return;const pe=()=>{const He=Array.from(me.querySelectorAll('[data-comp="ToastComponent"]')),qe=He.findIndex(Ct=>Ct===Ne);if(qe<0){P(0),$(!0),M(1);return}const _e=He.length-1-qe,at=z?I?!0:_e<3:!0;if($(at),!z){M(1);let Ct=0;for(let cn=0;cn<_e;cn+=1){const Sn=He[He.length-1-cn];Sn&&(Ct+=Sn.offsetHeight+8)}P(Ct);return}if(U){if(!I){const cn=Math.max(1-_e*.06,.88);M(cn),P(_e*10);return}let Ct=0;for(let cn=0;cn<_e;cn+=1){const Sn=He[He.length-1-cn];Sn&&(Ct+=Sn.offsetHeight+8)}M(1),P(Ct);return}const ht=I?1:Math.max(1-_e*.06,.88);if(M(ht),!I){P(_e*10);return}let st=0;for(let Ct=0;Ct<_e;Ct+=1){const cn=He[He.length-1-Ct];cn&&(st+=cn.offsetHeight+8)}P(st)};pe();const be=new ResizeObserver(()=>{pe()});return Array.from(me.querySelectorAll('[data-comp="ToastComponent"]')).forEach(He=>be.observe(He)),()=>{be.disconnect()}},[I,z,D,r,U]);const Oe=I?B?{position:"absolute",left:0,right:0,bottom:"100%",height:"8px",pointerEvents:"auto",background:"transparent"}:{position:"absolute",left:0,right:0,top:"100%",height:"8px",pointerEvents:"auto",background:"transparent"}:void 0;return ne("div",{ref:w,"data-comp":"ToastComponent",className:ae(t,"ToastComponent"),style:{position:"absolute",...Q,[B?"bottom":"top"]:Y,zIndex:Math.max(3-V,1),transform:[F?"translateX(-50%)":"",`scale(${A})`].filter(Boolean).join(" "),transformOrigin:re,opacity:O?1:0,pointerEvents:x&&O?"auto":"none",transition:`
303
+ top ${o}ms ease,
304
+ bottom ${o}ms ease,
305
+ transform ${o}ms ease,
306
+ opacity ${o}ms ease
307
+ `},onMouseEnter:ve,onMouseLeave:we,children:[I&&O?h("div",{"aria-hidden":!0,style:Oe,onMouseEnter:ve,onMouseLeave:we}):null,_0e(e,{key:m.id,...m,toastOrder:n,toastCount:r,open:x,isWrapperMouseOver:I,isStackExpanded:i,pauseTimer:ee,resumeTimer:ue,requestStackExpand:ye,closeToast:le})]})},E0e=x0e(C0e),{useCallback:Pd,useEffect:Ad,useLayoutEffect:k1,useRef:R1,useState:Xc}=await q("react"),_s=t=>({"top-center":t,"top-left":t,"top-right":t,"bottom-center":t,"bottom-left":t,"bottom-right":t}),M0e=(t,e)=>{const n=e?"top-0 bottom-0 max-h-screen":"top-5 bottom-5 max-h-[calc(100vh-2.5rem)]";return t.endsWith("left")?`${n} left-0 w-[21.875rem]`:t.endsWith("right")?`${n} right-0 w-[21.875rem]`:`${n} left-1/2 -translate-x-1/2`},f_e=({className:t,position:e="top-left",duration:n=5e3,animationDuration:r=300,toastComponent:o})=>{const[a,i]=Xc(Hd.toastList),s=R1(_s(null)),[l,u]=Xc(()=>_s(!1)),[d,f]=Xc(()=>_s(!1)),[m,v]=Xc(()=>_s(!1)),[g,w]=Xc(()=>_s(!1)),[y,_]=Xc(()=>_s(0)),S=R1({"top-center":null,"top-left":null,"top-right":null,"bottom-center":null,"bottom-left":null,"bottom-right":null}),x=R1(_s({expanded:!1,scrollHeight:0})),C=Pd(M=>{const L=S.current[M];L!==null&&window.clearTimeout(L),v(B=>({...B,[M]:!0})),S.current[M]=window.setTimeout(()=>{S.current[M]=null,v(B=>({...B,[M]:!1}))},r)},[r]),R=Pd(M=>{const L=S.current[M];L!==null&&(window.clearTimeout(L),S.current[M]=null),v(B=>({...B,[M]:!1})),u(B=>({...B,[M]:!0}))},[]),P=Pd((M,L)=>{const B=L?.relatedTarget;B instanceof Node&&s.current[M]?.contains(B)||(u(F=>({...F,[M]:!1})),d[M]||C(M))},[d,C]),O=Pd(M=>{f(L=>({...L,[M]:!0}))},[]);Ad(()=>{Hd.setDefaultOptions({position:e,duration:n})},[e,n]),Ad(()=>(Hd.observe({observeFunction:i}),()=>{Hd.unobserve()}),[]),Ad(()=>{if(!Ai.some(B=>d[B]))return;const L=B=>{const F=B.target;Ai.some(V=>d[V]?s.current[V]?.contains(F??null)??!1:!1)||(Ai.forEach(V=>{d[V]&&C(V)}),f(_s(!1)))};return document.addEventListener("pointerdown",L),()=>{document.removeEventListener("pointerdown",L)}},[d,C]),Ad(()=>{const M=S.current;return()=>{Ai.forEach(L=>{const B=M[L];B!==null&&window.clearTimeout(B)})}},[]);const $=Pd(()=>{const M=Ai.map(L=>{const B=s.current[L],N=(B?Array.from(B.querySelectorAll('[data-comp="ToastComponent"]')):[]).reduce((V,z,I)=>V+z.offsetHeight+(I>0?8:0),0);return{position:L,wrapper:B,stackHeight:N}});_(L=>{let B=!1;const F={...L};return M.forEach(({position:N,stackHeight:V})=>{F[N]!==V&&(F[N]=V,B=!0)}),B?F:L}),w(L=>{let B=!1;const F={...L},N=window.innerHeight-40;return M.forEach(({position:V,stackHeight:z,wrapper:I})=>{const D=d[V]||l[V]||m[V],U=V.startsWith("bottom"),Y=D&&I?U?z>N:I.scrollHeight>N:!1;F[V]!==Y&&(F[V]=Y,B=!0)}),B?F:L})},[m,d,l,a]),A=R1($);return k1(()=>{A.current=$},[$]),k1(()=>{$()},[$]),k1(()=>{const M=()=>{A.current()};M();const L=window.requestAnimationFrame(M),B=window.setTimeout(M,r),F=new ResizeObserver(M),N=new MutationObserver(M);return Ai.forEach(V=>{const z=s.current[V];z&&(F.observe(z),N.observe(z,{childList:!0,subtree:!0}))}),window.addEventListener("resize",M),()=>{window.cancelAnimationFrame(L),window.clearTimeout(B),F.disconnect(),N.disconnect(),window.removeEventListener("resize",M)}},[r]),k1(()=>{Ai.forEach(M=>{if(!M.startsWith("bottom"))return;const L=d[M]||l[M],B=s.current[M],F=x.current[M];if(!B)return;if(!L){x.current[M]={expanded:!1,scrollHeight:B.scrollHeight};return}const N=F.scrollHeight-B.clientHeight-B.scrollTop;(!F.expanded||F.scrollHeight!==B.scrollHeight&&N<=2)&&(B.scrollTop=B.scrollHeight-B.clientHeight),x.current[M]={expanded:!0,scrollHeight:B.scrollHeight}})},[d,l,g,y]),Ad(()=>{const M=L=>{let B=!1;const F={...L};return Ai.forEach(N=>{L[N]&&!a[N]?.length&&(F[N]=!1,B=!0)}),B?F:L};f(M),u(M),v(M)},[a]),h("div",{className:ae(t,"pointer-events-none"),children:Ai.map(M=>{const L=d[M]||l[M],B=L||m[M],F=M.startsWith("bottom");return h("div",{ref:N=>{s.current[M]=N},id:`toast-${M}-wrapper`,className:ae(L?"pointer-events-auto":"pointer-events-none",w0e({position:M,expanded:B}),B&&M0e(M,g[M])),onMouseEnter:()=>{L&&R(M)},onMouseLeave:N=>P(M,N),style:{transition:`
308
+ top ${r}ms ease,
309
+ bottom ${r}ms ease,
310
+ max-height ${r}ms ease
311
+ `},children:h("div",{"data-comp":"ToastStackContent",style:F&&B?{minHeight:y[M]+(g[M]?28:0),position:"relative",width:"100%"}:void 0,children:a[M]?.map((N,V)=>h(E0e,{...N,toastOrder:V+1,toastCount:a[M]?.length??0,component:o,animationDuration:r,isWrapperMouseOver:l[M],isStackExpanded:d[M],isWrapperExpandedForLayout:B,isWrapperScrollable:g[M],requestStackExpand:O,onStackMouseEnter:R,onStackMouseLeave:P},N.id))})},M)})})},{useEffect:k0e,useMemo:V2,useRef:T6,useState:N6}=await q("react"),p_e=({className:t,open:e,type:n="basic",variant:r="default",title:o,content:a,icon:i,actionLabel:s,handleActionClick:l,closeOnActionClick:u=!0,position:d,toastCount:f,isWrapperMouseOver:m,isStackExpanded:v,pauseTimer:g,resumeTimer:w,requestStackExpand:y,closeToast:_})=>{const S=T6(null),x=T6(null),[C,R]=N6(!1),[P,O]=N6(!1),$=!!s,A=(f??0)>=3&&!m&&!v,M=A,L=V2(()=>g0e(n,r),[n,r]),B=V2(()=>y0e(d,C),[d,C]),F=V2(()=>{switch(r){case"copy":return h(C8,{});case"danger":return h(E8,{});case"warning":case"caution":return h(O8,{});case"success":return n==="basic"?h(c0e,{}):h(Hs,{});default:return null}},[n,r]),N=i??F,V=$?v0e(n,r):null,z=$&&!!o!=!!a,I=Y=>{Y.button!==2&&(Y.stopPropagation(),Y.preventDefault(),Y.currentTarget.setPointerCapture?.(Y.pointerId),S.current=Y.pointerId,x.current={startX:Y.clientX,startY:Y.clientY},g())},D=Y=>{if(!x.current||S.current!==Y.pointerId)return;Y.stopPropagation(),Y.preventDefault();const{startX:oe,startY:Q}=x.current,{clientX:re,clientY:le}=Y;x.current.deltaX=re-oe,x.current.deltaY=le-Q;const ee=Y.currentTarget;ee.style.transitionProperty="translate",O(!0),d==="top-center"?x.current.deltaY<0?ee.style.top=`${x.current.deltaY}px`:(x.current=null,ee.hasPointerCapture?.(Y.pointerId)&&ee.releasePointerCapture(Y.pointerId)):d==="bottom-center"?x.current.deltaY>0?ee.style.bottom=`-${x.current.deltaY}px`:(x.current=null,ee.hasPointerCapture?.(Y.pointerId)&&ee.releasePointerCapture(Y.pointerId)):d.includes("left")?ee.style.left=`${x.current.deltaX}px`:d.includes("right")&&(ee.style.right=`-${x.current.deltaX}px`)},U=Y=>{if(Y.stopPropagation(),Y.preventDefault(),S.current!==Y.pointerId)return;const oe=Y.currentTarget;if(oe.style.transitionProperty="",oe.hasPointerCapture?.(Y.pointerId)&&oe.releasePointerCapture(Y.pointerId),!x.current){O(!1),S.current=null,w();return}const{deltaX:Q=0,deltaY:re=0}=x.current,ee=d.includes("left")||d.includes("right")?Q:re;if(Q===0&&re===0){if((f??0)>=3&&!v){y?.(),O(!1),S.current=null,x.current=null,w();return}_();return}Math.abs(ee)>15?_():d==="top-center"?oe.style.top="0px":d==="bottom-center"?oe.style.bottom="0px":d.includes("left")?oe.style.left="0px":d.includes("right")&&(oe.style.right="0px"),O(!1),S.current=null,x.current=null,w()};return k0e(()=>{R(e)},[e]),h("div",{"data-comp":"RBSimpleToast",className:ae(b0e({open:C,hidden:!1,stacked:!1,motion:B}),!C&&"pointer-events-none",t),onPointerDown:I,onPointerMove:D,onPointerUp:U,onPointerLeave:U,onContextMenu:Y=>Y.preventDefault(),children:h("div",{className:ae(f0e({type:n,variant:r,hasAction:$,stacked:M,active:P})),style:P?{boxShadow:"none"}:void 0,onTouchEnd:()=>O(!1),children:ne(Ul,{className:"w-full items-stretch gap-3",children:[ne(Yo,{alignItems:"flex-start",className:ae(R6(),z&&"w-full justify-between gap-3"),children:[ne(Yo,{alignItems:"flex-start",className:ae(R6(),"min-w-0 flex-1"),children:[N?h("span",{className:p0e({type:n,tone:L,variant:r}),children:N}):null,ne(Ul,{className:ae(h0e(),"w-full"),children:[o?h("div",{className:ae(m0e(),A?"truncate":"wrap-break-word whitespace-pre-line"),children:o}):null,a?h("div",{className:ae(A?"truncate":"wrap-break-word whitespace-pre-line"),children:a}):null]})]}),V&&z?h("span",{className:"shrink-0",onPointerDown:Y=>Y.stopPropagation(),onPointerUp:Y=>Y.stopPropagation(),onClick:Y=>Y.stopPropagation(),children:h(Wr,{size:V.size,variant:V.variant,onClick:()=>{l?.(),u&&_?.()},children:s})}):null]}),V&&!z?h("span",{className:"inline-flex w-full justify-end",onPointerDown:Y=>Y.stopPropagation(),onPointerUp:Y=>Y.stopPropagation(),onClick:Y=>Y.stopPropagation(),children:h(Wr,{size:V.size,variant:V.variant,onClick:()=>{l?.(),u&&_?.()},children:s})}):null]})})})},{useEffect:R0e}=await q("react"),h_e=({className:t,open:e,resolve:n,onOpenChange:r})=>{const{barCodeValue:o}=sue(),{theme:a}=Q0();return R0e(()=>{o&&n(o)},[o,n]),ne(jh,{className:ae("RBQrBarCodeGuideModal","max-h-full w-fit",t),open:e,header:{title:"QR 코드 스캔 가이드"},onOpenChange:r,children:[ne("div",{className:"text-fg-default text-body-sm-normal mt-[1.5rem] mb-[1rem] text-center leading-[1.5]",children:["바코드 USB를 로봇에 연결 후",h("br",{}),"로봇 명판에 QR 코드를 찍어주세요"]}),h("div",{className:"mx-auto w-[30rem] p-5",children:h("img",{src:Dx(a==="dark"?"/qr-bar-code-guide-dark-img.png":"/qr-bar-code-guide-img.webp"),alt:"qr-bar-code-guide",className:"w-full object-cover"})})]})};var j2={};const It=t=>typeof t=="string",Id=()=>{let t,e;const n=new Promise((r,o)=>{t=r,e=o});return n.resolve=t,n.reject=e,n},P6=t=>t==null?"":""+t,T0e=(t,e,n)=>{t.forEach(r=>{e[r]&&(n[r]=e[r])})},N0e=/###/g,A6=t=>t&&t.indexOf("###")>-1?t.replace(N0e,"."):t,I6=t=>!t||It(t),Gd=(t,e,n)=>{const r=It(e)?e.split("."):e;let o=0;for(;o<r.length-1;){if(I6(t))return{};const a=A6(r[o]);!t[a]&&n&&(t[a]=new n),Object.prototype.hasOwnProperty.call(t,a)?t=t[a]:t={},++o}return I6(t)?{}:{obj:t,k:A6(r[o])}},O6=(t,e,n)=>{const{obj:r,k:o}=Gd(t,e,Object);if(r!==void 0||e.length===1){r[o]=n;return}let a=e[e.length-1],i=e.slice(0,e.length-1),s=Gd(t,i,Object);for(;s.obj===void 0&&i.length;)a=`${i[i.length-1]}.${a}`,i=i.slice(0,i.length-1),s=Gd(t,i,Object),s?.obj&&typeof s.obj[`${s.k}.${a}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},P0e=(t,e,n,r)=>{const{obj:o,k:a}=Gd(t,e,Object);o[a]=o[a]||[],o[a].push(n)},U0=(t,e)=>{const{obj:n,k:r}=Gd(t,e);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},A0e=(t,e,n)=>{const r=U0(t,n);return r!==void 0?r:U0(e,n)},sR=(t,e,n)=>{for(const r in e)r!=="__proto__"&&r!=="constructor"&&(r in t?It(t[r])||t[r]instanceof String||It(e[r])||e[r]instanceof String?n&&(t[r]=e[r]):sR(t[r],e[r],n):t[r]=e[r]);return t},Ml=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var I0e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const O0e=t=>It(t)?t.replace(/[&<>"'\/]/g,e=>I0e[e]):t;class L0e{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const n=this.regExpMap.get(e);if(n!==void 0)return n;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}const $0e=[" ",",","?","!",";"],D0e=new L0e(20),B0e=(t,e,n)=>{e=e||"",n=n||"";const r=$0e.filter(i=>e.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const o=D0e.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let a=!o.test(t);if(!a){const i=t.indexOf(n);i>0&&!o.test(t.substring(0,i))&&(a=!0)}return a},Zv=(t,e,n=".")=>{if(!t)return;if(t[e])return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0;const r=e.split(n);let o=t;for(let a=0;a<r.length;){if(!o||typeof o!="object")return;let i,s="";for(let l=a;l<r.length;++l)if(l!==a&&(s+=n),s+=r[l],i=o[s],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&l<r.length-1)continue;a+=l-a+1;break}o=i}return o},uf=t=>t?.replace(/_/g,"-"),z0e={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console?.[t]?.apply?.(console,e)}};class Y0{constructor(e,n={}){this.init(e,n)}init(e,n={}){this.prefix=n.prefix||"i18next:",this.logger=e||z0e,this.options=n,this.debug=n.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,r,o){return o&&!this.debug?null:(It(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new Y0(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new Y0(this.logger,e)}}var Ja=new Y0;class Hh{constructor(){this.observers={}}on(e,n){return e.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const o=this.observers[r].get(n)||0;this.observers[r].set(n,o+1)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e].delete(n)}}emit(e,...n){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([o,a])=>{for(let i=0;i<a;i++)o(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([o,a])=>{for(let i=0;i<a;i++)o.apply(o,[e,...n])})}}class L6 extends Hh{constructor(e,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,r,o={}){const a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,i=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;e.indexOf(".")>-1?s=e.split("."):(s=[e,n],r&&(Array.isArray(r)?s.push(...r):It(r)&&a?s.push(...r.split(a)):s.push(r)));const l=U0(this.data,s);return!l&&!n&&!r&&e.indexOf(".")>-1&&(e=s[0],n=s[1],r=s.slice(2).join(".")),l||!i||!It(r)?l:Zv(this.data?.[e]?.[n],r,a)}addResource(e,n,r,o,a={silent:!1}){const i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let s=[e,n];r&&(s=s.concat(i?r.split(i):r)),e.indexOf(".")>-1&&(s=e.split("."),o=n,n=s[1]),this.addNamespaces(n),O6(this.data,s,o),a.silent||this.emit("added",e,n,r,o)}addResources(e,n,r,o={silent:!1}){for(const a in r)(It(r[a])||Array.isArray(r[a]))&&this.addResource(e,n,a,r[a],{silent:!0});o.silent||this.emit("added",e,n,r)}addResourceBundle(e,n,r,o,a,i={silent:!1,skipCopy:!1}){let s=[e,n];e.indexOf(".")>-1&&(s=e.split("."),o=r,r=n,n=s[1]),this.addNamespaces(n);let l=U0(this.data,s)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),o?sR(l,r,a):l={...l,...r},O6(this.data,s,l),i.silent||this.emit("added",e,n,r)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(o=>n[o]&&Object.keys(n[o]).length>0)}toJSON(){return this.data}}var lR={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,r,o){return t.forEach(a=>{e=this.processors[a]?.process(e,n,r,o)??e}),e}};const cR=Symbol("i18next/PATH_KEY");function F0e(){const t=[],e=Object.create(null);let n;return e.get=(r,o)=>(n?.revoke?.(),o===cR?t:(t.push(o),n=Proxy.revocable(r,e),n.proxy)),Proxy.revocable(Object.create(null),e).proxy}function uu(t,e){const{[cR]:n}=t(F0e()),r=e?.keySeparator??".",o=e?.nsSeparator??":";if(n.length>1&&o){const a=e?.ns,i=Array.isArray(a)?a:null;if(i&&i.length>1&&i.slice(1).includes(n[0]))return`${n[0]}${o}${n.slice(1).join(r)}`}return n.join(r)}const $6={},H2=t=>!It(t)&&typeof t!="boolean"&&typeof t!="number";class G0 extends Hh{constructor(e,n={}){super(),T0e(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Ja.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,n={interpolation:{}}){const r={...n};if(e==null)return!1;const o=this.resolve(e,r);if(o?.res===void 0)return!1;const a=H2(o.res);return!(r.returnObjects===!1&&a)}extractFromKey(e,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let a=n.ns||this.options.defaultNS||[];const i=r&&e.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!B0e(e,r,o);if(i&&!s){const l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:It(a)?[a]:a};const u=e.split(r);(r!==o||r===o&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),e=u.join(o)}return{key:e,namespaces:It(a)?[a]:a}}translate(e,n,r){let o=typeof n=="object"?{...n}:n;if(typeof o!="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),typeof o=="object"&&(o={...o}),o||(o={}),e==null)return"";typeof e=="function"&&(e=uu(e,{...this.options,...o})),Array.isArray(e)||(e=[String(e)]),e=e.map(F=>typeof F=="function"?uu(F,{...this.options,...o}):String(F));const a=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,{key:s,namespaces:l}=this.extractFromKey(e[e.length-1],o),u=l[l.length-1];let d=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;d===void 0&&(d=":");const f=o.lng||this.language,m=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f?.toLowerCase()==="cimode")return m?a?{res:`${u}${d}${s}`,usedKey:s,exactUsedKey:s,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(o)}:`${u}${d}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(o)}:s;const v=this.resolve(e,o);let g=v?.res;const w=v?.usedKey||s,y=v?.exactUsedKey||s,_=["[object Number]","[object Function]","[object RegExp]"],S=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,C=o.count!==void 0&&!It(o.count),R=G0.hasDefaultValue(o),P=C?this.pluralResolver.getSuffix(f,o.count,o):"",O=o.ordinal&&C?this.pluralResolver.getSuffix(f,o.count,{ordinal:!1}):"",$=C&&!o.ordinal&&o.count===0,A=$&&o[`defaultValue${this.options.pluralSeparator}zero`]||o[`defaultValue${P}`]||o[`defaultValue${O}`]||o.defaultValue;let M=g;x&&!g&&R&&(M=A);const L=H2(M),B=Object.prototype.toString.apply(M);if(x&&M&&L&&_.indexOf(B)<0&&!(It(S)&&Array.isArray(M))){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const F=this.options.returnedObjectHandler?this.options.returnedObjectHandler(w,M,{...o,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(v.res=F,v.usedParams=this.getUsedParamsDetails(o),v):F}if(i){const F=Array.isArray(M),N=F?[]:{},V=F?y:w;for(const z in M)if(Object.prototype.hasOwnProperty.call(M,z)){const I=`${V}${i}${z}`;R&&!g?N[z]=this.translate(I,{...o,defaultValue:H2(A)?A[z]:void 0,joinArrays:!1,ns:l}):N[z]=this.translate(I,{...o,joinArrays:!1,ns:l}),N[z]===I&&(N[z]=M[z])}g=N}}else if(x&&It(S)&&Array.isArray(g))g=g.join(S),g&&(g=this.extendTranslation(g,e,o,r));else{let F=!1,N=!1;!this.isValidLookup(g)&&R&&(F=!0,g=A),this.isValidLookup(g)||(N=!0,g=s);const z=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&N?void 0:g,I=R&&A!==g&&this.options.updateMissing;if(N||F||I){if(this.logger.log(I?"updateKey":"missingKey",f,u,s,I?A:g),i){const oe=this.resolve(s,{...o,keySeparator:!1});oe&&oe.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let D=[];const U=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&U&&U[0])for(let oe=0;oe<U.length;oe++)D.push(U[oe]);else this.options.saveMissingTo==="all"?D=this.languageUtils.toResolveHierarchy(o.lng||this.language):D.push(o.lng||this.language);const Y=(oe,Q,re)=>{const le=R&&re!==g?re:z;this.options.missingKeyHandler?this.options.missingKeyHandler(oe,u,Q,le,I,o):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(oe,u,Q,le,I,o),this.emit("missingKey",oe,u,Q,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?D.forEach(oe=>{const Q=this.pluralResolver.getSuffixes(oe,o);$&&o[`defaultValue${this.options.pluralSeparator}zero`]&&Q.indexOf(`${this.options.pluralSeparator}zero`)<0&&Q.push(`${this.options.pluralSeparator}zero`),Q.forEach(re=>{Y([oe],s+re,o[`defaultValue${re}`]||A)})}):Y(D,s,A))}g=this.extendTranslation(g,e,o,v,r),N&&g===s&&this.options.appendNamespaceToMissingKey&&(g=`${u}${d}${s}`),(N||F)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${d}${s}`:s,F?g:void 0,o))}return a?(v.res=g,v.usedParams=this.getUsedParamsDetails(o),v):g}extendTranslation(e,n,r,o,a){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const l=It(e)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(l){const f=e.match(this.interpolator.nestingRegexp);u=f&&f.length}let d=r.replace&&!It(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),e=this.interpolator.interpolate(e,d,r.lng||this.language||o.usedLng,r),l){const f=e.match(this.interpolator.nestingRegexp),m=f&&f.length;u<m&&(r.nest=!1)}!r.lng&&o&&o.res&&(r.lng=this.language||o.usedLng),r.nest!==!1&&(e=this.interpolator.nest(e,(...f)=>a?.[0]===f[0]&&!r.context?(this.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${n[0]}`),null):this.translate(...f,n),r)),r.interpolation&&this.interpolator.reset()}const i=r.postProcess||this.options.postProcess,s=It(i)?[i]:i;return e!=null&&s?.length&&r.applyPostProcessor!==!1&&(e=lR.handle(s,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,n={}){let r,o,a,i,s;return It(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(l=>typeof l=="function"?uu(l,{...this.options,...n}):l)),e.forEach(l=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(l,n),d=u.key;o=d;let f=u.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const m=n.count!==void 0&&!It(n.count),v=m&&!n.ordinal&&n.count===0,g=n.context!==void 0&&(It(n.context)||typeof n.context=="number")&&n.context!=="",w=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(y=>{this.isValidLookup(r)||(s=y,!$6[`${w[0]}-${y}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(s)&&($6[`${w[0]}-${y}`]=!0,this.logger.warn(`key "${o}" for languages "${w.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),w.forEach(_=>{if(this.isValidLookup(r))return;i=_;const S=[d];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(S,d,_,y,n);else{let C;m&&(C=this.pluralResolver.getSuffix(_,n.count,n));const R=`${this.options.pluralSeparator}zero`,P=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(n.ordinal&&C.indexOf(P)===0&&S.push(d+C.replace(P,this.options.pluralSeparator)),S.push(d+C),v&&S.push(d+R)),g){const O=`${d}${this.options.contextSeparator||"_"}${n.context}`;S.push(O),m&&(n.ordinal&&C.indexOf(P)===0&&S.push(O+C.replace(P,this.options.pluralSeparator)),S.push(O+C),v&&S.push(O+R))}}let x;for(;x=S.pop();)this.isValidLookup(r)||(a=x,r=this.getResource(_,y,x,n))}))})}),{res:r,usedKey:o,exactUsedKey:a,usedLng:i,usedNS:s}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,r,o={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,n,r,o):this.resourceStore.getResource(e,n,r,o)}getUsedParamsDetails(e={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!It(e.replace);let o=r?e.replace:e;if(r&&typeof e.count<"u"&&(o.count=e.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!r){o={...o};for(const a of n)delete o[a]}return o}static hasDefaultValue(e){const n="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&n===r.substring(0,n.length)&&e[r]!==void 0)return!0;return!1}}class D6{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ja.create("languageUtils")}getScriptPartFromCode(e){if(e=uf(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=uf(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(It(e)&&e.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(e)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(r=>{if(n)return;const o=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(o))&&(n=o)}),!n&&this.options.supportedLngs&&e.forEach(r=>{if(n)return;const o=this.getScriptPartFromCode(r);if(this.isSupportedCode(o))return n=o;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(i=>{if(i===a)return i;if(!(i.indexOf("-")<0&&a.indexOf("-")<0)&&(i.indexOf("-")>0&&a.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===a||i.indexOf(a)===0&&a.length>1))return i})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),It(e)&&(e=[e]),Array.isArray(e))return e;if(!n)return e.default||[];let r=e[n];return r||(r=e[this.getScriptPartFromCode(n)]),r||(r=e[this.formatLanguageCode(n)]),r||(r=e[this.getLanguagePartFromCode(n)]),r||(r=e.default),r||[]}toResolveHierarchy(e,n){const r=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],e),o=[],a=i=>{i&&(this.isSupportedCode(i)?o.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return It(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(e))):It(e)&&a(this.formatLanguageCode(e)),r.forEach(i=>{o.indexOf(i)<0&&a(this.formatLanguageCode(i))}),o}}const B6={zero:0,one:1,two:2,few:3,many:4,other:5},z6={select:t=>t===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class V0e{constructor(e,n={}){this.languageUtils=e,this.options=n,this.logger=Ja.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,n={}){const r=uf(e==="dev"?"en":e),o=n.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:r,type:o});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];let i;try{i=new Intl.PluralRules(r,{type:o})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),z6;if(!e.match(/-|_/))return z6;const l=this.languageUtils.getLanguagePartFromCode(e);i=this.getRule(l,n)}return this.pluralRulesCache[a]=i,i}needsPlural(e,n={}){let r=this.getRule(e,n);return r||(r=this.getRule("dev",n)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,n,r={}){return this.getSuffixes(e,r).map(o=>`${n}${o}`)}getSuffixes(e,n={}){let r=this.getRule(e,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((o,a)=>B6[o]-B6[a]).map(o=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o}`):[]}getSuffix(e,n,r={}){const o=this.getRule(e,r);return o?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o.select(n)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",n,r))}}const F6=(t,e,n,r=".",o=!0)=>{let a=A0e(t,e,n);return!a&&o&&It(n)&&(a=Zv(t,n,r),a===void 0&&(a=Zv(e,n,r))),a},W2=t=>t.replace(/\$/g,"$$$$");class V6{constructor(e={}){this.logger=Ja.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(n=>n),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:o,prefix:a,prefixEscaped:i,suffix:s,suffixEscaped:l,formatSeparator:u,unescapeSuffix:d,unescapePrefix:f,nestingPrefix:m,nestingPrefixEscaped:v,nestingSuffix:g,nestingSuffixEscaped:w,nestingOptionsSeparator:y,maxReplaces:_,alwaysFormat:S}=e.interpolation;this.escape=n!==void 0?n:O0e,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=a?Ml(a):i||"{{",this.suffix=s?Ml(s):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=m?Ml(m):v||Ml("$t("),this.nestingSuffix=g?Ml(g):w||Ml(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=_||1e3,this.alwaysFormat=S!==void 0?S:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(n,r)=>n?.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,n,r,o){let a,i,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=v=>{if(v.indexOf(this.formatSeparator)<0){const _=F6(n,l,v,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(_,void 0,r,{...o,...n,interpolationkey:v}):_}const g=v.split(this.formatSeparator),w=g.shift().trim(),y=g.join(this.formatSeparator).trim();return this.format(F6(n,l,w,this.options.keySeparator,this.options.ignoreJSONStructure),y,r,{...o,...n,interpolationkey:w})};this.resetRegExp();const d=o?.missingInterpolationHandler||this.options.missingInterpolationHandler,f=o?.interpolation?.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:v=>W2(v)},{regex:this.regexp,safeValue:v=>this.escapeValue?W2(this.escape(v)):W2(v)}].forEach(v=>{for(s=0;a=v.regex.exec(e);){const g=a[1].trim();if(i=u(g),i===void 0)if(typeof d=="function"){const y=d(e,a,o);i=It(y)?y:""}else if(o&&Object.prototype.hasOwnProperty.call(o,g))i="";else if(f){i=a[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),i="";else!It(i)&&!this.useRawValueToEscape&&(i=P6(i));const w=v.safeValue(i);if(e=e.replace(a[0],w),f?(v.regex.lastIndex+=i.length,v.regex.lastIndex-=a[0].length):v.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),e}nest(e,n,r={}){let o,a,i;const s=(l,u)=>{const d=this.nestingOptionsSeparator;if(l.indexOf(d)<0)return l;const f=l.split(new RegExp(`${Ml(d)}[ ]*{`));let m=`{${f[1]}`;l=f[0],m=this.interpolate(m,i);const v=m.match(/'/g),g=m.match(/"/g);((v?.length??0)%2===0&&!g||(g?.length??0)%2!==0)&&(m=m.replace(/'/g,'"'));try{i=JSON.parse(m),u&&(i={...u,...i})}catch(w){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,w),`${l}${d}${m}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,l};for(;o=this.nestingRegexp.exec(e);){let l=[];i={...r},i=i.replace&&!It(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;const u=/{.*}/.test(o[1])?o[1].lastIndexOf("}")+1:o[1].indexOf(this.formatSeparator);if(u!==-1&&(l=o[1].slice(u).split(this.formatSeparator).map(d=>d.trim()).filter(Boolean),o[1]=o[1].slice(0,u)),a=n(s.call(this,o[1].trim(),i),i),a&&o[0]===e&&!It(a))return a;It(a)||(a=P6(a)),a||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`),a=""),l.length&&(a=l.reduce((d,f)=>this.format(d,f,r.lng,{...r,interpolationkey:o[1].trim()}),a.trim())),e=e.replace(o[0],a),this.regexp.lastIndex=0}return e}}const j0e=t=>{let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const r=t.split("(");e=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);e==="currency"&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):e==="relativetime"&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(i=>{if(i){const[s,...l]=i.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),d=s.trim();n[d]||(n[d]=u),u==="false"&&(n[d]=!1),u==="true"&&(n[d]=!0),isNaN(u)||(n[d]=parseInt(u,10))}})}return{formatName:e,formatOptions:n}},j6=t=>{const e={};return(n,r,o)=>{let a=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(a={...a,[o.interpolationkey]:void 0});const i=r+JSON.stringify(a);let s=e[i];return s||(s=t(uf(r),o),e[i]=s),s(n)}},H0e=t=>(e,n,r)=>t(uf(n),r)(e);class W0e{constructor(e={}){this.logger=Ja.create("formatter"),this.options=e,this.init(e)}init(e,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const r=n.cacheInBuiltFormats?j6:H0e;this.formats={number:r((o,a)=>{const i=new Intl.NumberFormat(o,{...a});return s=>i.format(s)}),currency:r((o,a)=>{const i=new Intl.NumberFormat(o,{...a,style:"currency"});return s=>i.format(s)}),datetime:r((o,a)=>{const i=new Intl.DateTimeFormat(o,{...a});return s=>i.format(s)}),relativetime:r((o,a)=>{const i=new Intl.RelativeTimeFormat(o,{...a});return s=>i.format(s,a.range||"day")}),list:r((o,a)=>{const i=new Intl.ListFormat(o,{...a});return s=>i.format(s)})}}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=j6(n)}format(e,n,r,o={}){const a=n.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(s=>s.indexOf(")")>-1)){const s=a.findIndex(l=>l.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,s)].join(this.formatSeparator)}return a.reduce((s,l)=>{const{formatName:u,formatOptions:d}=j0e(l);if(this.formats[u]){let f=s;try{const m=o?.formatParams?.[o.interpolationkey]||{},v=m.locale||m.lng||o.locale||o.lng||r;f=this.formats[u](s,v,{...d,...o,...m})}catch(m){this.logger.warn(m)}return f}else this.logger.warn(`there was no format function for ${u}`);return s},e)}}const q0e=(t,e)=>{t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)};class U0e extends Hh{constructor(e,n,r,o={}){super(),this.backend=e,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=o,this.logger=Ja.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,o.backend,o)}queueLoad(e,n,r,o){const a={},i={},s={},l={};return e.forEach(u=>{let d=!0;n.forEach(f=>{const m=`${u}|${f}`;!r.reload&&this.store.hasResourceBundle(u,f)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?i[m]===void 0&&(i[m]=!0):(this.state[m]=1,d=!1,i[m]===void 0&&(i[m]=!0),a[m]===void 0&&(a[m]=!0),l[f]===void 0&&(l[f]=!0)))}),d||(s[u]=!0)}),(Object.keys(a).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(a),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(e,n,r){const o=e.split("|"),a=o[0],i=o[1];n&&this.emit("failedLoading",a,i,n),!n&&r&&this.store.addResourceBundle(a,i,r,void 0,void 0,{skipCopy:!0}),this.state[e]=n?-1:2,n&&r&&(this.state[e]=0);const s={};this.queue.forEach(l=>{P0e(l.loaded,[a],i),q0e(l,e),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{s[u]||(s[u]={});const d=l.loaded[u];d.length&&d.forEach(f=>{s[u][f]===void 0&&(s[u][f]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(e,n,r,o=0,a=this.retryTimeout,i){if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:r,tried:o,wait:a,callback:i});return}this.readingCalls++;const s=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(u&&d&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,e,n,r,o+1,a*2,i)},a);return}i(u,d)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const u=l(e,n);u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}return}return l(e,n,s)}prepareLoading(e,n,r={},o){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();It(e)&&(e=this.languageUtils.toResolveHierarchy(e)),It(n)&&(n=[n]);const a=this.queueLoad(e,n,r,o);if(!a.toLoad.length)return a.pending.length||o(),null;a.toLoad.forEach(i=>{this.loadOne(i)})}load(e,n,r){this.prepareLoading(e,n,{},r)}reload(e,n,r){this.prepareLoading(e,n,{reload:!0},r)}loadOne(e,n=""){const r=e.split("|"),o=r[0],a=r[1];this.read(o,a,"read",void 0,void 0,(i,s)=>{i&&this.logger.warn(`${n}loading namespace ${a} for language ${o} failed`,i),!i&&s&&this.logger.log(`${n}loaded namespace ${a} for language ${o}`,s),this.loaded(e,i,s)})}saveMissing(e,n,r,o,a,i={},s=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend?.create){const l={...i,isUpdate:a},u=this.backend.create.bind(this.backend);if(u.length<6)try{let d;u.length===5?d=u(e,n,r,o,l):d=u(e,n,r,o),d&&typeof d.then=="function"?d.then(f=>s(null,f)).catch(s):s(null,d)}catch(d){s(d)}else u(e,n,r,o,s,l)}!e||!e[0]||this.store.addResource(e[0],n,r,o)}}}const q2=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let e={};if(typeof t[1]=="object"&&(e=t[1]),It(t[1])&&(e.defaultValue=t[1]),It(t[2])&&(e.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const n=t[3]||t[2];Object.keys(n).forEach(r=>{e[r]=n[r]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),H6=t=>(It(t.ns)&&(t.ns=[t.ns]),It(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),It(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs?.indexOf?.("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),typeof t.initImmediate=="boolean"&&(t.initAsync=t.initImmediate),t),T1=()=>{},Y0e=t=>{Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(n=>{typeof t[n]=="function"&&(t[n]=t[n].bind(t))})},uR="__i18next_supportNoticeShown",G0e=()=>!!(typeof globalThis<"u"&&globalThis[uR]||typeof process<"u"&&j2&&j2.I18NEXT_NO_SUPPORT_NOTICE||typeof process<"u"&&j2),K0e=()=>{typeof globalThis<"u"&&(globalThis[uR]=!0)},X0e=t=>!!(t?.modules?.backend?.name?.indexOf("Locize")>0||t?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||t?.options?.backend?.backends&&t.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)||t?.options?.backend?.projectId||t?.options?.backend?.backendOptions&&t.options.backend.backendOptions.some(e=>e?.projectId));class Kd extends Hh{constructor(e={},n){if(super(),this.options=H6(e),this.services={},this.logger=Ja,this.modules={external:[]},Y0e(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(e={},n){this.isInitializing=!0,typeof e=="function"&&(n=e,e={}),e.defaultNS==null&&e.ns&&(It(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const r=q2();this.options={...r,...this.options,...H6(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!X0e(this)&&!G0e()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),K0e());const o=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?Ja.init(o(this.modules.logger),this.options):Ja.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=W0e;const d=new D6(this.options);this.store=new L6(this.options.resources,this.options);const f=this.services;f.logger=Ja,f.resourceStore=this.store,f.languageUtils=d,f.pluralResolver=new V0e(d,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),u&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(f.formatter=o(u),f.formatter.init&&f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new V6(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new U0e(o(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",(v,...g)=>{this.emit(v,...g)}),this.modules.languageDetector&&(f.languageDetector=o(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=o(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new G0(this.services,this.options),this.translator.on("*",(v,...g)=>{this.emit(v,...g)}),this.modules.external.forEach(v=>{v.init&&v.init(this)})}if(this.format=this.options.interpolation.format,n||(n=T1),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(u=>{this[u]=(...d)=>this.store[u](...d)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=(...d)=>(this.store[u](...d),this)});const s=Id(),l=()=>{const u=(d,f)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),s.resolve(f),n(d,f)};if(this.languages&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),s}loadResources(e,n=T1){let r=n;const o=It(e)?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const a=[],i=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(u=>{u!=="cimode"&&a.indexOf(u)<0&&a.push(u)})};o?i(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>i(l)),this.options.preload?.forEach?.(s=>i(s)),this.services.backendConnector.load(a,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(e,n,r){const o=Id();return typeof e=="function"&&(r=e,e=void 0),typeof n=="function"&&(r=n,n=void 0),e||(e=this.languages),n||(n=this.options.ns),r||(r=T1),this.services.backendConnector.reload(e,n,a=>{o.resolve(),r(a)}),o}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&lR.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1)){for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,n){this.isLanguageChangingTo=e;const r=Id();this.emit("languageChanging",e);const o=s=>{this.language=s,this.languages=this.services.languageUtils.toResolveHierarchy(s),this.resolvedLanguage=void 0,this.setResolvedLanguage(s)},a=(s,l)=>{l?this.isLanguageChangingTo===e&&(o(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,r.resolve((...u)=>this.t(...u)),n&&n(s,(...u)=>this.t(...u))},i=s=>{!e&&!s&&this.services.languageDetector&&(s=[]);const l=It(s)?s:s&&s[0],u=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(It(s)?[s]:s);u&&(this.language||o(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector?.cacheUserLanguage?.(u)),this.loadResources(u,d=>{a(d,u)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?i(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(i):this.services.languageDetector.detect(i):i(e),r}getFixedT(e,n,r){const o=(a,i,...s)=>{let l;typeof i!="object"?l=this.options.overloadTranslationOptionHandler([a,i].concat(s)):l={...i},l.lng=l.lng||o.lng,l.lngs=l.lngs||o.lngs,l.ns=l.ns||o.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||r||o.keyPrefix);const u={...this.options,...l};typeof l.keyPrefix=="function"&&(l.keyPrefix=uu(l.keyPrefix,u));const d=this.options.keySeparator||".";let f;return l.keyPrefix&&Array.isArray(a)?f=a.map(m=>(typeof m=="function"&&(m=uu(m,u)),`${l.keyPrefix}${d}${m}`)):(typeof a=="function"&&(a=uu(a,u)),f=l.keyPrefix?`${l.keyPrefix}${d}${a}`:a),this.t(f,l)};return It(e)?o.lng=e:o.lngs=e,o.ns=n,o.keyPrefix=r,o}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,n={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(s,l)=>{const u=this.services.backendConnector.state[`${s}|${l}`];return u===-1||u===0||u===2};if(n.precheck){const s=n.precheck(this,i);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,e)&&(!o||i(a,e)))}loadNamespaces(e,n){const r=Id();return this.options.ns?(It(e)&&(e=[e]),e.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}loadLanguages(e,n){const r=Id();It(e)&&(e=[e]);const o=this.options.preload||[],a=e.filter(i=>o.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return a.length?(this.options.preload=o.concat(a),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const o=new Intl.Locale(e);if(o&&o.getTextInfo){const a=o.getTextInfo();if(a&&a.direction)return a.direction}}catch{}const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services?.languageUtils||new D6(q2());return e.toLowerCase().indexOf("-latn")>1?"ltr":n.indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},n){const r=new Kd(e,n);return r.createInstance=Kd.createInstance,r}cloneInstance(e={},n=T1){const r=e.forkResourceStore;r&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},a=new Kd(o);if((e.debug!==void 0||e.prefix!==void 0)&&(a.logger=a.logger.clone(e)),["store","services","language"].forEach(s=>{a[s]=this[s]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r){const s=Object.keys(this.store.data).reduce((l,u)=>(l[u]={...this.store.data[u]},l[u]=Object.keys(l[u]).reduce((d,f)=>(d[f]={...l[u][f]},d),l[u]),l),{});a.store=new L6(s,o),a.services.resourceStore=a.store}if(e.interpolation){const l={...q2().interpolation,...this.options.interpolation,...e.interpolation},u={...o,interpolation:l};a.services.interpolator=new V6(u)}return a.translator=new G0(a.services,o),a.translator.on("*",(s,...l)=>{a.emit(s,...l)}),a.init(o,n),a.translator.options=o,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Pr=Kd.createInstance();Pr.createInstance;Pr.dir;Pr.init;Pr.loadResources;Pr.reloadResources;Pr.use;Pr.changeLanguage;Pr.getFixedT;Pr.t;Pr.exists;Pr.setDefaultNamespace;Pr.hasLoadedNamespace;Pr.loadNamespaces;Pr.loadLanguages;const Z0e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Q0e={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},J0e=t=>Q0e[t],ehe=t=>t.replace(Z0e,J0e);let W6={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:ehe,transDefaultProps:void 0};const the=(t={})=>{W6={...W6,...t}},nhe={type:"3rdParty",init(t){the(t.options.react)}},{createContext:rhe}=await q("react"),ohe=rhe(),{createElement:ahe,useMemo:ihe}=await q("react");function she({i18n:t,defaultNS:e,children:n}){const r=ihe(()=>({i18n:t,defaultNS:e}),[t,e]);return ahe(ohe.Provider,{value:r},n)}const{createContext:lhe,useContext:che}=await q("react");let uhe=(t=>String(t));const dhe=t=>{uhe=t.t.bind(t)},dR=lhe(null),m_e=()=>{const t=che(dR);if(!t)throw new Error("useLocalization must be used within RbLocalizationProvider");return t},{useCallback:fhe,useEffect:phe,useMemo:hhe,useState:U2}=await q("react"),g_e=({children:t,appName:e,resources:n,defaultLng:r="en",fallbackLng:o="en",separateInstance:a=!0})=>{const[i,s]=U2(null),[l,u]=U2(!1),[d,f]=U2(localStorage.getItem(`${e}_Language`)||r);phe(()=>{(async()=>{try{const g=a?Pr.createInstance():Pr;await g.use(nhe).init({lng:d,fallbackLng:o,resources:n,interpolation:{escapeValue:!1}}),dhe(g),s(g),u(!0)}catch(g){console.error("Localization init Failed:",g)}})()},[n,d,o,a]);const m=fhe(g=>{i?.changeLanguage(g),f(g),localStorage.setItem(`${e}_Language`,g)},[i,e]),v=hhe(()=>i?{i18n:i,t:i.t.bind(i),changeLanguage:m,currentLanguage:d}:null,[i,m,d]);return!l||!v?h("div",{className:"bg-default flex h-screen w-full items-center justify-center",children:h(Gk,{size:"3rem",className:"text-fg-default"})}):h(dR.Provider,{value:v,children:h(she,{i18n:i,children:t})})};export{Mhe as $,cH as A,Dee as B,uH as C,cw as D,rn as E,uw as F,he as G,ne as H,UU as I,cg as J,ug as K,bZ as L,qU as M,HU as N,_f as O,To as P,Bhe as Q,M7 as R,Hi as S,yZ as T,Yo as U,qv as V,o6 as W,pz as X,Nhe as Y,ife as Z,ebe as _,ad as a,Wr as a$,rbe as a0,lbe as a1,ube as a2,sbe as a3,dbe as a4,obe as a5,abe as a6,cbe as a7,ibe as a8,tw as a9,Hde as aA,Vde as aB,Fde as aC,Bde as aD,Dde as aE,jde as aF,U3e as aG,fbe as aH,_be as aI,bbe as aJ,hbe as aK,ybe as aL,Sbe as aM,E1e as aN,gbe as aO,xbe as aP,Cbe as aQ,Ebe as aR,mbe as aS,wbe as aT,vbe as aU,pbe as aV,m6 as aW,d8 as aX,Rhe as aY,The as aZ,tbe as a_,ez as aa,XB as ab,Uk as ac,Jfe as ad,Yk as ae,tpe as af,lfe as ag,j3e as ah,Tk as ai,Ak as aj,Ik as ak,_de as al,q3e as am,Sde as an,d0 as ao,Ede as ap,Cde as aq,Fk as ar,xde as as,u0 as at,W3e as au,_z as av,$de as aw,G3e as ax,Y3e as ay,zde as az,mg as b,qbe as b$,Mbe as b0,Lbe as b1,Ibe as b2,Rbe as b3,Obe as b4,Dbe as b5,kbe as b6,Tbe as b7,Nbe as b8,$be as b9,tfe as bA,Jde as bB,Qde as bC,rfe as bD,K3e as bE,Cfe as bF,p_e as bG,jbe as bH,Gk as bI,Wue as bJ,Hbe as bK,Gfe as bL,qk as bM,J3e as bN,_pe as bO,Ube as bP,Kbe as bQ,Ybe as bR,Gbe as bS,Kk as bT,xpe as bU,hF as bV,ffe as bW,ufe as bX,sw as bY,dfe as bZ,Wbe as b_,Bbe as ba,Vbe as bb,Pbe as bc,Fbe as bd,zbe as be,Abe as bf,jh as bg,jpe as bh,A3 as bi,Z3e as bj,hfe as bk,h_e as bl,Vk as bm,$fe as bn,H3e as bo,Xbe as bp,Qbe as bq,Zbe as br,Uv as bs,Pk as bt,Bk as bu,Zde as bv,X3e as bw,efe as bx,ofe as by,nfe as bz,lh as c,LB as c$,nbe as c0,Ul as c1,rz as c2,Spe as c3,Ehe as c4,c1e as c5,M$ as c6,ZB as c7,WB as c8,Q3e as c9,kn as cA,OE as cB,nve as cC,Mr as cD,PD as cE,F2e as cF,yhe as cG,Sve as cH,C3 as cI,Dx as cJ,_he as cK,aB as cL,iB as cM,xhe as cN,AD as cO,Nve as cP,Hd as cQ,Dl as cR,Wo as cS,Mve as cT,xo as cU,Mte as cV,pB as cW,zf as cX,zD as cY,BD as cZ,zB as c_,mz as ca,Rpe as cb,rde as cc,QL as cd,tz as ce,u8 as cf,Efe as cg,mue as ch,wfe as ci,Dfe as cj,cF as ck,Iz as cl,Qn as cm,M3 as cn,sce as co,ice as cp,E3 as cq,cce as cr,lce as cs,_k as ct,nn as cu,Yce as cv,Q0 as cw,m_e as cx,$he as cy,Pve as cz,id as d,cye as d$,BB as d0,DB as d1,$B as d2,OB as d3,jq as d4,tc as d5,She as d6,Rr as d7,ow as d8,K0 as d9,aye as dA,bye as dB,Xye as dC,_ye as dD,r_e as dE,Uye as dF,dye as dG,n_e as dH,yye as dI,sye as dJ,Nye as dK,Aye as dL,Pye as dM,Iye as dN,Oye as dO,zye as dP,wye as dQ,Bye as dR,Dye as dS,Tye as dT,lye as dU,Wye as dV,$ye as dW,Yye as dX,Qye as dY,a_e as dZ,oye as d_,Yme as da,RD as db,TD as dc,khe as dd,EB as de,Lhe as df,nge as dg,rge as dh,oge as di,Fq as dj,W$ as dk,U$ as dl,Jbe as dm,eye as dn,tye as dp,o_e as dq,Zye as dr,nye as ds,Jye as dt,Vye as du,Fye as dv,Kye as dw,pye as dx,kye as dy,Hye as dz,hG as e,CB as e$,hye as e0,uye as e1,rye as e2,e_e as e3,vye as e4,i_e as e5,qye as e6,jye as e7,Rye as e8,Eye as e9,bB as eA,pD as eB,x8 as eC,_8 as eD,N8 as eE,df as eF,kve as eG,Ohe as eH,V3e as eI,SD as eJ,g8 as eK,k8 as eL,NB as eM,mB as eN,tB as eO,X9 as eP,uB as eQ,VD as eR,m8 as eS,VB as eT,oM as eU,G$ as eV,Nf as eW,d2e as eX,_ve as eY,qD as eZ,jD as e_,t_e as ea,mye as eb,gye as ec,xye as ed,Mye as ee,Cye as ef,Sye as eg,fye as eh,Lye as ei,Gye as ej,iye as ek,uhe as el,sue as em,V8 as en,Gn as eo,Ihe as ep,ND as eq,O8 as er,J$ as es,JD as et,nB as eu,X$ as ev,Th as ew,Noe as ex,vD as ey,Q$ as ez,Ws as f,Che as f$,SB as f0,tue as f1,R8 as f2,P3 as f3,xB as f4,UD as f5,u7 as f6,d7 as f7,p7 as f8,f7 as f9,OD as fA,F$ as fB,V$ as fC,cD as fD,fB as fE,Y$ as fF,H$ as fG,mD as fH,kD as fI,Z0 as fJ,CD as fK,_D as fL,Hs as fM,X0 as fN,ZD as fO,hD as fP,dD as fQ,tve as fR,vve as fS,nC as fT,rw as fU,ya as fV,kB as fW,Xme as fX,Ahe as fY,iV as fZ,aV as f_,l7 as fa,Ph as fb,z$ as fc,vB as fd,gB as fe,Z$ as ff,YD as fg,sB as fh,DD as fi,hB as fj,yB as fk,wB as fl,j$ as fm,ete as fn,E8 as fo,Zme as fp,Gl as fq,eve as fr,Ise as fs,nk as ft,bhe as fu,Qie as fv,f8 as fw,Whe as fx,C8 as fy,Xz as fz,qo as g,Gme as g0,$me as g1,Bwe as g2,T8 as g3,sge as g4,Kme as g5,Qme as g6,Ns as g7,zee as g8,g_e as g9,ole as gA,TB as gB,rB as gC,eB as gD,gD as gE,iD as gF,Su as gG,lD as gH,Df as gI,Phe as ga,Tve as gb,f_e as gc,xD as gd,cB as ge,fD as gf,_B as gg,oB as gh,bD as gi,QD as gj,oD as gk,nc as gl,sM as gm,Ume as gn,Tte as go,qme as gp,Ete as gq,kr as gr,fte as gs,g3 as gt,IE as gu,Cve as gv,jee as gw,Vee as gx,MD as gy,GD as gz,yw as h,ln as i,h as j,Wt as k,it as l,v7 as m,I7 as n,_w as o,Go as p,X8 as q,dH as r,H8 as s,bf as t,Ko as u,yf as v,xf as w,ae as x,wZ as y,_Z as z};